/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header button size correction - final EOF */
.mobile-header-menu-trigger.home-menu-trigger {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 13px !important;
}

.mobile-header-menu-trigger.home-menu-trigger i {
    font-size: 21px !important;
}

.header-auth-buttons {
    gap: 8px !important;
}

.header-auth-btn {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 14px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    gap: 8px !important;
}

.header-auth-btn i {
    font-size: 15px !important;
}

.account-quick-btn {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 13px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    gap: 8px !important;
}

.account-quick-btn i {
    font-size: 15px !important;
}

@media (max-width: 640px) {
    .mobile-header-menu-trigger.home-menu-trigger {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        border-radius: 13px !important;
    }

    .mobile-header-menu-trigger.home-menu-trigger i {
        font-size: 20px !important;
    }

    .header-auth-buttons {
        gap: 7px !important;
    }

    .header-auth-btn {
        min-height: 38px !important;
        height: 38px !important;
        padding: 0 11px !important;
        border-radius: 13px !important;
        font-size: 13px !important;
        gap: 7px !important;
    }

    .header-auth-btn i {
        font-size: 14px !important;
    }

    .account-quick-btn {
        min-height: 38px !important;
        height: 38px !important;
        padding: 0 11px !important;
        border-radius: 13px !important;
        font-size: 13px !important;
        gap: 7px !important;
    }

    .account-quick-btn i {
        font-size: 14px !important;
    }
}

/* Header button size correction */
.mobile-header-menu-trigger.home-menu-trigger {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 15px !important;
}

.mobile-header-menu-trigger.home-menu-trigger i {
    font-size: 23px !important;
}

.header-auth-buttons {
    gap: 8px !important;
}

.header-auth-btn {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 14px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    gap: 8px !important;
}

.header-auth-btn i {
    font-size: 15px !important;
}

.account-quick-btn {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 13px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    gap: 8px !important;
}

.account-quick-btn i {
    font-size: 15px !important;
}

@media (max-width: 640px) {
    .mobile-header-menu-trigger.home-menu-trigger {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        border-radius: 14px !important;
    }

    .mobile-header-menu-trigger.home-menu-trigger i {
        font-size: 22px !important;
    }

    .header-auth-buttons {
        gap: 7px !important;
    }

    .header-auth-btn {
        min-height: 38px !important;
        height: 38px !important;
        padding: 0 11px !important;
        border-radius: 13px !important;
        font-size: 13px !important;
        gap: 7px !important;
    }

    .header-auth-btn i {
        font-size: 14px !important;
    }

    .account-quick-btn {
        min-height: 38px !important;
        height: 38px !important;
        padding: 0 11px !important;
        border-radius: 13px !important;
        font-size: 13px !important;
        gap: 7px !important;
    }

    .account-quick-btn i {
        font-size: 14px !important;
    }
}

/* Final compact fit pass */
.mobile-header-menu-trigger.home-menu-trigger {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    border-radius: 17px !important;
    border: 1px solid rgba(31, 39, 52, .96) !important;
    background: linear-gradient(180deg, #1b2029, #171c24) !important;
    color: #eef2f7 !important;
    box-shadow: none !important;
}

.mobile-header-menu-trigger.home-menu-trigger i {
    font-size: 28px !important;
    line-height: 1 !important;
}

body.auth-page {
    min-height: 100dvh;
    overflow: hidden;
}

body.auth-page .site-wrapper {
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
}

body.auth-page .auth-container {
    height: 100dvh;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: max(14px, env(safe-area-inset-bottom));
}

body.auth-page .auth-box {
    width: min(100%, 640px);
    padding: 24px 26px 26px !important;
    border-radius: 20px !important;
}

body.auth-page .auth-logo {
    min-height: 70px !important;
    margin-bottom: 12px !important;
}

body.auth-page .auth-logo-img {
    max-width: 310px !important;
    max-height: 70px !important;
}

body.auth-page .auth-title {
    font-size: 26px !important;
    margin-bottom: 16px !important;
}

body.auth-page .auth-google-btn,
body.auth-page .auth-submit-btn {
    min-height: 52px !important;
    height: 52px !important;
    border-radius: 15px !important;
    font-size: 16px !important;
    gap: 10px !important;
}

body.auth-page .auth-input-wrap {
    min-height: 52px !important;
    border-radius: 15px !important;
    padding: 0 16px !important;
}

body.auth-page .auth-input-wrap .form-control {
    height: 50px !important;
    font-size: 16px !important;
}

body.auth-page .auth-form .form-group {
    margin-bottom: 13px !important;
}

body.auth-page .form-label {
    font-size: 13px !important;
    margin-bottom: 7px !important;
}

body.auth-page .auth-options-row,
body.auth-page .agreement-row label {
    font-size: 13.5px !important;
}

.listing-ref-guarantee {
    display: none !important;
}

.header-auth-btn,
.account-quick-btn,
.support-submit-btn,
.cart-pay-btn,
.cart-clear-btn,
.cart-empty-state a,
.my-listings-add-btn,
.my-orders-filter-tabs button,
.my-orders-search-grid button,
.profile-showcase-tabs button,
.favorite-type-tabs button,
.favorite-bag-btn,
.cart-discount-block button,
.cart-payment-actions button,
.cart-payment-actions a,
.seller-ref-actions a,
.seller-ref-actions button,
.seller-ref-actions span {
    min-height: 46px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
}

.listing-ref-bag,
.buy-box-action {
    min-height: 54px !important;
    border-radius: 14px !important;
}

.buy-box-action {
    font-size: 16px !important;
}

.qty-selector {
    min-height: 58px !important;
}

.qty-btn {
    font-size: 24px !important;
}

.qty-value {
    font-size: 24px !important;
}

.listing-ref-price-line {
    font-size: 28px !important;
}

.listing-tab-btn {
    font-size: 16px !important;
    padding: 12px 14px !important;
}

.listing-tab-panel p {
    font-size: 17px !important;
}

.listing-ref-desc-title {
    font-size: 24px !important;
}

@media (max-width: 640px) {
    .mobile-header-menu-trigger.home-menu-trigger {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        border-radius: 17px !important;
    }

    .mobile-header-menu-trigger.home-menu-trigger i {
        font-size: 27px !important;
    }

    body.auth-page .auth-container {
        align-items: flex-start !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    body.auth-page .auth-box {
        padding: 18px 18px 20px !important;
        border-radius: 18px !important;
    }

    body.auth-page .auth-logo {
        min-height: 54px !important;
        margin-bottom: 8px !important;
    }

    body.auth-page .auth-logo-img {
        max-width: 250px !important;
        max-height: 54px !important;
    }

    body.auth-page .auth-title {
        font-size: 22px !important;
        margin-bottom: 12px !important;
    }

    body.auth-page .auth-google-btn,
    body.auth-page .auth-submit-btn {
        min-height: 46px !important;
        height: 46px !important;
        border-radius: 13px !important;
        font-size: 14.5px !important;
    }

    body.auth-page .auth-input-wrap {
        min-height: 46px !important;
        border-radius: 13px !important;
        padding: 0 13px !important;
    }

    body.auth-page .auth-input-wrap > i {
        font-size: 17px !important;
    }

    body.auth-page .auth-input-wrap .form-control {
        height: 44px !important;
        font-size: 14.5px !important;
    }

    body.auth-page .auth-form .form-group {
        margin-bottom: 10px !important;
    }

    body.auth-page .agreement-box {
        gap: 8px !important;
        margin: 10px 0 14px !important;
    }

    body.auth-page .auth-footer {
        margin-top: 12px !important;
        font-size: 13px !important;
    }

    .header-auth-btn,
    .account-quick-btn,
    .support-submit-btn,
    .cart-pay-btn,
    .cart-clear-btn,
    .cart-empty-state a,
    .my-listings-add-btn,
    .my-orders-filter-tabs button,
    .my-orders-search-grid button,
    .profile-showcase-tabs button,
    .favorite-type-tabs button,
    .favorite-bag-btn,
    .cart-discount-block button,
    .cart-payment-actions button,
    .cart-payment-actions a,
    .seller-ref-actions a,
    .seller-ref-actions button,
    .seller-ref-actions span {
        min-height: 42px !important;
        border-radius: 12px !important;
        font-size: 13.5px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .account-quick-btn i,
    .header-auth-btn i {
        font-size: 16px !important;
    }

    .support-field span,
    .support-field textarea,
    .cart-discount-block label,
    .seller-ref-filters label,
    .seller-ref-filters div,
    .seller-ref-filters button,
    .seller-ref-listing-head {
        min-height: 48px !important;
        border-radius: 13px !important;
    }

    .cart-payment-methods button {
        min-height: 92px !important;
        border-radius: 13px !important;
    }

    .cart-payment-methods i {
        font-size: 22px !important;
    }

    .cart-payment-methods b {
        font-size: 12.5px !important;
    }

    .cart-payment-methods span {
        font-size: 11px !important;
    }

    .listing-ref-price-line {
        font-size: 24px !important;
        margin-bottom: 8px !important;
    }

    .action-purchase-grid {
        grid-template-columns: 58px minmax(0, 1fr) !important;
    }

    .action-purchase-grid .listing-ref-bag,
    .action-purchase-grid .buy-box-action {
        min-height: 48px !important;
        border-radius: 12px !important;
    }

    .buy-box-action {
        font-size: 14.5px !important;
    }

    .buy-box-action i {
        font-size: 17px !important;
    }

    .qty-selector {
        grid-template-columns: 52px minmax(0, 1fr) 52px !important;
        min-height: 52px !important;
        border-radius: 13px !important;
    }

    .qty-btn,
    .qty-value {
        font-size: 21px !important;
    }

    .listing-tab-btn {
        font-size: 14.5px !important;
        padding: 10px 12px !important;
    }

    .listing-tab-panel p {
        font-size: 15.5px !important;
        line-height: 1.62 !important;
    }

    .listing-ref-desc-title {
        font-size: 21px !important;
    }
}

/* Header button size correction - final EOF */
.mobile-header-menu-trigger.home-menu-trigger {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 15px !important;
}

.mobile-header-menu-trigger.home-menu-trigger i {
    font-size: 23px !important;
}

.header-auth-buttons {
    gap: 8px !important;
}

.header-auth-btn {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 14px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    gap: 8px !important;
}

.header-auth-btn i {
    font-size: 15px !important;
}

.account-quick-btn {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 13px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    gap: 8px !important;
}

.account-quick-btn i {
    font-size: 15px !important;
}

@media (max-width: 640px) {
    .mobile-header-menu-trigger.home-menu-trigger {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        border-radius: 14px !important;
    }

    .mobile-header-menu-trigger.home-menu-trigger i {
        font-size: 22px !important;
    }

    .header-auth-buttons {
        gap: 7px !important;
    }

    .header-auth-btn {
        min-height: 38px !important;
        height: 38px !important;
        padding: 0 11px !important;
        border-radius: 13px !important;
        font-size: 13px !important;
        gap: 7px !important;
    }

    .header-auth-btn i {
        font-size: 14px !important;
    }

    .account-quick-btn {
        min-height: 38px !important;
        height: 38px !important;
        padding: 0 11px !important;
        border-radius: 13px !important;
        font-size: 13px !important;
        gap: 7px !important;
    }

    .account-quick-btn i {
        font-size: 14px !important;
    }
}

/* Header button size correction - final */
.mobile-header-menu-trigger.home-menu-trigger {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 15px !important;
}

.mobile-header-menu-trigger.home-menu-trigger i {
    font-size: 23px !important;
}

.header-auth-buttons {
    gap: 8px !important;
}

.header-auth-btn {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 14px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    gap: 8px !important;
}

.header-auth-btn i {
    font-size: 15px !important;
}

.account-quick-btn {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 13px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    gap: 8px !important;
}

.account-quick-btn i {
    font-size: 15px !important;
}

@media (max-width: 640px) {
    .mobile-header-menu-trigger.home-menu-trigger {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        border-radius: 14px !important;
    }

    .mobile-header-menu-trigger.home-menu-trigger i {
        font-size: 22px !important;
    }

    .header-auth-buttons {
        gap: 7px !important;
    }

    .header-auth-btn {
        min-height: 38px !important;
        height: 38px !important;
        padding: 0 11px !important;
        border-radius: 13px !important;
        font-size: 13px !important;
        gap: 7px !important;
    }

    .header-auth-btn i {
        font-size: 14px !important;
    }

    .account-quick-btn {
        min-height: 38px !important;
        height: 38px !important;
        padding: 0 11px !important;
        border-radius: 13px !important;
        font-size: 13px !important;
        gap: 7px !important;
    }

    .account-quick-btn i {
        font-size: 14px !important;
    }
}

/* Reference seller profile and listing cards */
.seller-ref-page {
    display: grid;
    gap: 22px;
    padding-bottom: 120px;
}

.seller-ref-card,
.seller-ref-review,
.seller-ref-filters,
.seller-ref-listing-head,
.seller-ref-empty {
    border: 1px solid rgba(55, 65, 81, .92);
    background: #151922;
    border-radius: 22px;
}

.seller-ref-card {
    overflow: hidden;
    margin-top: 10px;
}

.seller-ref-banner {
    min-height: 220px;
    background-size: cover;
    background-position: center;
}

.seller-ref-panel {
    position: relative;
    margin: -72px 18px 18px;
    padding: 72px 22px 22px;
    border: 1px solid rgba(55, 65, 81, .92);
    border-radius: 20px;
    background: #151922;
    text-align: center;
}

.seller-ref-avatar-wrap {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 24px;
    border: 5px solid #151922;
    overflow: visible;
}

.seller-ref-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.seller-ref-avatar-wrap span {
    position: absolute;
    right: -2px;
    bottom: 12px;
    width: 28px;
    height: 28px;
    border: 5px solid #fff;
    border-radius: 50%;
    background: #94a3b8;
}

.seller-ref-avatar-wrap .is-online {
    background: #16c784;
}

.seller-ref-panel h1 {
    margin: 0 0 12px;
    color: #f8fafc;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 950;
}

.seller-ref-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 22px;
}

.seller-ref-badges span,
.seller-ref-badges b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.seller-ref-badges span {
    width: 34px;
    height: 34px;
    color: #fff;
    border-radius: 12px;
}

.seller-ref-badges .green {
    background: #20d15f;
}

.seller-ref-badges .gold {
    background: #d7b713;
}

.seller-ref-badges .store {
    background: #16c784;
}

.seller-ref-badges .medal {
    background: #b06a58;
}

.seller-ref-badges b {
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid rgba(255, 75, 98, .55);
    border-radius: 18px;
    background: rgba(255, 75, 98, .13);
    color: #f8fafc;
    gap: 7px;
}

.seller-ref-badges b i {
    color: #ff4b62;
}

.seller-ref-badges small {
    color: #c3cad5;
    font-size: 13px;
}

.seller-ref-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.seller-ref-actions a,
.seller-ref-actions button,
.seller-ref-actions span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    border: 0;
    border-radius: 15px;
    background: transparent;
    color: #f8fafc;
    text-decoration: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 900;
}

.seller-ref-actions .active {
    background: linear-gradient(135deg, #4568ff, #3349d3);
    box-shadow: 0 12px 24px rgba(69, 104, 255, .22);
}

.seller-ref-tabs {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(75, 85, 99, .75);
    scrollbar-width: none;
}

.seller-ref-tabs span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 15px;
    color: #97a1b1;
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
}

.seller-ref-tabs .active {
    background: rgba(31, 42, 79, .55);
    color: #f8fafc;
}

.seller-ref-tabs b {
    min-width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0c1018;
    color: #fff;
    font-size: 14px;
}

.seller-ref-review {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 26px;
}

.seller-ref-review img {
    width: 86px;
    height: 86px;
    border-radius: 16px;
    object-fit: cover;
}

.seller-ref-review p {
    margin: 0 0 16px;
    color: #f8fafc;
    font-size: 24px;
    line-height: 1.25;
}

.seller-ref-review strong {
    color: #fff;
    font-size: 20px;
}

.seller-ref-review span {
    color: #ffae00;
    font-size: 28px;
    letter-spacing: 2px;
    white-space: nowrap;
}

.seller-ref-filters {
    display: grid;
    gap: 14px;
    padding: 22px;
}

.seller-ref-filters label,
.seller-ref-filters div,
.seller-ref-filters button,
.seller-ref-listing-head {
    min-height: 62px;
    border: 1px solid rgba(55, 65, 81, .95);
    border-radius: 16px;
    background: #0c1017;
}

.seller-ref-filters label {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    padding: 0 18px;
    color: #9ba4b2;
}

.seller-ref-filters input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f8fafc;
    font-size: 19px;
    font-family: inherit;
    font-weight: 800;
}

.seller-ref-filters input::placeholder {
    color: #8c95a5;
}

.seller-ref-filters div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 18px;
    color: #f8fafc;
    font-size: 18px;
    font-weight: 900;
}

.seller-ref-filters div i {
    color: #fbbf24;
}

.seller-ref-filters em {
    width: 66px;
    height: 36px;
    border-radius: 999px;
    background: #30343b;
    position: relative;
}

.seller-ref-filters em::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #edf2f7;
}

.seller-ref-filters button,
.seller-ref-listing-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    color: #f8fafc;
    font-family: inherit;
    font-size: 18px;
    font-weight: 900;
}

.seller-ref-listing-head {
    gap: 14px;
}

.seller-ref-listing-head i:first-child {
    color: #1478ff;
}

.seller-ref-listing-head i:last-child {
    margin-left: auto;
}

.seller-ref-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.seller-ref-listing-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(55, 65, 81, .95);
    border-radius: 18px;
    background: #151922;
}

.seller-ref-listing-image {
    position: relative;
    display: block;
    aspect-ratio: 1 / .92;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
}

.seller-ref-listing-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.seller-ref-listing-image > span {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .55em;
    white-space: nowrap;
}

.seller-ref-listing-image b {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 10px;
    border-radius: 13px;
    background: rgba(18, 20, 30, .9);
    color: #f8fafc;
    font-size: 14px;
    overflow: hidden;
}

.seller-ref-listing-image b img {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    object-fit: cover;
}

.seller-ref-listing-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 54px;
    margin: 14px 14px 10px;
    color: #f8fafc;
    text-decoration: none;
    font-size: 17px;
    line-height: 1.28;
    font-weight: 950;
}

.seller-ref-listing-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 14px 16px;
}

.seller-ref-listing-bottom strong {
    color: #16d98d;
    font-size: 18px;
    white-space: nowrap;
}

.seller-ref-listing-bottom em {
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(255, 75, 98, .55);
    border-radius: 16px;
    background: rgba(255, 75, 98, .13);
    color: #f8fafc;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-style: normal;
    font-size: 13px;
    font-weight: 900;
}

.seller-ref-listing-bottom em i {
    color: #ff4b62;
}

.seller-ref-listing-bottom small {
    color: #c3cad5;
}

.seller-ref-empty {
    display: grid;
    place-items: center;
    min-height: 360px;
    border-style: dashed;
    text-align: center;
    color: #f8fafc;
}

.seller-ref-empty i {
    color: #263b9a;
    font-size: 72px;
    margin-bottom: 20px;
}

.seller-ref-empty h3 {
    margin: 0;
    font-size: 24px;
}

@media (max-width: 640px) {
    .seller-ref-page {
        gap: 18px;
    }

    .seller-ref-banner {
        min-height: 176px;
    }

    .seller-ref-panel {
        margin: -58px 14px 14px;
        padding: 62px 14px 18px;
        border-radius: 18px;
    }

    .seller-ref-avatar-wrap {
        top: -52px;
        width: 104px;
        height: 104px;
    }

    .seller-ref-panel h1 {
        font-size: 26px;
    }

    .seller-ref-actions {
        gap: 8px;
    }

    .seller-ref-actions a,
    .seller-ref-actions button,
    .seller-ref-actions span {
        min-height: 50px;
        border-radius: 14px;
        font-size: 14px;
    }

    .seller-ref-tabs span {
        min-height: 44px;
        padding: 0 13px;
        font-size: 14px;
    }

    .seller-ref-review {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 14px;
        padding: 20px;
    }

    .seller-ref-review img {
        width: 62px;
        height: 62px;
    }

    .seller-ref-review p {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .seller-ref-review strong {
        font-size: 16px;
    }

    .seller-ref-review span {
        grid-column: 2;
        font-size: 20px;
    }

    .seller-ref-filters {
        padding: 16px;
    }

    .seller-ref-filters label,
    .seller-ref-filters div,
    .seller-ref-filters button,
    .seller-ref-listing-head {
        min-height: 56px;
        border-radius: 15px;
        font-size: 16px;
    }

    .seller-ref-filters input {
        font-size: 17px;
    }

    .seller-ref-grid {
        gap: 14px;
    }

    .seller-ref-listing-card {
        border-radius: 16px;
    }

    .seller-ref-listing-image > span {
        font-size: 11px;
        letter-spacing: .42em;
    }

    .seller-ref-listing-image b {
        min-height: 42px;
        font-size: 12px;
        left: 9px;
        right: 9px;
    }

    .seller-ref-listing-title {
        margin: 12px 12px 8px;
        min-height: 48px;
        font-size: 15px;
    }

    .seller-ref-listing-bottom {
        padding: 0 12px 14px;
        align-items: flex-start;
        flex-direction: column;
    }

    .seller-ref-listing-bottom strong {
        font-size: 16px;
    }
}

:root {
    --primary: #F59E0B;
    --primary-dark: #D97706;
    --primary-light: #FBBF24;
    --secondary: #FCD34D;
    --accent: #F97316;
    --dark: #050505;
    --dark-light: #0B0B0B;
    --dark-lighter: #15120B;
    --dark-card: #111111;
    --text: #E2E8F0;
    --text-muted: #94A3B8;
    --text-dark: #64748B;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    --gradient-1: linear-gradient(135deg, #F59E0B 0%, #FCD34D 100%);
    --gradient-2: linear-gradient(135deg, #111111 0%, #050505 100%);
    --shadow: 0 4px 20px rgba(245, 158, 11, 0.15);
    --shadow-lg: 0 10px 40px rgba(245, 158, 11, 0.25);
    --radius: 16px;
    --radius-sm: 8px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

.site-wrapper {
    max-width: 480px;
    margin: 0 auto;
    background: var(--dark);
    min-height: 100vh;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== HEADER ===== */
.main-header {
    background: var(--dark-light);
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.logo-text .highlight {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.balance-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.auth-buttons {
    display: flex;
    gap: 8px;
}

.btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-warning {
    background: var(--warning);
    color: white;
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 15px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--dark-lighter);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 6px 12px;
    border-radius: 24px;
    color: var(--text);
    cursor: pointer;
    font-size: 13px;
}

.dropdown-toggle img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--dark-card);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-sm);
    min-width: 200px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: var(--shadow-lg);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text);
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-light);
}

.dropdown-menu a.logout {
    color: var(--danger);
}

.dropdown-menu hr {
    border: none;
    border-top: 1px solid rgba(245, 158, 11, 0.1);
    margin: 6px 0;
}

/* ===== NAVIGATION ===== */
.main-nav {
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    background: var(--dark);
    border-top: 1px solid rgba(245, 158, 11, 0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    font-size: 11px;
    color: var(--text-muted);
    transition: all 0.3s;
    border-radius: 12px;
}

.nav-item i {
    font-size: 20px;
}

.nav-item.active,
.nav-item:hover {
    color: var(--primary);
}

.nav-item.active {
    background: rgba(245, 158, 11, 0.1);
}

.nav-add {
    color: var(--accent);
}

.nav-add i {
    background: var(--gradient-1);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    padding: 16px;
    padding-bottom: 100px;
}

/* ===== ALERTS ===== */
.alert {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--warning);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--info);
}

/* ===== CARDS ===== */
.card {
    background: var(--dark-card);
    border-radius: var(--radius);
    border: 1px solid rgba(245, 158, 11, 0.1);
    overflow: hidden;
    margin-bottom: 16px;
}

.card-header {
    padding: 16px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.card-body {
    padding: 16px;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--dark-lighter);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-control::placeholder {
    color: var(--text-dark);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

/* ===== IMAGE UPLOAD ===== */
.image-upload-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 8px;
}

.image-upload-box {
    aspect-ratio: 1;
    background: var(--dark-lighter);
    border: 2px dashed rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.image-upload-box:hover {
    border-color: var(--primary);
    background: rgba(245, 158, 11, 0.05);
}

.image-upload-box i {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 4px;
}

.image-upload-box span {
    font-size: 11px;
    color: var(--text-muted);
}

.image-upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.image-upload-box.has-image {
    border: none;
}

.image-upload-box.has-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.image-upload-box .remove-img {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    z-index: 2;
}

/* ===== REKLAM SLIDER ===== */
#reklam-slider {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    height: 180px;
    background: var(--dark-card);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-no-image {
    background: radial-gradient(circle at 25% 20%, rgba(245, 158, 11, 0.22), transparent 36%), linear-gradient(135deg, #17172a 0%, #10101c 100%);
}

.hero-slide-no-image::after {
    content: "Görsel yüklenemedi";
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    z-index: 2;
}


.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 15, 26, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.hero-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-desc {
    font-size: 13px;
    color: var(--text-muted);
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    z-index: 10;
}

.slider-prev,
.slider-next {
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(245, 158, 11, 0.8);
}

.slider-dots {
    display: flex;
    gap: 6px;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dots .dot.active {
    background: var(--primary);
    width: 20px;
    border-radius: 4px;
}

/* ===== SECTION TABS ===== */
.section-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 4px;
}

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

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--dark-card);
    border: 1px solid rgba(245, 158, 11, 0.1);
    border-radius: 24px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow);
}

.tab-btn i {
    font-size: 16px;
}

/* ===== ILAN GRID ===== */
.ilan-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.ilan-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(245, 158, 11, 0.1);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    position: relative;
    contain: content;
}

.ilan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(245, 158, 11, 0.3);
}

.ilan-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gradient-1);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ilan-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.ilan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .32s ease;
}

.ilan-card:hover .ilan-image img {
    transform: scale(1.05);
}

.ilan-price {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--gradient-1);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    z-index: 2;
}

.ilan-info {
    padding: 12px;
}

.ilan-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ilan-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ilan-seller {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(245, 158, 11, 0.1);
}

.ilan-seller img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.ilan-seller-info {
    flex: 1;
}

.ilan-seller-name {
    font-size: 12px;
    font-weight: 500;
}

.ilan-seller-label {
    font-size: 10px;
    color: var(--text-muted);
}

/* ===== ILAN DETAY ===== */
.ilan-detail-images {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.ilan-detail-images .main-image {
    aspect-ratio: 1;
    width: 100%;
    object-fit: cover;
}

.image-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.image-thumbnails img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.image-thumbnails img.active,
.image-thumbnails img:hover {
    border-color: var(--primary);
}

.ilan-detail-info {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
}

.ilan-detail-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ilan-detail-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.ilan-detail-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.ilan-detail-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.meta-item {
    background: var(--dark-lighter);
    padding: 12px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.meta-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.meta-value {
    font-size: 14px;
    font-weight: 600;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--dark-card);
    border-radius: var(--radius);
    border: 1px solid rgba(245, 158, 11, 0.2);
    max-width: 400px;
    width: 100%;
    padding: 24px;
    transform: scale(0.9);
    transition: all 0.3s;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.modal-icon i {
    font-size: 28px;
    color: var(--warning);
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-actions .btn {
    flex: 1;
}

/* ===== SIPARISLER ===== */
.siparis-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    border: 1px solid rgba(245, 158, 11, 0.1);
    overflow: hidden;
    margin-bottom: 12px;
}

.siparis-header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
}

.siparis-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-bekleniyor {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.status-tamamlandi {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.status-iptal {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.siparis-body {
    padding: 16px;
    display: flex;
    gap: 12px;
}

.siparis-body img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.siparis-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.siparis-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.siparis-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.siparis-footer {
    padding: 12px 16px;
    background: var(--dark-lighter);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.siparis-destek {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--warning);
    font-size: 13px;
    font-weight: 500;
}

/* ===== AUTH PAGES ===== */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-box {
    width: 100%;
    max-width: 400px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo .logo-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
    margin: 0 auto 12px;
}

.auth-logo h1 {
    font-size: 24px;
    font-weight: 700;
}

.auth-logo p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .btn-block {
    margin-top: 8px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* ===== ADMIN PANEL ===== */
.admin-wrapper {
    max-width: 100%;
}

.admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    background: var(--dark-light);
    border-right: 1px solid rgba(245, 158, 11, 0.1);
    padding: 24px;
    z-index: 1000;
}

.admin-main {
    margin-left: 260px;
    padding: 24px;
}

.admin-nav {
    list-style: none;
    margin-top: 32px;
}

.admin-nav li {
    margin-bottom: 4px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.3s;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary);
}

.admin-nav i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid rgba(245, 158, 11, 0.1);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.stat-icon.purple { background: rgba(245, 158, 11, 0.1); color: var(--primary); }
.stat-icon.green { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.stat-icon.orange { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.stat-icon.blue { background: rgba(59, 130, 246, 0.1); color: var(--info); }

.stat-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== TABLES ===== */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 14px;
}

.data-table th {
    background: var(--dark-lighter);
    color: var(--text-muted);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tr {
    border-bottom: 1px solid rgba(245, 158, 11, 0.05);
}

.data-table tr:hover {
    background: rgba(245, 158, 11, 0.02);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.badge-warning { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.badge-danger { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.badge-info { background: rgba(59, 130, 246, 0.1); color: var(--info); }

/* ===== TC ONAY ===== */
.tc-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    border: 1px solid rgba(245, 158, 11, 0.1);
}

.tc-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.tc-info {
    flex: 1;
}

.tc-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.tc-detail {
    font-size: 13px;
    color: var(--text-muted);
}

.tc-actions {
    display: flex;
    gap: 8px;
}

.tc-actions .btn {
    padding: 8px 14px;
    font-size: 13px;
}

/* ===== LIVE SUPPORT BUTTON ===== */
.live-support-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all 0.3s;
}

.live-support-btn:hover {
    transform: scale(1.1);
}

.support-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--dark-light);
    border-top: 1px solid rgba(245, 158, 11, 0.1);
    padding: 32px 16px 16px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 12px 0;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: var(--dark-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

.footer-links h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-links a {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    padding: 6px 0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.etbis-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--dark-lighter);
    padding: 16px;
    border-radius: var(--radius-sm);
}

.etbis-logo {
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.etbis-text {
    font-size: 12px;
    line-height: 1.5;
}

.etbis-text strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(245, 158, 11, 0.1);
    font-size: 12px;
    color: var(--text-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
    }

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

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ilan-card {
    animation: none;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 64px;
    color: var(--dark-lighter);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    background: var(--dark-card);
    border: 1px solid rgba(245, 158, 11, 0.1);
    color: var(--text-muted);
    transition: all 0.3s;
}

.pagination a:hover,
.pagination .active {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
}

/* ===== SEARCH ===== */
.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: var(--dark-card);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 15px;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 18px;
}

/* ===== CATEGORY CARDS ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.category-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 16px 8px;
    text-align: center;
    border: 1px solid rgba(245, 158, 11, 0.1);
    transition: all 0.3s;
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.category-card i {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 6px;
}

.category-card span {
    display: block;
    font-size: 11px;
    font-weight: 500;
}

/* ===== ADMIN REKLAM YÖNETİMİ ===== */
.reklam-form {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid rgba(245, 158, 11, 0.1);
}

.reklam-list {
    display: grid;
    gap: 12px;
}

.reklam-item {
    background: var(--dark-lighter);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(245, 158, 11, 0.1);
}

.reklam-item img {
    width: 120px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.reklam-item-info {
    flex: 1;
}

.reklam-item-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.reklam-item-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.reklam-item-actions {
    display: flex;
    gap: 8px;
}

.reklam-item-actions .btn {
    padding: 6px 12px;
    font-size: 12px;
}

/* ===== MASAÜSTÜ VE MOBİL UYUM DÜZELTMELERİ ===== */
.site-wrapper {
    width: 100%;
    max-width: 1200px;
}

@media (min-width: 769px) {
    .header-top {
        padding: 16px 24px;
    }

    .main-nav {
        justify-content: center;
        gap: 10px;
        padding: 10px 24px;
    }

    .nav-item {
        flex-direction: row;
        gap: 8px;
        padding: 10px 16px;
        font-size: 14px;
    }

    .nav-item i {
        font-size: 16px;
    }

    .nav-add i {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .main-content {
        padding: 24px;
        padding-bottom: 48px;
    }

    #reklam-slider {
        height: 300px;
    }

    .ilan-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    .category-grid,
    .category-grid-large {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .image-upload-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .card-header,
    .card-body {
        padding: 22px;
    }

    .footer-content {
        grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
        align-items: start;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .ilan-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .site-wrapper {
        max-width: 100%;
    }

    .main-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .header-top {
        padding: 10px 12px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .logo-text {
        font-size: 18px;
    }

    .user-menu {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .balance-btn {
        padding: 6px 9px;
        font-size: 12px;
    }

    .dropdown-toggle {
        padding: 5px 8px;
    }

    .dropdown-toggle span,
    .dropdown-toggle .fa-chevron-down {
        display: none;
    }

    .dropdown-menu {
        position: fixed;
        top: 58px;
        right: 10px;
        width: min(260px, calc(100vw - 20px));
    }

    .auth-buttons .btn {
        padding: 7px 10px;
        font-size: 12px;
    }

    .main-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
        padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
        background: rgba(15, 15, 26, 0.98);
        border-top: 1px solid rgba(245, 158, 11, 0.25);
        border-bottom: none;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
        z-index: 2000;
    }

    .nav-home { order: 1; }
    .nav-categories { order: 2; }
    .nav-add { order: 3; }
    .nav-messages { order: 4; }
    .nav-account { order: 5; }

    .nav-item {
        flex: 1;
        min-width: 0;
        padding: 5px 3px;
        font-size: 10.5px;
        border-radius: 10px;
    }

    .nav-item span {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav-item i {
        font-size: 19px;
    }

    .nav-add i {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .main-content {
        padding: 14px;
        padding-bottom: calc(104px + env(safe-area-inset-bottom));
    }

    .main-footer {
        padding-bottom: calc(104px + env(safe-area-inset-bottom));
    }

    .live-support-btn {
        bottom: calc(92px + env(safe-area-inset-bottom));
        right: 14px;
    }

    #reklam-slider {
        height: 180px;
    }

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

    .category-grid,
    .category-grid-large {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .image-upload-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-body {
        overflow-x: auto;
    }

    .siparis-header,
    .siparis-footer,
    .tc-card,
    .reklam-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .siparis-body {
        flex-direction: column;
    }

    .siparis-body img,
    .reklam-item img {
        width: 100%;
        height: auto;
        max-height: 180px;
    }

    .tc-actions,
    .reklam-item-actions,
    .modal-actions {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media (max-width: 380px) {
    .logo-text {
        font-size: 16px;
    }

    .balance-btn span {
        display: none;
    }

    .nav-item {
        font-size: 9.5px;
    }

    .nav-add i {
        width: 34px;
        height: 34px;
    }
}

.image-upload-box.has-image > i,
.image-upload-box.has-image > span:not(.remove-img) {
    display: none;
}

.image-upload-box.has-image .preview-img {
    position: absolute;
    inset: 0;
}


/* ===== SS TARZI KATEGORİ SAYFASI ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -2px 0 28px;
    color: var(--text-muted);
    font-size: 13px;
}

.breadcrumb a:hover {
    color: var(--primary-light);
}

.breadcrumb strong {
    color: var(--text);
    font-weight: 700;
}

.categories-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 28px;
}

.categories-head h1 {
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.1;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.categories-head p {
    color: #c8cbe0;
    font-size: 15px;
    line-height: 1.6;
    max-width: 720px;
}

.categories-search {
    position: relative;
    width: min(360px, 100%);
    flex: 0 0 auto;
}

.categories-search input {
    width: 100%;
    height: 46px;
    padding: 0 18px 0 52px;
    border-radius: 8px;
    background: #111111;
    border: 1px solid rgba(245, 158, 11, 0.18);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.categories-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .13);
}

.categories-search i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #b9bfd6;
    font-size: 16px;
}

.game-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.game-category-card {
    position: relative;
    display: block;
    min-height: 250px;
    border-radius: 14px;
    overflow: hidden;
    background: #111111;
    border: 1px solid rgba(245, 158, 11, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.game-category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, .55);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

.game-category-card img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    transition: transform .45s ease;
}

.game-category-card:hover img {
    transform: scale(1.06);
}

.game-category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .2) 45%, rgba(0, 0, 0, .82) 100%);
    z-index: 1;
}

.game-category-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    text-align: center;
    padding: 18px 10px 16px;
}

.game-category-content strong {
    display: block;
    color: #fff;
    font-size: 15px;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .7);
}

.game-category-content span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
}

.home-category-section {
    margin-bottom: 22px;
}

.home-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.home-section-title h2 {
    font-size: 19px;
    font-weight: 800;
}

.home-section-title a {
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 700;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-category-card {
    position: relative;
    min-height: 110px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--dark-card);
    border: 1px solid rgba(245, 158, 11, .12);
}

.home-category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.home-category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.78));
}

.home-category-card span {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 10px;
    z-index: 1;
    text-align: center;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0,0,0,.7);
}

.home-category-card:hover img {
    transform: scale(1.06);
}

.quick-side-menu {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 10px;
    border-radius: 20px;
    background: rgba(31, 34, 55, .76);
    border: 1px solid rgba(245, 158, 11, .18);
    backdrop-filter: blur(12px);
}

.quick-side-menu a {
    width: 68px;
    min-height: 52px;
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #dfe3f8;
    font-size: 11px;
    font-weight: 700;
}

.quick-side-menu a:hover {
    background: rgba(245, 158, 11, .18);
    color: #fff;
}

.quick-side-menu i {
    font-size: 15px;
}

@media (min-width: 1201px) {
    .site-wrapper {
        max-width: 100%;
    }

    .main-content,
    .footer-content,
    .footer-bottom {
        max-width: 1240px;
        margin-left: auto;
        margin-right: auto;
    }

    .main-nav,
    .header-top {
        padding-left: max(24px, calc((100vw - 1240px) / 2));
        padding-right: max(24px, calc((100vw - 1240px) / 2));
    }
}

@media (max-width: 1180px) {
    .game-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .quick-side-menu {
        display: none;
    }

    .breadcrumb {
        margin-bottom: 20px;
        font-size: 12px;
    }

    .categories-head {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 18px;
    }

    .categories-head h1 {
        font-size: 30px;
        margin-bottom: 8px;
    }

    .categories-head p {
        font-size: 14px;
    }

    .categories-search {
        width: 100%;
    }

    .game-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .game-category-card {
        min-height: 170px;
        border-radius: 13px;
    }

    .game-category-content {
        padding: 14px 8px 12px;
    }

    .game-category-content strong {
        font-size: 14px;
    }

    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-category-card {
        min-height: 120px;
    }
}

@media (max-width: 420px) {
    .game-category-card {
        min-height: 150px;
    }
}

/* ===== PROFILE PHOTO UPLOAD ===== */
.profile-card {
    margin-bottom: 20px;
    padding: 26px;
}

.profile-avatar-area {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.profile-avatar-large {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    background: var(--dark-lighter);
    flex: 0 0 auto;
}

.profile-avatar-area h3 {
    font-size: 22px;
    margin-bottom: 4px;
}

.profile-avatar-area p {
    color: var(--text-muted);
    margin: 0;
}

.profile-photo-form {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(245, 158, 11, .16);
    border-radius: 14px;
    background: rgba(255, 255, 255, .03);
    margin-bottom: 20px;
}

.profile-photo-form small {
    color: var(--text-muted);
    font-size: 12px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.profile-stats div {
    text-align: center;
    padding: 14px 10px;
    border-radius: 14px;
    background: rgba(245, 158, 11, .08);
    border: 1px solid rgba(245, 158, 11, .12);
}

.profile-stats strong {
    display: block;
    font-size: 22px;
    color: var(--primary-light);
}

.profile-stats span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 4px;
}

.text-success {
    color: var(--success) !important;
}

/* ===== HOME LOWER SECTIONS ===== */
.home-publisher-section {
    margin-top: 28px;
    margin-bottom: 24px;
}

.publisher-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.publisher-video-card {
    background: var(--dark-card);
    border: 1px solid rgba(245, 158, 11, .14);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.publisher-video-card strong {
    display: block;
    padding: 12px 14px 14px;
    font-size: 14px;
}

.publisher-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.publisher-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.publisher-empty-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    color: var(--text-muted);
}

.publisher-empty-card i {
    color: #ff0033;
    font-size: 24px;
}

.home-info-card {
    margin-top: 24px;
    margin-bottom: 22px;
    padding: 26px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(245, 158, 11, .16), rgba(30, 30, 50, .96));
    border: 1px solid rgba(245, 158, 11, .18);
    box-shadow: var(--shadow);
}

.home-info-card h2 {
    font-size: 22px;
    margin-bottom: 14px;
}

.home-info-card p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 14px;
    margin-bottom: 14px;
}

.home-info-card p:last-child {
    margin-bottom: 0;
}

.home-whatsapp-area {
    position: fixed;
    right: 20px;
    bottom: 158px;
    z-index: 1001;
    margin: 0;
}

.home-whatsapp-button {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    color: #fff;
    box-shadow: 0 14px 34px rgba(37, 211, 102, .34);
    border: 1px solid rgba(255,255,255,.22);
    transition: transform .25s ease, box-shadow .25s ease;
}

.home-whatsapp-button::before {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, .25);
    animation: whatsappPulse 1.8s infinite;
}

.home-whatsapp-button:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 18px 40px rgba(37, 211, 102, .42);
}

.home-whatsapp-button i {
    position: relative;
    z-index: 1;
    font-size: 30px;
}

.whatsapp-bubble-text {
    position: absolute;
    right: 76px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    min-width: 170px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(20, 22, 36, .96);
    border: 1px solid rgba(37, 211, 102, .28);
    color: #fff;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 12px 30px rgba(0,0,0,.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.whatsapp-bubble-text::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 50%;
    width: 12px;
    height: 12px;
    transform: translateY(-50%) rotate(45deg);
    background: rgba(20, 22, 36, .96);
    border-top: 1px solid rgba(37, 211, 102, .28);
    border-right: 1px solid rgba(37, 211, 102, .28);
}

.whatsapp-bubble-text strong {
    color: #25D366;
    font-weight: 900;
}

.home-whatsapp-button:hover .whatsapp-bubble-text,
.home-whatsapp-button:focus .whatsapp-bubble-text {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

@keyframes whatsappPulse {
    0% { transform: scale(.92); opacity: .85; }
    70% { transform: scale(1.22); opacity: 0; }
    100% { transform: scale(1.22); opacity: 0; }
}

@media (min-width: 900px) {
    .publisher-video-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .profile-card {
        padding: 20px;
    }

    .profile-avatar-area {
        flex-direction: column;
        text-align: center;
    }

    .profile-stats {
        grid-template-columns: 1fr;
    }

    .publisher-video-grid {
        grid-template-columns: 1fr;
    }

    .home-info-card {
        padding: 20px;
    }

    .home-info-card h2 {
        font-size: 19px;
    }

    .home-whatsapp-area {
        right: 14px;
        bottom: calc(160px + env(safe-area-inset-bottom));
    }

    .home-whatsapp-button {
        width: 56px;
        height: 56px;
    }

    .home-whatsapp-button i {
        font-size: 28px;
    }

    .whatsapp-bubble-text {
        display: none;
    }
}

/* ===== VIDEO REFERANS TARZI KATEGORİ SAYFALARI ===== */
.server-category-page {
    max-width: 1180px;
    margin: 0 auto;
}

.server-category-hero {
    min-height: 124px;
    margin: 0 0 26px;
    border-radius: 8px;
    border: 1px solid rgba(245, 158, 11, .20);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .20);
}

.server-category-hero h1 {
    color: #fff;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.3px;
    margin-bottom: 10px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, .72);
}

.server-category-hero p {
    color: #eef1ff;
    max-width: 760px;
    font-size: 14px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .7);
}

.server-breadcrumb {
    padding: 0;
    margin: 0 0 26px;
}

.server-category-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.server-sort-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.server-sort-btn {
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border-radius: 6px;
    background: #111111;
    border: 1px solid rgba(245, 158, 11, .18);
    color: #dce1f5;
    font-size: 13px;
    font-weight: 700;
    transition: .22s ease;
}

.server-sort-btn:hover,
.server-sort-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(245, 158, 11, .20);
}

.server-category-search {
    position: relative;
    width: min(330px, 100%);
    flex: 0 0 auto;
}

.server-category-search input {
    width: 100%;
    height: 40px;
    padding: 0 16px 0 50px;
    border-radius: 7px;
    background: #111111;
    border: 1px solid rgba(245, 158, 11, .20);
    color: var(--text);
    outline: none;
    font-family: inherit;
    font-size: 13px;
}

.server-category-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .12);
}

.server-category-search i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #b8bdd5;
    font-size: 14px;
}

.server-subcategory-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 34px;
}

.server-subcategory-card {
    position: relative;
    min-height: 262px;
    display: block;
    overflow: hidden;
    border-radius: 9px;
    background: #17192a;
    border: 1px solid rgba(245, 158, 11, .18);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.server-subcategory-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, .70);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .34);
}

.server-subcategory-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.server-subcategory-card:hover img {
    transform: scale(1.06);
}

.server-subcategory-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.12) 48%, rgba(0,0,0,.82) 100%);
}

.server-subcategory-card span {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 18px;
    z-index: 2;
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .80);
}

.server-subcategory-card small {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 40px;
    z-index: 2;
    color: rgba(255,255,255,.76);
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,.72);
}

.all-category-grid .server-subcategory-card {
    min-height: 230px;
}

.all-category-grid .server-subcategory-card span {
    bottom: 18px;
}

.all-category-grid .server-subcategory-card small + span,
.all-category-grid .server-subcategory-card small ~ span {
    bottom: 18px;
}

.server-listing-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 8px 0 18px;
}

.server-listing-head h2 {
    font-size: 21px;
    font-weight: 800;
}

@media (max-width: 1180px) {
    .server-subcategory-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .server-subcategory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .server-category-hero {
        min-height: 118px;
        margin-bottom: 20px;
        padding: 24px 14px;
    }

    .server-category-hero h1 {
        font-size: 23px;
    }

    .server-category-hero p {
        font-size: 12.5px;
    }

    .server-category-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .server-sort-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .server-sort-btn {
        padding: 0 10px;
        font-size: 12px;
    }

    .server-category-search {
        width: 100%;
    }

    .server-subcategory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 26px;
    }

    .server-subcategory-card,
    .all-category-grid .server-subcategory-card {
        min-height: 190px;
        border-radius: 8px;
    }

    .server-subcategory-card span {
        bottom: 13px;
        font-size: 12.5px;
    }

    .server-subcategory-card small {
        bottom: 34px;
        font-size: 11px;
    }

    .server-listing-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .server-listing-head .btn {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .server-subcategory-card,
    .all-category-grid .server-subcategory-card {
        min-height: 165px;
    }
}

/* ===== NEW FINANCE / SELLER FEATURES ===== */
.manual-delivery-badge {
    top: 42px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.amount-preset.active,
.bank-transfer-card:has(input:checked),
.payment-method-option:has(input:checked) {
    border-color: var(--primary) !important;
    box-shadow: var(--shadow);
}

.seller-banner {
    min-height: 160px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.12);
}

.important-info-card p {
    color: var(--text-muted);
    margin: 0;
}

.maintenance-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: radial-gradient(circle at top, rgba(245, 158, 11, .28), transparent 42%), var(--dark);
}

.maintenance-card {
    width: min(520px, 100%);
    background: var(--dark-card);
    border: 1px solid rgba(245, 158, 11, .18);
    border-radius: var(--radius);
    padding: 34px 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.maintenance-card i {
    font-size: 48px;
    color: var(--warning);
    margin-bottom: 18px;
}

.maintenance-card h1 {
    font-size: 26px;
    margin-bottom: 10px;
}

.maintenance-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== DAY MODE / THEME BUBBLE ===== */
html[data-theme="light"] {
    --dark: #F5F7FB;
    --dark-light: #FFFFFF;
    --dark-lighter: #EEF2FF;
    --dark-card: #FFFFFF;
    --text: #172033;
    --text-muted: #5F6F89;
    --text-dark: #8190A7;
    --gradient-2: linear-gradient(135deg, #FFFFFF 0%, #EEF2FF 100%);
    --shadow: 0 4px 20px rgba(99, 102, 241, 0.13);
    --shadow-lg: 0 14px 44px rgba(99, 102, 241, 0.18);
}

html[data-theme="light"] body,
html[data-theme="light"] .site-wrapper {
    background: var(--dark);
    color: var(--text);
}

html[data-theme="light"] .main-header,
html[data-theme="light"] .main-footer,
html[data-theme="light"] .admin-sidebar {
    background: rgba(255, 255, 255, .94);
    border-color: rgba(99, 102, 241, .14);
}

html[data-theme="light"] .card,
html[data-theme="light"] .ilan-card,
html[data-theme="light"] .tab-btn,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .home-menu-trigger,
html[data-theme="light"] .maintenance-card,
html[data-theme="light"] .dropdown-menu,
html[data-theme="light"] .dropdown-toggle,
html[data-theme="light"] .form-control,
html[data-theme="light"] .etbis-card {
    background: #FFFFFF;
    border-color: rgba(99, 102, 241, .15);
    color: var(--text);
}

html[data-theme="light"] .hero-overlay {
    background: linear-gradient(to top, rgba(255,255,255,.92) 0%, rgba(255,255,255,.08) 68%);
}

html[data-theme="light"] .hero-title,
html[data-theme="light"] .hero-desc {
    color: #172033;
    text-shadow: 0 1px 8px rgba(255,255,255,.65);
}

html[data-theme="light"] .quick-side-menu,
html[data-theme="light"] .home-menu-panel {
    background: rgba(255, 255, 255, .94);
    border-color: rgba(99, 102, 241, .16);
    box-shadow: 0 20px 54px rgba(15, 23, 42, .14);
}

html[data-theme="light"] .quick-side-menu a,
html[data-theme="light"] .home-menu-list a {
    background: rgba(99, 102, 241, .055);
    border-color: rgba(99, 102, 241, .12);
    color: #243047;
}

.theme-toggle-bubble {
    position: fixed;
    right: 20px;
    bottom: 92px;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 999px;
    background: var(--gradient-1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 1300;
    box-shadow: var(--shadow-lg);
    transition: transform .25s ease, box-shadow .25s ease;
}

.theme-toggle-bubble:hover {
    transform: translateY(-3px) scale(1.04);
}

.admin-theme-toggle {
    bottom: 22px;
    left: 24px;
    right: auto;
}

/* ===== HOME THREE-DOT MENU ===== */
.home-compact-menu-section {
    margin: 14px 0 20px;
}

.home-menu-hint {
    font-size: 12px;
    color: var(--text-muted);
}

.home-menu-trigger {
    border: 1px solid rgba(245, 158, 11, .20);
    background: radial-gradient(circle at top left, rgba(245, 158, 11, .18), transparent 44%), var(--dark-card);
    color: var(--text);
    cursor: pointer;
    box-shadow: var(--shadow);
    font-family: inherit;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.home-menu-trigger-row {
    width: 100%;
    min-height: 76px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 16px;
    text-align: left;
}

.home-menu-trigger:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, .50);
    box-shadow: var(--shadow-lg);
}

.home-menu-trigger-text {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.home-menu-trigger strong {
    font-size: 16px;
    line-height: 1.25;
}

.home-menu-trigger small {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.35;
}

.home-menu-dots {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.home-menu-dots-left {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: rgba(245, 158, 11, .16);
    border: 1px solid rgba(245, 158, 11, .20);
}

.home-menu-dots i {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--primary-light);
    box-shadow: 0 0 14px rgba(245, 158, 11, .52);
}

.home-menu-trigger-arrow {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: rgba(255, 255, 255, .06);
    flex: 0 0 auto;
}

.home-menu-drawer {
    position: fixed;
    inset: 0;
    z-index: 1700;
    pointer-events: none;
}

.home-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .58);
    opacity: 0;
    transition: opacity .25s ease;
}

.home-menu-panel {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(310px, 84vw);
    background: #0B0B0B;
    border-right: 1px solid rgba(245, 158, 11, .18);
    padding: 22px 20px;
    transform: translateX(-105%);
    transition: transform .28s ease;
    box-shadow: 24px 0 60px rgba(0, 0, 0, .32);
    overflow-y: auto;
}

.home-menu-drawer.open {
    pointer-events: auto;
}

.home-menu-drawer.open .home-menu-backdrop {
    opacity: 1;
}

.home-menu-drawer.open .home-menu-panel {
    transform: translateX(0);
}

body.home-menu-open {
    overflow: hidden;
}

.home-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(245, 158, 11, .14);
}

.home-menu-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: var(--text);
    cursor: pointer;
    font-size: 18px;
}

.home-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.home-menu-list a {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 50px;
    padding: 12px 2px;
    color: var(--text);
    border-bottom: 1px solid rgba(245, 158, 11, .12);
    font-size: 16px;
    font-weight: 500;
    transition: color .2s ease, transform .2s ease;
}

.home-menu-list a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.home-menu-list i {
    width: 18px;
    text-align: center;
    color: var(--text-muted);
}

@media (max-width: 480px) {
    .home-menu-trigger-row {
        min-height: 68px;
        gap: 12px;
        padding: 12px;
    }

    .home-menu-dots-left {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        gap: 5px;
    }

    .home-menu-dots i {
        width: 7px;
        height: 7px;
    }

    .home-menu-trigger strong {
        font-size: 15px;
    }

    .home-menu-trigger small {
        font-size: 11px;
    }
}

/* ===== ADMIN FULL RESPONSIVE FIX ===== */
.admin-mobile-toggle {
    position: fixed;
    left: 14px;
    top: 14px;
    z-index: 2200;
    display: none;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    background: var(--gradient-1);
    color: #fff;
    padding: 10px 14px;
    font-family: inherit;
    font-weight: 800;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}

.admin-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1499;
    background: rgba(0, 0, 0, .56);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

body.admin-menu-open .admin-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.admin-main .card-body {
    max-width: 100%;
}

.admin-main .data-table {
    min-width: 760px;
}

@media (min-width: 769px) {
    .admin-sidebar {
        overflow-y: auto;
    }
}

@media (max-width: 1100px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-main [style*="grid-template-columns"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .admin-wrapper {
        min-height: 100vh;
    }

    .admin-mobile-toggle {
        display: inline-flex;
    }

    .admin-sidebar {
        width: min(292px, 86vw);
        padding: 74px 18px 22px;
        transform: translateX(-108%);
        z-index: 2000;
        overflow-y: auto;
        box-shadow: 22px 0 58px rgba(0, 0, 0, .34);
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0 !important;
        padding: 74px 14px 28px !important;
        width: 100%;
    }

    .admin-main h1 {
        font-size: 22px !important;
        line-height: 1.25;
        margin-bottom: 18px !important;
    }

    .admin-main .card,
    .admin-main .stat-card {
        border-radius: 14px;
    }

    .admin-main .card-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .admin-main .card-body {
        overflow-x: auto;
    }

    .admin-main [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .admin-main [style*="display: grid"],
    .admin-main [style*="display:grid"] {
        gap: 12px !important;
    }

    .admin-main .btn {
        min-height: 42px;
        white-space: normal;
    }

    .tc-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .tc-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .tc-actions .btn {
        flex: 1 1 130px;
    }

    .admin-theme-toggle {
        left: auto;
        right: 16px;
        bottom: 18px;
    }

    .theme-toggle-bubble:not(.admin-theme-toggle) {
        right: 16px;
        bottom: 150px;
    }

    .live-support-btn {
        right: 16px;
    }
}

@media (max-width: 520px) {
    .stats-grid,
    .admin-main .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-main .data-table {
        min-width: 680px;
    }

    .home-section-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .home-menu-hint {
        text-align: left;
    }
}

/* ===== SHOPS PAGE ===== */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.shop-card {
    background: var(--dark-card);
    border: 1px solid rgba(245, 158, 11, .14);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.shop-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, .45);
    box-shadow: var(--shadow-lg);
}

.shop-banner {
    height: 110px;
    background-size: cover;
    background-position: center;
}

.shop-body {
    position: relative;
    padding: 38px 16px 16px;
}

.shop-avatar {
    position: absolute;
    top: -28px;
    left: 16px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--dark-card);
}

.shop-body strong,
.shop-body span {
    display: block;
}

.shop-body span {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 13px;
}

.shop-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.shop-stats em {
    font-style: normal;
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 11px;
    font-weight: 800;
}

.shop-stats .success {
    background: rgba(16, 185, 129, .12);
    color: var(--success);
}

.shop-stats .danger {
    background: rgba(239, 68, 68, .12);
    color: var(--danger);
}

@media (max-width: 900px) {
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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


/* ===== MOBİL ÜST MENÜ, HEADER TEMA BUTONU VE ALT WHATSAPP KARTI ===== */
.mobile-header-menu-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    padding: 0;
    border-radius: 14px;
    font-size: 19px;
    flex: 0 0 auto;
}

@media (min-width: 769px) {
    .mobile-header-menu-trigger.home-menu-trigger {
        display: inline-flex;
        margin-right: 2px;
    }

    .header-top .logo {
        flex: 0 0 auto;
    }

    .header-actions {
        margin-left: auto;
    }
}

.header-theme-toggle.theme-toggle-bubble {
    position: static;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 14px;
    font-size: 16px;
    box-shadow: var(--shadow);
    z-index: auto;
}

.header-theme-toggle.theme-toggle-bubble:hover {
    transform: translateY(-1px);
}

.footer-whatsapp-card {
    margin: 0 auto 18px;
    max-width: 1240px;
}

.site-whatsapp-card {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(18, 140, 126, .20) 0%, rgba(37, 211, 102, .16) 100%);
    border: 1px solid rgba(37, 211, 102, .28);
    color: var(--text);
    box-shadow: 0 14px 34px rgba(37, 211, 102, .10);
}

.site-whatsapp-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 211, 102, .48);
    box-shadow: 0 18px 42px rgba(37, 211, 102, .16);
}

.site-whatsapp-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex: 0 0 auto;
}

.site-whatsapp-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.site-whatsapp-text strong {
    font-size: 15px;
    color: var(--text);
}

.site-whatsapp-text small {
    font-style: normal;
    color: var(--text-muted);
    line-height: 1.35;
}

.site-whatsapp-text em {
    font-style: normal;
    font-weight: 900;
    color: #25D366;
}

.site-whatsapp-arrow {
    color: var(--text-muted);
    flex: 0 0 auto;
}

.home-whatsapp-area {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    z-index: auto !important;
    margin: 22px 0 0 !important;
}

.home-whatsapp-button {
    width: auto !important;
    height: auto !important;
    min-height: 64px;
    border-radius: 20px !important;
    padding: 14px 16px;
    justify-content: flex-start !important;
    gap: 12px;
}

.home-whatsapp-button::before,
.whatsapp-bubble-text::after {
    display: none !important;
}

.whatsapp-bubble-text {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-width: 0 !important;
    white-space: normal !important;
}

@media (max-width: 768px) {
    .header-top {
        position: relative;
        min-height: 58px;
        padding: 10px 10px;
    }

    .mobile-header-menu-trigger.home-menu-trigger {
        display: inline-flex;
        width: 40px;
        height: 40px;
        min-width: 40px;
        padding: 0;
        border-radius: 14px;
        align-items: center;
        justify-content: center;
        font-size: 19px;
        position: relative;
        z-index: 3;
    }

    .header-top > .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        max-width: 240px;
        overflow: hidden;
    }

    .header-top > .logo a {
        gap: 7px;
        justify-content: center;
    }

    .header-top > .logo .logo-icon {
        width: 30px;
        height: 30px;
        border-radius: 10px;
        font-size: 14px;
    }

    .header-top > .logo .logo-text {
        font-size: 17px;
        white-space: nowrap;
    }

    .header-actions {
        margin-left: auto;
        position: relative;
        z-index: 3;
        gap: 6px;
    }

    .user-menu {
        gap: 6px;
    }

    .balance-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        padding: 0;
        justify-content: center;
        border-radius: 14px;
    }

    .balance-btn span {
        display: none;
    }

    .header-theme-toggle.theme-toggle-bubble {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 14px;
        font-size: 15px;
    }

    .dropdown-toggle {
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
        border-radius: 999px;
    }

    .dropdown-toggle img {
        width: 30px;
        height: 30px;
    }

    .guest-theme-toggle {
        display: inline-flex;
    }

    .auth-buttons {
        gap: 6px;
    }

    .auth-buttons .btn {
        padding: 7px 9px;
    }

    .footer-whatsapp-card {
        margin-bottom: 16px;
    }

    .site-whatsapp-card {
        padding: 14px;
        border-radius: 18px;
    }

    .site-whatsapp-icon {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        font-size: 26px;
    }
}

@media (max-width: 420px) {
    .header-top > .logo .logo-text {
        font-size: 15px;
    }

    .auth-buttons .btn {
        font-size: 11px;
        padding: 6px 7px;
    }
}

@media (max-width: 360px) {
    .header-top > .logo .logo-text {
        display: none;
    }
}


/* ===== GENEL MASAÜSTÜ UYUM DÜZELTMESİ ===== */
@media (min-width: 769px) {
    .site-wrapper {
        max-width: 100%;
    }

    .main-content,
    .footer-content,
    .footer-whatsapp-card,
    .footer-bottom {
        width: min(1240px, calc(100% - 48px));
        margin-left: auto;
        margin-right: auto;
    }

    .main-header .header-top,
    .main-header .main-nav {
        width: min(1240px, calc(100% - 48px));
        margin-left: auto;
        margin-right: auto;
    }

    .section-tabs {
        justify-content: flex-start;
    }
}

@media (min-width: 1025px) {
    .ilan-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hero-slider,
    #reklam-slider {
        height: 320px;
    }
}

@media (min-width: 1280px) {
    .ilan-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ===== GENİŞ EKRANDA HEADER BOŞLUK SABİTLEME ===== */
@media (min-width: 769px) {
    .main-header .header-top {
        padding: 16px 24px;
    }

    .main-header .main-nav {
        padding: 10px 24px;
    }
}

/* ===== PROFILE RESPONSIVE + BLOCKED BALANCE FIX ===== */
.text-warning {
    color: var(--warning) !important;
}

.responsive-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.responsive-table-wrap .data-table {
    min-width: 680px;
}

.profile-page {
    width: 100%;
    max-width: 100%;
}

.profile-page-title {
    margin-bottom: 20px;
}

.profile-hero-card {
    border-radius: 22px;
}

.profile-hero-body {
    min-width: 0;
}

.profile-stats {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.profile-stats strong {
    overflow-wrap: anywhere;
}

.profile-info-list {
    display: grid;
    gap: 12px;
}

.profile-info-list > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
}

.profile-info-list > div:last-child {
    border-bottom: 0;
}

.profile-info-list span {
    color: var(--text-muted);
    flex: 0 0 auto;
}

.profile-info-list strong,
.profile-info-list .badge {
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: right;
}

.profile-action-grid {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .profile-page-title {
        font-size: 22px;
        line-height: 1.25;
    }

    .profile-hero-banner {
        height: 130px !important;
    }

    .profile-hero-body {
        padding: 16px !important;
    }

    .profile-avatar-area {
        margin-top: -48px !important;
        align-items: center !important;
        gap: 12px;
    }

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

    .profile-avatar-area h3 {
        font-size: 19px;
    }

    .profile-avatar-area p {
        font-size: 13px;
        overflow-wrap: anywhere;
    }

    .profile-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    .profile-stats div {
        padding: 12px 8px;
    }

    .profile-stats strong {
        font-size: 17px;
    }

    .profile-stats span {
        font-size: 11px;
        line-height: 1.35;
    }

    .profile-media-grid {
        grid-template-columns: 1fr !important;
    }

    .profile-info-list > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .profile-info-list strong,
    .profile-info-list .badge {
        text-align: left;
    }

    .profile-action-grid .btn,
    .profile-photo-form .btn {
        width: 100%;
        justify-content: center !important;
        white-space: normal;
    }
}

@media (max-width: 420px) {
    .profile-stats {
        grid-template-columns: 1fr !important;
    }

    .profile-avatar-large {
        width: 82px;
        height: 82px;
    }

    .responsive-table-wrap .data-table {
        min-width: 620px;
    }
}

/* ===== PROFIL / SATICI HERO MOBIL DUZELTME ===== */
.profile-hero-card,
.public-profile-card {
    overflow: hidden !important;
    padding: 0 !important;
    border-radius: 22px;
}

.profile-hero-banner {
    width: 100%;
    height: clamp(120px, 30vw, 180px) !important;
    min-height: 0 !important;
    background: var(--gradient-1);
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    position: relative;
    z-index: 1;
}

.profile-hero-body {
    padding: 0 22px 22px !important;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.profile-hero-avatar {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    gap: 16px;
    margin-top: 0 !important;
    margin-bottom: -34px;
    transform: translateY(-56px);
    text-align: left !important;
    min-width: 0;
    position: relative;
    z-index: 3;
}

.profile-hero-avatar > div {
    min-width: 0;
    padding-bottom: 8px;
}

.profile-hero-avatar h2,
.profile-hero-avatar h3,
.profile-hero-avatar p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.profile-hero-avatar .profile-avatar-large {
    width: clamp(82px, 22vw, 112px);
    height: clamp(82px, 22vw, 112px);
    border: 4px solid var(--dark-card) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.34);
    background: var(--dark-card);
    position: relative;
    z-index: 4;
}

.commission-notice {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: var(--warning);
    line-height: 1.45;
}

@media (max-width: 768px) {
    .profile-hero-card,
    .public-profile-card {
        border-radius: 18px;
    }

    .profile-hero-banner {
        height: clamp(112px, 34vw, 140px) !important;
    }

    .profile-hero-body {
        padding: 0 14px 16px !important;
    }

    .profile-hero-avatar {
        flex-direction: row !important;
        align-items: flex-end !important;
        gap: 12px;
        margin-bottom: -26px;
        transform: translateY(-44px);
        text-align: left !important;
    }

    .profile-hero-avatar > div {
        padding-bottom: 4px;
    }

    .profile-hero-avatar .profile-avatar-large {
        width: 78px !important;
        height: 78px !important;
        border-width: 3px !important;
    }
}

@media (max-width: 420px) {
    .profile-hero-banner {
        height: 108px !important;
    }

    .profile-hero-avatar {
        transform: translateY(-38px);
        margin-bottom: -22px;
        gap: 10px;
    }

    .profile-hero-avatar .profile-avatar-large {
        width: 68px !important;
        height: 68px !important;
    }
}


/* ===== HESAPITEM PROFIL BANNER / MOBIL AVATAR DUZELTME ===== */
.profile-hero-card,
.public-profile-card {
    position: relative !important;
    overflow: visible !important;
}

.profile-hero-banner {
    position: relative !important;
    z-index: 0 !important;
    border-radius: 22px 22px 0 0;
}

.profile-hero-body {
    position: relative !important;
    z-index: 3 !important;
}

.profile-hero-avatar,
.profile-hero-avatar .profile-avatar-large,
.profile-avatar-area,
.profile-avatar-large {
    position: relative !important;
    z-index: 6 !important;
}

@media (max-width: 768px) {
    .profile-hero-card,
    .public-profile-card {
        overflow: visible !important;
    }

    .profile-hero-banner {
        z-index: 0 !important;
        height: 118px !important;
        margin-bottom: 0 !important;
    }

    .profile-hero-body {
        z-index: 4 !important;
        padding-top: 0 !important;
    }

    .profile-hero-avatar {
        z-index: 8 !important;
        transform: translateY(-34px) !important;
        margin-bottom: -16px !important;
        align-items: flex-start !important;
    }

    .profile-hero-avatar .profile-avatar-large {
        z-index: 9 !important;
        width: 82px !important;
        height: 82px !important;
        border: 4px solid var(--dark-card) !important;
        box-shadow: 0 10px 28px rgba(0,0,0,.38);
    }
}

@media (max-width: 420px) {
    .profile-hero-banner {
        height: 104px !important;
    }

    .profile-hero-avatar {
        transform: translateY(-30px) !important;
    }

    .profile-hero-avatar .profile-avatar-large {
        width: 72px !important;
        height: 72px !important;
    }
}

/* ===== 2026 Uyumluluk + PUBG UC ekleri ===== */
img, video, iframe {
    max-width: 100%;
}

.admin-form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pubg-uc-showcase {
    margin: 28px 0;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(15, 23, 42, .96), rgba(30, 41, 59, .92));
    border: 1px solid rgba(251, 191, 36, .24);
    box-shadow: 0 18px 50px rgba(2, 6, 23, .28);
    overflow: hidden;
}

.pubg-uc-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.pubg-uc-head h2 {
    margin: 8px 0 8px;
    font-size: clamp(22px, 3vw, 34px);
    color: #fff;
}

.pubg-uc-head p {
    margin: 0;
    color: var(--text-muted);
    max-width: 780px;
}

.pubg-uc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #fde68a;
    background: rgba(251, 191, 36, .12);
    border: 1px solid rgba(251, 191, 36, .22);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pubg-uc-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 14px;
    background: rgba(245, 158, 11, .18);
    border: 1px solid rgba(245, 158, 11, .34);
    color: #fff;
    white-space: nowrap;
    text-decoration: none;
}

.pubg-uc-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.pubg-uc-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(15, 23, 42, .86);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.pubg-uc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 191, 36, .5);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .34);
}

.pubg-uc-image-wrap {
    position: relative;
    aspect-ratio: 1.52 / 1;
    background: #0f172a;
}

.pubg-uc-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pubg-uc-digital-badge {
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(22, 163, 74, .94);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.pubg-uc-body {
    padding: 15px;
}

.pubg-uc-game {
    color: #fbbf24;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.pubg-uc-body h3 {
    margin: 5px 0 10px;
    color: #fff;
    font-size: 21px;
}

.pubg-uc-price {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 12px;
    background: rgba(251, 191, 36, .13);
    color: #fde68a;
    font-weight: 900;
}

.pubg-uc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 12px;
}

.pubg-uc-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pubg-uc-admin-form {
    padding-bottom: 88px;
}

.pubg-uc-admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pubg-uc-admin-card {
    padding: 16px;
    border-radius: 20px;
    background: var(--dark-lighter);
    border: 1px solid rgba(245, 158, 11, .14);
}

.pubg-uc-admin-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.pubg-uc-admin-preview img {
    width: 96px;
    height: 64px;
    object-fit: cover;
    border-radius: 14px;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, .08);
}

.pubg-uc-admin-preview strong {
    font-size: 18px;
    color: var(--text-light);
}

.pubg-uc-admin-sticky {
    position: sticky;
    bottom: 16px;
    margin-top: 22px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(15, 23, 42, .9);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(12px);
    z-index: 20;
}

@media (max-width: 1180px) {
    .pubg-uc-grid,
    .pubg-uc-admin-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .admin-form-grid-2,
    .pubg-uc-grid,
    .pubg-uc-admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pubg-uc-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .admin-form-grid-2,
    .pubg-uc-grid,
    .pubg-uc-admin-grid {
        grid-template-columns: 1fr;
    }
    .pubg-uc-showcase {
        padding: 16px;
        border-radius: 18px;
    }
    .pubg-uc-admin-sticky {
        left: 12px;
        right: 12px;
        flex-direction: column;
    }
    .pubg-uc-admin-sticky .btn {
        width: 100%;
        justify-content: center;
    }
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hero-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(8px);
}

.hero-link-btn:hover {
    transform: translateY(-1px);
}

/* PUBG UC ürün kartları - screenshot tarzı kompakt mağaza görünümü */
.pubg-uc-store {
    margin: 26px 0 34px;
}

.pubg-uc-store-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.pubg-uc-store-head h2 {
    margin: 8px 0 6px;
    color: var(--text-light);
    font-size: clamp(22px, 3vw, 34px);
}

.pubg-uc-store-head p {
    margin: 0;
    color: var(--text-muted);
    max-width: 760px;
}

.pubg-uc-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.pubg-uc-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(174px, 1fr));
    gap: 16px;
    align-items: stretch;
    content-visibility: auto;
    contain-intrinsic-size: 360px;
}

.pubg-uc-product-card {
    overflow: hidden;
    border-radius: 8px;
    background: #22243a;
    border: 1px solid rgba(255,255,255,.07);
    box-shadow: 0 10px 26px rgba(0,0,0,.20);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.pubg-uc-product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, .45);
    box-shadow: 0 16px 36px rgba(0,0,0,.28);
}

.pubg-uc-product-image {
    display: block;
    position: relative;
    aspect-ratio: 1.48 / 1;
    overflow: hidden;
    background: #151729;
}

.pubg-uc-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pubg-uc-product-body {
    padding: 12px 12px 14px;
}

.pubg-uc-product-body h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 800;
    text-transform: none;
}

.pubg-uc-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    min-height: 18px;
    margin-bottom: 9px;
    color: #fbbf24;
    font-size: 13px;
}

.pubg-uc-rating span {
    color: #d5d7e7;
    margin-left: 3px;
    font-size: 12px;
}

.pubg-uc-product-price {
    min-height: 25px;
    margin-bottom: 13px;
    color: #f7f7ff;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: .01em;
}

.pubg-uc-buy-btn,
.pubg-uc-detail-btn {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 31px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .02em;
    text-decoration: none;
    text-transform: uppercase;
}

.pubg-uc-buy-btn {
    background: #F59E0B;
    color: #fff;
    border: 1px solid rgba(245, 158, 11, .85);
    margin-bottom: 7px;
}

.pubg-uc-buy-btn:hover {
    filter: brightness(1.07);
    color: #fff;
}

.pubg-uc-buy-btn.disabled {
    background: rgba(148,163,184,.16);
    border-color: rgba(148,163,184,.20);
    color: var(--text-muted);
    pointer-events: none;
}

.pubg-uc-detail-btn {
    background: transparent;
    color: #f8fafc;
    border: 1px solid rgba(255,255,255,.09);
}

.pubg-uc-detail-btn:hover {
    background: rgba(255,255,255,.05);
    color: #fff;
}

.pubg-uc-checkout-page {
    max-width: 1180px;
    margin: 0 auto;
}

.pubg-uc-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
    gap: 22px;
    align-items: start;
}

.pubg-uc-checkout-summary {
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(15,23,42,.95), rgba(30,41,59,.92));
    border: 1px solid rgba(245, 158, 11, .18);
    box-shadow: 0 18px 50px rgba(0,0,0,.24);
}

.pubg-uc-checkout-image {
    aspect-ratio: 1.58 / 1;
    background: #111827;
}

.pubg-uc-checkout-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pubg-uc-checkout-info {
    padding: 20px;
}

.pubg-uc-checkout-info h1 {
    margin: 10px 0 8px;
    color: var(--text-light);
    font-size: clamp(26px, 4vw, 42px);
}

.pubg-uc-checkout-info p {
    margin: 0 0 16px;
    color: var(--text-muted);
}

.pubg-uc-checkout-price {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(245, 158, 11, .15);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.pubg-uc-checkout-card {
    position: sticky;
    top: 90px;
}

.form-help {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 12px;
}

.pubg-uc-checkout-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0;
    padding: 14px;
    border-radius: 14px;
    background: rgba(245, 158, 11, .10);
    border: 1px solid rgba(245, 158, 11, .16);
}

.pubg-uc-checkout-balance span {
    color: var(--text-muted);
}

.pubg-uc-checkout-balance strong {
    color: var(--text-light);
    font-size: 20px;
}

.pubg-uc-pay-btn {
    width: 100%;
    justify-content: center;
    min-height: 46px;
}

.admin-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.admin-page-head h1 {
    margin: 0 0 8px;
}

.admin-page-head p {
    margin: 0;
    color: var(--text-muted);
    max-width: 760px;
}

.uc-order-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.uc-order-stat {
    padding: 14px;
    border-radius: 16px;
    background: var(--dark-lighter);
    border: 1px solid rgba(255,255,255,.07);
    text-decoration: none;
}

.uc-order-stat.active,
.uc-order-stat:hover {
    border-color: rgba(245, 158, 11, .45);
    background: rgba(245, 158, 11, .12);
}

.uc-order-stat span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 5px;
}

.uc-order-stat strong {
    color: var(--text-light);
    font-size: 24px;
}

.uc-order-list {
    display: grid;
    gap: 14px;
}

.uc-order-admin-card {
    display: grid;
    grid-template-columns: minmax(280px, 1.1fr) minmax(180px, .65fr) minmax(280px, 1fr);
    gap: 14px;
    align-items: stretch;
    padding: 14px;
    border-radius: 18px;
    background: rgba(15,23,42,.42);
    border: 1px solid rgba(255,255,255,.07);
}

.uc-order-main {
    display: flex;
    align-items: center;
    gap: 13px;
}

.uc-order-main img {
    width: 120px;
    height: 76px;
    object-fit: cover;
    border-radius: 12px;
    background: #111827;
}

.uc-order-main strong,
.uc-order-main span,
.uc-order-delivery-box label,
.uc-order-delivery-box strong {
    display: block;
}

.uc-order-main strong {
    color: var(--text-light);
    margin-bottom: 6px;
}

.uc-order-main span {
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 3px;
}

.uc-order-delivery-box {
    padding: 12px;
    border-radius: 14px;
    background: rgba(245, 158, 11, .10);
    border: 1px solid rgba(245, 158, 11, .15);
}

.uc-order-delivery-box label {
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 3px;
}

.uc-order-delivery-box strong {
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
}

.uc-order-edit-box textarea {
    resize: vertical;
}

.uc-order-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.status-islemde {
    background: rgba(59,130,246,.12) !important;
    color: var(--info) !important;
}

.pubg-uc-user-order .siparis-body img {
    object-fit: cover;
    border-radius: 12px;
}

@media (min-width: 1280px) {
    .pubg-uc-product-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .pubg-uc-checkout-grid,
    .uc-order-admin-card {
        grid-template-columns: 1fr;
    }
    .pubg-uc-checkout-card {
        position: static;
    }
    .pubg-uc-store-head,
    .admin-page-head {
        flex-direction: column;
        align-items: stretch;
    }
    .pubg-uc-admin-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .pubg-uc-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .pubg-uc-product-body {
        padding: 10px;
    }
    .pubg-uc-product-body h3 {
        font-size: 14px;
    }
    .pubg-uc-product-price {
        font-size: 15px;
    }
    .pubg-uc-buy-btn,
    .pubg-uc-detail-btn {
        height: 30px;
        font-size: 10px;
    }
    .uc-order-main {
        align-items: flex-start;
    }
    .uc-order-main img {
        width: 96px;
        height: 62px;
    }
    .uc-order-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* PUBG alt kategori + satıcı kimlik onayı + mesajlaşma */
.pubg-type-badge {
    top: 74px;
    background: linear-gradient(135deg, rgba(245, 158, 11, .95), rgba(245, 158, 11, .95)) !important;
    color: #fff !important;
}
.seller-verified-badge,
.seller-unverified-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,.12);
}
.seller-verified-badge {
    color: #d1fae5;
    background: rgba(16, 185, 129, .16);
    border-color: rgba(16, 185, 129, .32);
}
.seller-unverified-badge {
    color: var(--text-muted);
    background: rgba(148, 163, 184, .10);
}
.seller-verified-badge.mini {
    padding: 5px 8px;
    font-size: 11px;
}
.seller-profile-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}
.chat-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 18px;
    align-items: start;
}
.chat-sidebar,
.chat-window {
    overflow: hidden;
}
.chat-list {
    display: grid;
    gap: 8px;
    padding: 12px;
    max-height: 680px;
    overflow: auto;
}
.chat-list-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.03);
    transition: .18s ease;
}
.chat-list-item:hover,
.chat-list-item.active {
    border-color: rgba(245, 158, 11, .45);
    background: rgba(245, 158, 11, .12);
    transform: translateY(-1px);
}
.chat-list-item img,
.chat-peer img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}
.chat-list-info p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.chat-list-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.chat-unread {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}
.chat-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #86efac;
    margin-top: 3px;
}
.chat-window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.chat-peer {
    display: flex;
    align-items: center;
    gap: 12px;
}
.chat-peer h3 {
    margin: 0;
}
.chat-messages {
    height: min(62vh, 620px);
    min-height: 360px;
    padding: 18px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,.015), rgba(245, 158, 11, .045));
}
.chat-message {
    display: flex;
}
.chat-message.mine {
    justify-content: flex-end;
}
.chat-message.theirs {
    justify-content: flex-start;
}
.chat-bubble {
    max-width: min(72%, 620px);
    padding: 11px 13px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.06);
    box-shadow: 0 12px 30px rgba(0,0,0,.10);
}
.chat-message.mine .chat-bubble {
    background: linear-gradient(135deg, rgba(245, 158, 11, .9), rgba(251,191,36,.88));
    color: #fff;
    border-color: rgba(255,255,255,.16);
}
.chat-bubble p {
    margin: 0;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.chat-bubble small {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    opacity: .72;
}
.chat-compose {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 14px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.chat-compose textarea {
    min-height: 52px;
    max-height: 150px;
    resize: vertical;
}
.small-empty {
    padding: 30px 16px !important;
}
@media (max-width: 860px) {
    .chat-layout {
        grid-template-columns: 1fr;
    }
    .chat-list {
        max-height: 280px;
    }
    .chat-window-header,
    .chat-compose {
        grid-template-columns: 1fr;
    }
    .chat-compose {
        display: grid;
    }
    .chat-compose .btn {
        width: 100%;
    }
    .chat-bubble {
        max-width: 88%;
    }
}

/* ===== SOSYAL GİRİŞ + SÖZLEŞME KUTULARI ===== */
.auth-box {
    max-width: 430px;
}

.auth-social-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0 0 18px;
}

.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.055);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.social-login-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(245, 158, 11, .42);
    background: rgba(245, 158, 11, .12);
}

.social-login-btn i {
    width: 20px;
    min-width: 20px;
    font-size: 18px;
    text-align: center;
}

.social-google i { color: #ea4335; }
.social-facebook i { color: #1877f2; }
.social-twitch i { color: #9146ff; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0 18px;
    color: var(--text-muted);
    font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(255,255,255,.09);
}

.agreement-box {
    display: grid;
    gap: 10px;
    margin: 6px 0 18px;
}

.agreement-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(245, 158, 11, .18);
    background: rgba(255,255,255,.04);
}

.agreement-row label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
    cursor: pointer;
    min-width: 0;
}

.agreement-row input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin-top: 1px;
    accent-color: var(--primary);
    flex: 0 0 auto;
}

.agreement-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, .32);
    color: #fff;
    background: rgba(245, 158, 11, .16);
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
}

.agreement-action:hover {
    background: var(--gradient-1);
    border-color: transparent;
}

.legal-card {
    max-width: 920px;
    margin: 0 auto 28px;
}

.legal-content {
    color: var(--text-muted);
    line-height: 1.75;
}

.legal-content h3 {
    color: var(--text-light);
    margin: 22px 0 8px;
    font-size: 18px;
}

/* ===== MOBİL PROFİL BANNER / PP ÜSTE ÇIKMA DÜZELTMESİ ===== */
.profile-hero-card,
.public-profile-card {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate;
}

.profile-hero-banner {
    position: relative !important;
    z-index: 1 !important;
    pointer-events: none;
    overflow: hidden !important;
}

.profile-hero-body {
    position: relative !important;
    z-index: 5 !important;
    background: var(--dark-card);
}

.profile-hero-avatar,
.profile-avatar-area.profile-hero-avatar {
    position: relative !important;
    z-index: 20 !important;
}

.profile-hero-avatar .profile-avatar-large,
.profile-avatar-large {
    position: relative !important;
    z-index: 25 !important;
    display: block;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .auth-container {
        padding: 14px;
    }

    .auth-box {
        max-width: 100%;
    }

    .social-login-btn {
        min-height: 44px;
        font-size: 13px;
    }

    .agreement-row {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .agreement-action {
        width: 100%;
    }

    .profile-hero-card,
    .public-profile-card {
        overflow: hidden !important;
        border-radius: 18px !important;
    }

    .profile-hero-banner {
        height: 112px !important;
        min-height: 112px !important;
        border-radius: 18px 18px 0 0 !important;
    }

    .profile-hero-body {
        padding: 0 14px 16px !important;
    }

    .profile-hero-avatar,
    .profile-avatar-area.profile-hero-avatar {
        transform: translateY(-28px) !important;
        margin-bottom: -12px !important;
        align-items: center !important;
    }

    .profile-hero-avatar .profile-avatar-large {
        width: 76px !important;
        height: 76px !important;
        min-width: 76px !important;
        border: 4px solid var(--dark-card) !important;
        box-shadow: 0 12px 28px rgba(0,0,0,.42) !important;
    }
}

@media (max-width: 420px) {
    .profile-hero-banner {
        height: 98px !important;
        min-height: 98px !important;
    }

    .profile-hero-avatar,
    .profile-avatar-area.profile-hero-avatar {
        transform: translateY(-22px) !important;
        margin-bottom: -8px !important;
        gap: 9px !important;
    }

    .profile-hero-avatar .profile-avatar-large {
        width: 66px !important;
        height: 66px !important;
        min-width: 66px !important;
    }
}


/* ===== Vitrin / Öne Çıkan canlı rozetler + performans dokunuşları ===== */
.vitrin-badge,
.featured-badge {
    overflow: hidden;
    isolation: isolate;
    white-space: nowrap;
    color: #fff !important;
    transform: translateZ(0);
}

.vitrin-badge {
    background: linear-gradient(135deg, #D97706 0%, #FBBF24 52%, #f59e0b 100%) !important;
    box-shadow: 0 0 16px rgba(251, 191, 36, .42), 0 0 24px rgba(245, 158, 11, .30);
    animation: depinBadgeGlow 2.2s ease-in-out infinite;
}

.featured-badge {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 55%, #059669 100%) !important;
    box-shadow: 0 0 14px rgba(34, 197, 94, .42);
    animation: depinFeaturedSlide 2.4s ease-in-out infinite;
}

.vitrin-badge::after,
.featured-badge::after {
    content: '';
    position: absolute;
    inset: -40% auto -40% -65%;
    width: 58%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
    transform: skewX(-18deg) translateX(0);
    animation: depinBadgeShine 2.35s linear infinite;
    will-change: transform;
}

@keyframes depinBadgeShine {
    0% { transform: skewX(-18deg) translateX(0); }
    100% { transform: skewX(-18deg) translateX(320%); }
}

@keyframes depinBadgeGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.18); }
}

@keyframes depinFeaturedSlide {
    0%, 100% { transform: translate3d(0,0,0); }
    50% { transform: translate3d(5px,0,0); }
}

.pubg-lite-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.server-subcategory-card.active-subcategory {
    border-color: rgba(34, 197, 94, .78);
    box-shadow: 0 18px 44px rgba(34, 197, 94, .16);
}

.ilan-grid {
    content-visibility: auto;
    contain-intrinsic-size: 680px;
}

@media (prefers-reduced-motion: reduce) {
    .vitrin-badge,
    .featured-badge,
    .vitrin-badge::after,
    .featured-badge::after,
    .ilan-card,
    .ilan-image img,
    .server-subcategory-card,
    .server-subcategory-card img {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 768px) {
    .pubg-lite-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ===== GİRİŞ / ÇIKIŞ ONAY EKRANLARI + PROFİL KARTI BAKİYE ===== */
.auth-result-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-result-box {
    text-align: center;
    max-width: 440px;
}

.auth-result-box h1 {
    margin: 10px 0 8px;
    font-size: 28px;
}

.auth-result-box p {
    color: var(--text-muted);
    margin-bottom: 22px;
    line-height: 1.6;
}

.auth-success-icon,
.auth-warning-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 12px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
}

.auth-success-icon {
    color: #86efac;
    background: rgba(16, 185, 129, .14);
    box-shadow: 0 0 34px rgba(16,185,129,.18);
}

.auth-warning-icon {
    color: #fecaca;
    background: rgba(239, 68, 68, .13);
    box-shadow: 0 0 34px rgba(239,68,68,.16);
}

.logout-confirm-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dropdown-profile-card {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px 14px;
    margin: 0 8px 8px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(245, 158, 11, .18), rgba(15,15,26,.56));
    border: 1px solid rgba(245, 158, 11, .24);
}

.dropdown-profile-card img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.15);
    flex: 0 0 auto;
}

.dropdown-profile-info {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.dropdown-profile-info strong {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-profile-info span {
    color: var(--text-muted);
    font-size: 11px;
}

.dropdown-profile-info b {
    color: #86efac;
    font-size: 13px;
    white-space: nowrap;
}

/* ===== MOBİL BANNER TAŞMA KESİN DÜZELTME ===== */
.site-wrapper,
.main-content,
.slider-container,
.hero-slide,
.hero-overlay,
.profile-hero-card,
.public-profile-card,
.reklam-item {
    min-width: 0 !important;
    max-width: 100% !important;
}

.main-content,
.hero-slider,
#reklam-slider,
.profile-hero-card,
.public-profile-card,
.reklam-item {
    overflow-x: hidden !important;
}

.hero-slider,
#reklam-slider {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    contain: layout paint;
    transform: translateZ(0);
}

.hero-slide img,
.profile-hero-banner,
.seller-banner,
.shop-banner,
.reklam-item img {
    display: block;
    max-width: 100% !important;
    min-width: 0 !important;
    object-position: center center;
}

.hero-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.hero-title,
.hero-desc {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.hero-title { -webkit-line-clamp: 2; }
.hero-desc { -webkit-line-clamp: 2; }

.profile-hero-card,
.public-profile-card {
    overflow: hidden !important;
    isolation: isolate;
}

.profile-hero-banner {
    width: 100% !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center !important;
}

.profile-hero-body {
    max-width: 100% !important;
}

.reklam-item-info,
.reklam-item-actions {
    min-width: 0;
}

.reklam-item-info p,
.reklam-item-info h4 {
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    body,
    .site-wrapper,
    .main-content {
        overflow-x: hidden !important;
    }

    .header-actions .balance-btn {
        display: none !important;
    }

    .dropdown-menu {
        max-height: calc(100vh - 76px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .dropdown-profile-card {
        margin: 0 8px 8px;
        padding: 11px;
    }

    #reklam-slider,
    .hero-slider {
        height: clamp(128px, 42vw, 178px) !important;
        border-radius: 16px !important;
    }

    .hero-overlay {
        padding: 12px !important;
        background: linear-gradient(to top, rgba(15,15,26,.92) 0%, rgba(15,15,26,.20) 72%, transparent 100%) !important;
    }

    .hero-title {
        font-size: 16px !important;
        line-height: 1.18 !important;
        -webkit-line-clamp: 1;
    }

    .hero-desc {
        font-size: 11.5px !important;
        line-height: 1.35 !important;
        -webkit-line-clamp: 2;
    }

    .hero-link-btn {
        max-width: 100%;
        padding: 8px 10px !important;
        font-size: 11.5px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .slider-nav {
        bottom: 8px !important;
        padding: 0 8px !important;
    }

    .slider-prev,
    .slider-next {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
    }

    .profile-hero-card,
    .public-profile-card {
        overflow: hidden !important;
    }

    .profile-hero-banner {
        height: clamp(96px, 31vw, 124px) !important;
        min-height: 0 !important;
        border-radius: 18px 18px 0 0 !important;
    }

    .profile-hero-avatar,
    .profile-avatar-area.profile-hero-avatar {
        transform: translateY(-24px) !important;
        margin-bottom: -8px !important;
        max-width: 100% !important;
    }

    .profile-hero-avatar .profile-avatar-large,
    .profile-avatar-large {
        width: 72px !important;
        height: 72px !important;
        min-width: 72px !important;
    }

    .reklam-item {
        width: 100%;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .reklam-item img {
        width: 100% !important;
        height: auto !important;
        max-height: 170px !important;
    }

    .logout-confirm-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    #reklam-slider,
    .hero-slider {
        height: 124px !important;
    }

    .hero-title {
        font-size: 14px !important;
    }

    .hero-desc {
        font-size: 10.5px !important;
    }

    .hero-link-btn {
        display: none !important;
    }

    .profile-hero-avatar .profile-avatar-large,
    .profile-avatar-large {
        width: 64px !important;
        height: 64px !important;
        min-width: 64px !important;
    }
}


/* ===== HESAPITEM GORSEL LOGO / KULLANICI BANNER GUNCELLEME ===== */
.site-logo-img {
    display: block;
    width: clamp(170px, 48vw, 230px);
    height: 62px;
    object-fit: contain;
    border-radius: 10px;
}

.mini-logo .site-logo-img {
    width: 190px;
    height: 56px;
}

.footer-logo-img {
    width: 168px;
    height: 54px;
}

.auth-logo-img {
    display: block;
    width: min(210px, 72vw);
    height: auto;
    margin: 0 auto 10px;
    border-radius: 16px;
}

.profile-hero-card,
.public-profile-card,
.shop-card {
    overflow: hidden !important;
}

.profile-hero-banner,
.shop-banner {
    background-image: url('../images/hesapitem-user-banner.png');
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

@media (max-width: 420px) {
    .site-logo-img {
        width: 190px;
        height: 54px;
    }

    .mini-logo .site-logo-img {
        width: 170px;
        height: 50px;
    }
}

/* ===== GENEL PERFORMANS OPTIMIZASYONU 20260519perf1 ===== */
.main-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.15);
}

.hero-slide {
    visibility: hidden;
    pointer-events: none;
    will-change: auto;
}

.hero-slide.active {
    visibility: visible;
    pointer-events: auto;
}

.ilan-grid,
.server-subcategory-grid,
.pubg-uc-product-grid,
.shop-grid,
.all-category-grid {
    content-visibility: auto;
    contain-intrinsic-size: 720px;
}

.ilan-card,
.server-subcategory-card,
.pubg-uc-product-card,
.shop-card,
.card {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

img {
    image-rendering: auto;
}

@media (hover: none), (pointer: coarse), (max-width: 768px) {
    .ilan-card,
    .server-subcategory-card,
    .pubg-uc-product-card,
    .shop-card,
    .category-card,
    .quick-side-menu a,
    .site-whatsapp-card {
        transition: none !important;
        transform: none !important;
        box-shadow: none;
    }

    .ilan-card:hover,
    .server-subcategory-card:hover,
    .pubg-uc-product-card:hover,
    .shop-card:hover,
    .category-card:hover,
    .quick-side-menu a:hover,
    .site-whatsapp-card:hover {
        transform: none !important;
    }

    .ilan-card:hover .ilan-image img,
    .server-subcategory-card:hover img,
    .pubg-uc-product-card:hover img,
    .category-card:hover img {
        transform: none !important;
    }

    .vitrin-badge,
    .featured-badge,
    .vitrin-badge::after,
    .featured-badge::after,
    .site-whatsapp-icon {
        animation: none !important;
        filter: none !important;
    }

    .home-menu-panel,
    .modal-content,
    .dropdown-menu,
    .admin-sidebar,
    .auth-box {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}


/* custom updates */
.btn-round-login{border-radius:999px!important;padding:10px 18px!important;background:var(--gradient-1)!important;color:#fff!important;border:none!important}
.vitrin-badge,.featured-badge{color:#fff!important;position:relative;overflow:hidden}
.vitrin-badge span,.featured-badge span{animation:badgeMarquee 5s linear infinite}
@keyframes badgeMarquee{0%{transform:translateX(100%)}100%{transform:translateX(-100%)}}
.status-success,.alert-success,.success-message{background:#facc15!important;color:#000!important}
.status-danger,.alert-danger,.error-message{background:#ef4444!important;color:#fff!important}


.vitrin-badge,
.featured-badge{
    overflow:hidden;
    white-space:nowrap;
    color:#fff !important;
    position:relative;
}

.vitrin-badge::after,
.featured-badge::after{
    content:attr(data-text);
    position:absolute;
    left:-100%;
    top:0;
    width:200%;
    animation:marqueeMove 6s linear infinite;
    color:#fff;
}

@keyframes marqueeMove{
    0%{transform:translateX(0);}
    100%{transform:translateX(100%);}
}


/* ===== INDEX LOGO + MOBİL VİTRİN / ÖNE ÇIKAN ROZET KAYDIRMA FIX 20260520 ===== */
.ilan-badge.vitrin-badge,
.ilan-badge.featured-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 92px !important;
    width: auto !important;
    max-width: calc(100% - 20px) !important;
    height: 26px !important;
    padding: 0 !important;
    line-height: 26px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
    transform: translateZ(0);
}

.ilan-badge.vitrin-badge::after,
.ilan-badge.featured-badge::after {
    content: '' !important;
    position: absolute !important;
    inset: -45% auto -45% -70% !important;
    width: 58% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.62), transparent) !important;
    transform: skewX(-18deg) translateX(0) !important;
    animation: depinBadgeShine 2.35s linear infinite !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.depin-badge-marquee {
    position: relative !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 18px !important;
    min-width: max-content !important;
    will-change: transform !important;
    animation: depinBadgeMarqueeRight 4.8s linear infinite !important;
}

.depin-badge-text {
    display: inline-block !important;
    padding: 0 10px !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .55px !important;
    line-height: 26px !important;
    white-space: nowrap !important;
}

@keyframes depinBadgeMarqueeRight {
    0% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

@media (max-width: 768px), (hover: none), (pointer: coarse) {
    .ilan-badge.vitrin-badge,
    .ilan-badge.featured-badge {
        min-width: 86px !important;
        height: 24px !important;
        line-height: 24px !important;
        border-radius: 7px !important;
        animation: none !important;
        filter: none !important;
    }

    .ilan-badge.vitrin-badge::after,
    .ilan-badge.featured-badge::after {
        animation: depinBadgeShine 2.6s linear infinite !important;
    }

    .depin-badge-marquee {
        animation: depinBadgeMarqueeRight 4.3s linear infinite !important;
    }

    .depin-badge-text {
        font-size: 10px !important;
        line-height: 24px !important;
        padding: 0 9px !important;
    }

    .section-tabs {
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .section-tabs .tab-btn {
        scroll-snap-align: center;
        flex: 0 0 auto;
    }
}


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

/* Rozet iç yazılarını eski genel span animasyonundan koru */
.vitrin-badge .depin-badge-text,
.featured-badge .depin-badge-text {
    animation: none !important;
}

/* ===== DEPINPAZAR BENZERI HESABIM SAYFASI ===== */
.depin-account-page {
    max-width: 920px;
    margin: 0 auto;
}

.account-user-card {
    margin-bottom: 14px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(17, 17, 17, .96), rgba(10, 10, 10, .98));
    border: 1px solid rgba(245, 158, 11, .20);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .22);
    overflow: hidden;
}

.account-user-toggle {
    width: 100%;
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--text);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.account-user-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.account-user-avatar {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    object-fit: cover;
    background: var(--dark-lighter);
    border: 2px solid rgba(245, 158, 11, .28);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .28);
    flex: 0 0 auto;
}

.account-user-text {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.account-user-text strong {
    font-size: clamp(20px, 4vw, 34px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.03em;
    overflow-wrap: anywhere;
}

.account-user-text small {
    color: var(--text-muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.account-user-arrow {
    color: var(--text-muted);
    font-size: 18px;
    transition: transform .22s ease, color .22s ease;
}

.account-user-toggle.is-open .account-user-arrow {
    transform: rotate(180deg);
    color: var(--primary-light);
}

.account-menu-list[hidden] {
    display: none !important;
}

.account-menu-list {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
    animation: fadeIn .18s ease;
}

.account-menu-item,
.account-menu-details summary {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(17, 17, 17, .88);
    border: 1px solid rgba(245, 158, 11, .12);
    color: var(--text);
    font-size: clamp(16px, 3.2vw, 24px);
    font-weight: 500;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.account-menu-item:hover,
.account-menu-details summary:hover,
.account-menu-item.active {
    border-color: rgba(245, 158, 11, .78);
    background: rgba(245, 158, 11, .18);
}

.account-menu-item i,
.account-menu-details summary span > i {
    width: 28px;
    text-align: center;
    font-size: 21px;
    color: var(--text);
    flex: 0 0 auto;
}

.account-menu-details {
    display: grid;
    gap: 8px;
}

.account-menu-details summary {
    list-style: none;
    cursor: pointer;
    justify-content: space-between;
}

.account-menu-details summary::-webkit-details-marker {
    display: none;
}

.account-menu-details summary span {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.account-menu-details summary > .fa-chevron-down {
    width: auto;
    color: var(--text-muted);
    transition: transform .22s ease;
}

.account-menu-details[open] summary > .fa-chevron-down {
    transform: rotate(180deg);
}

.account-submenu {
    display: grid;
    gap: 8px;
    padding: 0 0 4px 44px;
}

.account-submenu a {
    padding: 11px 14px;
    border-radius: 12px;
    background: rgba(15, 15, 26, .38);
    border: 1px solid rgba(245, 158, 11, .10);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.account-submenu a:hover {
    color: var(--text);
    border-color: rgba(245, 158, 11, .35);
}

.account-summary-section {
    margin: 24px 0 20px;
}

.account-summary-title {
    margin: 0 0 18px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 16px;
    background: rgba(17, 17, 17, .72);
    border: 1px solid rgba(245, 158, 11, .26);
    color: var(--text);
    font-size: clamp(26px, 5vw, 42px);
    font-weight: 800;
    letter-spacing: -.04em;
}

.account-summary-title i {
    color: var(--primary);
}

.account-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 18px;
}

.account-summary-card {
    min-height: 190px;
    padding: 28px 28px 24px;
    border-radius: 18px;
    background: rgba(17, 17, 17, .94);
    border: 1px solid rgba(245, 158, 11, .16);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
}

.account-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, .36);
    color: var(--primary-light);
    font-size: 23px;
    margin-bottom: 10px;
}

.account-card-label {
    color: var(--text-muted);
    font-size: 17px;
    font-weight: 500;
}

.account-card-label-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.account-card-label-row em {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(245, 158, 11, .16);
    border: 1px solid rgba(245, 158, 11, .30);
    color: #fbbf24;
    font-size: 12px;
    line-height: 1;
    font-style: normal;
    font-weight: 800;
}

.account-summary-card strong {
    display: block;
    color: var(--text);
    font-size: 26px;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.account-summary-card-blocked {
    grid-column: 1 / -1;
    min-height: auto;
    border-color: rgba(245, 158, 11, .28);
    background: linear-gradient(135deg, rgba(17, 17, 17, .98), rgba(24, 18, 9, .94));
}

.account-summary-card-blocked .account-card-icon {
    margin-bottom: 0;
    color: var(--warning);
}

.account-blocked-head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.account-blocked-link {
    color: #60a5fa;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}

.account-blocked-link:hover {
    color: var(--primary-light);
}

.account-blocked-desc {
    margin: -4px 0 2px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.45;
}

.account-blocked-list {
    width: 100%;
    display: grid;
    gap: 10px;
    margin-top: 4px;
}

.account-blocked-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(15, 23, 42, .30);
    border: 1px solid rgba(245, 158, 11, .18);
}

.account-blocked-row span {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.account-blocked-row strong {
    font-size: 20px;
    color: var(--text);
}

.account-blocked-row small {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.35;
}

.account-blocked-pill {
    flex: 0 0 auto;
    padding: 9px 13px;
    border-radius: 12px;
    background: rgba(245, 158, 11, .18);
    border: 1px solid rgba(245, 158, 11, .30);
    color: #fbbf24;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.account-blocked-pill-time {
    background: rgba(249, 115, 22, .18);
    border-color: rgba(249, 115, 22, .34);
    color: #fdba74;
}

.account-blocked-empty {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--text-muted);
    background: rgba(15, 23, 42, .24);
    border: 1px dashed rgba(148, 163, 184, .20);
}

.identity-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .02em;
    border: 1px solid rgba(148, 163, 184, .24);
    color: var(--text-muted);
    background: rgba(148, 163, 184, .10);
}

.identity-approved {
    color: #34D399;
    border-color: rgba(52, 211, 153, .30);
    background: rgba(16, 185, 129, .12);
}

.identity-pending {
    color: #FBBF24;
    border-color: rgba(251, 191, 36, .42);
    background: rgba(245, 158, 11, .14);
}

.identity-rejected {
    color: #FCA5A5;
    border-color: rgba(239, 68, 68, .36);
    background: rgba(239, 68, 68, .12);
}

.account-muted-text {
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.55;
}

.account-copy-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.account-copy-row .form-control {
    min-width: 0;
}

@media (max-width: 768px) {
    .depin-account-page {
        max-width: 100%;
    }

    .account-user-card {
        border-radius: 16px;
        margin-bottom: 12px;
    }

    .account-user-toggle {
        padding: 13px 14px;
    }

    .account-user-avatar {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }

    .account-user-text strong {
        font-size: 25px;
    }

    .account-menu-list {
        gap: 10px;
        margin-bottom: 18px;
    }

    .account-menu-item,
    .account-menu-details summary {
        min-height: 58px;
        padding: 14px 16px;
        border-radius: 14px;
        font-size: 23px;
    }

    .account-menu-item i,
    .account-menu-details summary span > i {
        width: 26px;
        font-size: 22px;
    }

    .account-submenu {
        padding-left: 38px;
    }

    .account-summary-title {
        font-size: 28px;
        padding: 17px 18px;
        margin-bottom: 18px;
    }

    .account-summary-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .account-summary-card {
        min-height: 168px;
        padding: 26px 22px 22px;
    }

    .account-card-label {
        font-size: 16px;
    }

    .account-summary-card strong {
        font-size: 24px;
    }

    .account-summary-card-blocked {
        min-height: auto;
        padding: 24px 20px;
    }

    .account-blocked-head {
        align-items: flex-start;
    }

    .account-blocked-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-blocked-link {
        font-size: 14px;
    }

    .account-copy-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .account-user-text strong {
        font-size: 22px;
    }

    .account-user-text small {
        font-size: 12px;
    }

    .account-menu-item,
    .account-menu-details summary {
        font-size: 20px;
        gap: 14px;
    }

    .account-summary-title {
        font-size: 24px;
    }

    .account-summary-card {
        min-height: 150px;
    }
}


/* ===== E-POSTA DOĞRULAMA KARTI ===== */
.account-community-section {
    margin: 0 0 20px;
}

.account-community-title {
    margin: 0 0 14px;
    color: var(--text);
    font-size: clamp(21px, 4.3vw, 28px);
    font-weight: 800;
    letter-spacing: -.03em;
}

.account-email-verify-card {
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(245, 158, 11, .52);
    background: rgba(17, 17, 17, .92);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

.account-email-verify-card.is-verified {
    border-color: rgba(16, 185, 129, .42);
    background: rgba(16, 185, 129, .08);
}

.account-email-verify-icon {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(245, 158, 11, .32);
    color: var(--primary-light);
    font-size: 28px;
}

.account-email-verify-card h3 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: clamp(24px, 5.2vw, 32px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.035em;
}

.account-email-verify-card p {
    margin: 0;
    color: rgba(226, 232, 240, .78);
    font-size: 17px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.account-email-verify-form {
    margin-top: 18px;
}

.account-email-verify-btn {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #D97706 0%, #EA580C 100%);
    color: #fff;
    font-family: inherit;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(217, 119, 6, .22);
}

.account-email-verify-btn:active {
    transform: translateY(1px);
}

.account-email-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 14px;
    border-radius: 12px;
    color: #34D399;
    background: rgba(16, 185, 129, .12);
    border: 1px solid rgba(52, 211, 153, .30);
    font-weight: 800;
}

.depin-modal-open {
    overflow: hidden;
}

.depin-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(6, 8, 16, .62);
    backdrop-filter: blur(2px);
}

.depin-modal-backdrop[hidden] {
    display: none;
}

.depin-error-modal {
    width: min(100%, 450px);
    padding: 44px 24px 30px;
    border-radius: 10px;
    border: 1px solid rgba(245, 158, 11, .20);
    background: #0B0B0B;
    color: var(--text);
    text-align: center;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

.depin-error-modal-icon {
    width: 122px;
    height: 122px;
    margin: 0 auto 30px;
    border-radius: 50%;
    border: 7px solid #ff7478;
    color: #ff7478;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    line-height: 1;
}

.depin-error-modal h3 {
    margin: 0 0 22px;
    font-size: 40px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.04em;
}

.depin-error-modal p {
    max-width: 360px;
    margin: 0 auto 28px;
    color: rgba(226, 232, 240, .70);
    font-size: 24px;
    line-height: 1.55;
}

.depin-error-modal-close {
    min-width: 132px;
    min-height: 64px;
    border: 0;
    border-radius: 7px;
    background: #169bf2;
    color: #fff;
    font-family: inherit;
    font-size: 24px;
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 768px) {
    .account-community-title {
        font-size: 23px;
        margin-bottom: 12px;
    }

    .account-email-verify-card {
        padding: 20px;
    }

    .account-email-verify-icon {
        width: 58px;
        height: 58px;
        font-size: 24px;
        margin-bottom: 18px;
    }

    .account-email-verify-card h3 {
        font-size: 24px;
    }

    .account-email-verify-card p {
        font-size: 16px;
    }

    .account-email-verify-btn {
        min-height: 54px;
        font-size: 15px;
    }

    .depin-error-modal {
        padding: 42px 20px 28px;
    }

    .depin-error-modal-icon {
        width: 112px;
        height: 112px;
        font-size: 58px;
    }

    .depin-error-modal h3 {
        font-size: 38px;
    }

    .depin-error-modal p {
        font-size: 22px;
    }
}

@media (max-width: 420px) {
    .account-email-verify-card h3 {
        font-size: 22px;
    }

    .account-email-verify-card p {
        font-size: 15px;
    }

    .depin-error-modal p {
        font-size: 20px;
    }
}

/* ===== SATICI KARTI / PROFIL V2 ===== */
.listing-seller-card {
    margin-top: 22px;
    border: 1px solid rgba(245, 158, 11, .18);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(30, 30, 50, .96);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .22);
}

.listing-seller-cover {
    height: 72px;
    background: var(--gradient-2);
    background-position: center;
    background-size: cover;
    position: relative;
}

.listing-seller-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 15, 26, .15), rgba(10, 10, 10, .92));
}

.listing-seller-body {
    padding: 0 14px 16px;
    text-align: center;
}

.listing-seller-avatar-wrap {
    width: 88px;
    height: 88px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: -44px;
    border-radius: 50%;
    border: 4px solid var(--dark-card);
    background: var(--dark-card);
    position: relative;
    z-index: 2;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}

.listing-seller-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.listing-seller-name-row {
    display: grid;
    gap: 4px;
    margin-top: 8px;
}

.listing-seller-name {
    display: inline-block;
    font-size: 23px;
    font-weight: 800;
    color: var(--text);
}

.listing-seller-name-row small {
    color: var(--text-muted);
    font-size: 12px;
}

.listing-seller-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 14px 0 12px;
}

.listing-seller-level {
    min-width: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 10px;
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    box-shadow: 0 8px 18px rgba(245, 158, 11, .20);
}

.seller-unverified-badge.mini {
    padding: 5px 8px;
    font-size: 11px;
}

.listing-seller-stats {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.seller-sale-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    min-height: 48px;
    padding: 11px 13px;
    border-radius: 10px;
    font-weight: 800;
    text-align: left;
}

.seller-sale-stat.success {
    color: var(--success);
    background: rgba(16, 185, 129, .12);
    border: 1px solid rgba(16, 185, 129, .42);
}

.seller-sale-stat.danger {
    color: var(--danger);
    background: rgba(239, 68, 68, .12);
    border: 1px solid rgba(239, 68, 68, .38);
}

.seller-sale-stat strong {
    margin-left: auto;
    font-size: 18px;
}

.listing-seller-actions {
    display: grid;
    grid-template-columns: 1.35fr 1fr 58px;
    gap: 10px;
    margin-top: 16px;
}

.seller-action-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 12px;
    border-radius: 14px;
    color: #eafff7;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(16, 185, 129, .24), rgba(5, 150, 105, .32));
    border: 1px solid rgba(16, 185, 129, .34);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
    transition: transform .2s, border-color .2s, background .2s;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
}

.seller-action-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(16, 185, 129, .62);
}

.seller-action-btn.icon-only {
    padding-left: 0;
    padding-right: 0;
    font-size: 20px;
}

.seller-action-btn.disabled,
.seller-profile-v2-action.disabled {
    opacity: .48;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(.35);
}

.seller-profile-v2-card {
    margin-bottom: 22px;
    border: 1px solid rgba(245, 158, 11, .24);
    border-radius: 22px;
    overflow: hidden;
    background: #11111d;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .28);
}

.seller-profile-v2-banner {
    height: 116px;
    background: var(--gradient-2);
    background-size: cover;
    background-position: center;
    position: relative;
}

.seller-profile-v2-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 15, 26, .20), #11111d 92%);
}

.seller-profile-v2-body {
    padding: 0 20px 24px;
}

.seller-profile-v2-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-top: -36px;
    position: relative;
    z-index: 2;
}

.seller-profile-v2-avatar-wrap {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 3px solid rgba(245, 158, 11, .34);
    background: var(--dark);
    position: relative;
    flex: 0 0 auto;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .42);
}

.seller-profile-v2-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.seller-profile-v2-status-dot {
    position: absolute;
    right: 3px;
    bottom: 7px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--danger);
    border: 4px solid #11111d;
}

.seller-profile-v2-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 14px;
}

.seller-profile-v2-action {
    min-height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
    border: 0;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
}

.seller-profile-v2-action.chat {
    background: linear-gradient(135deg, #F59E0B, #EA580C);
}

.seller-profile-v2-action.sms {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.seller-profile-v2-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.seller-profile-v2-name-row h1 {
    font-size: 28px;
    line-height: 1.15;
    margin: 0;
    font-weight: 800;
}

.seller-profile-v2-level {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-weight: 900;
}

.seller-profile-v2-verify {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 10px;
    color: #d1fae5;
    background: rgba(16, 185, 129, .16);
    border: 1px solid rgba(16, 185, 129, .32);
    font-size: 12px;
    font-weight: 800;
}

.seller-profile-v2-verify.muted {
    color: var(--text-muted);
    background: rgba(148, 163, 184, .10);
    border-color: rgba(148, 163, 184, .18);
}

.seller-profile-v2-meta {
    margin-top: 14px;
    display: grid;
    gap: 8px;
    color: var(--text-muted);
    font-size: 15px;
}

.seller-profile-v2-meta p {
    margin: 0;
}

.seller-profile-v2-divider {
    height: 1px;
    margin: 22px 0;
    background: rgba(148, 163, 184, .20);
}

.seller-profile-v2-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.seller-profile-v2-stats div {
    display: grid;
    gap: 7px;
    justify-items: center;
    align-content: center;
    min-height: 92px;
    padding: 13px 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .06);
}

.seller-profile-v2-stats span {
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
}

.seller-profile-v2-stats strong {
    font-size: 30px;
    line-height: 1;
    color: var(--text);
}

.seller-profile-v2-stats .success strong {
    color: var(--success);
}

.seller-profile-v2-stats .danger strong {
    color: var(--danger);
}

.seller-profile-tabs {
    display: flex;
    align-items: center;
    gap: 34px;
    margin: 8px 0 8px;
    border-bottom: 1px solid rgba(148, 163, 184, .20);
}

.seller-profile-tabs span {
    color: var(--text-muted);
    padding: 15px 0 13px;
    font-weight: 600;
    position: relative;
}

.seller-profile-tabs span.active {
    color: var(--text);
}

.seller-profile-tabs span.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 999px;
    background: var(--primary);
}

@media (max-width: 420px) {
    .listing-seller-actions {
        grid-template-columns: 1fr 1fr 52px;
        gap: 8px;
    }

    .seller-action-btn {
        min-height: 48px;
        padding: 9px 9px;
        font-size: 13px;
    }

    .seller-profile-v2-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .seller-profile-v2-actions {
        gap: 8px;
    }

    .seller-profile-v2-action {
        min-height: 42px;
        padding: 9px 12px;
        font-size: 13px;
    }

    .seller-profile-v2-name-row h1 {
        font-size: 25px;
    }

    .seller-profile-v2-stats {
        grid-template-columns: 1fr;
    }

    .seller-profile-v2-stats div {
        min-height: 78px;
    }
}


.sms-modal-icon {
    background: rgba(59, 130, 246, .14);
}

.sms-modal-icon i {
    color: #60a5fa;
}

.sms-modal-content .modal-text {
    line-height: 1.65;
}


/* İlan görseli tam ekran görüntüleme */
.ilan-detail-images .main-image {
    cursor: zoom-in;
}

.image-viewer-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.92);
}

.image-viewer-overlay.active {
    display: flex;
}

.image-viewer-overlay img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.image-viewer-close {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 100000;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}


/* ===== LISTING DETAIL MOBILE REVIEW UPDATE ===== */
.listing-seller-body .listing-seller-name{text-decoration:none;}
.listing-seller-body .listing-seller-name:hover{opacity:.92;}

/* ===== ANA SAYFA BANNER KAYAN YAZI CLICK FIX 20260602 ===== */
#reklam-slider {
    margin-top: 10px;
}

.hero-marquee {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 9;
    overflow: hidden;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    cursor: default;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(15,15,26,.18), rgba(15,15,26,.42), rgba(15,15,26,.18));
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.hero-marquee * {
    pointer-events: none;
}

.hero-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 56px;
    min-width: max-content;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .45px;
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,.85), 0 0 16px currentColor;
    animation: heroBannerMarquee 14s linear infinite;
}

.hero-marquee-track span {
    display: inline-block;
    padding-right: 56px;
}

@keyframes heroBannerMarquee {
    0% { transform: translate3d(100%, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

@media (max-width: 768px) {
    #reklam-slider {
        margin-top: 8px;
    }

    .hero-marquee {
        top: 10px;
        left: 10px;
        right: 10px;
    }

    .hero-marquee-track {
        padding: 5px 0;
        font-size: 11px;
        letter-spacing: .35px;
        animation-duration: 12s;
    }
}

/* ===== ADMIN BANNER KAYAN YAZI AYRI SAYFA 20260602 ===== */
.admin-kayan-yazi-preview {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(245, 158, 11, .2);
    background: linear-gradient(135deg, rgba(15, 15, 26, .96), rgba(92, 51, 8, .70));
    min-height: 54px;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}

.admin-kayan-yazi-preview-track {
    display: inline-flex;
    align-items: center;
    gap: 56px;
    min-width: max-content;
    padding: 0;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .45px;
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,.85), 0 0 16px currentColor;
    animation: heroBannerMarquee 14s linear infinite;
}

.admin-kayan-yazi-preview-track span {
    display: inline-block;
    padding-right: 56px;
}


/* ===== ANA SAYFA BANNER KAYAN YAZI GORUNURLUK FIX 20260602 ===== */
#reklam-slider {
    margin-top: 10px;
}

.hero-marquee {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: 12px !important;
    z-index: 30 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    user-select: none;
    -webkit-user-select: none;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(15,15,26,.12), rgba(15,15,26,.48), rgba(15,15,26,.12));
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.hero-marquee-track {
    display: inline-flex !important;
    align-items: center;
    width: max-content;
    min-width: max-content;
    gap: 72px;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .45px;
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0,0,0,.95), 0 0 18px currentColor;
    transform: translate3d(0, 0, 0);
    animation: heroBannerMarqueeVisible 16s linear infinite !important;
}

.hero-marquee-track span {
    display: inline-block;
    flex: 0 0 auto;
    padding-right: 72px;
}

@keyframes heroBannerMarqueeVisible {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 768px) {
    #reklam-slider {
        margin-top: 8px;
    }

    .hero-marquee {
        top: 10px !important;
        left: 10px !important;
        right: 10px !important;
    }

    .hero-marquee-track {
        gap: 54px;
        padding: 5px 0;
        font-size: 11px;
        letter-spacing: .35px;
        animation-duration: 12s !important;
    }

    .hero-marquee-track span {
        padding-right: 54px;
    }
}

/* ===== ANA SAYFA BANNER KAYAN YAZI UST BOSLUK FIX 20260602 ===== */
#reklam-slider {
    height: auto !important;
    margin-top: 8px !important;
    margin-bottom: 20px !important;
    border-radius: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    contain: none !important;
}

#reklam-slider > .slider-container {
    position: relative !important;
    height: 180px !important;
    border-radius: var(--radius) !important;
    overflow: hidden !important;
    background: var(--dark-card) !important;
}

#reklam-slider .hero-marquee {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 1 !important;
    height: 22px !important;
    margin: 0 10px 6px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    pointer-events: none !important;
    user-select: none;
    -webkit-user-select: none;
    border-radius: 0 !important;
    background: transparent !important;
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

#reklam-slider .hero-marquee-track {
    display: inline-flex !important;
    align-items: center !important;
    width: max-content;
    min-width: max-content;
    gap: 72px;
    padding: 0 !important;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .45px;
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0,0,0,.95), 0 0 18px currentColor;
    transform: translate3d(0, 0, 0);
    animation: heroBannerMarqueeVisible 16s linear infinite !important;
}

#reklam-slider .hero-marquee-track span {
    display: inline-block;
    flex: 0 0 auto;
    padding-right: 72px;
}

@media (max-width: 768px) {
    #reklam-slider {
        height: auto !important;
        margin-top: 7px !important;
    }

    #reklam-slider > .slider-container {
        height: clamp(128px, 42vw, 178px) !important;
        border-radius: 16px !important;
    }

    #reklam-slider .hero-marquee {
        height: 20px !important;
        margin: 0 8px 5px !important;
    }

    #reklam-slider .hero-marquee-track {
        gap: 54px;
        font-size: 11px;
        letter-spacing: .35px;
        animation-duration: 12s !important;
    }

    #reklam-slider .hero-marquee-track span {
        padding-right: 54px;
    }
}

@media (max-width: 380px) {
    #reklam-slider > .slider-container {
        height: 124px !important;
    }
}

/* ===== FOTOĞRAFTAKİ SOHBET EKRANI ===== */
.messages-page {
    margin: -4px 0 20px;
}
.messages-shell {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 0;
    min-height: min(760px, calc(100vh - 165px));
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
    overflow: hidden;
    background: rgba(26, 27, 43, .78);
    box-shadow: 0 24px 70px rgba(0,0,0,.22);
}
.messages-panel {
    background: rgba(36, 36, 58, .72);
    min-width: 0;
}
.messages-list-panel {
    border-right: 1px solid rgba(255,255,255,.08);
}
.messages-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 22px 18px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.messages-title-row h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -.03em;
}
.messages-add-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #D97706, #FBBF24);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(217, 119, 6, .28);
}
.messages-search {
    margin: 18px 20px;
    height: 58px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(20, 21, 35, .35);
    color: var(--text-muted);
}
.messages-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
}
.messages-search input::placeholder {
    color: rgba(226,232,240,.48);
}
.messages-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 14px 18px;
    max-height: calc(100vh - 300px);
    overflow: auto;
}
.messages-list-item {
    position: relative;
    min-height: 86px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px 0 0;
    border: 1px solid transparent;
    background: rgba(255,255,255,.025);
    transition: .18s ease;
}
.messages-list-item.active,
.messages-list-item:hover {
    background: rgba(113, 82, 172, .50);
    border-color: rgba(245, 158, 11, .22);
}
.messages-list-link {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px 0 14px 14px;
    color: inherit;
    text-decoration: none;
}
.messages-list-link img,
.messages-peer-card img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255,255,255,.08);
}
.messages-list-text {
    min-width: 0;
}
.messages-list-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.messages-list-top strong {
    font-size: 18px;
    letter-spacing: -.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.messages-list-top span {
    color: rgba(226,232,240,.74);
    font-size: 14px;
    flex: none;
}
.messages-list-text p {
    margin: 6px 0 0;
    color: rgba(226,232,240,.70);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.messages-row-menu,
.messages-icon-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    background: rgba(20,21,35,.28);
    color: rgba(226,232,240,.80);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    flex: none;
}
.messages-row-menu:hover,
.messages-icon-btn:hover {
    color: #fff;
    border-color: rgba(245, 158, 11, .35);
    background: rgba(245, 158, 11, .18);
}
.messages-unread {
    position: absolute;
    right: 54px;
    bottom: 12px;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}
.messages-empty-list {
    text-align: center;
    color: rgba(226,232,240,.70);
    padding: 44px 18px;
    font-size: 18px;
}
.messages-chat-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.messages-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    min-height: 92px;
}
.messages-peer-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.messages-peer-card h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -.02em;
}
.messages-peer-card span {
    display: block;
    margin-top: 5px;
    color: rgba(226,232,240,.66);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(52vw, 520px);
}
.messages-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.messages-body {
    flex: 1;
    min-height: 380px;
    padding: 24px 22px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(21, 22, 36, .34);
}
.messages-day {
    align-self: flex-start;
    margin: 6px 0 8px;
    padding: 8px 13px;
    border-radius: 12px;
    color: #f87171;
    background: rgba(245, 158, 11, .18);
    font-weight: 800;
}
.message-row {
    display: flex;
    width: 100%;
}
.message-row.mine {
    justify-content: flex-end;
}
.message-row.theirs {
    justify-content: flex-start;
}
.message-bubble {
    max-width: min(72%, 620px);
    padding: 14px 18px;
    border-radius: 22px;
    background: rgba(61, 52, 93, .85);
    color: #fff;
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
}
.message-row.mine .message-bubble {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    border-bottom-right-radius: 8px;
}
.message-row.theirs .message-bubble {
    border-bottom-left-radius: 8px;
}
.message-bubble p {
    margin: 0;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.message-bubble small {
    display: block;
    margin-top: 8px;
    opacity: .76;
    font-size: 13px;
}
.messages-compose {
    display: grid;
    grid-template-columns: 50px 1fr 56px;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(17,17,17,.90);
}
.messages-compose textarea {
    min-height: 56px;
    max-height: 130px;
    resize: vertical;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: rgba(20,21,35,.34);
    color: #fff;
    padding: 16px 18px;
    outline: 0;
    font-size: 16px;
    font-weight: 700;
}
.messages-compose textarea::placeholder {
    color: rgba(226,232,240,.45);
}
.messages-attach,
.messages-send {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.messages-attach {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: transparent;
    color: rgba(226,232,240,.76);
    font-size: 20px;
}
.messages-send {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff;
    font-size: 20px;
    box-shadow: 0 12px 28px rgba(217, 119, 6, .24);
}
.messages-not-selected,
.messages-empty-chat {
    margin: auto;
    text-align: center;
    color: rgba(226,232,240,.70);
    padding: 30px;
}
.messages-not-selected i,
.messages-empty-chat i {
    font-size: 74px;
    color: rgba(226,232,240,.34);
    margin-bottom: 22px;
}
.messages-not-selected h2,
.messages-empty-chat h3 {
    color: #f8fafc;
    font-size: 34px;
    margin: 0 0 14px;
    letter-spacing: -.03em;
}
.messages-not-selected p,
.messages-empty-chat p {
    font-size: 18px;
    margin: 0;
}
.chat-options-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9997;
    background: rgba(8, 10, 20, .45);
    backdrop-filter: blur(2px);
}
.chat-options-modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.chat-options-box {
    width: min(680px, 100%);
    border-radius: 18px;
    padding: 42px 52px 38px;
    background: #15120B;
    border: 1px solid rgba(255,255,255,.09);
    box-shadow: 0 30px 90px rgba(0,0,0,.48);
}
.chat-options-box h2 {
    margin: 0 0 30px;
    color: #f8fafc;
    font-size: clamp(34px, 6vw, 56px);
    line-height: 1;
    letter-spacing: -.04em;
}
.chat-options-box form {
    display: grid;
    gap: 14px;
}
.chat-option-btn {
    width: 100%;
    min-height: 82px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(32, 33, 51, .66);
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0 34px;
    font-size: 25px;
    font-weight: 800;
    cursor: pointer;
    text-align: left;
}
.chat-option-btn:hover {
    background: rgba(245, 158, 11, .16);
    border-color: rgba(245, 158, 11, .30);
}
.chat-option-btn i {
    width: 30px;
    text-align: center;
}
.chat-options-close {
    display: block;
    margin: 34px auto 0;
    min-width: 152px;
    min-height: 82px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(32,33,51,.66);
    color: #f8fafc;
    font-size: 26px;
    font-weight: 900;
    cursor: pointer;
}
.chat-options-open {
    overflow: hidden;
}
@media (max-width: 900px) {
    .messages-shell {
        grid-template-columns: 1fr;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        min-height: calc(100vh - 130px);
    }
    .messages-list-panel {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .messages-list {
        max-height: 230px;
    }
    .messages-title-row h1 {
        font-size: 32px;
    }
    .messages-chat-header {
        padding: 14px 18px;
    }
    .messages-body {
        min-height: 390px;
        padding: 18px 14px;
    }
    .message-bubble {
        max-width: 82%;
    }
    .messages-compose {
        grid-template-columns: 42px 1fr 54px;
        padding: 14px 12px;
    }
    .chat-options-box {
        padding: 34px 34px 28px;
    }
    .chat-option-btn {
        min-height: 74px;
        font-size: 22px;
        padding: 0 26px;
    }
    .chat-options-close {
        min-height: 72px;
    }
}
@media (max-width: 560px) {
    .messages-page {
        margin-left: -15px;
        margin-right: -15px;
    }
    .messages-shell {
        min-height: calc(100vh - 96px);
    }
    .messages-title-row {
        padding: 18px 16px 14px;
    }
    .messages-search {
        margin: 16px 14px;
        height: 56px;
    }
    .messages-list {
        padding: 0 8px 14px;
    }
    .messages-list-item {
        min-height: 78px;
    }
    .messages-list-link {
        grid-template-columns: 48px 1fr;
        padding-left: 10px;
    }
    .messages-list-link img,
    .messages-peer-card img {
        width: 48px;
        height: 48px;
    }
    .messages-row-menu,
    .messages-icon-btn {
        width: 42px;
        height: 42px;
    }
    .messages-peer-card h2 {
        font-size: 19px;
    }
    .messages-peer-card span {
        max-width: 180px;
    }
    .messages-not-selected h2,
    .messages-empty-chat h3 {
        font-size: 28px;
    }
    .messages-not-selected p,
    .messages-empty-chat p {
        font-size: 16px;
    }
    .chat-options-box {
        padding: 30px 22px 24px;
    }
    .chat-options-box h2 {
        font-size: 40px;
    }
    .chat-option-btn {
        min-height: 66px;
        font-size: 18px;
        gap: 16px;
        padding: 0 18px;
    }
    .chat-options-close {
        min-width: 130px;
        min-height: 62px;
        font-size: 22px;
    }
}

/* ===== SOHBET EKRANI RESPONSIVE GUNCELLEME: PC / TABLET / MOBIL ===== */
.messages-page {
    width: 100%;
}
.messages-shell {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    height: clamp(620px, calc(100vh - 170px), 860px);
    min-height: 0;
}
.messages-list-panel,
.messages-chat-panel {
    min-height: 0;
}
.messages-list {
    max-height: none;
    height: calc(100% - 142px);
    scrollbar-width: thin;
}
.messages-chat-panel {
    height: 100%;
}
.messages-body {
    min-height: 0;
    height: 100%;
    overscroll-behavior: contain;
}
.messages-compose textarea {
    width: 100%;
}
.messages-compose textarea:focus,
.messages-search input:focus {
    box-shadow: none;
}
.chat-options-modal[hidden],
.chat-options-backdrop[hidden] {
    display: none !important;
}

@media (min-width: 1201px) {
    .messages-shell {
        grid-template-columns: minmax(330px, 410px) minmax(0, 1fr);
    }
    .message-bubble {
        max-width: min(64%, 680px);
    }
}

@media (min-width: 901px) and (max-width: 1200px) {
    .messages-page {
        margin: 0 0 18px;
    }
    .messages-shell {
        grid-template-columns: minmax(300px, 36%) minmax(0, 1fr);
        height: calc(100vh - 150px);
        border-radius: 20px;
    }
    .messages-title-row {
        padding: 20px 18px 16px;
    }
    .messages-title-row h1 {
        font-size: 30px;
    }
    .messages-search {
        margin: 16px;
        height: 54px;
    }
    .messages-list-link {
        grid-template-columns: 50px 1fr;
        gap: 10px;
        padding-left: 12px;
    }
    .messages-list-link img,
    .messages-peer-card img {
        width: 50px;
        height: 50px;
    }
    .messages-list-top strong {
        font-size: 16px;
    }
    .messages-row-menu,
    .messages-icon-btn {
        width: 42px;
        height: 42px;
    }
    .messages-chat-header {
        min-height: 84px;
        padding: 16px 18px;
    }
    .messages-peer-card h2 {
        font-size: 22px;
    }
    .messages-body {
        padding: 20px 18px;
    }
    .message-bubble {
        max-width: 76%;
    }
}

@media (min-width: 701px) and (max-width: 900px) {
    .messages-page {
        margin: 0;
    }
    .messages-shell {
        grid-template-columns: 1fr;
        height: auto;
        min-height: calc(100vh - 132px);
        border-radius: 18px;
    }
    .messages-list-panel {
        max-height: 350px;
    }
    .messages-list {
        height: auto;
        max-height: 205px;
        overflow-y: auto;
    }
    .messages-chat-panel {
        min-height: 520px;
        height: calc(100vh - 470px);
    }
    .messages-body {
        min-height: 320px;
    }
    .messages-compose {
        grid-template-columns: 46px minmax(0, 1fr) 54px;
    }
    .message-bubble {
        max-width: 78%;
    }
    .chat-options-box {
        width: min(620px, calc(100vw - 34px));
    }
}

@media (max-width: 700px) {
    .messages-page {
        margin: -8px -15px 0;
    }
    .messages-shell {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
        min-height: calc(100vh - 90px);
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        box-shadow: none;
    }
    .messages-list-panel {
        flex: 0 0 auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .messages-title-row {
        padding: 18px 16px 14px;
    }
    .messages-title-row h1 {
        font-size: clamp(28px, 8vw, 36px);
    }
    .messages-add-btn {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }
    .messages-search {
        margin: 14px 14px 16px;
        height: 54px;
        border-radius: 16px;
    }
    .messages-list {
        height: auto;
        max-height: 185px;
        padding: 0 8px 12px;
        gap: 8px;
        overflow-y: auto;
    }
    .messages-list-item {
        min-height: 76px;
        border-radius: 14px;
    }
    .messages-list-link {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 10px;
        padding: 12px 0 12px 10px;
    }
    .messages-list-link img,
    .messages-peer-card img {
        width: 46px;
        height: 46px;
    }
    .messages-list-top strong {
        font-size: 16px;
    }
    .messages-list-text p {
        font-size: 14px;
    }
    .messages-row-menu,
    .messages-icon-btn {
        width: 40px;
        height: 40px;
    }
    .messages-unread {
        right: 48px;
        bottom: 10px;
    }
    .messages-chat-panel {
        flex: 1 1 auto;
        height: auto;
        min-height: 520px;
    }
    .messages-chat-header {
        min-height: 72px;
        padding: 12px 14px;
        gap: 10px;
        position: sticky;
        top: 0;
        z-index: 3;
        background: rgba(17,17,17,.96);
        backdrop-filter: blur(10px);
    }
    .messages-peer-card {
        gap: 10px;
    }
    .messages-peer-card h2 {
        font-size: 18px;
    }
    .messages-peer-card span {
        max-width: 42vw;
        font-size: 12px;
    }
    .messages-header-actions {
        gap: 8px;
    }
    .messages-body {
        min-height: 350px;
        max-height: none;
        padding: 16px 12px 20px;
        gap: 10px;
    }
    .messages-day {
        font-size: 13px;
        padding: 7px 11px;
    }
    .message-bubble {
        max-width: 84%;
        padding: 12px 14px;
        border-radius: 18px;
    }
    .message-bubble p {
        font-size: 15px;
    }
    .message-bubble small {
        font-size: 12px;
    }
    .messages-compose {
        grid-template-columns: 42px minmax(0, 1fr) 50px;
        gap: 8px;
        padding: 12px 10px max(12px, env(safe-area-inset-bottom));
        position: sticky;
        bottom: 0;
        z-index: 4;
        background: rgba(17,17,17,.98);
        backdrop-filter: blur(10px);
    }
    .messages-attach {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    .messages-send {
        width: 50px;
        height: 50px;
        border-radius: 16px;
        font-size: 18px;
    }
    .messages-compose textarea {
        min-height: 50px;
        max-height: 115px;
        border-radius: 15px;
        padding: 14px 15px;
        font-size: 15px;
    }
    .messages-not-selected,
    .messages-empty-chat {
        padding: 40px 18px;
    }
    .messages-not-selected i,
    .messages-empty-chat i {
        font-size: 60px;
    }
    .messages-not-selected h2,
    .messages-empty-chat h3 {
        font-size: 28px;
    }
    .messages-not-selected p,
    .messages-empty-chat p {
        font-size: 15px;
    }
    .chat-options-modal {
        align-items: center;
        padding: 14px;
    }
    .chat-options-box {
        width: 100%;
        max-height: calc(100vh - 34px);
        overflow-y: auto;
        border-radius: 16px;
        padding: 30px 18px 22px;
    }
    .chat-options-box h2 {
        font-size: clamp(34px, 10vw, 44px);
        margin-bottom: 24px;
        text-align: center;
    }
    .chat-option-btn {
        min-height: 64px;
        border-radius: 12px;
        padding: 0 18px;
        gap: 15px;
        font-size: 18px;
    }
    .chat-option-btn i {
        width: 24px;
    }
    .chat-options-close {
        min-width: 128px;
        min-height: 58px;
        margin-top: 24px;
        font-size: 21px;
    }
}

@media (max-width: 380px) {
    .messages-page {
        margin-left: -10px;
        margin-right: -10px;
    }
    .messages-list-top span {
        display: none;
    }
    .messages-row-menu,
    .messages-icon-btn {
        width: 38px;
        height: 38px;
    }
    .messages-compose {
        grid-template-columns: 38px minmax(0, 1fr) 46px;
    }
    .messages-send {
        width: 46px;
        height: 46px;
    }
    .message-bubble {
        max-width: 88%;
    }
    .chat-option-btn {
        font-size: 16px;
    }
}

/* ===== MESAJLAR MOBIL SAG BOSLUK FIX ===== */
@media (max-width: 900px) {
    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .site-wrapper,
    .main-content,
    .messages-page,
    .messages-shell,
    .messages-panel,
    .messages-list-panel,
    .messages-chat-panel {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }

    .main-content:has(.messages-page) {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .messages-page {
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    .messages-shell {
        border-left: 0 !important;
        border-right: 0 !important;
        border-radius: 0 !important;
        overflow-x: hidden !important;
    }

    .messages-list-panel,
    .messages-chat-panel {
        min-width: 0 !important;
    }
}

@media (max-width: 560px) {
    .messages-page {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ===== DEPİNPAZAR FOTOĞRAFTAKİ GİRİŞ / ÇIKIŞ MODAL EKRANLARI ===== */
body.depin-auth-modal-page {
    background: #0f101a;
    min-height: 100vh;
}

body.depin-auth-modal-page .site-wrapper {
    min-height: 100vh;
    background: radial-gradient(circle at top, rgba(245, 158, 11, .14), transparent 38%), #0f101a;
}

body.depin-auth-modal-page .auth-result-screen {
    min-height: 100vh;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.depin-auth-modal {
    width: min(94vw, 760px) !important;
    max-width: 760px !important;
    min-height: 420px;
    padding: 54px 42px 48px !important;
    border-radius: 8px !important;
    background: #15120B !important;
    border: 1px solid rgba(142, 147, 177, .28) !important;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .38) !important;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.depin-auth-modal-icon {
    width: 178px;
    height: 178px;
    margin: 0 auto 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 110px;
    line-height: 1;
    font-weight: 500;
    font-family: Poppins, Arial, sans-serif;
    background: transparent;
}

.depin-auth-modal-success .depin-auth-modal-icon {
    color: #b9ed92;
    border: 9px solid rgba(185, 237, 146, .34);
}

.depin-auth-modal-warning .depin-auth-modal-icon {
    color: #a8cce0;
    border: 8px solid rgba(168, 204, 224, .9);
    font-size: 104px;
    font-weight: 600;
}

.depin-auth-modal h1 {
    margin: 0 0 20px !important;
    color: #f4f3fb !important;
    font-size: clamp(42px, 6.8vw, 62px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.055em;
    font-weight: 800 !important;
}

.depin-auth-modal p {
    max-width: 610px;
    margin: 0 auto 42px !important;
    color: rgba(244, 243, 251, .72) !important;
    font-size: clamp(24px, 4.5vw, 36px) !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
}

.depin-auth-modal-ok,
.depin-auth-modal-yes {
    min-width: 204px;
    min-height: 86px;
    padding: 0 38px !important;
    border-radius: 8px !important;
    background: #4092ee !important;
    border: 0 !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 32px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.depin-auth-modal-ok:focus,
.depin-auth-modal-yes:focus {
    outline: 6px solid rgba(64, 146, 238, .34) !important;
    outline-offset: 0;
}

.depin-auth-modal-actions {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin: 0 !important;
}

.depin-auth-modal-cancel {
    min-width: 148px;
    min-height: 86px;
    padding: 0 34px !important;
    border-radius: 8px !important;
    background: transparent !important;
    border: 1px solid rgba(157, 160, 190, .22) !important;
    color: #f4f3fb !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 32px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

@media (max-width: 700px) {
    body.depin-auth-modal-page .auth-result-screen {
        align-items: center;
        padding: 14px 20px;
    }

    .depin-auth-modal {
        width: calc(100vw - 40px) !important;
        min-height: 366px;
        padding: 44px 24px 34px !important;
    }

    .depin-auth-modal-icon {
        width: 128px;
        height: 128px;
        margin-bottom: 36px;
        font-size: 78px;
        border-width: 7px !important;
    }

    .depin-auth-modal h1 {
        font-size: clamp(38px, 9vw, 50px) !important;
        margin-bottom: 22px !important;
    }

    .depin-auth-modal p {
        font-size: clamp(24px, 6vw, 32px) !important;
        margin-bottom: 36px !important;
    }

    .depin-auth-modal-actions {
        gap: 14px;
    }

    .depin-auth-modal-ok,
    .depin-auth-modal-yes,
    .depin-auth-modal-cancel {
        min-height: 68px;
        font-size: 24px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .depin-auth-modal-yes {
        min-width: 0;
        flex: 1 1 auto;
    }

    .depin-auth-modal-cancel {
        min-width: 112px;
        flex: 0 0 auto;
    }
}

@media (max-width: 390px) {
    .depin-auth-modal {
        width: calc(100vw - 28px) !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .depin-auth-modal-actions {
        gap: 10px;
    }

    .depin-auth-modal-yes,
    .depin-auth-modal-cancel {
        font-size: 21px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}


/* ===== DEPİNPAZAR AUTH MODAL KÜÇÜLTME / ORTALAMA DÜZENİ ===== */
body.depin-auth-modal-page .auth-result-screen {
    min-height: 100vh;
    padding: 24px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.depin-auth-modal {
    width: min(88vw, 540px) !important;
    max-width: 540px !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 34px 28px 30px !important;
    border-radius: 10px !important;
}

.depin-auth-modal-icon {
    width: 118px;
    height: 118px;
    margin: 0 auto 26px;
    font-size: 72px;
}

.depin-auth-modal-success .depin-auth-modal-icon {
    border-width: 7px;
}

.depin-auth-modal-warning .depin-auth-modal-icon {
    border-width: 6px;
    font-size: 68px;
}

.depin-auth-modal h1 {
    margin: 0 0 14px !important;
    font-size: clamp(28px, 4.8vw, 46px) !important;
    line-height: 1.08 !important;
}

.depin-auth-modal p {
    max-width: 420px;
    margin: 0 auto 26px !important;
    font-size: clamp(18px, 3.6vw, 28px) !important;
    line-height: 1.35 !important;
}

.depin-auth-modal-actions {
    gap: 12px;
    flex-wrap: wrap;
}

.depin-auth-modal-ok,
.depin-auth-modal-yes {
    min-width: 170px;
    min-height: 58px;
    padding: 0 26px !important;
    font-size: 20px !important;
    border-radius: 8px !important;
}

.depin-auth-modal-cancel {
    min-width: 120px;
    min-height: 58px;
    padding: 0 24px !important;
    font-size: 20px !important;
    border-radius: 8px !important;
}

@media (max-width: 700px) {
    body.depin-auth-modal-page .auth-result-screen {
        padding: 20px 16px;
    }

    .depin-auth-modal {
        width: min(calc(100vw - 32px), 460px) !important;
        padding: 30px 20px 24px !important;
    }

    .depin-auth-modal-icon {
        width: 94px;
        height: 94px;
        margin-bottom: 22px;
        font-size: 56px;
    }

    .depin-auth-modal-success .depin-auth-modal-icon {
        border-width: 6px !important;
    }

    .depin-auth-modal-warning .depin-auth-modal-icon {
        border-width: 5px !important;
        font-size: 52px;
    }

    .depin-auth-modal h1 {
        font-size: clamp(24px, 7vw, 36px) !important;
        margin-bottom: 12px !important;
    }

    .depin-auth-modal p {
        font-size: clamp(16px, 4.8vw, 24px) !important;
        margin-bottom: 22px !important;
    }

    .depin-auth-modal-ok,
    .depin-auth-modal-yes,
    .depin-auth-modal-cancel {
        min-height: 52px;
        font-size: 18px !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .depin-auth-modal-yes {
        min-width: 0;
        flex: 1 1 180px;
    }

    .depin-auth-modal-cancel {
        min-width: 104px;
        flex: 0 0 auto;
    }
}

@media (max-width: 390px) {
    .depin-auth-modal {
        width: calc(100vw - 24px) !important;
        padding: 26px 16px 22px !important;
    }

    .depin-auth-modal-icon {
        width: 84px;
        height: 84px;
        font-size: 48px;
        margin-bottom: 18px;
    }

    .depin-auth-modal h1 {
        font-size: 22px !important;
    }

    .depin-auth-modal p {
        font-size: 15px !important;
        margin-bottom: 18px !important;
    }

    .depin-auth-modal-actions {
        gap: 10px;
    }

    .depin-auth-modal-yes,
    .depin-auth-modal-cancel,
    .depin-auth-modal-ok {
        min-height: 48px;
        font-size: 17px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

/* ===== Depin-style all categories page ===== */
.depin-category-showcase {
    width: min(100%, 980px);
    max-width: 980px;
    margin: 0 auto;
    padding: 8px 0 36px;
}

.depin-category-intro {
    margin: 4px 0 26px;
}

.depin-category-intro h1 {
    color: #f4f2ff;
    font-size: clamp(32px, 4.6vw, 48px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0 0 18px;
}

.depin-category-intro p {
    max-width: 640px;
    color: rgba(226, 232, 240, .72);
    font-size: clamp(16px, 2.4vw, 22px);
    line-height: 1.65;
    font-weight: 500;
}

.depin-category-toolbar {
    display: block;
    margin: 0 0 28px;
}

.depin-category-search,
.server-category-search.depin-category-search {
    width: 100%;
    max-width: none;
    display: block;
}

.depin-category-search input,
.server-category-search.depin-category-search input {
    height: 58px;
    border-radius: 16px;
    background: #111111;
    border: 1px solid rgba(245, 158, 11, .28);
    padding-left: 74px;
    color: #f5f3ff;
    font-size: 16px;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.depin-category-search input::placeholder {
    color: rgba(226, 232, 240, .48);
}

.depin-category-search i,
.server-category-search.depin-category-search i {
    left: 24px;
    font-size: 23px;
    color: rgba(226, 232, 240, .78);
}

.depin-category-grid,
.server-subcategory-grid.depin-category-grid,
.all-category-grid.depin-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 42px;
}

.depin-category-card,
.server-subcategory-card.depin-category-card,
.all-category-grid .server-subcategory-card.depin-category-card {
    min-height: 0;
    aspect-ratio: 4 / 5;
    border-radius: 22px;
    overflow: hidden;
    background: #151728;
    border: 1px solid rgba(108, 101, 170, .50);
    box-shadow: 0 18px 42px rgba(0,0,0,.28);
}

.depin-category-card img,
.server-subcategory-card.depin-category-card img {
    object-fit: cover;
    object-position: center;
}

.depin-category-card::after,
.server-subcategory-card.depin-category-card::after {
    background: linear-gradient(180deg, rgba(0,0,0,0) 43%, rgba(0,0,0,.38) 70%, rgba(0,0,0,.82) 100%);
}

.depin-category-card span,
.server-subcategory-card.depin-category-card span,
.all-category-grid .server-subcategory-card.depin-category-card span {
    left: 18px;
    right: 18px;
    bottom: 20px;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(0,0,0,.84), rgba(0,0,0,.62));
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.25px;
    text-shadow: 0 2px 9px rgba(0,0,0,.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.depin-category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, .75);
    box-shadow: 0 22px 50px rgba(0,0,0,.36);
}

@media (min-width: 1025px) {
    .depin-category-showcase {
        max-width: 1120px;
    }

    .depin-category-grid,
    .server-subcategory-grid.depin-category-grid,
    .all-category-grid.depin-category-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .depin-category-grid,
    .server-subcategory-grid.depin-category-grid,
    .all-category-grid.depin-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .depin-category-showcase {
        padding: 22px 8px 34px;
    }

    .depin-category-intro {
        margin: 2px 0 28px;
    }

    .depin-category-intro h1 {
        font-size: 34px;
        margin-bottom: 24px;
    }

    .depin-category-intro p {
        font-size: 17px;
        line-height: 1.68;
        max-width: 100%;
    }

    .depin-category-toolbar {
        margin-bottom: 28px;
    }

    .depin-category-search input,
    .server-category-search.depin-category-search input {
        height: 52px;
        border-radius: 16px;
        padding-left: 68px;
        font-size: 16px;
    }

    .depin-category-search i,
    .server-category-search.depin-category-search i {
        left: 22px;
        font-size: 22px;
    }

    .depin-category-grid,
    .server-subcategory-grid.depin-category-grid,
    .all-category-grid.depin-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 22px;
        margin-bottom: 34px;
    }

    .depin-category-card,
    .server-subcategory-card.depin-category-card,
    .all-category-grid .server-subcategory-card.depin-category-card {
        min-height: 0;
        aspect-ratio: 4 / 5;
        border-radius: 18px;
    }

    .depin-category-card span,
    .server-subcategory-card.depin-category-card span,
    .all-category-grid .server-subcategory-card.depin-category-card span {
        left: 14px;
        right: 14px;
        bottom: 16px;
        min-height: 39px;
        border-radius: 13px;
        font-size: 15px;
        padding: 7px 8px;
    }
}

@media (max-width: 390px) {
    .depin-category-showcase {
        padding-left: 0;
        padding-right: 0;
    }

    .depin-category-grid,
    .server-subcategory-grid.depin-category-grid,
    .all-category-grid.depin-category-grid {
        gap: 18px 20px;
    }

    .depin-category-card span,
    .server-subcategory-card.depin-category-card span,
    .all-category-grid .server-subcategory-card.depin-category-card span {
        font-size: 14px;
    }
}

/* Mobile bottom navigation alignment with the reference layout */
@media (max-width: 768px) {
    .nav-home { order: 1; }
    .nav-categories { order: 2; }
    .nav-messages { order: 3; }
    .nav-add { order: 4; }
    .nav-account { order: 5; }

    .main-nav {
        max-width: 100%;
        background: rgba(5, 5, 5, .98);
        border-top-color: rgba(245, 158, 11, .42);
        box-shadow: 0 -8px 28px rgba(0, 0, 0, .34);
    }

    .nav-item.active {
        background: transparent;
    }

    .nav-add,
    .nav-add i {
        color: var(--text-muted);
    }

    .nav-add.active,
    .nav-add:hover,
    .nav-add.active i,
    .nav-add:hover i {
        color: var(--primary);
    }

    .nav-add i {
        width: auto;
        height: auto;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        font-size: 22px;
    }
}

/* ===== DEPİNPAZAR FOTOĞRAFTAKİ ALT KATEGORİ KARTLARI ===== */
.server-category-page .server-subcategory-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px 22px;
    margin:34px 0 42px;
}
.server-category-page .server-subcategory-card.game-category-card,
.server-category-page .server-subcategory-card{
    min-height:0;
    aspect-ratio:1.07/1;
    border-radius:18px;
    background:#111320;
    border:1px solid rgba(93,88,150,.55);
    box-shadow:none;
}
.server-category-page .server-subcategory-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.server-category-page .server-subcategory-card::after{
    background:linear-gradient(180deg,rgba(0,0,0,.02) 0%,rgba(0,0,0,.05) 42%,rgba(0,0,0,.44) 100%);
}
.server-category-page .server-subcategory-card span{
    left:18px;
    right:18px;
    bottom:17px;
    min-height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:7px 10px;
    border-radius:14px;
    background:linear-gradient(90deg,rgba(0,0,0,.84),rgba(0,0,0,.62));
    color:#fff;
    font-size:16px;
    font-weight:800;
    line-height:1.15;
    letter-spacing:-.2px;
    text-shadow:0 2px 10px rgba(0,0,0,.85);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}
.server-category-page .server-subcategory-card:hover{
    transform:translateY(-4px);
    border-color:rgba(245, 158, 11, .72);
    box-shadow:0 18px 42px rgba(0,0,0,.28);
}
.server-category-page .active-subcategory{
    border-color:rgba(245, 158, 11, .92) !important;
    box-shadow:0 0 0 2px rgba(245, 158, 11, .2),0 18px 42px rgba(0,0,0,.28) !important;
}
@media (max-width:768px){
    .server-category-page .server-subcategory-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:20px 22px;
        margin-top:34px;
    }
    .server-category-page .server-subcategory-card.game-category-card,
    .server-category-page .server-subcategory-card{
        min-height:0;
        aspect-ratio:1.07/1;
        border-radius:18px;
    }
    .server-category-page .server-subcategory-card span{
        left:16px;
        right:16px;
        bottom:15px;
        min-height:38px;
        border-radius:13px;
        font-size:14px;
        padding:7px 8px;
    }
}
@media (max-width:390px){
    .server-category-page .server-subcategory-grid{gap:18px 20px;}
    .server-category-page .server-subcategory-card span{font-size:13px;left:14px;right:14px;}
}


/* ===== ÜST MOBİL HEADER: FOTOĞRAFTAKİ YUVARLAK GİRİŞ VE GECE/GÜNDÜZ BUTONU ===== */
.header-actions{
    align-items:center;
}
.header-login-circle{
    width:42px;
    height:42px;
    min-width:42px;
    border-radius:999px;
    padding:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#F59E0B 0%,#D97706 100%);
    color:#fff;
    border:0;
    box-shadow:0 12px 28px rgba(245, 158, 11, .34), inset 0 1px 0 rgba(255,255,255,.18);
    font-size:20px;
    line-height:1;
    transition:transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.header-login-circle:hover{
    transform:translateY(-1px) scale(1.03);
    box-shadow:0 15px 32px rgba(245, 158, 11, .42), inset 0 1px 0 rgba(255,255,255,.22);
}
.header-login-circle .login-text{
    display:none !important;
}
.header-theme-toggle.theme-toggle-bubble{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    border-radius:999px !important;
    background:linear-gradient(135deg,rgba(24,24,24,.96) 0%,rgba(10,10,10,.96) 100%) !important;
    color:#e9edf6 !important;
    border:1px solid rgba(255,255,255,.13) !important;
    box-shadow:0 12px 26px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.16) !important;
    font-size:20px !important;
}
.header-theme-toggle.theme-toggle-bubble:hover{
    transform:translateY(-1px) scale(1.03);
}
.header-theme-toggle.theme-toggle-bubble i{
    line-height:1;
}
html[data-theme="light"] .header-theme-toggle.theme-toggle-bubble{
    background:linear-gradient(135deg,#ffffff 0%,#eef2ff 100%) !important;
    color:#4b5563 !important;
    border-color:rgba(245,158,11,.28) !important;
    box-shadow:0 12px 26px rgba(15,23,42,.14), inset 0 1px 0 rgba(255,255,255,.75) !important;
}
@media (max-width:768px){
    .header-actions{
        gap:10px !important;
    }
    .auth-buttons{
        gap:0 !important;
    }
    .header-login-circle,
    .header-theme-toggle.theme-toggle-bubble{
        width:42px !important;
        height:42px !important;
        min-width:42px !important;
    }
}
@media (max-width:380px){
    .header-actions{
        gap:8px !important;
    }
    .header-login-circle,
    .header-theme-toggle.theme-toggle-bubble{
        width:40px !important;
        height:40px !important;
        min-width:40px !important;
        font-size:18px !important;
    }
}


/* ===== BİLDİRİMLER ===== */
.header-notification-button{
    position:relative;
    width:42px;
    height:42px;
    min-width:42px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:rgba(30,41,59,.32);
    color:#60a5fa;
    border:2px solid rgba(59,130,246,.72);
    box-shadow:0 10px 24px rgba(59,130,246,.16), inset 0 1px 0 rgba(255,255,255,.08);
    font-size:17px;
    line-height:1;
    transition:transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.header-notification-button:hover,
.header-notification-button.active{
    transform:translateY(-1px) scale(1.03);
    background:rgba(59,130,246,.16);
    box-shadow:0 12px 28px rgba(59,130,246,.24), inset 0 1px 0 rgba(255,255,255,.12);
}
.header-notification-button .notification-badge{
    position:absolute;
    top:-6px;
    right:-6px;
    min-width:18px;
    height:18px;
    padding:0 5px;
    border-radius:999px;
    background:#ef4444;
    color:#fff;
    border:2px solid var(--dark-light);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:10px;
    font-weight:800;
    line-height:1;
}
.notification-page{
    padding:0 18px 32px;
}
.notification-breadcrumb{
    display:flex;
    align-items:center;
    gap:14px;
    color:var(--text-muted);
    font-size:15px;
    margin:8px 0 22px;
}
.notification-breadcrumb a{color:var(--text-muted);}
.notification-user-box{
    border:1px solid rgba(148,163,184,.18);
    border-radius:20px;
    padding:16px;
    background:rgba(17,17,17,.62);
    margin-bottom:34px;
}
.notification-user-inner{
    display:flex;
    align-items:center;
    gap:18px;
    border:1px solid rgba(148,163,184,.12);
    border-radius:16px;
    background:rgba(10,10,10,.90);
    padding:12px 14px;
}
.notification-user-inner img{
    width:58px;
    height:58px;
    border-radius:14px;
    object-fit:cover;
}
.notification-user-inner strong{
    font-size:24px;
    font-weight:800;
    letter-spacing:-.03em;
    color:var(--text);
    flex:1;
}
.notification-user-inner .fa-chevron-down{
    color:var(--text-muted);
    font-size:18px;
}
.notification-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin:0 26px 28px;
}
.notification-title-pill{
    display:flex;
    align-items:center;
    gap:18px;
    border:1px solid rgba(245, 158, 11, .55);
    background:rgba(17,17,17,.78);
    color:var(--text);
    border-radius:14px;
    padding:18px 26px;
    min-width:255px;
}
.notification-title-pill i{
    color:var(--primary);
    font-size:24px;
}
.notification-title-pill h1{
    font-size:28px;
    line-height:1;
    margin:0;
    font-weight:800;
    letter-spacing:-.04em;
}
.notification-read-form{margin:0;}
.notification-read-all{
    width:54px;
    height:44px;
    border-radius:8px;
    border:0;
    background:#6b7280;
    color:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    cursor:pointer;
    transition:transform .2s ease, filter .2s ease;
}
.notification-read-all:hover{transform:translateY(-1px);filter:brightness(1.08);}
.notification-read-all.disabled{opacity:.7;cursor:not-allowed;transform:none;}
.notification-divider{
    height:1px;
    background:rgba(148,163,184,.18);
    margin:0 26px 34px;
}
.notification-list{
    display:flex;
    flex-direction:column;
    gap:16px;
    padding-bottom:20px;
}
.notification-card{
    display:flex;
    gap:14px;
    border:1px solid rgba(245, 158, 11, .10);
    background:rgba(8,8,18,.55);
    border-radius:16px;
    padding:16px;
    box-shadow:0 14px 36px rgba(0,0,0,.18);
}
.notification-card.unread{
    border-color:rgba(245, 158, 11, .24);
    background:linear-gradient(135deg,rgba(13,11,27,.90),rgba(8,8,18,.72));
}
.notification-icon{
    width:52px;
    height:52px;
    min-width:52px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(88,28,135,.22);
    color:var(--primary);
    font-size:21px;
}
.notification-content{min-width:0;flex:1;position:relative;padding-right:4px;}
.notification-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-bottom:6px;
}
.notification-head h3{
    font-size:15px;
    line-height:1.25;
    font-weight:800;
    color:var(--text);
    margin:0;
}
.notification-head time{
    color:rgba(148,163,184,.76);
    font-size:12px;
    white-space:nowrap;
}
.notification-content p{
    color:var(--text-muted);
    font-size:14px;
    line-height:1.45;
    margin:0 0 12px;
}
.notification-link{
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:var(--primary-light);
    font-size:14px;
    font-weight:800;
}
.notification-delete-form{margin:12px 0 0;}
.notification-delete{
    width:36px;
    height:30px;
    border:0;
    border-radius:9px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    background:rgba(239,68,68,.72);
    cursor:pointer;
}
.notification-empty{
    min-height:360px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:28px 14px 80px;
}
.notification-empty i{
    font-size:72px;
    color:rgba(148,163,184,.68);
    margin-bottom:30px;
}
.notification-empty h2{
    font-size:29px;
    font-weight:800;
    letter-spacing:-.04em;
    margin:0 0 12px;
    color:var(--text);
}
.notification-empty p{
    color:var(--text-muted);
    font-size:19px;
    margin:0;
}
html[data-theme="light"] .header-notification-button{
    background:#fff;
    color:#2563eb;
    border-color:rgba(37,99,235,.55);
    box-shadow:0 10px 24px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.9);
}
html[data-theme="light"] .header-notification-button .notification-badge{border-color:#fff;}
html[data-theme="light"] .notification-user-box,
html[data-theme="light"] .notification-title-pill,
html[data-theme="light"] .notification-user-inner,
html[data-theme="light"] .notification-card{
    background:rgba(255,255,255,.78);
}
@media (max-width:768px){
    .header-notification-button{
        width:42px!important;
        height:42px!important;
        min-width:42px!important;
    }
    .notification-page{padding:0 20px 28px;}
    .notification-toolbar{margin-left:26px;margin-right:26px;}
}
@media (max-width:430px){
    .notification-page{padding-left:16px;padding-right:16px;}
    .notification-toolbar{margin-left:10px;margin-right:10px;}
    .notification-title-pill{min-width:0;flex:1;padding:16px 18px;gap:13px;}
    .notification-title-pill h1{font-size:24px;}
    .notification-read-all{width:48px;height:42px;}
    .notification-divider{margin-left:10px;margin-right:10px;}
    .notification-user-inner strong{font-size:20px;}
    .notification-card{padding:14px;}
    .notification-icon{width:46px;height:46px;min-width:46px;}
    .notification-head{flex-direction:column;gap:3px;}
    .notification-empty h2{font-size:25px;}
    .notification-empty p{font-size:17px;}
}
@media (max-width:380px){
    .header-notification-button{
        width:40px!important;
        height:40px!important;
        min-width:40px!important;
        font-size:16px!important;
    }
}

/* ===== UST HEADER BUTON BOYUT AYARI 20260622headerfit ===== */
.header-theme-toggle.theme-toggle-bubble,
.header-notification-button{
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    font-size:16px !important;
}
.header-notification-button{
    border-width:2px !important;
}
.header-notification-button .notification-badge{
    top:-5px;
    right:-5px;
    min-width:17px;
    height:17px;
    padding:0 4px;
    font-size:9px;
}
.user-menu .dropdown-toggle{
    width:44px !important;
    height:44px !important;
    min-width:44px !important;
    padding:0 !important;
    border-radius:999px !important;
}
.user-menu .dropdown-toggle img{
    width:40px !important;
    height:40px !important;
}
@media (max-width:768px){
    .header-actions{gap:8px !important;}
    .user-menu{gap:8px !important;}
    .header-theme-toggle.theme-toggle-bubble,
    .header-notification-button{
        width:38px !important;
        height:38px !important;
        min-width:38px !important;
        font-size:16px !important;
    }
    .user-menu .dropdown-toggle{
        width:44px !important;
        height:44px !important;
        min-width:44px !important;
    }
    .user-menu .dropdown-toggle img{
        width:40px !important;
        height:40px !important;
    }
}
@media (max-width:380px){
    .header-actions{gap:7px !important;}
    .user-menu{gap:7px !important;}
    .header-theme-toggle.theme-toggle-bubble,
    .header-notification-button{
        width:36px !important;
        height:36px !important;
        min-width:36px !important;
        font-size:15px !important;
    }
    .user-menu .dropdown-toggle{
        width:42px !important;
        height:42px !important;
        min-width:42px !important;
    }
    .user-menu .dropdown-toggle img{
        width:38px !important;
        height:38px !important;
    }
}

/* ===== ANA SAYFA BANNER ALTI REKLAM KUTULARI ===== */
.home-promo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 20px;
}

.home-promo-card {
    position: relative;
    display: block;
    min-height: 128px;
    border-radius: 18px;
    overflow: hidden;
    background: #17172a;
    border: 1px solid rgba(245, 158, 11, .26);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
    isolation: isolate;
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.home-promo-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, .68);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .32);
}

.home-promo-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .42s ease;
}

.home-promo-card:hover img {
    transform: scale(1.07);
}

.home-promo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 5, 16, .05) 0%, rgba(4, 5, 16, .16) 42%, rgba(4, 5, 16, .82) 100%);
    z-index: 1;
}

.home-promo-shine {
    position: absolute;
    inset: -40% auto auto -35%;
    width: 70%;
    height: 180%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
    transform: rotate(18deg) translateX(-120%);
    z-index: 2;
    transition: transform .65s ease;
}

.home-promo-card:hover .home-promo-shine {
    transform: rotate(18deg) translateX(260%);
}

.home-promo-content {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .78);
}

.home-promo-content strong {
    display: block;
    font-size: 19px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.03em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-promo-content small {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-promo-no-image {
    background: radial-gradient(circle at 25% 25%, rgba(245, 158, 11, .26), transparent 38%), linear-gradient(135deg, #1b1b30, #10101c);
}

html[data-theme="light"] .home-promo-card {
    border-color: rgba(245, 158, 11, .28);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
}

@media (max-width: 430px) {
    .home-promo-grid {
        gap: 10px;
        margin-bottom: 18px;
    }

    .home-promo-card {
        min-height: 112px;
        border-radius: 16px;
    }

    .home-promo-content {
        left: 9px;
        right: 9px;
        bottom: 10px;
    }

    .home-promo-content strong {
        font-size: 16px;
    }

    .home-promo-content small {
        font-size: 10.5px;
        margin-top: 4px;
    }
}

@media (max-width: 340px) {
    .home-promo-grid {
        grid-template-columns: 1fr;
    }

    .home-promo-card {
        min-height: 118px;
    }
}


/* ===== MESAJLAR OKUNMAMIS ROZETI ===== */
.nav-icon-wrap{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    line-height:1;
    overflow:visible!important;
}
.nav-message-badge{
    position:absolute;
    top:-13px;
    right:-17px;
    min-width:22px;
    height:22px;
    padding:0 6px;
    border-radius:999px;
    background:#ef4444;
    color:#fff;
    border:2px solid var(--dark);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
    font-weight:800;
    line-height:1;
    box-shadow:0 4px 12px rgba(239,68,68,.35);
    z-index:2;
    overflow:visible!important;
}
.main-nav .nav-item .nav-message-badge{
    max-width:none;
    white-space:nowrap;
}
html[data-theme="light"] .nav-message-badge{
    border-color:#fff;
}
@media (max-width:768px){
    .nav-message-badge{
        top:-12px;
        right:-16px;
        min-width:20px;
        height:20px;
        padding:0 5px;
        font-size:10px;
    }
}

/* Satıcı profil aktiflik noktası */
.seller-profile-v2-status-dot.is-online {
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .16), 0 0 14px rgba(16, 185, 129, .75);
}

.seller-profile-v2-status-dot.is-offline {
    background: var(--danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .12);
}

.seller-profile-v2-online-text {
    color: var(--success);
    font-weight: 800;
}

/* ===== PROFIL GORSEL AYAR SAYFALARI ===== */
.profile-image-settings-page {
    max-width: 920px;
    margin: 0 auto;
    padding-bottom: 28px;
}

.profile-image-user-card {
    margin: 0 0 36px;
    padding: 18px 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(17, 17, 17, .96), rgba(10, 10, 10, .98));
    border: 1px solid rgba(245, 158, 11, .22);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .24);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.profile-image-user-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.profile-image-user-avatar {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    object-fit: cover;
    background: var(--dark-lighter);
    border: 1px solid rgba(245, 158, 11, .28);
    flex: 0 0 auto;
}

.profile-image-user-text {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.profile-image-user-text strong {
    color: var(--text);
    font-size: clamp(22px, 4vw, 34px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.03em;
    overflow-wrap: anywhere;
}

.profile-image-user-text small,
.profile-image-user-card > i {
    color: var(--text-muted);
    font-size: 20px;
}

.profile-image-settings-section {
    display: block;
}

.profile-image-settings-title {
    margin: 0 0 24px;
    color: var(--text);
    font-size: clamp(34px, 7vw, 48px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -.05em;
}

.profile-image-settings-desc {
    margin: 0 0 26px;
    color: rgba(226, 232, 240, .76);
    font-size: clamp(18px, 4.2vw, 28px);
    line-height: 1.55;
    max-width: 780px;
}

.profile-file-panel {
    width: 100%;
    min-height: 58px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(17, 17, 17, .82);
    border: 1px solid rgba(245, 158, 11, .28);
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.profile-file-panel input[type="file"] {
    width: 100%;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
}

.profile-file-panel input[type="file"]::file-selector-button {
    margin-right: 10px;
    padding: 6px 12px;
    border: 0;
    border-radius: 8px;
    background: #f2f2f2;
    color: #111827;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.cover-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
    margin: 0 0 26px;
}

.cover-choice {
    position: relative;
    display: block;
    cursor: pointer;
    border-radius: 16px;
}

.cover-choice input[type="radio"] {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    width: 42px;
    height: 42px;
    margin: 0;
    accent-color: var(--primary);
    cursor: pointer;
}

.cover-choice img {
    width: 100%;
    aspect-ratio: 1.64 / 1;
    display: block;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(245, 158, 11, .18);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .22);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.cover-choice:hover img,
.cover-choice input[type="radio"]:checked + img {
    border-color: rgba(245, 158, 11, .95);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .34), 0 16px 36px rgba(0, 0, 0, .28);
}

.profile-image-submit {
    appearance: none;
    border: 0;
    border-radius: 8px;
    min-height: 42px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 18px rgba(245, 158, 11, .24);
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.profile-avatar-preview-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(17, 17, 17, .82);
    border: 1px solid rgba(245, 158, 11, .22);
    margin-bottom: 22px;
}

.profile-avatar-preview {
    width: 118px;
    height: 118px;
    border-radius: 26px;
    object-fit: cover;
    border: 2px solid rgba(245, 158, 11, .34);
    flex: 0 0 auto;
}

.profile-avatar-preview-card strong {
    display: block;
    color: var(--text);
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 6px;
}

.profile-avatar-preview-card span {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.45;
}

html[data-theme="light"] .profile-image-user-card,
html[data-theme="light"] .profile-file-panel,
html[data-theme="light"] .profile-avatar-preview-card {
    background: rgba(255, 255, 255, .82);
}

html[data-theme="light"] .profile-image-settings-desc {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .profile-image-settings-page {
        max-width: 100%;
    }

    .profile-image-user-card {
        margin-bottom: 34px;
        padding: 14px 16px;
        border-radius: 18px;
    }

    .profile-image-user-avatar {
        width: 62px;
        height: 62px;
        border-radius: 16px;
    }

    .profile-image-settings-title {
        margin-bottom: 22px;
    }

    .profile-image-settings-desc {
        margin-bottom: 24px;
    }

    .profile-file-panel {
        min-height: 54px;
        padding: 9px 11px;
        border-radius: 11px;
    }

    .cover-choice-grid {
        gap: 20px;
    }

    .cover-choice input[type="radio"] {
        width: 38px;
        height: 38px;
        top: 12px;
        left: 12px;
    }

    .profile-image-submit {
        min-height: 40px;
        padding: 0 15px;
        font-size: 14px;
    }
}

@media (max-width: 460px) {
    .cover-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 14px;
    }

    .cover-choice img {
        border-radius: 13px;
    }

    .cover-choice input[type="radio"] {
        width: 34px;
        height: 34px;
        top: 10px;
        left: 10px;
    }

    .profile-avatar-preview-card {
        align-items: flex-start;
    }

    .profile-avatar-preview {
        width: 96px;
        height: 96px;
        border-radius: 22px;
    }
}

/* ===== PROFIL BLOKELI BAKIYE VE BUTON DUZENI ===== */
.depin-account-page .account-summary-card-locked .account-card-icon,
.depin-account-page .account-summary-card-locked strong {
    color: var(--warning);
}

.depin-account-page .account-menu-item,
.depin-account-page .account-menu-details summary {
    min-height: 52px;
    padding: 12px 16px;
    font-size: clamp(15px, 2.6vw, 20px);
}

.depin-account-page .account-menu-item i,
.depin-account-page .account-menu-details summary span > i {
    font-size: 18px;
}

.depin-account-page .profile-action-grid {
    display: grid !important;
    gap: 10px !important;
    justify-items: center !important;
    margin: 18px auto 20px !important;
}

.depin-account-page .profile-action-grid .btn {
    width: min(100%, 340px) !important;
    min-height: 42px;
    padding: 10px 15px !important;
    justify-content: center !important;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.25;
    text-align: center;
}

@media (max-width: 768px) {
    .depin-account-page .account-menu-item,
    .depin-account-page .account-menu-details summary {
        min-height: 50px;
        padding: 11px 14px;
        font-size: 17px;
        gap: 12px;
    }

    .depin-account-page .account-menu-item i,
    .depin-account-page .account-menu-details summary span > i {
        width: 22px;
        font-size: 17px;
    }

    .depin-account-page .account-summary-card {
        min-height: 138px;
        padding: 22px 20px;
        gap: 9px;
    }

    .depin-account-page .account-card-icon {
        width: 48px;
        height: 48px;
        font-size: 21px;
        margin-bottom: 6px;
    }

    .depin-account-page .profile-action-grid .btn {
        width: min(100%, 315px) !important;
        min-height: 40px;
        padding: 9px 14px !important;
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .depin-account-page .account-summary-card {
        min-height: 132px;
    }

    .depin-account-page .account-summary-card strong {
        font-size: 23px;
    }
}

/* ===== PROFIL ILAN OZETI VE FAVORI ILANLAR KARTLARI ===== */
.profile-listing-panel {
    margin: 0 0 18px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(17, 17, 17, .88);
    border: 1px solid rgba(245, 158, 11, .18);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
    overflow: hidden;
}

.profile-panel-head {
    margin-bottom: 16px;
}

.profile-panel-head h3 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 20px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -.02em;
}

.profile-panel-head p {
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.55;
}

.profile-panel-empty {
    min-height: 184px;
    padding: 24px 18px;
    border-radius: 16px;
    background: rgba(15, 23, 42, .16);
    border: 1px solid rgba(245, 158, 11, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.profile-panel-empty-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.profile-panel-empty-icon-listings {
    border-radius: 18px;
    background: rgba(245, 158, 11, .12);
    color: #F59E0B;
    font-size: 34px;
}

.profile-panel-empty-icon-heart {
    color: var(--primary-light);
    font-size: 48px;
}

.profile-panel-empty h3 {
    margin: 0 0 9px;
    color: var(--text-muted);
    font-size: 21px;
    line-height: 1.28;
    font-weight: 600;
    letter-spacing: -.02em;
}

.profile-panel-empty p {
    margin: 0;
    max-width: 360px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.5;
}

.profile-compact-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.profile-compact-listing-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(15, 15, 26, .32);
    border: 1px solid rgba(245, 158, 11, .12);
    color: var(--text);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.profile-compact-listing-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, .38);
    background: rgba(245, 158, 11, .10);
}

.profile-compact-listing-image {
    position: relative;
    display: block;
    aspect-ratio: 1.45 / 1;
    overflow: hidden;
    background: rgba(15, 23, 42, .36);
}

.profile-compact-listing-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.profile-compact-listing-image em {
    position: absolute;
    left: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    padding: 5px 8px;
    border-radius: 10px;
    background: rgba(15, 15, 26, .82);
    color: #fff;
    font-size: 12px;
    line-height: 1.1;
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-compact-listing-info {
    display: grid;
    gap: 5px;
    padding: 11px 12px 12px;
}

.profile-compact-listing-info strong {
    min-width: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.profile-compact-listing-info small {
    min-width: 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html[data-theme="light"] .profile-listing-panel {
    background: rgba(255, 255, 255, .82);
    border-color: rgba(99, 102, 241, .14);
}

html[data-theme="light"] .profile-panel-empty,
html[data-theme="light"] .profile-compact-listing-card {
    background: rgba(241, 245, 249, .62);
}

@media (max-width: 520px) {
    .profile-listing-panel {
        padding: 16px;
        border-radius: 16px;
    }

    .profile-panel-head {
        margin-bottom: 14px;
    }

    .profile-panel-head h3 {
        font-size: 19px;
    }

    .profile-panel-head p {
        font-size: 14px;
    }

    .profile-panel-empty {
        min-height: 172px;
        padding: 22px 14px;
    }

    .profile-panel-empty-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 12px;
    }

    .profile-panel-empty-icon-listings {
        font-size: 30px;
    }

    .profile-panel-empty-icon-heart {
        font-size: 44px;
    }

    .profile-panel-empty h3 {
        font-size: 20px;
    }

    .profile-panel-empty p {
        font-size: 15px;
    }

    .profile-compact-listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .profile-compact-listing-info {
        padding: 10px;
    }

    .profile-compact-listing-info strong {
        font-size: 13px;
    }
}

/* ===== PROFIL AYARLARI: ŞİFRE / E-POSTA / TELEFON ===== */
.depin-account-page .account-submenu a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.depin-account-page .account-submenu a i {
    width: 18px;
    text-align: center;
    color: var(--primary-light);
    font-size: 14px;
    flex: 0 0 auto;
}

.account-setting-page {
    width: min(100%, 760px);
    margin: 18px auto 72px;
    padding: 0 22px;
}

.account-setting-title {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 42px;
    padding: 20px 28px;
    border-radius: 16px;
    border: 1px solid rgba(245, 158, 11, .54);
    background: rgba(28, 22, 14, .78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .02);
}

.account-setting-title > i {
    color: var(--primary);
    font-size: 31px;
    flex: 0 0 auto;
}

.account-setting-title h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(27px, 5.4vw, 39px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.035em;
}

.account-setting-form {
    display: grid;
    gap: 28px;
}

.account-setting-field {
    display: grid;
    gap: 10px;
}

.account-setting-field > label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 2px 18px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
}

.account-setting-field > label i {
    width: 22px;
    text-align: center;
    color: var(--primary);
    font-size: 20px;
    flex: 0 0 auto;
}

.account-setting-input,
.account-setting-input-wrap .account-setting-input {
    width: 100%;
    height: 56px;
    padding: 0 18px;
    border: 1px solid rgba(245, 158, 11, .22);
    border-radius: 14px;
    outline: none;
    background: rgba(17, 17, 17, .88);
    color: var(--text);
    font: 600 16px/1.2 'Poppins', sans-serif;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.account-setting-input::placeholder {
    color: rgba(148, 163, 184, .72);
    font-weight: 600;
}

.account-setting-input:focus {
    border-color: rgba(245, 158, 11, .88);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .12);
    background: rgba(24, 24, 24, .96);
}

.account-setting-input.is-readonly {
    color: var(--text);
    cursor: default;
    opacity: .96;
}

.account-setting-input-wrap {
    position: relative;
}

.account-setting-input-wrap .account-setting-input {
    padding-right: 52px;
}

.account-password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 15px;
}

.account-password-toggle:hover,
.account-password-toggle:focus-visible {
    background: rgba(245, 158, 11, .12);
    color: var(--primary-light);
    outline: none;
}

.account-setting-hint {
    margin: -2px 4px 0 18px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
}

.account-setting-submit {
    width: fit-content;
    min-height: 46px;
    margin: 2px 0 0 2px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(217, 119, 6, .22), inset 0 1px 0 rgba(255, 255, 255, .16);
    font: 700 16px/1 'Poppins', sans-serif;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.account-setting-submit i {
    font-size: 16px;
}

.account-setting-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 13px 28px rgba(217, 119, 6, .30), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.account-setting-submit:active {
    transform: translateY(0);
}

html[data-theme="light"] .account-setting-title {
    background: rgba(245, 243, 255, .92);
    border-color: rgba(217, 119, 6, .35);
}

html[data-theme="light"] .account-setting-input,
html[data-theme="light"] .account-setting-input-wrap .account-setting-input {
    background: #fff;
    border-color: rgba(100, 116, 139, .22);
}

html[data-theme="light"] .account-setting-input:focus {
    background: #fff;
}

@media (max-width: 768px) {
    .account-setting-page {
        margin-top: 14px;
        padding: 0 18px;
    }

    .account-setting-title {
        min-height: 72px;
        margin-bottom: 34px;
        padding: 17px 20px;
        gap: 16px;
        border-radius: 14px;
    }

    .account-setting-title > i {
        font-size: 27px;
    }

    .account-setting-title h1 {
        font-size: 29px;
    }

    .account-setting-form {
        gap: 25px;
    }

    .account-setting-field > label {
        margin-left: 12px;
        font-size: 17px;
    }

    .account-setting-input,
    .account-setting-input-wrap .account-setting-input {
        height: 54px;
        border-radius: 13px;
        font-size: 15px;
    }

    .account-setting-submit {
        min-height: 44px;
        padding: 0 16px;
        font-size: 15px;
    }
}

@media (max-width: 420px) {
    .account-setting-page {
        padding: 0 10px;
        margin-bottom: 54px;
    }

    .account-setting-title {
        min-height: 66px;
        margin-bottom: 30px;
        padding: 15px 17px;
        gap: 13px;
    }

    .account-setting-title > i {
        font-size: 24px;
    }

    .account-setting-title h1 {
        font-size: 25px;
    }

    .account-setting-field > label {
        margin-left: 8px;
        gap: 11px;
        font-size: 16px;
    }

    .account-setting-field > label i {
        width: 20px;
        font-size: 18px;
    }

    .account-setting-hint {
        margin-left: 8px;
    }
}

/* ===== ANA SAYFA REKLAM GORSEL DUZENI 20260722 ===== */
.home-ad-stack {
    position: relative;
    width: 100%;
    max-width: 980px;
    margin: -6px auto 18px;
}

.home-ad-showcase {
    position: relative;
    display: block;
    width: 100%;
    max-width: 980px;
    height: clamp(230px, 29vw, 320px);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0;
    background: #07070c;
    text-decoration: none;
    isolation: isolate;
}

.home-ad-showcase img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    filter: saturate(1.05) contrast(1.04);
    transform: none;
}

.home-ad-showcase-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(circle at 55% 18%, rgba(255, 255, 255, .06), transparent 28%),
        linear-gradient(90deg, rgba(7, 7, 12, .94) 0%, rgba(7, 7, 12, .45) 32%, rgba(7, 7, 12, .32) 60%, rgba(7, 7, 12, .90) 100%),
        linear-gradient(180deg, rgba(7, 7, 12, .10) 0%, rgba(7, 7, 12, .46) 64%, rgba(7, 7, 12, .96) 100%);
}

.home-ad-showcase .hero-marquee {
    position: absolute !important;
    top: 2px !important;
    left: 8px !important;
    right: 8px !important;
    z-index: 6 !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    pointer-events: none !important;
    user-select: none;
    -webkit-user-select: none;
    border-radius: 999px !important;
    background: linear-gradient(90deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .34), rgba(0, 0, 0, .08)) !important;
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.home-ad-showcase .hero-marquee-track {
    display: inline-flex !important;
    align-items: center !important;
    width: max-content;
    min-width: max-content;
    gap: 72px;
    padding: 0 !important;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .45px;
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .95), 0 0 18px currentColor;
    animation: heroBannerMarqueeVisible 16s linear infinite !important;
}

.home-ad-showcase .hero-marquee-track span {
    display: inline-block;
    flex: 0 0 auto;
    padding-right: 72px;
}

.home-ad-showcase-no-image {
    background:
        radial-gradient(circle at 52% 20%, rgba(245, 158, 11, .16), transparent 34%),
        linear-gradient(135deg, #141017 0%, #08080d 100%);
}

.home-ad-showcase-no-image::after {
    content: "Ust reklam gorseli yuklenemedi";
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 3;
    color: rgba(255, 255, 255, .48);
    font-size: 12px;
    font-weight: 700;
}

#reklam-slider {
    width: 100% !important;
    max-width: 980px !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 0 0 48px !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #111119 0%, #09090e 100%) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .30) !important;
}

.home-ad-stack.has-showcase #reklam-slider {
    position: relative;
    z-index: 5;
    width: calc(100% - 30px) !important;
    margin: -176px auto 0 !important;
}

#reklam-slider > .slider-container {
    height: clamp(220px, 27vw, 320px) !important;
    border-radius: 22px 22px 0 0 !important;
    overflow: hidden !important;
    background: #101018 !important;
}

#reklam-slider .hero-slide img {
    object-fit: contain;
    object-position: center;
    transform: none;
    background: #07070c;
}

#reklam-slider .hero-overlay {
    justify-content: center;
    align-items: flex-start;
    padding: 22px 28px 26px 58px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .46) 40%, rgba(0, 0, 0, .08) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, .10) 0%, rgba(0, 0, 0, .44) 100%);
}

#reklam-slider .hero-overlay::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 46%;
    max-height: 150px;
    min-height: 88px;
    transform: translateY(-50%);
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
    box-shadow: 0 0 22px rgba(245, 158, 11, .42);
}

#reklam-slider .hero-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: min(88%, 320px);
    min-height: 42px;
    margin: 0 0 15px;
    padding: 0 28px;
    border: 3px solid #f59e0b;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, .22);
    font-size: clamp(15px, 2vw, 24px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-shadow: 0 3px 14px rgba(0, 0, 0, .82);
}

#reklam-slider .hero-title {
    max-width: 560px;
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(34px, 5vw, 66px);
    line-height: .95;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .82);
}

#reklam-slider .hero-desc {
    max-width: 500px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(17px, 2vw, 28px);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .72);
}

#reklam-slider .hero-link-btn {
    width: fit-content;
    margin-top: 12px;
    border: 1px solid rgba(245, 158, 11, .78);
    border-radius: 999px;
    background: rgba(0, 0, 0, .35);
    color: #fff;
}

#reklam-slider .slider-nav {
    bottom: 0;
    height: 48px;
    padding: 0 16px;
    background: linear-gradient(180deg, rgba(11, 11, 17, .96), rgba(7, 7, 11, .98));
    border-top: 1px solid rgba(255, 255, 255, .08);
}

#reklam-slider .slider-prev,
#reklam-slider .slider-next {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .06);
}

#reklam-slider .slider-prev:hover,
#reklam-slider .slider-next:hover {
    background: rgba(245, 158, 11, .22);
    color: #fbbf24;
}

#reklam-slider .slider-dots {
    height: 100%;
    align-items: center;
    gap: 8px;
}

#reklam-slider .slider-dots .dot {
    width: 34px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
}

#reklam-slider .slider-dots .dot.active {
    width: 62px;
    background: #f59e0b;
    box-shadow: 0 0 18px rgba(245, 158, 11, .42);
}

#reklam-slider .hero-marquee {
    height: 26px !important;
    margin: 0 !important;
    padding: 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .07) !important;
    background: rgba(0, 0, 0, .24) !important;
}

.home-promo-grid {
    width: 100%;
    max-width: 980px;
    margin: 0 auto 24px;
    gap: 16px;
}

.home-promo-card {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: #101018;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .20);
}

.admin-ad-top-settings {
    display: grid;
    grid-template-columns: minmax(260px, .95fr) minmax(300px, 1.1fr);
    gap: 18px;
    align-items: start;
}

.admin-home-promo-check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.admin-ad-top-preview {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    border: 1px solid rgba(245, 158, 11, .22);
    border-radius: 18px;
    background: #101018;
}

.admin-ad-top-preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-ad-top-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, .78));
}

.admin-ad-top-preview span {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 2;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .78);
}

@media (max-width: 900px) {
    .admin-ad-top-settings {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .home-responsive-page {
        padding-top: 0 !important;
    }

    .home-ad-stack {
        margin-top: -2px;
        margin-bottom: 14px;
    }

    .home-ad-showcase {
        height: clamp(250px, 52vw, 320px);
    }

    .home-ad-showcase img {
        transform: none;
    }

    #reklam-slider {
        border-radius: 20px !important;
        padding-bottom: 46px !important;
    }

    #reklam-slider > .slider-container {
        height: clamp(220px, 57vw, 270px) !important;
        border-radius: 20px 20px 0 0 !important;
    }

    .home-ad-stack.has-showcase #reklam-slider {
        width: calc(100% - 24px) !important;
        margin-top: -206px !important;
    }

    #reklam-slider .hero-overlay {
        padding: 18px 22px 22px 48px;
    }

    #reklam-slider .hero-kicker {
        min-height: 34px;
        margin-bottom: 12px;
        padding: 0 22px;
        border-width: 3px;
        font-size: 14px;
    }

    #reklam-slider .hero-title {
        max-width: 76%;
        font-size: clamp(30px, 8.2vw, 42px);
    }

    #reklam-slider .hero-desc {
        max-width: 76%;
        font-size: 17px;
    }

    #reklam-slider .slider-nav {
        height: 46px;
    }

    #reklam-slider .slider-dots .dot {
        width: 28px;
    }

    #reklam-slider .slider-dots .dot.active {
        width: 52px;
    }
}

@media (max-width: 420px) {
    .home-ad-stack {
        margin-left: -10px;
        margin-right: -10px;
        width: calc(100% + 20px);
    }

    .home-ad-showcase {
        width: 100%;
        height: 295px;
    }

    #reklam-slider {
        margin-bottom: 0 !important;
    }

    .home-ad-stack.has-showcase #reklam-slider {
        width: calc(100% - 22px) !important;
        margin-top: -222px !important;
    }

    #reklam-slider .hero-overlay {
        padding: 16px 18px 20px 44px;
    }

    #reklam-slider .hero-overlay::before {
        width: 7px;
        min-height: 76px;
    }

    #reklam-slider .hero-kicker {
        min-height: 32px;
        margin-bottom: 11px;
        padding: 0 19px;
        font-size: 13px;
    }

    #reklam-slider .hero-title {
        max-width: 78%;
        font-size: 32px;
    }

    #reklam-slider .hero-desc {
        max-width: 78%;
        font-size: 16px;
    }

    .home-promo-grid {
        gap: 12px;
    }
}

/* Black / orange / yellow mobile theme overrides */
.home-menu-panel,
.quick-side-menu,
.dropdown-menu {
    background:
        radial-gradient(circle at 18% 8%, rgba(245, 158, 11, .14), transparent 34%),
        linear-gradient(180deg, #111111 0%, #070707 100%) !important;
    border-color: rgba(245, 158, 11, .34) !important;
    box-shadow: 24px 0 60px rgba(0, 0, 0, .58);
}

.home-menu-head {
    border-bottom-color: rgba(245, 158, 11, .28) !important;
}

.home-menu-close {
    background: rgba(245, 158, 11, .14) !important;
    border: 1px solid rgba(245, 158, 11, .28) !important;
    color: #fff7ed !important;
}

.home-menu-list a,
.quick-side-menu a,
.dropdown-menu a {
    border-color: rgba(245, 158, 11, .18) !important;
    color: #f8fafc !important;
}

.home-menu-list i,
.quick-side-menu i,
.dropdown-menu i {
    color: #FBBF24 !important;
}

.home-menu-list a:hover,
.quick-side-menu a:hover,
.dropdown-menu a:hover {
    background: rgba(245, 158, 11, .14) !important;
    color: #FCD34D !important;
}

@media (max-width: 768px) {
    .main-nav {
        background:
            linear-gradient(180deg, rgba(17, 17, 17, .92) 0%, rgba(5, 5, 5, .98) 100%) !important;
        border-top: 1px solid rgba(245, 158, 11, .42) !important;
        box-shadow: 0 -12px 34px rgba(0, 0, 0, .62), 0 -1px 0 rgba(251, 191, 36, .12) !important;
    }

    .main-nav .nav-item {
        color: #cbd5e1 !important;
    }

    .main-nav .nav-item i,
    .main-nav .nav-icon-wrap {
        color: inherit !important;
    }

    .main-nav .nav-item.active,
    .main-nav .nav-item:hover {
        color: #F59E0B !important;
        background: rgba(245, 158, 11, .08) !important;
    }

    .main-nav .nav-item.active i,
    .main-nav .nav-item:hover i,
    .main-nav .nav-item.active .nav-icon-wrap,
    .main-nav .nav-item:hover .nav-icon-wrap {
        color: #F59E0B !important;
    }

    .main-nav .nav-add,
    .main-nav .nav-add i {
        color: #FBBF24 !important;
    }

    .nav-message-badge {
        background: linear-gradient(135deg, #F59E0B, #EA580C) !important;
        color: #111111 !important;
        border-color: rgba(252, 211, 77, .5) !important;
    }

    .header-theme-toggle.theme-toggle-bubble {
        background: linear-gradient(135deg, #1a1a1a 0%, #0b0b0b 100%) !important;
        color: #FBBF24 !important;
        border-color: rgba(245, 158, 11, .38) !important;
    }
}

/* Account page black / orange / yellow card theme */
.depin-account-page .account-user-card,
.depin-account-page .account-menu-item,
.depin-account-page .account-menu-details summary,
.depin-account-page .account-summary-title,
.depin-account-page .account-summary-card,
.depin-account-page .account-email-verify-card,
.depin-account-page .account-reference-card,
.depin-account-page .profile-listing-panel,
.depin-account-page .profile-compact-listing-card,
.profile-image-user-card,
.profile-file-panel,
.profile-avatar-preview-card,
.account-setting-title,
.account-setting-input,
.account-setting-input-wrap .account-setting-input {
    background:
        radial-gradient(circle at 18% 0%, rgba(245, 158, 11, .12), transparent 34%),
        linear-gradient(135deg, rgba(17, 17, 17, .98), rgba(7, 7, 7, .96)) !important;
    border-color: rgba(245, 158, 11, .28) !important;
}

.depin-account-page .account-user-card,
.depin-account-page .account-summary-card,
.depin-account-page .account-email-verify-card,
.depin-account-page .profile-listing-panel,
.profile-image-user-card,
.profile-file-panel,
.profile-avatar-preview-card,
.account-setting-title {
    box-shadow: 0 14px 32px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(251, 191, 36, .05) !important;
}

.depin-account-page .account-menu-item:hover,
.depin-account-page .account-menu-details summary:hover,
.depin-account-page .account-menu-item.active,
.depin-account-page .profile-compact-listing-card:hover {
    background: rgba(245, 158, 11, .14) !important;
    border-color: rgba(245, 158, 11, .72) !important;
}

.depin-account-page .account-card-icon,
.depin-account-page .account-email-verify-icon,
.profile-panel-empty-icon-listings {
    background: rgba(245, 158, 11, .16) !important;
    border: 1px solid rgba(245, 158, 11, .28) !important;
    color: #FBBF24 !important;
}

.depin-account-page .account-menu-item i,
.depin-account-page .account-menu-details summary span > i,
.depin-account-page .account-summary-title i,
.account-setting-title > i,
.account-setting-field > label i {
    color: #F59E0B !important;
}

.depin-account-page .account-summary-card-blocked {
    background:
        radial-gradient(circle at 20% 0%, rgba(251, 191, 36, .14), transparent 32%),
        linear-gradient(135deg, rgba(17, 17, 17, .98), rgba(24, 18, 9, .94)) !important;
}

.depin-account-page .account-email-verify-card:not(.is-verified) {
    background:
        radial-gradient(circle at 16% 0%, rgba(245, 158, 11, .18), transparent 36%),
        linear-gradient(135deg, rgba(17, 17, 17, .98), rgba(10, 10, 10, .96)) !important;
}

/* Reference-style full screen menu opened from the three-dot/menu trigger */
.depin-reference-menu {
    width: 100vw !important;
    max-width: none !important;
    right: 0 !important;
    padding: 0 !important;
    background: #090c12 !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

.depin-menu-shell {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: #090c12;
}

.depin-menu-rail {
    background: #080b10;
    border-right: 1px solid rgba(40, 47, 60, .92);
    overflow-y: auto;
    padding-bottom: 24px;
}

.depin-rail-close {
    width: 100%;
    height: 142px;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ff3d55 !important;
    color: #fff !important;
    font-size: 34px;
}

.depin-rail-item {
    position: relative;
    display: flex;
    min-height: 116px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: #8f98aa;
    font-weight: 700;
    text-align: center;
    padding: 14px 10px;
}

.depin-rail-item.active {
    color: #2385ff;
    background: #151a21;
}

.depin-rail-item.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 7px;
    background: #4363ff;
}

.depin-rail-icon {
    width: 96px;
    height: 96px;
    border-radius: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #4057ff;
    color: #fff;
    font-size: 35px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
}

.depin-rail-item strong {
    display: block;
    font-size: 22px;
    line-height: 1.15;
}

.depin-rail-pubg {
    background: #eb9a00;
    font-size: 21px;
    border-radius: 24px;
}

.depin-rail-valorant,
.depin-rail-social {
    background: #ff3d55;
}

.depin-rail-social {
    background: #ff3f94;
    font-size: 15px;
}

.depin-rail-lol {
    background: #bea05b;
    font-size: 26px;
}

.depin-rail-cs {
    background: #263b91;
    font-size: 21px;
}

.depin-rail-gift {
    background: #10d678;
}

.depin-rail-market {
    background: #4057ff;
}

.depin-menu-content {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    background: #090c12;
    overflow-y: auto;
    padding-bottom: 214px;
}

.depin-menu-head {
    min-height: 142px;
    margin: 0 !important;
    padding: 22px 38px !important;
    border-bottom: 2px solid #1b212b !important;
    background: #080b10;
}

.depin-menu-head .mini-logo img {
    width: 350px;
    max-width: 58vw;
    height: auto;
}

.depin-menu-theme {
    width: 86px !important;
    height: 86px !important;
    border-radius: 18px !important;
    background: #1e2229 !important;
    color: #fff !important;
    font-size: 32px !important;
    box-shadow: none !important;
}

.depin-menu-search {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 108px;
    margin: 0 38px 34px;
    padding: 0 34px;
    border: 4px solid #29303b;
    border-radius: 20px;
    background: #1a2029;
    color: #8f99a8;
}

.depin-menu-search i {
    font-size: 36px;
}

.depin-menu-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #e8edf7;
    font: 600 34px/1.2 Poppins, sans-serif;
}

.depin-menu-search input::placeholder {
    color: #8f99a8;
}

.depin-reference-list {
    gap: 20px !important;
    padding: 0 38px 32px;
}

.depin-reference-list .depin-menu-card {
    position: relative;
    min-height: 136px;
    padding: 20px 32px 20px 56px !important;
    gap: 36px !important;
    overflow: hidden;
    border: 3px solid #202631 !important;
    border-radius: 28px;
    background: #11161e !important;
    color: #edf2fb !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    transform: none !important;
}

.depin-reference-list .depin-menu-card::before {
    content: "";
    position: absolute;
    left: -3px;
    top: -3px;
    bottom: -3px;
    width: 20px;
    background: var(--depin-card-color, #4964ff);
    border-radius: 28px 0 0 28px;
}

.depin-reference-list .depin-menu-card:hover {
    border-color: #30394a !important;
}

.depin-menu-card-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.05;
}

.depin-menu-card-desc {
    display: block;
    min-width: 0;
    color: #d9e0ec;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.28;
}

.depin-menu-card-icon i {
    width: auto !important;
    color: #fff !important;
    font-size: 40px;
}

.depin-card-purple { --depin-card-color: #8242b4; }
.depin-card-red { --depin-card-color: #ff2d38; }
.depin-card-coral { --depin-card-color: #ff4838; }
.depin-card-blue { --depin-card-color: #0784b7; }
.depin-card-indigo { --depin-card-color: #5867ff; }
.depin-card-slate { --depin-card-color: #222b47; }
.depin-card-dark { --depin-card-color: #12100f; }

.depin-icon-purple { background: #8242b4; }
.depin-icon-red { background: #ff2d38; }
.depin-icon-coral { background: #ff4838; }
.depin-icon-blue { background: #0579aa; }
.depin-icon-indigo { background: #5867ff; }
.depin-icon-slate { background: #222b47; font-size: 8px; }
.depin-icon-dark { background: #080808; }

.depin-menu-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 28px 26px 22px;
    background: #151a21;
    border-top: 2px solid #202631;
}

.depin-menu-bottom a {
    min-height: 172px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    background: #20242b;
    color: #9aa4b5;
    font-weight: 800;
    font-size: 20px;
}

.depin-menu-bottom i {
    color: #98a4b5;
    font-size: 39px;
}

@media (max-width: 768px) {
    .depin-reference-menu {
        transform: translateX(-105%);
    }

    .home-menu-drawer.open .depin-reference-menu {
        transform: translateX(0);
    }
}

@media (max-width: 430px) {
    .depin-menu-shell {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .depin-rail-close {
        height: 72px;
        font-size: 22px;
    }

    .depin-rail-item {
        min-height: 96px;
        gap: 8px;
        padding: 10px 4px;
    }

    .depin-rail-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 18px;
    }

    .depin-rail-item strong {
        font-size: 12px;
    }

    .depin-rail-pubg,
    .depin-rail-cs {
        font-size: 10px;
    }

    .depin-rail-social {
        font-size: 7px;
    }

    .depin-rail-lol {
        font-size: 13px;
    }

    .depin-menu-content {
        padding-bottom: 116px;
    }

    .depin-menu-head {
        min-height: 72px;
        padding: 10px 16px !important;
    }

    .depin-menu-head .mini-logo img {
        width: 210px;
        max-width: 48vw;
    }

    .depin-menu-theme {
        width: 44px !important;
        height: 44px !important;
        border-radius: 11px !important;
        font-size: 18px !important;
    }

    .depin-menu-search {
        min-height: 54px;
        gap: 11px;
        margin: 0 20px 18px;
        padding: 0 18px;
        border-width: 2px;
        border-radius: 13px;
    }

    .depin-menu-search i {
        font-size: 18px;
    }

    .depin-menu-search input {
        font-size: 17px;
    }

    .depin-reference-list {
        gap: 10px !important;
        padding: 0 20px 18px;
    }

    .depin-reference-list .depin-menu-card {
        min-height: 69px;
        padding: 10px 16px 10px 28px !important;
        gap: 18px !important;
        border-width: 2px !important;
        border-radius: 15px;
        font-size: 17px !important;
    }

    .depin-reference-list .depin-menu-card::before {
        width: 10px;
        border-radius: 15px 0 0 15px;
    }

    .depin-menu-card-icon {
        width: 39px;
        height: 39px;
        border-radius: 13px;
        font-size: 5px;
    }

    .depin-menu-card-icon i {
        font-size: 21px;
    }

    .depin-menu-bottom {
        gap: 10px;
        padding: 14px 11px 10px;
    }

    .depin-menu-bottom a {
        min-height: 86px;
        border-radius: 15px;
        gap: 10px;
        font-size: 10px;
    }

    .depin-menu-bottom i {
        font-size: 22px;
    }
}

/* Compact and fixed mobile menu correction */
.home-menu-drawer {
    z-index: 1000000 !important;
}

body.home-menu-open .main-nav,
body.home-menu-open .quick-side-menu,
body.home-menu-open .live-support-btn,
body.home-menu-open .theme-toggle-bubble:not(.depin-menu-theme):not(.header-theme-toggle),
body.home-menu-open .home-whatsapp-area,
body.home-menu-open iframe {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.depin-reference-menu {
    height: 100dvh !important;
    z-index: 1000001 !important;
}

.depin-menu-shell {
    height: 100dvh;
    min-height: 100dvh;
}

.depin-menu-content {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    padding-bottom: 0 !important;
}

.depin-reference-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.depin-menu-bottom {
    position: relative;
    flex: 0 0 auto;
    left: auto;
    right: auto;
    bottom: auto;
}

@media (max-width: 768px) {
    .depin-menu-shell {
        grid-template-columns: 78px minmax(0, 1fr);
    }

    .depin-rail-close {
        height: 70px;
        font-size: 22px;
    }

    .depin-rail-item {
        min-height: 78px;
        gap: 6px;
        padding: 8px 4px;
    }

    .depin-rail-item.active::before {
        width: 5px;
    }

    .depin-rail-icon {
        width: 42px;
        height: 42px;
        border-radius: 13px;
        font-size: 17px;
    }

    .depin-rail-item strong {
        max-width: 72px;
        font-size: 11px;
        line-height: 1.12;
        overflow-wrap: anywhere;
    }

    .depin-rail-pubg,
    .depin-rail-cs {
        font-size: 10px;
    }

    .depin-rail-social {
        font-size: 7px;
    }

    .depin-rail-lol {
        font-size: 12px;
    }

    .depin-menu-head {
        min-height: 64px;
        padding: 9px 14px !important;
    }

    .depin-menu-head .mini-logo img {
        width: 188px;
        max-width: 48vw;
    }

    .depin-menu-theme {
        width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
        font-size: 16px !important;
    }

    .depin-menu-search {
        min-height: 48px;
        gap: 10px;
        margin: 0 14px 12px;
        padding: 0 14px;
        border-width: 2px;
        border-radius: 12px;
    }

    .depin-menu-search i {
        font-size: 16px;
    }

    .depin-menu-search input {
        font-size: 15px;
    }

    .depin-reference-list {
        gap: 8px !important;
        padding: 0 14px 12px;
    }

    .depin-reference-list .depin-menu-card {
        min-height: 58px;
        padding: 8px 12px 8px 24px !important;
        gap: 14px !important;
        border-width: 2px !important;
        border-radius: 13px;
        font-size: 15px !important;
        line-height: 1.15;
    }

    .depin-reference-list .depin-menu-card::before {
        width: 8px;
        border-radius: 13px 0 0 13px;
    }

    .depin-menu-card-icon {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        font-size: 4px;
    }

    .depin-icon-slate {
        font-size: 3px;
    }

    .depin-menu-card-desc {
        font-size: 12px;
        line-height: 1.25;
    }

    .depin-menu-card-icon i {
        font-size: 18px;
    }

    .depin-menu-bottom {
        gap: 8px;
        padding: 10px 9px max(10px, env(safe-area-inset-bottom));
    }

    .depin-menu-bottom a {
        min-height: 68px;
        border-radius: 13px;
        gap: 7px;
        font-size: 9px;
    }

    .depin-menu-bottom i {
        font-size: 19px;
    }
}

/* Final responsive home layout and reference bottom navigation */
.home-responsive-page,
.site-wrapper-wide .main-content {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.depin-menu-bottom {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 12px 14px max(12px, env(safe-area-inset-bottom)) !important;
}

.depin-menu-bottom a {
    min-height: 58px !important;
    max-width: 220px;
    width: 100%;
    margin: 0 auto;
    border-radius: 14px !important;
    gap: 8px !important;
    font-size: 12px !important;
}

.depin-menu-bottom i {
    font-size: 20px !important;
}

@media (min-width: 769px) {
    .home-ad-stack,
    #reklam-slider,
    .home-ad-showcase,
    .home-promo-grid,
    .game-category-grid,
    .home-category-grid,
    .ilan-grid,
    .home-publisher-section,
    .home-info-card {
        max-width: 1120px !important;
    }

    .home-ad-showcase {
        height: clamp(190px, 22vw, 270px) !important;
        border-radius: 18px !important;
    }

    #reklam-slider > .slider-container {
        height: clamp(210px, 24vw, 285px) !important;
    }

    #reklam-slider .hero-title {
        font-size: clamp(26px, 3.8vw, 50px) !important;
    }

    #reklam-slider .hero-desc {
        font-size: clamp(14px, 1.5vw, 22px) !important;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .site-wrapper,
    .site-wrapper-wide {
        width: 100%;
        overflow-x: hidden;
    }

    .main-content,
    .home-responsive-page {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
        padding-bottom: calc(112px + env(safe-area-inset-bottom)) !important;
    }

    .home-ad-stack {
        width: 100% !important;
        margin: 0 auto 14px !important;
    }

    .home-ad-showcase {
        width: 100% !important;
        height: clamp(88px, 27vw, 150px) !important;
        border-radius: 0 !important;
    }

    .home-ad-showcase img,
    #reklam-slider .hero-slide img,
    .home-promo-card img {
        object-fit: cover !important;
    }

    #reklam-slider {
        width: 100% !important;
        max-width: 100% !important;
        margin: 10px auto 14px !important;
        padding-bottom: 42px !important;
        border-radius: 16px !important;
    }

    .home-ad-stack.has-showcase #reklam-slider {
        width: calc(100% - 10px) !important;
        margin-top: -16px !important;
    }

    #reklam-slider > .slider-container {
        height: clamp(148px, 44vw, 230px) !important;
        border-radius: 16px 16px 0 0 !important;
    }

    #reklam-slider .hero-overlay {
        padding: 16px 16px 18px 32px !important;
    }

    #reklam-slider .hero-overlay::before {
        width: 5px !important;
        min-height: 58px !important;
        max-height: 96px !important;
    }

    #reklam-slider .hero-kicker {
        min-height: 25px !important;
        margin-bottom: 8px !important;
        padding: 0 13px !important;
        border-width: 2px !important;
        font-size: 10px !important;
    }

    #reklam-slider .hero-title {
        max-width: 78% !important;
        margin-bottom: 7px !important;
        font-size: clamp(18px, 6vw, 28px) !important;
        line-height: 1.02 !important;
    }

    #reklam-slider .hero-desc {
        max-width: 78% !important;
        font-size: clamp(11px, 3.3vw, 15px) !important;
        line-height: 1.2 !important;
    }

    #reklam-slider .hero-link-btn {
        margin-top: 8px !important;
        padding: 7px 12px !important;
        font-size: 11px !important;
    }

    #reklam-slider .slider-nav {
        height: 42px !important;
        padding: 0 10px !important;
    }

    #reklam-slider .slider-prev,
    #reklam-slider .slider-next {
        width: 28px !important;
        height: 28px !important;
    }

    #reklam-slider .slider-dots .dot {
        width: 22px !important;
    }

    #reklam-slider .slider-dots .dot.active {
        width: 40px !important;
    }

    .home-promo-grid {
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin-bottom: 14px !important;
    }

    .home-promo-card {
        min-height: 86px !important;
        border-radius: 14px !important;
    }

    .home-promo-content {
        padding: 10px 12px !important;
    }

    .home-promo-content strong {
        font-size: 14px !important;
        line-height: 1.12 !important;
    }

    .home-promo-content small {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    .game-category-grid,
    .home-category-grid,
    .ilan-grid,
    .publisher-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .game-category-card,
    .home-category-card,
    .ilan-card,
    .publisher-video-card,
    .home-info-card {
        border-radius: 14px !important;
    }

    .home-section-title {
        margin: 16px 0 10px !important;
    }

    .home-section-title h2 {
        font-size: 17px !important;
        line-height: 1.2 !important;
    }

    .home-info-card {
        padding: 16px !important;
        margin-bottom: 16px !important;
    }

    .home-info-card h2 {
        font-size: 18px !important;
    }

    .home-info-card p {
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    .main-nav {
        left: 14px !important;
        right: 14px !important;
        bottom: calc(10px + env(safe-area-inset-bottom)) !important;
        width: auto !important;
        max-width: 560px !important;
        min-height: 76px !important;
        margin: 0 auto !important;
        padding: 8px 10px !important;
        border: 1px solid rgba(255, 255, 255, .08) !important;
        border-radius: 18px !important;
        background: rgba(8, 10, 15, .96) !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, .45) !important;
        backdrop-filter: blur(14px);
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 4px !important;
    }

    .nav-home { order: 1 !important; }
    .nav-categories { order: 2 !important; }
    .nav-cart { order: 3 !important; }
    .nav-account { order: 4 !important; }
    .nav-support { order: 5 !important; }

    .main-nav .nav-item {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        min-height: 58px !important;
        padding: 5px 2px !important;
        border-radius: 14px !important;
        color: #8993a3 !important;
        background: transparent !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        line-height: 1.1 !important;
    }

    .main-nav .nav-item i,
    .main-nav .nav-icon-wrap {
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: inherit !important;
        font-size: 21px !important;
    }

    .main-nav .nav-item span {
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    .main-nav .nav-item.active,
    .main-nav .nav-item:hover {
        color: #4363ff !important;
        background: transparent !important;
    }

    .main-nav .nav-cart {
        transform: translateY(-13px);
        color: #fff !important;
    }

    .main-nav .nav-cart i {
        width: 56px !important;
        height: 56px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 16px !important;
        background: linear-gradient(135deg, #ffc21a, #f59e0b) !important;
        color: #fff !important;
        font-size: 24px !important;
        box-shadow: 0 10px 24px rgba(245, 158, 11, .45) !important;
    }

    .main-nav .nav-cart span {
        margin-top: 3px !important;
        color: #8993a3 !important;
    }
}

@media (max-width: 390px) {
    .main-content,
    .home-responsive-page {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .main-nav {
        left: 10px !important;
        right: 10px !important;
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    .main-nav .nav-item {
        font-size: 10px !important;
    }

    .main-nav .nav-item i,
    .main-nav .nav-icon-wrap {
        font-size: 19px !important;
    }

    .main-nav .nav-cart i {
        width: 52px !important;
        height: 52px !important;
        font-size: 22px !important;
    }
}

/* Locked mobile bottom navigation: fixed, centered and evenly aligned */
@media (max-width: 768px) {
    body:not(.home-menu-open) .main-nav {
        position: fixed !important;
        left: 50% !important;
        right: auto !important;
        bottom: calc(10px + env(safe-area-inset-bottom)) !important;
        transform: translateX(-50%) !important;
        width: min(560px, calc(100vw - 28px)) !important;
        height: 82px !important;
        min-height: 82px !important;
        max-height: 82px !important;
        margin: 0 !important;
        padding: 8px 10px !important;
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        align-items: end !important;
        justify-items: center !important;
        gap: 0 !important;
        overflow: visible !important;
        border: 1px solid rgba(255, 255, 255, .09) !important;
        border-radius: 18px !important;
        background: rgba(7, 10, 15, .97) !important;
        box-shadow: 0 14px 34px rgba(0, 0, 0, .52) !important;
        backdrop-filter: blur(16px);
        z-index: 900000 !important;
    }

    body:not(.home-menu-open) .main-nav .nav-item {
        width: 100% !important;
        height: 66px !important;
        min-height: 66px !important;
        max-height: 66px !important;
        padding: 0 2px !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 6px !important;
        transform: none !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #8f98a8 !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        text-align: center !important;
    }

    body:not(.home-menu-open) .main-nav .nav-item i,
    body:not(.home-menu-open) .main-nav .nav-icon-wrap {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: inherit !important;
        font-size: 22px !important;
        line-height: 1 !important;
    }

    body:not(.home-menu-open) .main-nav .nav-item span {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.15 !important;
    }

    body:not(.home-menu-open) .main-nav .nav-item.active,
    body:not(.home-menu-open) .main-nav .nav-item:hover {
        color: #4363ff !important;
    }

    body:not(.home-menu-open) .main-nav .nav-cart {
        justify-content: flex-end !important;
        color: #8f98a8 !important;
    }

    body:not(.home-menu-open) .main-nav .nav-cart i {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        margin: 0 0 -2px !important;
        border-radius: 16px !important;
        background: linear-gradient(135deg, #ffc21a 0%, #f59e0b 100%) !important;
        color: #fff !important;
        font-size: 25px !important;
        box-shadow: 0 10px 24px rgba(245, 158, 11, .45) !important;
        transform: translateY(-15px) !important;
    }

    body:not(.home-menu-open) .main-nav .nav-cart span {
        margin-top: -10px !important;
        color: #8f98a8 !important;
    }

    body:not(.home-menu-open) .nav-home { order: 1 !important; }
    body:not(.home-menu-open) .nav-categories { order: 2 !important; }
    body:not(.home-menu-open) .nav-cart { order: 3 !important; }
    body:not(.home-menu-open) .nav-account { order: 4 !important; }
    body:not(.home-menu-open) .nav-support { order: 5 !important; }
}

@media (max-width: 390px) {
    body:not(.home-menu-open) .main-nav {
        width: min(560px, calc(100vw - 20px)) !important;
        height: 78px !important;
        min-height: 78px !important;
        max-height: 78px !important;
        padding: 7px 7px !important;
        border-radius: 16px !important;
    }

    body:not(.home-menu-open) .main-nav .nav-item {
        height: 63px !important;
        min-height: 63px !important;
        max-height: 63px !important;
        font-size: 10px !important;
    }

    body:not(.home-menu-open) .main-nav .nav-item i,
    body:not(.home-menu-open) .main-nav .nav-icon-wrap {
        font-size: 20px !important;
    }

    body:not(.home-menu-open) .main-nav .nav-cart i {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        min-height: 52px !important;
        font-size: 23px !important;
    }
}

/* itemhesabim.com reference: full-width fixed bottom bar + restored mobile ad width */
@media (max-width: 768px) {
    .home-responsive-page .home-ad-stack {
        width: calc(100% + 28px) !important;
        max-width: none !important;
        margin-left: -14px !important;
        margin-right: -14px !important;
    }

    .home-responsive-page .home-ad-showcase {
        width: 100% !important;
        max-width: none !important;
        height: clamp(125px, 34vw, 190px) !important;
        border-radius: 0 !important;
    }

    body:not(.home-menu-open) .main-nav {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        transform: none !important;
        width: 100vw !important;
        max-width: none !important;
        height: calc(102px + env(safe-area-inset-bottom)) !important;
        min-height: calc(102px + env(safe-area-inset-bottom)) !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 13px 16px calc(13px + env(safe-area-inset-bottom)) !important;
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        align-items: center !important;
        justify-items: center !important;
        gap: 0 !important;
        overflow: visible !important;
        border-width: 1px 0 0 !important;
        border-style: solid !important;
        border-color: rgba(255, 255, 255, .11) !important;
        border-radius: 26px 26px 0 0 !important;
        background: #07090e !important;
        box-shadow: 0 -12px 34px rgba(0, 0, 0, .48) !important;
        backdrop-filter: blur(18px);
        z-index: 900000 !important;
    }

    body:not(.home-menu-open) .main-nav .nav-item {
        width: 100% !important;
        height: 78px !important;
        min-height: 78px !important;
        max-height: 78px !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        transform: none !important;
        background: transparent !important;
        color: #929aaa !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        text-align: center !important;
    }

    body:not(.home-menu-open) .main-nav .nav-item i,
    body:not(.home-menu-open) .main-nav .nav-icon-wrap {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        font-size: 28px !important;
        color: inherit !important;
    }

    body:not(.home-menu-open) .main-nav .nav-item span {
        width: 100% !important;
        max-width: 100% !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    body:not(.home-menu-open) .main-nav .nav-item.active,
    body:not(.home-menu-open) .main-nav .nav-item:hover {
        color: #4664ff !important;
    }

    body:not(.home-menu-open) .main-nav .nav-cart {
        gap: 9px !important;
        color: #929aaa !important;
    }

    body:not(.home-menu-open) .main-nav .nav-cart i {
        width: 66px !important;
        height: 66px !important;
        min-width: 66px !important;
        min-height: 66px !important;
        margin: 0 !important;
        border-radius: 19px !important;
        background: linear-gradient(135deg, #ffc21a 0%, #f5a000 100%) !important;
        color: #fff !important;
        font-size: 31px !important;
        box-shadow: 0 0 24px rgba(245, 158, 11, .38), 0 14px 28px rgba(245, 158, 11, .28) !important;
        transform: translateY(-24px) !important;
    }

    body:not(.home-menu-open) .main-nav .nav-cart span {
        margin-top: -24px !important;
        color: #929aaa !important;
    }
}

@media (max-width: 390px) {
    .home-responsive-page .home-ad-stack {
        width: calc(100% + 20px) !important;
        margin-left: -10px !important;
        margin-right: -10px !important;
    }

    body:not(.home-menu-open) .main-nav {
        height: calc(96px + env(safe-area-inset-bottom)) !important;
        min-height: calc(96px + env(safe-area-inset-bottom)) !important;
        padding: 12px 11px calc(12px + env(safe-area-inset-bottom)) !important;
        border-radius: 23px 23px 0 0 !important;
    }

    body:not(.home-menu-open) .main-nav .nav-item {
        height: 72px !important;
        min-height: 72px !important;
        max-height: 72px !important;
        gap: 10px !important;
        font-size: 12px !important;
    }

    body:not(.home-menu-open) .main-nav .nav-item i,
    body:not(.home-menu-open) .main-nav .nav-icon-wrap {
        width: 27px !important;
        height: 27px !important;
        min-width: 27px !important;
        min-height: 27px !important;
        font-size: 25px !important;
    }

    body:not(.home-menu-open) .main-nav .nav-cart i {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        font-size: 29px !important;
        transform: translateY(-22px) !important;
    }

    body:not(.home-menu-open) .main-nav .nav-cart span {
        margin-top: -22px !important;
    }
}

/* Slightly smaller itemhesabim-style bottom nav */
@media (max-width: 768px) {
    body:not(.home-menu-open) .main-nav {
        height: calc(88px + env(safe-area-inset-bottom)) !important;
        min-height: calc(88px + env(safe-area-inset-bottom)) !important;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom)) !important;
        border-radius: 22px 22px 0 0 !important;
    }

    body:not(.home-menu-open) .main-nav .nav-item {
        height: 66px !important;
        min-height: 66px !important;
        max-height: 66px !important;
        gap: 9px !important;
        font-size: 12px !important;
    }

    body:not(.home-menu-open) .main-nav .nav-item i,
    body:not(.home-menu-open) .main-nav .nav-icon-wrap {
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        min-height: 26px !important;
        font-size: 24px !important;
    }

    body:not(.home-menu-open) .main-nav .nav-cart i {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        min-height: 58px !important;
        border-radius: 17px !important;
        font-size: 28px !important;
        transform: translateY(-20px) !important;
    }

    body:not(.home-menu-open) .main-nav .nav-cart span {
        margin-top: -20px !important;
    }
}

@media (max-width: 390px) {
    body:not(.home-menu-open) .main-nav {
        height: calc(84px + env(safe-area-inset-bottom)) !important;
        min-height: calc(84px + env(safe-area-inset-bottom)) !important;
        padding: 9px 10px calc(9px + env(safe-area-inset-bottom)) !important;
        border-radius: 20px 20px 0 0 !important;
    }

    body:not(.home-menu-open) .main-nav .nav-item {
        height: 62px !important;
        min-height: 62px !important;
        max-height: 62px !important;
        gap: 8px !important;
        font-size: 11px !important;
    }

    body:not(.home-menu-open) .main-nav .nav-item i,
    body:not(.home-menu-open) .main-nav .nav-icon-wrap {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        font-size: 22px !important;
    }

    body:not(.home-menu-open) .main-nav .nav-cart i {
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
        min-height: 54px !important;
        font-size: 26px !important;
        transform: translateY(-18px) !important;
    }

    body:not(.home-menu-open) .main-nav .nav-cart span {
        margin-top: -18px !important;
    }
}

/* Keep sliding ad images at their original ratio and align text back to the left */
@media (max-width: 768px) {
    #reklam-slider {
        padding-bottom: 46px !important;
    }

    #reklam-slider > .slider-container {
        height: clamp(220px, 57vw, 270px) !important;
    }

    #reklam-slider .hero-slide img {
        object-fit: contain !important;
        object-position: center !important;
        transform: none !important;
        background: #07070c !important;
    }

    #reklam-slider .hero-overlay {
        align-items: flex-start !important;
        justify-content: center !important;
        padding: 18px 20px 22px 20px !important;
        text-align: left !important;
    }

    #reklam-slider .hero-overlay::before {
        left: 0 !important;
    }

    #reklam-slider .hero-kicker,
    #reklam-slider .hero-title,
    #reklam-slider .hero-desc,
    #reklam-slider .hero-link-btn {
        margin-left: 0 !important;
        text-align: left !important;
    }

    #reklam-slider .hero-title,
    #reklam-slider .hero-desc {
        max-width: 82% !important;
    }
}

@media (max-width: 390px) {
    #reklam-slider > .slider-container {
        height: clamp(210px, 58vw, 260px) !important;
    }

    #reklam-slider .hero-overlay {
        padding-left: 18px !important;
        padding-right: 16px !important;
    }
}

/* Home ads edge-to-edge image fill */
.home-ad-showcase,
#reklam-slider,
#reklam-slider > .slider-container,
#reklam-slider .hero-slide {
    background: transparent !important;
}

.home-ad-showcase img,
#reklam-slider .hero-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    background: transparent !important;
}

.home-ad-stack.has-showcase #reklam-slider {
    width: 100% !important;
}

@media (max-width: 768px) {
    .home-ad-stack.has-showcase #reklam-slider {
        width: 100% !important;
    }
}

/* Home listings showcase like the reference layout */
.listing-showcase-panel {
    width: 100%;
    max-width: 1120px;
    margin: 22px auto 18px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 22px;
    background: linear-gradient(180deg, #11111b 0%, #0b0b13 100%);
    box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .04), 0 16px 38px rgba(0, 0, 0, .24);
}

.listing-showcase-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.listing-showcase-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245, 158, 11, .45);
    border-radius: 16px;
    background: rgba(245, 158, 11, .14);
    color: #fbbf24;
    font-size: 24px;
    box-shadow: 0 0 22px rgba(245, 158, 11, .16);
}

.listing-showcase-heading h2 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(22px, 3.2vw, 31px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -.01em;
}

.listing-showcase-panel .section-tabs {
    margin: 0;
    padding: 6px;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .045);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
}

.listing-showcase-panel .tab-btn {
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: rgba(226, 232, 240, .58);
    font-size: 15px;
    font-weight: 900;
    box-shadow: none;
}

.listing-showcase-panel .tab-btn i {
    color: currentColor;
    font-size: 17px;
}

.listing-showcase-panel .tab-btn.active,
.listing-showcase-panel .tab-btn:hover {
    color: #15100a;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 0 20px rgba(245, 158, 11, .42);
}

.tab-content .ilan-grid {
    max-width: 1120px;
    margin: 0 auto;
    gap: 18px;
}

.tab-content .ilan-card {
    border-radius: 22px;
    border: 1px solid rgba(245, 158, 11, .42);
    background: #101018;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .26);
    overflow: hidden;
    isolation: isolate;
}

.tab-content .ilan-card:hover {
    border-color: rgba(245, 158, 11, .72);
    box-shadow: 0 18px 44px rgba(245, 158, 11, .14), 0 18px 42px rgba(0, 0, 0, .32);
}

.tab-content .ilan-image {
    aspect-ratio: 1 / 1.08;
    background: #08080d;
}

.tab-content .ilan-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42%;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 17, .72) 100%);
    z-index: 1;
}

.tab-content .ilan-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab-content .ilan-badge.vitrin-badge,
.tab-content .ilan-badge.featured-badge {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 35px !important;
    min-width: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    justify-content: center !important;
    text-align: center !important;
    letter-spacing: .42em !important;
    background: linear-gradient(180deg, rgba(245, 158, 11, .96) 0%, rgba(245, 158, 11, .70) 55%, rgba(245, 158, 11, 0) 100%) !important;
    box-shadow: none !important;
    z-index: 4 !important;
}

.tab-content .ilan-badge.featured-badge {
    background: linear-gradient(180deg, rgba(34, 197, 94, .96) 0%, rgba(21, 128, 61, .68) 55%, rgba(21, 128, 61, 0) 100%) !important;
}

.tab-content .depin-badge-marquee {
    justify-content: center !important;
    gap: 24px !important;
}

.tab-content .depin-badge-text {
    padding: 0 12px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 35px !important;
    letter-spacing: .42em !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .62);
}

.tab-content .manual-delivery-badge {
    top: 42px !important;
    left: 10px !important;
    height: 24px !important;
    min-width: 0 !important;
    padding: 0 8px !important;
    border-radius: 999px !important;
    background: rgba(12, 12, 18, .58) !important;
    color: rgba(255, 255, 255, .78) !important;
    font-size: 10px !important;
    letter-spacing: 0 !important;
    backdrop-filter: blur(8px);
}

.tab-content .ilan-price {
    right: 14px;
    bottom: 12px;
    z-index: 3;
    border-radius: 999px;
    background: rgba(10, 10, 17, .72);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, .34);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
}

.tab-content .ilan-info {
    position: relative;
    padding: 42px 16px 16px;
    background: #101018;
}

.tab-content .ilan-seller {
    position: absolute;
    left: 14px;
    right: 14px;
    top: -27px;
    min-height: 42px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 999px;
    background: rgba(20, 20, 28, .74);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
}

.tab-content .ilan-seller img {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, .18);
}

.tab-content .ilan-seller-name {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.tab-content .ilan-seller-label {
    display: none;
}

.tab-content .ilan-title {
    margin-bottom: 10px;
    color: #f8fafc;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.tab-content .ilan-desc {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .listing-showcase-panel {
        width: 100%;
        max-width: none;
        margin: 18px auto 14px;
        padding: 18px;
        border-radius: 20px;
    }

    .listing-showcase-icon {
        width: 52px;
        height: 52px;
        border-radius: 15px;
        font-size: 22px;
    }

    .listing-showcase-heading {
        gap: 14px;
    }

    .listing-showcase-heading h2 {
        font-size: 24px;
    }

    .listing-showcase-panel .section-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .listing-showcase-panel .tab-btn {
        min-height: 46px;
        padding: 0 14px;
        font-size: 14px;
    }

    .tab-content .ilan-grid {
        gap: 14px !important;
    }

    .tab-content .ilan-card {
        border-radius: 18px;
    }

    .tab-content .ilan-badge.vitrin-badge,
    .tab-content .ilan-badge.featured-badge {
        height: 31px !important;
    }

    .tab-content .depin-badge-text {
        font-size: 11px !important;
        line-height: 31px !important;
        letter-spacing: .36em !important;
    }

    .tab-content .manual-delivery-badge {
        display: none !important;
    }

    .tab-content .ilan-info {
        padding: 39px 13px 14px;
    }

    .tab-content .ilan-title {
        font-size: 13px;
    }

    .tab-content .ilan-seller {
        left: 10px;
        right: 10px;
        top: -25px;
        min-height: 40px;
    }

    .tab-content .ilan-seller-name {
        font-size: 12px;
    }
}

@media (max-width: 390px) {
    .listing-showcase-panel {
        padding: 16px;
    }

    .listing-showcase-heading h2 {
        font-size: 22px;
    }

    .listing-showcase-panel .tab-btn {
        padding: 0 12px;
        font-size: 13px;
    }
}

/* Center listing tabs and keep seller identity on the lower image area */
.listing-showcase-panel .section-tabs {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto !important;
    justify-content: center !important;
    overflow: visible !important;
}

.listing-showcase-panel .tab-btn {
    flex: 0 0 auto !important;
    justify-content: center !important;
}

.tab-content .ilan-info {
    padding-top: 18px;
}

.tab-content .ilan-seller {
    top: -56px;
    z-index: 5;
}

.tab-content .ilan-seller-info {
    min-width: 0;
}

.tab-content .ilan-seller-name {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .listing-showcase-panel .section-tabs {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        gap: 6px !important;
        overflow: visible !important;
        scroll-snap-type: none !important;
    }

    .listing-showcase-panel .tab-btn {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        padding: 0 8px !important;
        gap: 5px !important;
        font-size: 12px !important;
    }

    .listing-showcase-panel .tab-btn i {
        font-size: 13px !important;
    }

    .tab-content .ilan-info {
        padding-top: 17px;
    }

    .tab-content .ilan-seller {
        top: -51px;
        min-height: 38px;
        padding: 5px 8px;
    }
}

@media (max-width: 390px) {
    .listing-showcase-panel .tab-btn {
        padding: 0 6px !important;
        font-size: 11px !important;
    }

    .listing-showcase-panel .tab-btn i {
        font-size: 12px !important;
    }
}

/* Final home listing card layout based on the supplied reference */
.tab-content .ilan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.tab-content .ilan-card {
    display: block;
    border-radius: 18px !important;
    border: 1px solid rgba(64, 72, 88, .92) !important;
    background: #11151d !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

.tab-content .ilan-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, .65) !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .24) !important;
}

.tab-content .ilan-image {
    aspect-ratio: 1 / .98 !important;
    border-radius: 17px 17px 0 0;
    overflow: hidden;
}

.tab-content .ilan-image::after {
    height: 46% !important;
    background: linear-gradient(180deg, transparent 0%, rgba(8, 10, 15, .16) 30%, rgba(8, 10, 15, .76) 100%) !important;
}

.tab-content .ilan-badge.vitrin-badge,
.tab-content .ilan-badge.featured-badge {
    height: 38px !important;
    background: linear-gradient(180deg, rgba(245, 158, 11, .96) 0%, rgba(245, 158, 11, .62) 54%, rgba(245, 158, 11, 0) 100%) !important;
}

.tab-content .ilan-badge.featured-badge {
    background: linear-gradient(180deg, rgba(34, 197, 94, .94) 0%, rgba(22, 163, 74, .58) 54%, rgba(22, 163, 74, 0) 100%) !important;
}

.tab-content .depin-badge-text {
    font-size: 14px !important;
    line-height: 38px !important;
    letter-spacing: .46em !important;
}

.tab-content .ilan-info {
    min-height: 206px;
    padding: 42px 15px 15px !important;
    background: #11151d !important;
}

.tab-content .ilan-seller {
    left: 12px !important;
    right: 12px !important;
    top: -64px !important;
    min-height: 54px !important;
    padding: 8px 10px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    background: linear-gradient(180deg, rgba(73, 73, 82, .92), rgba(45, 46, 56, .92)) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .34) !important;
}

.tab-content .ilan-seller img {
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(0, 0, 0, .25) !important;
}

.tab-content .ilan-seller-name {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

.tab-content .ilan-game-badge {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: -.03em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.tab-content .ilan-title {
    min-height: 48px;
    margin: 0 0 12px !important;
    color: #f8fafc !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase;
    -webkit-line-clamp: 2;
}

.tab-content .ilan-desc {
    display: none !important;
}

.tab-content .ilan-delivery {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: rgba(226, 232, 240, .86);
    font-size: 13px;
    font-weight: 700;
}

.tab-content .ilan-delivery i {
    color: #22c55e;
    font-size: 15px;
}

.tab-content .ilan-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 16px;
}

.tab-content .ilan-price {
    position: static !important;
    display: inline-flex !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #24e18a !important;
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    white-space: nowrap;
}

.tab-content .ilan-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 3px 8px 3px 4px;
    border: 1px solid rgba(20, 184, 166, .54);
    border-radius: 999px;
    background: rgba(20, 184, 166, .12);
    color: #f8fafc;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.tab-content .ilan-rating i {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #14b8a6;
    color: #fff;
    font-size: 12px;
}

.tab-content .ilan-rating small {
    color: rgba(226, 232, 240, .78);
    font-size: 10px;
    font-weight: 900;
}

.tab-content .ilan-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px;
    gap: 12px;
    align-items: center;
}

.tab-content .ilan-qty {
    min-height: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-items: center;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    background: #121720;
    color: rgba(226, 232, 240, .72);
    font-size: 15px;
}

.tab-content .ilan-qty b {
    color: rgba(226, 232, 240, .90);
    font-size: 18px;
    font-weight: 900;
}

.tab-content .ilan-bag {
    width: 52px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(67, 97, 238, .62);
    border-radius: 16px;
    background: rgba(67, 97, 238, .18);
    color: #9db2ff;
    font-size: 21px;
    box-shadow: 0 0 20px rgba(67, 97, 238, .22);
}

@media (max-width: 768px) {
    .tab-content .ilan-grid {
        gap: 14px !important;
    }

    .tab-content .ilan-image {
        aspect-ratio: 1 / 1.02 !important;
    }

    .tab-content .ilan-info {
        min-height: 198px;
        padding: 39px 12px 13px !important;
    }

    .tab-content .ilan-seller {
        left: 10px !important;
        right: 10px !important;
        top: -58px !important;
        min-height: 50px !important;
        padding: 7px 8px !important;
    }

    .tab-content .ilan-seller img,
    .tab-content .ilan-game-badge {
        width: 34px !important;
        height: 34px !important;
        border-radius: 8px !important;
    }

    .tab-content .ilan-seller-name {
        font-size: 13px !important;
    }

    .tab-content .ilan-title {
        min-height: 44px;
        font-size: 13px !important;
        line-height: 1.32 !important;
        margin-bottom: 10px !important;
    }

    .tab-content .ilan-delivery {
        gap: 6px;
        margin-bottom: 11px;
        font-size: 12px;
    }

    .tab-content .ilan-price {
        font-size: 16px !important;
    }

    .tab-content .ilan-rating {
        min-height: 25px;
        padding-right: 6px;
        font-size: 11px;
    }

    .tab-content .ilan-rating i {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }

    .tab-content .ilan-rating small {
        font-size: 9px;
    }

    .tab-content .ilan-card-actions {
        grid-template-columns: minmax(0, 1fr) 46px;
        gap: 10px;
    }

    .tab-content .ilan-qty,
    .tab-content .ilan-bag {
        min-height: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .tab-content .ilan-bag {
        width: 46px;
        font-size: 19px;
    }

    .tab-content .depin-badge-text {
        letter-spacing: .42em !important;
    }
}

@media (max-width: 390px) {
    .tab-content .ilan-grid {
        gap: 12px !important;
    }

    .tab-content .ilan-info {
        min-height: 188px;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .tab-content .ilan-title {
        font-size: 12px !important;
    }

    .tab-content .ilan-delivery {
        font-size: 11px;
    }

    .tab-content .ilan-price {
        font-size: 14px !important;
    }

    .tab-content .ilan-rating small {
        display: none;
    }
}

/* Compact two-column home cards: no overflow, no oversized blocks */
.tab-content .ilan-card {
    min-width: 0 !important;
    max-width: 100% !important;
}

.tab-content .ilan-image {
    aspect-ratio: 1 / .86 !important;
}

.tab-content .ilan-info {
    min-height: 0 !important;
    padding: 34px 12px 12px !important;
}

.tab-content .ilan-seller {
    left: 10px !important;
    right: 10px !important;
    top: -48px !important;
    min-height: 42px !important;
    padding: 6px 7px !important;
    border-radius: 12px !important;
}

.tab-content .ilan-seller img,
.tab-content .ilan-game-badge {
    width: 30px !important;
    height: 30px !important;
    border-radius: 7px !important;
}

.tab-content .ilan-seller-name {
    font-size: 12px !important;
}

.tab-content .ilan-title {
    min-height: 36px !important;
    margin-bottom: 8px !important;
    font-size: 12px !important;
    line-height: 1.28 !important;
}

.tab-content .ilan-delivery {
    gap: 5px !important;
    margin-bottom: 9px !important;
    font-size: 10.5px !important;
    white-space: nowrap;
}

.tab-content .ilan-delivery i {
    font-size: 12px !important;
}

.tab-content .ilan-meta-row {
    margin-bottom: 10px !important;
    gap: 5px !important;
}

.tab-content .ilan-price {
    min-width: 0 !important;
    font-size: 13px !important;
    letter-spacing: -.02em;
}

.tab-content .ilan-rating {
    min-height: 22px !important;
    gap: 3px !important;
    padding: 2px 5px 2px 3px !important;
    font-size: 10px !important;
}

.tab-content .ilan-rating i {
    width: 17px !important;
    height: 17px !important;
    font-size: 9px !important;
}

.tab-content .ilan-rating small {
    font-size: 8px !important;
}

.tab-content .ilan-card-actions {
    grid-template-columns: minmax(0, 1fr) 38px !important;
    gap: 8px !important;
}

.tab-content .ilan-qty,
.tab-content .ilan-bag {
    min-height: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
}

.tab-content .ilan-qty {
    font-size: 12px !important;
}

.tab-content .ilan-qty b {
    font-size: 14px !important;
}

.tab-content .ilan-bag {
    width: 38px !important;
    font-size: 16px !important;
}

.tab-content .ilan-badge.vitrin-badge,
.tab-content .ilan-badge.featured-badge {
    height: 30px !important;
}

.tab-content .depin-badge-text {
    font-size: 11px !important;
    line-height: 30px !important;
    letter-spacing: .36em !important;
}

@media (max-width: 768px) {
    .tab-content .ilan-grid {
        gap: 10px !important;
    }

    .tab-content .ilan-card {
        border-radius: 14px !important;
    }

    .tab-content .ilan-image {
        aspect-ratio: 1 / .88 !important;
        border-radius: 14px 14px 0 0 !important;
    }

    .tab-content .ilan-info {
        padding: 31px 9px 10px !important;
    }

    .tab-content .ilan-seller {
        left: 8px !important;
        right: 8px !important;
        top: -43px !important;
        min-height: 38px !important;
        padding: 5px 6px !important;
    }

    .tab-content .ilan-seller img,
    .tab-content .ilan-game-badge {
        width: 28px !important;
        height: 28px !important;
    }

    .tab-content .ilan-seller-name {
        font-size: 11.5px !important;
    }

    .tab-content .ilan-title {
        min-height: 33px !important;
        font-size: 11px !important;
        line-height: 1.28 !important;
    }

    .tab-content .ilan-delivery {
        font-size: 10px !important;
    }

    .tab-content .ilan-price {
        font-size: 12px !important;
    }

    .tab-content .ilan-rating small {
        display: none !important;
    }
}

@media (max-width: 390px) {
    .tab-content .ilan-grid {
        gap: 9px !important;
    }

    .tab-content .ilan-info {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .tab-content .ilan-delivery span {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tab-content .ilan-price {
        font-size: 11.5px !important;
    }

    .tab-content .ilan-rating {
        font-size: 9.5px !important;
    }
}

/* Reference-matched featured listings header (compact) */
.listing-showcase-panel {
    width: min(100%, 1120px) !important;
    box-sizing: border-box !important;
    margin: 20px auto 16px !important;
    padding: 18px !important;
    border: 1px solid rgba(82, 92, 112, .55) !important;
    border-radius: 26px !important;
    background: #11141a !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035), 0 18px 48px rgba(0, 0, 0, .28) !important;
    overflow: hidden !important;
}

.listing-showcase-heading {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 0 0 16px !important;
}

.listing-showcase-icon {
    width: 56px !important;
    height: 56px !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #171a2b !important;
    color: #4662ff !important;
    font-size: 24px !important;
    box-shadow: none !important;
}

.listing-showcase-heading h2 {
    min-width: 0 !important;
    margin: 0 !important;
    color: #f5f7ff !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
}

.listing-showcase-panel .section-tabs {
    width: 100% !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 6px !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 20px !important;
    background: #1c202b !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025) !important;
}

.listing-showcase-panel .tab-btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: transparent !important;
    color: rgba(224, 230, 241, .58) !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.listing-showcase-panel .tab-btn i {
    flex: 0 0 auto !important;
    color: currentColor !important;
    font-size: 16px !important;
}

.listing-showcase-panel .tab-btn span {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.listing-showcase-panel .tab-btn.active,
.listing-showcase-panel .tab-btn:hover {
    color: #ffffff !important;
    background: #4560ff !important;
    box-shadow: 0 10px 22px rgba(69, 96, 255, .38), 0 0 18px rgba(69, 96, 255, .2) !important;
}

@media (max-width: 640px) {
    .listing-showcase-panel {
        padding: 16px !important;
        border-radius: 20px !important;
    }

    .listing-showcase-heading {
        gap: 12px !important;
        margin-bottom: 14px !important;
    }

    .listing-showcase-icon {
        width: 46px !important;
        height: 46px !important;
        border-radius: 14px !important;
        font-size: 20px !important;
    }

    .listing-showcase-heading h2 {
        font-size: 19px !important;
        white-space: normal !important;
    }

    .listing-showcase-panel .section-tabs {
        padding: 6px !important;
        gap: 6px !important;
        border-radius: 16px !important;
    }

    .listing-showcase-panel .tab-btn {
        min-height: 42px !important;
        gap: 6px !important;
        padding: 0 6px !important;
        border-radius: 12px !important;
        font-size: 12px !important;
    }

    .listing-showcase-panel .tab-btn i {
        font-size: 13px !important;
    }
}

@media (max-width: 360px) {
    .listing-showcase-panel {
        padding: 12px !important;
    }

    .listing-showcase-heading {
        gap: 8px !important;
    }

    .listing-showcase-icon {
        width: 40px !important;
        height: 40px !important;
        border-radius: 12px !important;
        font-size: 17px !important;
    }

    .listing-showcase-heading h2 {
        font-size: 16px !important;
    }

    .listing-showcase-panel .tab-btn {
        min-height: 38px !important;
        font-size: 10.5px !important;
    }
}

/* Header auth buttons and reference auth screens */
.header-auth-buttons {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
}

.header-auth-btn {
    min-height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 22px !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .18) !important;
}

.header-auth-btn i {
    font-size: 19px !important;
}

.header-register-btn {
    background: linear-gradient(135deg, #ffad16 0%, #f18b05 100%) !important;
}

.header-login-btn {
    background: linear-gradient(135deg, #16d982 0%, #08bf6f 100%) !important;
}

.header-auth-btn:hover {
    transform: translateY(-1px) !important;
    filter: brightness(1.04) !important;
}

@media (max-width: 768px) {
    .main-header .header-top {
        flex-wrap: wrap !important;
        gap: 0 8px !important;
        padding-bottom: 0 !important;
    }

    .main-header .header-actions {
        width: 100% !important;
        margin: 12px 0 0 !important;
        padding: 14px 0 16px !important;
        border-top: 1px solid rgba(74, 84, 105, .45) !important;
        justify-content: flex-end !important;
    }

    .header-auth-buttons {
        width: auto !important;
        gap: 10px !important;
    }

    .header-auth-btn {
        min-height: 44px !important;
        padding: 0 18px !important;
        border-radius: 20px !important;
        font-size: 15px !important;
    }

    .header-auth-btn i {
        font-size: 18px !important;
    }
}

@media (max-width: 390px) {
    .main-header .header-actions {
        padding-bottom: 14px !important;
    }

    .header-auth-buttons {
        gap: 8px !important;
    }

    .header-auth-btn {
        min-height: 40px !important;
        padding: 0 13px !important;
        border-radius: 18px !important;
        gap: 7px !important;
        font-size: 13px !important;
    }

    .header-auth-btn i {
        font-size: 15px !important;
    }
}

body.auth-page,
body:has(.auth-container) {
    background: #070910 !important;
}

body.auth-page .site-wrapper,
body:has(.auth-container) .site-wrapper {
    min-height: 100vh !important;
    background: radial-gradient(circle at 92% 92%, rgba(89, 28, 141, .30), transparent 34%), radial-gradient(circle at 8% 0%, rgba(42, 74, 255, .20), transparent 30%), #070910 !important;
}

.auth-container {
    min-height: 100vh !important;
    box-sizing: border-box !important;
    align-items: flex-start !important;
    padding: clamp(22px, 4vw, 34px) 16px 34px !important;
}

.auth-box {
    width: min(100%, 660px) !important;
    max-width: 660px !important;
    box-sizing: border-box !important;
    padding: clamp(26px, 5vw, 50px) !important;
    border: 1px solid rgba(78, 88, 109, .44) !important;
    border-radius: 38px !important;
    background: linear-gradient(180deg, rgba(25, 30, 40, .96) 0%, rgba(14, 18, 27, .98) 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 22px 70px rgba(0, 0, 0, .38) !important;
}

.auth-logo {
    width: min(100%, 416px) !important;
    min-height: 110px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 24px !important;
    padding: 18px 26px !important;
    border: 1px solid rgba(84, 94, 114, .42) !important;
    border-radius: 22px !important;
    background: rgba(35, 40, 52, .64) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04) !important;
}

.auth-logo-img {
    width: min(100%, 315px) !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.auth-title {
    margin: 0 0 34px !important;
    color: #ffffff !important;
    font-size: clamp(30px, 5vw, 38px) !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    text-align: center !important;
}

.auth-google-btn {
    width: 100% !important;
    min-height: 76px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    margin: 0 0 30px !important;
    border: 0 !important;
    border-radius: 22px !important;
    background: #f1443d !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: clamp(20px, 4vw, 27px) !important;
    font-weight: 900 !important;
    box-shadow: 0 18px 34px rgba(241, 68, 61, .28) !important;
}

.auth-google-btn i {
    font-size: 30px !important;
}

.auth-form .form-group {
    margin-bottom: 26px !important;
}

.auth-form .form-label {
    display: block !important;
    margin: 0 0 14px !important;
    color: rgba(218, 224, 236, .68) !important;
    font-size: clamp(15px, 3vw, 20px) !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

.auth-input-wrap {
    width: 100% !important;
    min-height: 78px !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 0 28px !important;
    border: 1px solid rgba(59, 67, 86, .68) !important;
    border-radius: 23px !important;
    background: #0d0f16 !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025) !important;
}

.auth-input-wrap:focus-within {
    border-color: rgba(68, 96, 255, .70) !important;
    box-shadow: 0 0 0 1px rgba(68, 96, 255, .24), 0 0 22px rgba(68, 96, 255, .12) !important;
}

.auth-input-wrap > i {
    color: #9ba3b4 !important;
    font-size: 25px !important;
    text-align: center !important;
}

.auth-input-wrap .auth-input-end {
    justify-self: end !important;
    font-size: 23px !important;
}

.auth-input-wrap .form-control {
    min-width: 0 !important;
    height: 76px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #f5f7ff !important;
    font-size: clamp(20px, 4.4vw, 27px) !important;
    font-weight: 500 !important;
    box-shadow: none !important;
}

.auth-input-wrap .form-control::placeholder {
    color: rgba(174, 183, 200, .72) !important;
}

.auth-options-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin: 0 0 34px !important;
}

.auth-check,
.agreement-row label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    color: rgba(232, 236, 246, .92) !important;
    font-size: clamp(15px, 3.5vw, 21px) !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}

.auth-check input,
.agreement-row input[type="checkbox"] {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    margin: 0 !important;
    accent-color: #4560ff !important;
}

.auth-options-row a,
.agreement-row a,
.auth-footer a {
    color: #4c64ff !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.agreement-box {
    gap: 22px !important;
    margin: 10px 0 34px !important;
}

.agreement-row {
    display: block !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.auth-password-repeat {
    display: none !important;
}

.auth-submit-btn {
    width: 100% !important;
    min-height: 86px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 24px !important;
    background: #4560ff !important;
    color: #fff !important;
    font-size: clamp(21px, 4vw, 27px) !important;
    font-weight: 900 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
    box-shadow: 0 20px 44px rgba(69, 96, 255, .35) !important;
}

.auth-submit-btn i {
    margin-left: 12px !important;
    font-size: 23px !important;
}

.auth-footer {
    margin-top: 32px !important;
    color: rgba(218, 224, 236, .70) !important;
    font-size: clamp(15px, 3.4vw, 19px) !important;
    font-weight: 700 !important;
    text-align: center !important;
}

@media (max-width: 520px) {
    .auth-container {
        padding: 16px 10px 26px !important;
    }

    .auth-box {
        padding: 24px 22px 32px !important;
        border-radius: 28px !important;
    }

    .auth-logo {
        min-height: 82px !important;
        margin-bottom: 20px !important;
        padding: 12px 18px !important;
        border-radius: 18px !important;
    }

    .auth-logo-img {
        width: min(100%, 270px) !important;
    }

    .auth-title {
        margin-bottom: 26px !important;
    }

    .auth-google-btn {
        min-height: 58px !important;
        gap: 13px !important;
        margin-bottom: 24px !important;
        border-radius: 18px !important;
    }

    .auth-google-btn i {
        font-size: 24px !important;
    }

    .auth-form .form-group {
        margin-bottom: 20px !important;
    }

    .auth-input-wrap {
        min-height: 62px !important;
        grid-template-columns: 24px minmax(0, 1fr) auto !important;
        gap: 12px !important;
        padding: 0 18px !important;
        border-radius: 18px !important;
    }

    .auth-input-wrap > i {
        font-size: 19px !important;
    }

    .auth-input-wrap .form-control {
        height: 60px !important;
    }

    .auth-options-row {
        margin-bottom: 26px !important;
    }

    .auth-check input,
    .agreement-row input[type="checkbox"] {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
    }

    .agreement-box {
        gap: 18px !important;
        margin-bottom: 28px !important;
    }

    .auth-submit-btn {
        min-height: 66px !important;
        border-radius: 20px !important;
    }
}

/* Compact correction for header and auth page buttons */
.header-auth-buttons {
    gap: 8px !important;
}

.header-auth-btn {
    min-height: 36px !important;
    gap: 7px !important;
    padding: 0 15px !important;
    border-radius: 16px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .16) !important;
}

.header-auth-btn i {
    font-size: 14px !important;
}

@media (max-width: 768px) {
    .main-header .header-top {
        min-height: 114px !important;
        align-content: flex-start !important;
        padding: 9px 10px 0 !important;
    }

    .main-header .header-top > .logo {
        top: 29px !important;
        transform: translate(-50%, -50%) !important;
        max-width: 210px !important;
    }

    .main-header .header-top > .logo .site-logo-img {
        width: 188px !important;
        height: 50px !important;
    }

    .main-header .header-actions {
        width: 100% !important;
        margin: 52px 0 0 !important;
        padding: 10px 0 11px !important;
        border-top: 1px solid rgba(74, 84, 105, .45) !important;
        justify-content: flex-end !important;
    }

    .header-auth-btn {
        min-height: 35px !important;
        padding: 0 13px !important;
        border-radius: 15px !important;
        gap: 6px !important;
        font-size: 12px !important;
    }

    .header-auth-btn i {
        font-size: 13px !important;
    }
}

@media (max-width: 390px) {
    .main-header .header-top > .logo .site-logo-img {
        width: 176px !important;
        height: 48px !important;
    }

    .header-auth-btn {
        min-height: 32px !important;
        padding: 0 10px !important;
        border-radius: 14px !important;
        font-size: 11px !important;
    }

    .header-auth-btn i {
        font-size: 12px !important;
    }
}

.auth-box {
    width: min(100%, 520px) !important;
    max-width: 520px !important;
    padding: clamp(22px, 4vw, 34px) !important;
    border-radius: 28px !important;
}

.auth-logo {
    width: min(100%, 330px) !important;
    min-height: 78px !important;
    margin-bottom: 18px !important;
    padding: 12px 18px !important;
    border-radius: 18px !important;
}

.auth-logo-img {
    width: min(100%, 250px) !important;
}

.auth-title {
    margin-bottom: 22px !important;
    font-size: clamp(24px, 4vw, 31px) !important;
}

.auth-google-btn {
    min-height: 52px !important;
    gap: 12px !important;
    margin-bottom: 22px !important;
    border-radius: 17px !important;
    font-size: clamp(15px, 3.2vw, 19px) !important;
    box-shadow: 0 12px 24px rgba(241, 68, 61, .22) !important;
}

.auth-google-btn i {
    font-size: 21px !important;
}

.auth-submit-btn {
    min-height: 56px !important;
    border-radius: 17px !important;
    font-size: clamp(16px, 3.3vw, 20px) !important;
    box-shadow: 0 13px 28px rgba(69, 96, 255, .27) !important;
}

.auth-submit-btn i {
    font-size: 17px !important;
    margin-left: 8px !important;
}

.auth-input-wrap {
    min-height: 58px !important;
    grid-template-columns: 24px minmax(0, 1fr) auto !important;
    gap: 12px !important;
    padding: 0 18px !important;
    border-radius: 17px !important;
}

.auth-input-wrap > i {
    font-size: 18px !important;
}

.auth-input-wrap .form-control {
    height: 56px !important;
    font-size: clamp(15px, 3.6vw, 19px) !important;
}

.auth-form .form-group {
    margin-bottom: 18px !important;
}

.auth-form .form-label {
    margin-bottom: 9px !important;
    font-size: clamp(12px, 2.6vw, 15px) !important;
}

.auth-check,
.agreement-row label {
    font-size: clamp(13px, 3vw, 16px) !important;
}

.auth-check input,
.agreement-row input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
}

/* Tiny spacing/loading refinements */
@media (max-width: 768px) {
    .main-header .header-top {
        min-height: 106px !important;
    }

    .main-header .header-actions {
        margin-top: 44px !important;
        padding-top: 8px !important;
        padding-bottom: 10px !important;
    }
}

@media (max-width: 390px) {
    .main-header .header-actions {
        margin-top: 42px !important;
    }
}

.auth-google-btn.is-loading {
    pointer-events: none !important;
    opacity: .82 !important;
    filter: saturate(.9) !important;
}

/* Account top strip and left drawer */
.account-header-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.account-header-left,
.account-header-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.account-header-right {
    justify-content: flex-end;
}

.account-quick-btn {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 0;
    border-radius: 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.account-quick-btn i {
    font-size: 15px;
}

.account-balance-add {
    background: linear-gradient(135deg, #19dc82 0%, #10be70 100%);
}

.account-listing-add {
    background: linear-gradient(135deg, #ffb526 0%, #f09b09 100%);
}

.account-header-icon {
    position: relative;
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(84, 94, 114, .58);
    border-radius: 14px;
    background: #1d222d;
    color: #a4adbe;
    font-size: 18px;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.account-header-icon .notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    border: 2px solid #11141a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
}

.account-profile-pill {
    height: 40px;
    min-width: 112px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 3px 11px 3px 4px;
    border: 1px solid rgba(84, 94, 114, .58);
    border-radius: 16px;
    background: #1d222d;
    color: #f7f8ff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 900;
    white-space: nowrap;
}

.account-profile-pill img {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .main-header .header-actions:has(.account-header-bar) {
        margin-top: 44px !important;
        padding-top: 9px !important;
        padding-bottom: 10px !important;
    }

    .account-header-bar {
        width: 100%;
        gap: 8px;
    }

    .account-header-left,
    .account-header-right {
        gap: 7px;
    }

    .account-quick-btn {
        min-height: 34px;
        padding: 0 11px;
        border-radius: 14px;
        gap: 6px;
        font-size: 12px;
    }

    .account-quick-btn i {
        font-size: 13px;
    }

    .account-header-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        border-radius: 13px;
        font-size: 16px;
    }

    .account-profile-pill {
        height: 36px;
        min-width: 94px;
        gap: 7px;
        padding-right: 9px;
        border-radius: 14px;
        font-size: 13px;
    }

    .account-profile-pill img {
        width: 30px;
        height: 30px;
        border-radius: 9px;
    }
}

@media (max-width: 390px) {
    .account-header-bar {
        gap: 6px;
    }

    .account-header-left,
    .account-header-right {
        gap: 5px;
    }

    .account-quick-btn {
        min-height: 31px;
        padding: 0 8px;
        font-size: 11px;
    }

    .account-header-icon {
        width: 31px;
        height: 31px;
        min-width: 31px;
        border-radius: 11px;
        font-size: 14px;
    }

    .account-profile-pill {
        height: 33px;
        min-width: 82px;
        padding-right: 7px;
        font-size: 11px;
    }

    .account-profile-pill img {
        width: 27px;
        height: 27px;
    }
}

.account-drawer {
    position: fixed;
    inset: 0;
    z-index: 2200;
    pointer-events: none;
}

.account-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .52);
    opacity: 0;
    transition: opacity .25s ease;
}

.account-drawer-panel {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(100vw, 430px);
    max-width: 430px;
    overflow-y: auto;
    padding: 0 11px 96px;
    background: #11151d;
    color: #f6f8ff;
    transform: translateX(-104%);
    transition: transform .28s ease;
    box-shadow: 24px 0 50px rgba(0, 0, 0, .34);
}

.account-drawer.open {
    pointer-events: auto;
}

.account-drawer.open .account-drawer-backdrop {
    opacity: 1;
}

.account-drawer.open .account-drawer-panel {
    transform: translateX(0);
}

body.account-drawer-open {
    overflow: hidden;
}

body.account-drawer-open .main-nav {
    transform: translateY(120%) !important;
}

.account-drawer-head {
    min-height: 96px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 -11px 12px;
    padding: 18px 22px 16px;
    border-bottom: 1px solid rgba(78, 88, 109, .45);
    background: #11151d;
    position: sticky;
    top: 0;
    z-index: 2;
}

.account-drawer-title-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #151d33;
    color: #1774ff;
    font-size: 18px;
}

.account-drawer-head strong {
    flex: 1;
    font-size: 25px;
    line-height: 1;
    font-weight: 900;
}

.account-drawer-close {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #b9c0cd;
    font-size: 32px;
    cursor: pointer;
}

.account-wallet-card {
    margin: 0 0 14px;
    padding: 14px;
    border: 1px solid rgba(116, 136, 255, .38);
    border-radius: 20px;
    background: linear-gradient(135deg, #28369f 0%, #4968df 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10);
}

.account-wallet-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.account-wallet-user img {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, .28);
}

.account-wallet-user strong {
    font-size: 18px;
    font-weight: 900;
}

.account-wallet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 13px;
}

.account-wallet-grid div {
    min-height: 64px;
    padding: 11px 12px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
}

.account-wallet-grid span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
    font-weight: 800;
}

.account-wallet-grid b {
    color: #f8fff2;
    font-size: 18px;
    font-weight: 900;
}

.account-wallet-load {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .30);
    border-radius: 15px;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    background: rgba(255, 255, 255, .10);
}

.account-wallet-load .fa-chevron-right {
    margin-left: auto;
}

.account-drawer-group {
    margin: 0 0 14px;
    padding: 18px 18px 12px;
    border: 1px solid rgba(78, 88, 109, .55);
    border-radius: 20px;
    background: #171b24;
}

.account-drawer-group h3 {
    margin: 0 0 16px;
    color: #8e97a7;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.account-drawer-group a {
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #f3f6ff;
    font-size: 17px;
    font-weight: 850;
}

.account-drawer-group a > i {
    width: 24px;
    min-width: 24px;
    color: #8298ff;
    font-size: 17px;
    text-align: center;
}

.account-drawer-group a span {
    flex: 1;
    min-width: 0;
}

.account-drawer-group a b {
    color: #7f8999;
    font-size: 14px;
}

.account-drawer-logout {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin: 18px 0 0;
    border: 1px solid rgba(248, 113, 113, .45);
    border-radius: 17px;
    color: #fb7185;
    background: rgba(127, 29, 29, .26);
    font-size: 17px;
    font-weight: 900;
}

@media (max-width: 390px) {
    .account-drawer-panel {
        padding-left: 9px;
        padding-right: 9px;
    }

    .account-drawer-head {
        min-height: 86px;
        margin-left: -9px;
        margin-right: -9px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .account-wallet-card {
        padding: 12px;
    }

    .account-wallet-grid div {
        padding: 9px 10px;
    }

    .account-drawer-group {
        padding: 16px 16px 10px;
    }

    .account-drawer-group a {
        min-height: 46px;
        font-size: 15px;
    }
}

/* My listings and orders mobile reference styling */
.my-listings-page,
.my-orders-page {
    width: min(100%, 920px);
    margin: 0 auto;
}

.my-listings-filter-card,
.my-orders-menu-card,
.my-orders-filter-card {
    margin: 20px auto 26px;
    padding: 18px;
    border: 1px solid rgba(78, 88, 109, .58);
    border-radius: 22px;
    background: #131820;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.my-listings-search {
    min-height: 58px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    margin-bottom: 14px;
    border: 1px solid rgba(78, 88, 109, .66);
    border-radius: 18px;
    background: #0b0e13;
}

.my-listings-search i {
    color: #9aa3b1;
    font-size: 20px;
}

.my-listings-search input {
    min-width: 0;
    height: 56px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f6f8ff;
    font-size: 18px;
    font-weight: 700;
}

.my-listings-search input::placeholder {
    color: rgba(166, 174, 190, .78);
}

.my-listings-select {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 18px;
    border: 1px solid rgba(78, 88, 109, .55);
    border-radius: 17px;
    background: #1b2029;
    color: #f7f8ff;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}

.my-listings-select i {
    color: #f7f8ff;
    font-size: 13px;
}

.my-listings-actions {
    display: none;
}

.my-listings-add-btn {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 26px;
    border-radius: 18px;
    background: #13c878;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(19, 200, 120, .18);
}

.my-listings-empty {
    min-height: 300px;
    width: min(100%, 920px);
    margin: 0 auto 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 32px 18px;
    border: 1px dashed rgba(87, 96, 114, .72);
    border-radius: 22px;
    background: #12171f;
    text-align: center;
}

.my-listings-empty > i {
    color: #273ea5;
    font-size: 48px;
}

.my-listings-empty h3 {
    margin: 0;
    color: #f5f7ff;
    font-size: clamp(22px, 5vw, 32px);
    line-height: 1.18;
    font-weight: 900;
}

.my-orders-menu-card {
    display: grid;
    gap: 12px;
}

.my-orders-menu-item {
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 17px;
    background: #1b2029;
    color: rgba(219, 225, 237, .62);
    font-size: 20px;
    font-weight: 900;
}

.my-orders-menu-item i {
    width: 24px;
    color: #9aa3b1;
    font-size: 18px;
    text-align: center;
}

.my-orders-menu-item.active {
    border-color: rgba(67, 97, 238, .42);
    background: #12182b;
    color: #4661ff;
}

.my-orders-menu-item.active i {
    color: #4661ff;
}

.my-orders-filter-card {
    padding: 22px 20px;
}

.my-orders-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.my-orders-title-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: #151d33;
    color: #4661ff;
    font-size: 22px;
}

.my-orders-title-row h2 {
    margin: 0;
    color: #f7f8ff;
    font-size: clamp(24px, 5vw, 34px);
    line-height: 1;
    font-weight: 900;
}

.my-orders-filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.my-orders-filter-tabs::-webkit-scrollbar {
    display: none;
}

.my-orders-filter-tabs button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 0 18px;
    border: 1px solid rgba(78, 88, 109, .62);
    border-radius: 16px;
    background: #1b2029;
    color: rgba(219, 225, 237, .60);
    font-size: 15px;
    font-weight: 900;
    white-space: nowrap;
}

.my-orders-filter-tabs button.active {
    border-color: transparent;
    background: #4560ff;
    color: #fff;
    box-shadow: 0 10px 24px rgba(69, 96, 255, .22);
}

.my-orders-search-grid {
    display: grid;
    gap: 14px;
}

.my-orders-search-grid input,
.my-orders-search-grid button {
    width: 100%;
    min-height: 56px;
    border-radius: 17px;
    font-size: 17px;
    font-weight: 900;
}

.my-orders-search-grid input {
    padding: 0 20px;
    border: 1px solid rgba(78, 88, 109, .66);
    background: #0b0e13;
    color: #f6f8ff;
    outline: 0;
}

.my-orders-search-grid input::placeholder {
    color: rgba(166, 174, 190, .78);
}

.my-orders-search-grid button {
    border: 0;
    background: #4560ff;
    color: #fff;
    cursor: pointer;
}

.my-orders-search-grid button.review {
    border: 1px solid rgba(16, 185, 129, .42);
    background: rgba(16, 185, 129, .14);
    color: #18d681;
}

.my-orders-page > .card {
    width: min(100%, 920px);
    margin: 0 auto 22px !important;
    overflow: hidden;
    border: 1px solid rgba(78, 88, 109, .58) !important;
    border-radius: 22px !important;
    background: #131820 !important;
    box-shadow: none !important;
}

.my-orders-page > .card .card-header {
    padding: 20px 22px 8px;
    border: 0;
    background: transparent;
}

.my-orders-page > .card .card-title {
    color: #f7f8ff;
    font-size: clamp(20px, 4.5vw, 28px);
    font-weight: 900;
}

.my-orders-page > .card .card-title i {
    color: #4661ff;
}

.my-orders-page > .card .card-body {
    padding: 14px 20px 20px;
}

.my-orders-page .siparis-card {
    position: relative;
    overflow: hidden;
    margin: 0 0 18px;
    border: 1px solid rgba(61, 74, 105, .72);
    border-left: 5px solid #263da6;
    border-radius: 20px;
    background: #12171f;
    box-shadow: none;
}

.my-orders-page .siparis-card:last-child {
    margin-bottom: 0;
}

.my-orders-page .siparis-header {
    align-items: center;
    gap: 10px;
    padding: 18px 18px 8px;
    border: 0;
    background: transparent;
}

.my-orders-page .siparis-header > span:first-child {
    color: rgba(219, 225, 237, .60);
    font-size: 14px;
    font-weight: 900;
}

.my-orders-page .siparis-status {
    min-height: 34px;
    padding: 0 13px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 900;
}

.my-orders-page .status-tamamlandi {
    background: rgba(16, 185, 129, .14);
    color: #18d681;
    border: 1px solid rgba(16, 185, 129, .36);
}

.my-orders-page .siparis-body {
    align-items: flex-start;
    gap: 16px;
    padding: 8px 18px 20px;
}

.my-orders-page .siparis-body img {
    width: 74px;
    height: 74px;
    min-width: 74px;
    border-radius: 14px;
    object-fit: cover;
}

.my-orders-page .siparis-info h4 {
    margin: 0 0 9px;
    color: #f7f8ff;
    font-size: clamp(18px, 4vw, 23px);
    line-height: 1.16;
    font-weight: 900;
}

.my-orders-page .siparis-info p,
.my-orders-page .siparis-info small {
    display: block;
    margin: 0 0 8px;
    color: rgba(166, 174, 190, .86) !important;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}

.my-orders-page .siparis-price {
    margin: 10px 0 4px;
    color: #18d681;
    font-size: 24px;
    font-weight: 900;
}

.my-orders-page .siparis-footer {
    padding: 14px 18px;
    border-top: 1px solid rgba(78, 88, 109, .45);
    background: #1b2029;
}

.my-orders-page .siparis-destek {
    color: #f7f8ff;
    font-size: 14px;
    font-weight: 800;
}

.my-orders-page .empty-state {
    min-height: 220px;
    padding: 28px 16px !important;
    border: 1px dashed rgba(87, 96, 114, .72);
    border-radius: 18px;
    background: #12171f;
}

.my-orders-page .empty-state i {
    color: #273ea5;
    font-size: 42px;
}

.my-orders-page .empty-state h3 {
    color: #f7f8ff;
    font-size: 22px;
    font-weight: 900;
}

@media (max-width: 520px) {
    .my-listings-filter-card,
    .my-orders-menu-card,
    .my-orders-filter-card {
        margin-top: 18px;
        padding: 16px;
        border-radius: 18px;
    }

    .my-listings-search,
    .my-listings-select {
        min-height: 52px;
        border-radius: 15px;
    }

    .my-listings-search input,
    .my-listings-select {
        font-size: 16px;
    }

    .my-listings-empty {
        min-height: 270px;
        border-radius: 18px;
    }

    .my-listings-add-btn {
        min-height: 50px;
        padding: 0 22px;
        border-radius: 16px;
        font-size: 16px;
    }

    .my-orders-menu-item {
        min-height: 54px;
        padding: 0 18px;
        border-radius: 15px;
        font-size: 18px;
    }

    .my-orders-title-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
        border-radius: 15px;
        font-size: 20px;
    }

    .my-orders-filter-tabs button {
        min-height: 42px;
        padding: 0 14px;
        border-radius: 14px;
        font-size: 13px;
    }

    .my-orders-search-grid input,
    .my-orders-search-grid button {
        min-height: 50px;
        border-radius: 15px;
        font-size: 15px;
    }

    .my-orders-page > .card .card-body {
        padding: 12px 16px 18px;
    }

    .my-orders-page .siparis-body {
        gap: 13px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .my-orders-page .siparis-body img {
        width: 64px;
        height: 64px;
        min-width: 64px;
    }
}

/* Profile showcase reference layout */
.profile-page.depin-account-page > .account-user-card,
.profile-page.depin-account-page > .account-menu-list,
.profile-page.depin-account-page > .account-summary-section,
.profile-page.depin-account-page > .account-community-section,
.profile-page.depin-account-page > .account-reference-card,
.profile-page.depin-account-page > .profile-listing-panel {
    display: none !important;
}

.profile-showcase-page {
    width: min(100%, 920px);
    margin: 0 auto 34px;
    padding: 46px 10px 0;
}

.profile-cover-upload {
    display: flex;
    justify-content: flex-end;
    margin: 0 20px 94px;
}

.profile-cover-upload label {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border: 1px solid rgba(94, 106, 130, .70);
    border-radius: 17px;
    background: #111722;
    color: #f6f8ff;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
}

.profile-cover-upload input,
.profile-avatar-upload input {
    display: none;
}

.profile-showcase-card {
    position: relative;
    margin: 0 auto 26px;
    padding: 110px 30px 30px;
    border: 1px solid rgba(78, 88, 109, .64);
    border-radius: 26px;
    background: #131820;
    text-align: center;
}

.profile-avatar-upload {
    position: absolute;
    left: 50%;
    top: -86px;
    transform: translateX(-50%);
    margin: 0;
}

.profile-showcase-avatar {
    position: relative;
    width: 134px;
    height: 134px;
    display: block;
    border-radius: 28px;
    background: #11161f;
    cursor: pointer;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
}

.profile-showcase-avatar img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.profile-avatar-camera {
    position: absolute;
    left: 50%;
    bottom: -14px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    border: 2px solid rgba(78, 88, 109, .80);
    border-radius: 15px;
    background: #111722;
    color: #fff;
    font-size: 20px;
}

.profile-avatar-online {
    position: absolute;
    right: 16px;
    bottom: -8px;
    width: 28px;
    height: 28px;
    border: 5px solid #f6f8ff;
    border-radius: 50%;
    background: #16c78a;
}

.profile-showcase-name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.profile-showcase-name h1 {
    margin: 0;
    color: #f7f8ff;
    font-size: clamp(25px, 5vw, 34px);
    line-height: 1;
    font-weight: 900;
}

.profile-help-badge {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(160, 174, 196, .80);
    color: #60a5fa;
    font-size: 17px;
    font-weight: 900;
}

.profile-mini-rating {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    padding: 3px 11px 3px 4px;
    border: 1px solid rgba(78, 88, 109, .70);
    border-radius: 999px;
    color: #cbd4e4;
    font-size: 14px;
    font-weight: 900;
}

.profile-mini-rating span {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #7d8ba0;
    color: #fff;
}

.profile-showcase-actions {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 18px;
    align-items: center;
    margin-bottom: 26px;
}

.profile-edit-link,
.profile-sort-main {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    border-radius: 18px;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
}

.profile-edit-link {
    background: transparent;
    color: rgba(148, 163, 184, .48);
}

.profile-edit-link i {
    font-size: 28px;
}

.profile-sort-main {
    background: #4560ff;
    color: #fff;
}

.profile-sort-main i {
    font-size: 24px;
}

.profile-showcase-tabs {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(78, 88, 109, .58);
    overflow-x: auto;
}

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

.profile-showcase-tabs button {
    min-height: 48px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: rgba(166, 174, 190, .86);
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
}

.profile-showcase-tabs button.active {
    background: #151d33;
    color: #f7f8ff;
}

.profile-showcase-tabs button.active b {
    min-width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0c1018;
}

.profile-showcase-filters {
    display: grid;
    gap: 14px;
    margin: 0 auto 26px;
    padding: 16px;
    border: 1px solid rgba(78, 88, 109, .64);
    border-radius: 22px;
    background: #131820;
}

.profile-showcase-search,
.profile-delivery-toggle,
.profile-showcase-sort {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 18px;
    border: 1px solid rgba(78, 88, 109, .66);
    border-radius: 17px;
    background: #0b0e13;
    color: #f7f8ff;
}

.profile-showcase-search i,
.profile-showcase-sort i {
    color: #9aa3b1;
    font-size: 20px;
}

.profile-showcase-search input {
    min-width: 0;
    flex: 1;
    height: 56px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f7f8ff;
    font-size: 18px;
    font-weight: 800;
}

.profile-showcase-search input::placeholder {
    color: rgba(166, 174, 190, .78);
}

.profile-showcase-search .fa-filter {
    margin-left: auto;
}

.profile-delivery-toggle {
    justify-content: space-between;
}

.profile-delivery-toggle span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 900;
}

.profile-delivery-toggle span i {
    color: #ffc400;
}

.profile-delivery-toggle input {
    display: none;
}

.profile-delivery-toggle em {
    position: relative;
    width: 52px;
    height: 30px;
    border-radius: 999px;
    background: #31343b;
}

.profile-delivery-toggle em::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e7edf5;
}

.profile-showcase-sort {
    width: 100%;
    justify-content: space-between;
    border-color: rgba(78, 88, 109, .66);
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}

.profile-showcase-empty {
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    margin: 0 auto 34px;
    padding: 34px 18px;
    border: 1px dashed rgba(87, 96, 114, .72);
    border-radius: 24px;
    background: #12171f;
    text-align: center;
}

.profile-showcase-empty span {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #151a22;
    color: #273ea5;
    font-size: 42px;
}

.profile-showcase-empty h2 {
    margin: 0;
    color: #f7f8ff;
    font-size: clamp(22px, 4.8vw, 32px);
    line-height: 1.2;
    font-weight: 900;
}

@media (max-width: 520px) {
    .profile-showcase-page {
        padding-top: 42px;
    }

    .profile-cover-upload {
        justify-content: center;
        margin: 0 0 82px;
    }

    .profile-cover-upload label {
        min-height: 40px;
        padding: 0 18px;
        border-radius: 15px;
        font-size: 13px;
    }

    .profile-showcase-card {
        padding: 88px 18px 24px;
        border-radius: 22px;
    }

    .profile-avatar-upload {
        top: -70px;
    }

    .profile-showcase-avatar {
        width: 116px;
        height: 116px;
        border-radius: 24px;
    }

    .profile-showcase-actions {
        grid-template-columns: 1fr 1.35fr;
        gap: 12px;
    }

    .profile-edit-link,
    .profile-sort-main {
        min-height: 46px;
        border-radius: 15px;
        font-size: 15px;
    }

    .profile-showcase-tabs {
        gap: 12px;
    }

    .profile-showcase-tabs button {
        min-height: 42px;
        padding: 0 12px;
        font-size: 14px;
    }

    .profile-showcase-filters {
        padding: 14px;
        border-radius: 18px;
    }

    .profile-showcase-search,
    .profile-delivery-toggle,
    .profile-showcase-sort {
        min-height: 52px;
        border-radius: 15px;
    }

    .profile-showcase-search input,
    .profile-showcase-sort,
    .profile-delivery-toggle span {
        font-size: 15px;
    }

    .profile-showcase-empty {
        min-height: 330px;
        border-radius: 20px;
    }
}

/* Favorite products reference layout */
.favorite-showcase-page {
    width: min(100%, 920px);
    margin: 0 auto 34px;
    padding: 8px 10px 0;
}

.favorite-showcase-card {
    margin-bottom: 28px;
    padding: 34px 34px 32px;
    border: 1px solid rgba(78, 88, 109, .66);
    border-radius: 24px;
    background: #131820;
}

.favorite-showcase-head {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 26px;
    align-items: center;
    margin-bottom: 28px;
}

.favorite-showcase-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #ef3347;
    color: #fff;
    font-size: 32px;
    box-shadow: 0 16px 36px rgba(239, 51, 71, .18);
}

.favorite-showcase-head h2 {
    margin: 0 0 8px;
    color: #f8fafc;
    font-size: clamp(25px, 5vw, 36px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -.02em;
}

.favorite-showcase-head p {
    margin: 0;
    max-width: 650px;
    color: #979fab;
    font-size: clamp(16px, 3.4vw, 24px);
    line-height: 1.45;
    font-weight: 500;
}

.favorite-type-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 26px;
    padding: 8px;
    border: 1px solid rgba(78, 88, 109, .66);
    border-radius: 22px;
    background: #20262e;
}

.favorite-type-tabs button {
    min-height: 52px;
    border: 0;
    border-radius: 17px;
    background: transparent;
    color: #a1aab8;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
}

.favorite-type-tabs button.active {
    background: #11161f;
    box-shadow: inset 0 0 0 1px rgba(78, 88, 109, .62);
    color: #f8fafc;
}

.favorite-type-tabs span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    border-radius: 4px;
    background: #e5e7eb;
    color: #111827;
    font-size: 13px;
    line-height: 1;
}

.favorite-search-box {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 28px;
    border: 1px solid rgba(78, 88, 109, .66);
    border-radius: 19px;
    background: #0b0e13;
    color: #9ca5b2;
}

.favorite-search-box i {
    font-size: 27px;
}

.favorite-search-box input {
    min-width: 0;
    flex: 1;
    height: 60px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f8fafc;
    font-size: 22px;
    font-weight: 800;
}

.favorite-search-box input::placeholder {
    color: rgba(156, 165, 178, .84);
}

.favorite-empty-panel {
    min-height: 420px;
    margin-bottom: 34px;
    padding: 34px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    border: 1px dashed rgba(78, 88, 109, .72);
    border-radius: 24px;
    background: #12171f;
    text-align: center;
}

.favorite-empty-panel span {
    color: #a73746;
    font-size: 82px;
    line-height: 1;
}

.favorite-empty-panel h2 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(26px, 5vw, 36px);
    line-height: 1.1;
    font-weight: 900;
}

.favorite-empty-panel p {
    margin: 0;
    color: #9aa3af;
    font-size: clamp(16px, 3.6vw, 24px);
    line-height: 1.35;
}

.favorite-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 22px;
    align-items: start;
    margin-bottom: 34px;
}

.favorite-product-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding-bottom: 18px;
    border: 1px solid rgba(78, 88, 109, .72);
    border-radius: 22px;
    background: #131820;
}

.favorite-product-image {
    position: relative;
    display: block;
    aspect-ratio: 1 / .9;
    overflow: hidden;
    background: #0b0e13;
}

.favorite-product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.favorite-remove-form {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 2;
    margin: 0;
}

.favorite-remove-form button {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 16px;
    background: rgba(58, 17, 28, .88);
    color: #ff4b5e;
    font-size: 25px;
    cursor: pointer;
}

.favorite-seller-pill {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 15px;
    background: rgba(24, 25, 39, .92);
    color: #fff;
}

.favorite-seller-pill img {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 10px;
    object-fit: cover;
}

.favorite-seller-pill b {
    min-width: 0;
    overflow: hidden;
    color: #f8fafc;
    font-size: 15px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.favorite-product-title {
    min-height: 58px;
    display: -webkit-box;
    margin: 18px 18px 8px;
    overflow: hidden;
    color: #f8fafc;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 900;
    text-decoration: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.favorite-product-price {
    display: block;
    margin: 0 18px 16px;
    color: #16d882;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 900;
}

.favorite-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 56px;
    gap: 12px;
    align-items: center;
    margin: 0 18px;
}

.favorite-qty-control {
    min-height: 52px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-items: center;
    border: 1px solid rgba(78, 88, 109, .72);
    border-radius: 17px;
    background: #10151d;
    color: #8f98a6;
    font-size: 22px;
    font-weight: 800;
}

.favorite-qty-control b {
    color: #aeb6c3;
    font-size: 19px;
}

.favorite-bag-btn {
    width: 56px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(68, 90, 255, .76);
    border-radius: 17px;
    background: rgba(33, 48, 119, .70);
    color: #7b91ff;
    font-size: 23px;
    text-decoration: none;
}

@media (max-width: 520px) {
    .favorite-showcase-page {
        padding: 0;
    }

    .favorite-showcase-card {
        padding: 24px 20px 22px;
        border-radius: 20px;
    }

    .favorite-showcase-head {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 16px;
        margin-bottom: 22px;
    }

    .favorite-showcase-icon {
        width: 54px;
        height: 54px;
        border-radius: 16px;
        font-size: 27px;
    }

    .favorite-type-tabs {
        margin-bottom: 20px;
        border-radius: 18px;
    }

    .favorite-type-tabs button {
        min-height: 44px;
        border-radius: 14px;
        font-size: 17px;
    }

    .favorite-search-box {
        min-height: 54px;
        gap: 14px;
        padding: 0 18px;
        border-radius: 16px;
    }

    .favorite-search-box i {
        font-size: 22px;
    }

    .favorite-search-box input {
        height: 52px;
        font-size: 17px;
    }

    .favorite-empty-panel {
        min-height: 360px;
        border-radius: 20px;
    }

    .favorite-empty-panel span {
        font-size: 72px;
    }

    .favorite-product-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .favorite-product-card {
        width: min(100%, 260px);
        border-radius: 18px;
    }

    .favorite-product-title {
        min-height: 50px;
        margin: 16px 16px 8px;
        font-size: 18px;
    }

    .favorite-product-price {
        margin: 0 16px 14px;
        font-size: 20px;
    }

    .favorite-card-actions {
        grid-template-columns: minmax(0, 1fr) 50px;
        margin: 0 16px;
    }

    .favorite-remove-form button {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 22px;
    }

    .favorite-bag-btn {
        width: 50px;
        height: 48px;
        border-radius: 15px;
    }
}

/* Support and cart reference layouts */
.support-page-shell,
.cart-page-shell {
    width: min(100%, 920px);
    margin: 0 auto 36px;
    padding: 10px;
}

.support-request-card,
.support-history-card {
    margin-bottom: 28px;
    padding: 34px;
    border: 1px solid rgba(78, 88, 109, .66);
    border-radius: 24px;
    background: #131820;
}

.support-card-head {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 26px;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(78, 88, 109, .66);
}

.support-card-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #151d33;
    color: #4864ff;
    font-size: 34px;
}

.support-history-icon {
    background: #2b2413;
    color: #ffb400;
}

.support-card-head h1,
.support-card-head h2 {
    margin: 0 0 8px;
    color: #f8fafc;
    font-size: clamp(26px, 5vw, 38px);
    line-height: 1.08;
    font-weight: 900;
}

.support-card-head p {
    margin: 0;
    color: #9aa3af;
    font-size: clamp(16px, 3.5vw, 24px);
    line-height: 1.35;
}

.support-field {
    display: grid;
    gap: 14px;
    margin-bottom: 26px;
}

.support-field > strong {
    color: #f1f5f9;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 900;
}

.support-field span,
.support-field textarea {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 24px;
    border: 1px solid rgba(78, 88, 109, .72);
    border-radius: 19px;
    background: #0e1218;
    color: #f8fafc;
}

.support-field span > i:first-child {
    color: #9aa3af;
    font-size: 25px;
}

.support-field span > i:last-child {
    margin-left: auto;
    color: #9aa3af;
}

.support-field select,
.support-field textarea {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f8fafc;
    font: inherit;
    font-size: 22px;
    font-weight: 800;
}

.support-field select {
    appearance: none;
}

.support-field textarea {
    min-height: 210px;
    align-items: flex-start;
    padding-top: 26px;
    resize: vertical;
}

.support-field textarea::placeholder {
    color: rgba(116, 128, 150, .82);
}

.support-submit-btn {
    width: 100%;
    min-height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    border-radius: 18px;
    background: #4059ff;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
}

.support-ticket-list {
    display: grid;
    gap: 14px;
}

.support-ticket-item {
    padding: 18px;
    border: 1px solid rgba(78, 88, 109, .50);
    border-radius: 18px;
    background: #10151d;
}

.support-ticket-item div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.support-ticket-item strong {
    color: #f8fafc;
    font-size: 17px;
}

.support-ticket-item p {
    margin: 0 0 10px;
    color: #a5adba;
    font-size: 15px;
    line-height: 1.55;
}

.support-ticket-item small {
    color: #747f90;
}

.support-empty-panel {
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    border: 1px dashed rgba(78, 88, 109, .72);
    border-radius: 22px;
    background: #0d1117;
    text-align: center;
}

.support-empty-panel i {
    color: #59616d;
    font-size: 76px;
}

.support-empty-panel h3 {
    margin: 0;
    color: #f8fafc;
    font-size: 28px;
    font-weight: 900;
}

.support-empty-panel p {
    margin: 0;
    color: #9aa3af;
    font-size: 20px;
}

.cart-page-head {
    min-height: 116px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0 28px;
    border-bottom: 1px solid rgba(78, 88, 109, .66);
}

.cart-page-head span,
.cart-empty-state span {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #111a33;
    color: #1681ff;
    font-size: 30px;
}

.cart-page-head h1 {
    margin: 0;
    color: #f8fafc;
    font-size: 28px;
    font-weight: 900;
}

.cart-page-head a {
    margin-left: auto;
    color: #b6bdc8;
    font-size: 34px;
}

.cart-empty-state {
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.cart-empty-state span {
    width: 118px;
    height: 118px;
    border-radius: 30px;
    font-size: 58px;
}

.cart-empty-state h2 {
    margin: 0;
    color: #f8fafc;
    font-size: 28px;
    font-weight: 900;
}

.cart-empty-state p {
    margin: 0;
    color: #9aa3af;
    font-size: 24px;
}

.cart-empty-state a,
.cart-pay-btn {
    width: 100%;
    min-height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 18px;
    background: #4059ff;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.cart-item-card,
.cart-summary-card,
.cart-suggestions {
    margin: 28px 0;
    padding: 28px;
    border: 1px solid rgba(78, 88, 109, .72);
    border-radius: 24px;
    background: #131820;
}

.cart-item-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 56px;
    gap: 22px;
    align-items: start;
}

.cart-item-card > img {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    object-fit: cover;
}

.cart-item-main h2 {
    margin: 0 0 14px;
    color: #f8fafc;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 900;
}

.cart-item-main span {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 18px;
    background: #20262e;
    color: #9aa3af;
    font-size: 17px;
    font-weight: 700;
}

.cart-remove {
    margin: 0;
}

.cart-remove button {
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 18px;
    background: #20262e;
    color: #9aa3af;
    font-size: 24px;
    cursor: pointer;
}

.cart-item-card > strong {
    grid-column: 1 / 2;
    color: #4864ff;
    font-size: 26px;
    font-weight: 900;
}

.cart-qty {
    grid-column: 2 / 4;
    justify-self: end;
    min-width: 220px;
    min-height: 58px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    border: 1px solid rgba(78, 88, 109, .72);
    border-radius: 18px;
    background: #20262e;
    overflow: hidden;
}

.cart-qty button {
    height: 100%;
    border: 0;
    background: transparent;
    color: #f8fafc;
    font-size: 28px;
    cursor: pointer;
}

.cart-qty b {
    color: #f8fafc;
    text-align: center;
    font-size: 20px;
}

.cart-discount-block {
    margin: 26px 0;
}

.cart-discount-block h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: #f8fafc;
    font-size: 22px;
    font-weight: 900;
}

.cart-discount-block h3 i {
    color: #4864ff;
}

.cart-discount-block label {
    min-height: 66px;
    display: flex;
    align-items: center;
    padding: 0 12px 0 22px;
    border: 1px solid rgba(78, 88, 109, .72);
    border-radius: 18px;
    background: #0e1218;
}

.cart-discount-block input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f8fafc;
    font-size: 20px;
    font-weight: 800;
}

.cart-discount-block button {
    min-width: 128px;
    min-height: 52px;
    border: 0;
    border-radius: 16px;
    background: #18c978;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.cart-summary-card {
    display: grid;
    gap: 18px;
}

.cart-summary-card div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: #9aa3af;
    font-size: 22px;
}

.cart-summary-card b {
    color: #f8fafc;
    font-weight: 900;
}

.cart-summary-card b.danger {
    color: #ff4b62;
}

.cart-summary-card hr {
    width: 100%;
    border: 0;
    border-top: 1px dashed rgba(78, 88, 109, .66);
}

.cart-actions-row {
    display: grid;
    grid-template-columns: .85fr 2.15fr;
    gap: 18px;
    align-items: stretch;
    margin: 28px 0;
}

.cart-actions-row form {
    margin: 0;
}

.cart-clear-btn {
    width: 100%;
    min-height: 68px;
    border: 1px solid rgba(78, 88, 109, .72);
    border-radius: 18px;
    background: #131820;
    color: #f8fafc;
    font-size: 19px;
    font-weight: 900;
    cursor: pointer;
}

.cart-suggestions {
    border-color: rgba(68, 90, 255, .45);
}

.cart-suggestions h2 {
    width: max-content;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    padding: 12px 22px;
    border: 1px solid rgba(68, 90, 255, .35);
    border-radius: 999px;
    background: #111a33;
    color: #f8fafc;
    font-size: 20px;
    font-weight: 900;
}

.cart-suggestions h2 i {
    color: #4864ff;
}

.cart-suggestion-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.cart-suggestion-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding-bottom: 18px;
    border: 1px solid rgba(78, 88, 109, .66);
    border-radius: 20px;
    background: #0e1218;
    color: #f8fafc;
    text-decoration: none;
}

.cart-suggestion-card img {
    width: 100%;
    aspect-ratio: 1 / .95;
    display: block;
    object-fit: cover;
}

.cart-suggestion-card span {
    display: inline-flex;
    margin: -34px 16px 14px;
    position: relative;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(24, 25, 39, .94);
    color: #f8fafc;
    font-size: 14px;
    font-weight: 900;
}

.cart-suggestion-card b {
    min-height: 54px;
    display: -webkit-box;
    margin: 0 16px 14px;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cart-suggestion-card strong {
    display: block;
    margin: 0 16px;
    color: #16d882;
    font-size: 21px;
    font-weight: 900;
}

.cart-suggestion-card em {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(68, 90, 255, .76);
    border-radius: 17px;
    background: rgba(33, 48, 119, .70);
    color: #7b91ff;
    font-size: 22px;
}

.cart-payment-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .64);
    backdrop-filter: blur(2px);
}

.cart-payment-backdrop[hidden] {
    display: none;
}

.cart-payment-modal {
    width: min(100%, 720px);
    overflow: hidden;
    border-radius: 24px;
    background: #131820;
    border: 1px solid rgba(78, 88, 109, .62);
}

.cart-payment-head {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) 54px;
    align-items: center;
    gap: 18px;
    padding: 28px;
    border-bottom: 1px solid rgba(78, 88, 109, .62);
}

.cart-payment-head span {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #351725;
    color: #ff4b62;
    font-size: 26px;
}

.cart-payment-head h2 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(24px, 5vw, 34px);
    font-weight: 900;
}

.cart-payment-head button {
    width: 54px;
    height: 54px;
    border: 0;
    background: transparent;
    color: #b6bdc8;
    font-size: 34px;
    cursor: pointer;
}

.cart-payment-body {
    padding: 28px;
}

.cart-balance-warning {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px 18px;
    padding: 22px;
    border: 1px solid rgba(255, 75, 98, .52);
    border-radius: 18px;
    background: rgba(76, 19, 35, .40);
}

.cart-balance-warning strong,
.cart-balance-warning b {
    color: #ff4b62;
    font-size: 19px;
    font-weight: 900;
}

.cart-balance-warning p {
    grid-column: 1 / -1;
    margin: 0;
    color: #a4adba;
    font-size: 18px;
}

.cart-payment-body h3 {
    margin: 28px 0 18px;
    color: #9aa3af;
    font-size: 20px;
    font-weight: 900;
}

.cart-payment-methods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.cart-payment-methods button {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(78, 88, 109, .72);
    border-radius: 18px;
    background: #11161f;
    color: #f8fafc;
    cursor: pointer;
}

.cart-payment-methods i {
    color: #4864ff;
    font-size: 34px;
}

.cart-payment-methods b {
    font-size: 18px;
    font-weight: 900;
}

.cart-payment-methods span {
    color: #9aa3af;
    font-size: 15px;
    font-weight: 800;
}

.cart-payment-actions {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 18px;
    padding: 28px;
    border-top: 1px solid rgba(78, 88, 109, .62);
}

.cart-payment-actions button,
.cart-payment-actions a {
    min-height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.cart-payment-actions button {
    background: #20262e;
    color: #f8fafc;
}

.cart-payment-actions a {
    background: #3749bc;
    color: #cbd5e1;
}

@media (max-width: 520px) {
    .support-page-shell,
    .cart-page-shell {
        padding: 0;
    }

    .support-request-card,
    .support-history-card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .support-card-head {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 16px;
        margin-bottom: 24px;
        padding-bottom: 22px;
    }

    .support-card-icon {
        width: 54px;
        height: 54px;
        border-radius: 16px;
        font-size: 28px;
    }

    .support-field {
        gap: 12px;
        margin-bottom: 22px;
    }

    .support-field > strong {
        font-size: 17px;
    }

    .support-field span,
    .support-field textarea {
        min-height: 54px;
        gap: 14px;
        padding: 0 18px;
        border-radius: 16px;
    }

    .support-field select,
    .support-field textarea {
        font-size: 17px;
    }

    .support-field textarea {
        min-height: 190px;
        padding-top: 22px;
    }

    .support-submit-btn {
        min-height: 58px;
        border-radius: 16px;
        font-size: 17px;
    }

    .support-empty-panel {
        min-height: 330px;
        border-radius: 20px;
    }

    .cart-page-head {
        min-height: 96px;
        padding: 14px 0 22px;
    }

    .cart-empty-state {
        min-height: 390px;
    }

    .cart-empty-state a,
    .cart-pay-btn,
    .cart-clear-btn {
        min-height: 58px;
        border-radius: 16px;
        font-size: 17px;
    }

    .cart-item-card,
    .cart-summary-card,
    .cart-suggestions {
        padding: 20px;
        border-radius: 20px;
    }

    .cart-item-card {
        grid-template-columns: 96px minmax(0, 1fr) 46px;
        gap: 14px;
    }

    .cart-item-card > img {
        width: 96px;
        height: 96px;
        border-radius: 14px;
    }

    .cart-item-main h2 {
        font-size: 18px;
    }

    .cart-remove button {
        width: 46px;
        height: 46px;
        border-radius: 15px;
        font-size: 20px;
    }

    .cart-item-card > strong {
        font-size: 22px;
    }

    .cart-qty {
        min-width: 150px;
        min-height: 48px;
        border-radius: 15px;
    }

    .cart-discount-block label {
        min-height: 58px;
        border-radius: 16px;
    }

    .cart-discount-block input {
        font-size: 17px;
    }

    .cart-discount-block button {
        min-width: 104px;
        min-height: 46px;
        border-radius: 14px;
        font-size: 16px;
    }

    .cart-summary-card div {
        font-size: 18px;
    }

    .cart-actions-row {
        grid-template-columns: .9fr 1.6fr;
        gap: 12px;
    }

    .cart-suggestion-grid {
        gap: 14px;
    }

    .cart-suggestion-card {
        border-radius: 18px;
    }

    .cart-suggestion-card b {
        font-size: 15px;
    }

    .cart-suggestion-card strong {
        font-size: 17px;
    }

    .cart-suggestion-card em {
        width: 46px;
        height: 46px;
        border-radius: 15px;
    }

    .cart-payment-modal {
        border-radius: 20px;
    }

    .cart-payment-head {
        grid-template-columns: 52px minmax(0, 1fr) 42px;
        gap: 12px;
        padding: 22px;
    }

    .cart-payment-head span {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .cart-payment-head button {
        width: 42px;
        height: 42px;
        font-size: 28px;
    }

    .cart-payment-body,
    .cart-payment-actions {
        padding: 22px;
    }

    .cart-balance-warning {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .cart-balance-warning strong,
    .cart-balance-warning b,
    .cart-balance-warning p {
        font-size: 16px;
    }

    .cart-payment-methods {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .cart-payment-methods button {
        min-height: 116px;
        border-radius: 15px;
        padding: 8px;
    }

    .cart-payment-methods i {
        font-size: 26px;
    }

    .cart-payment-methods b {
        font-size: 14px;
    }

    .cart-payment-methods span {
        font-size: 12px;
    }

    .cart-payment-actions {
        grid-template-columns: 1fr 1.8fr;
        gap: 12px;
    }

    .cart-payment-actions button,
    .cart-payment-actions a {
        min-height: 54px;
        border-radius: 14px;
        font-size: 16px;
    }
}

/* Final compact override - must stay last */
.mobile-header-menu-trigger.home-menu-trigger {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    border-radius: 17px !important;
    border: 1px solid rgba(31, 39, 52, .96) !important;
    background: linear-gradient(180deg, #1b2029, #171c24) !important;
    color: #eef2f7 !important;
    box-shadow: none !important;
}

.mobile-header-menu-trigger.home-menu-trigger i {
    font-size: 28px !important;
    line-height: 1 !important;
}

body.auth-page {
    min-height: 100dvh;
    overflow: hidden;
}

body.auth-page .site-wrapper {
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
}

body.auth-page .auth-container {
    height: 100dvh;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: max(14px, env(safe-area-inset-bottom));
}

body.auth-page .auth-box {
    width: min(100%, 640px);
    padding: 24px 26px 26px !important;
    border-radius: 20px !important;
}

body.auth-page .auth-logo {
    min-height: 70px !important;
    margin-bottom: 12px !important;
}

body.auth-page .auth-logo-img {
    max-width: 310px !important;
    max-height: 70px !important;
}

body.auth-page .auth-title {
    font-size: 26px !important;
    margin-bottom: 16px !important;
}

body.auth-page .auth-google-btn,
body.auth-page .auth-submit-btn {
    min-height: 52px !important;
    height: 52px !important;
    border-radius: 15px !important;
    font-size: 16px !important;
    gap: 10px !important;
}

body.auth-page .auth-input-wrap {
    min-height: 52px !important;
    border-radius: 15px !important;
    padding: 0 16px !important;
}

body.auth-page .auth-input-wrap .form-control {
    height: 50px !important;
    font-size: 16px !important;
}

body.auth-page .auth-form .form-group {
    margin-bottom: 13px !important;
}

body.auth-page .form-label {
    font-size: 13px !important;
    margin-bottom: 7px !important;
}

body.auth-page .auth-options-row,
body.auth-page .agreement-row label {
    font-size: 13.5px !important;
}

.listing-ref-guarantee {
    display: none !important;
}

.header-auth-btn,
.account-quick-btn,
.support-submit-btn,
.cart-pay-btn,
.cart-clear-btn,
.cart-empty-state a,
.my-listings-add-btn,
.my-orders-filter-tabs button,
.my-orders-search-grid button,
.profile-showcase-tabs button,
.favorite-type-tabs button,
.favorite-bag-btn,
.cart-discount-block button,
.cart-payment-actions button,
.cart-payment-actions a,
.seller-ref-actions a,
.seller-ref-actions button,
.seller-ref-actions span {
    min-height: 46px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
}

.listing-ref-bag,
.buy-box-action {
    min-height: 54px !important;
    border-radius: 14px !important;
}

.buy-box-action {
    font-size: 16px !important;
}

.qty-selector {
    min-height: 58px !important;
}

.qty-btn,
.qty-value {
    font-size: 24px !important;
}

.listing-ref-price-line {
    font-size: 28px !important;
}

.listing-tab-btn {
    font-size: 16px !important;
    padding: 12px 14px !important;
}

.listing-tab-panel p {
    font-size: 17px !important;
}

.listing-ref-desc-title {
    font-size: 24px !important;
}

@media (max-width: 640px) {
    .mobile-header-menu-trigger.home-menu-trigger {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        border-radius: 17px !important;
    }

    .mobile-header-menu-trigger.home-menu-trigger i {
        font-size: 27px !important;
    }

    body.auth-page .auth-container {
        align-items: flex-start !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    body.auth-page .auth-box {
        padding: 18px 18px 20px !important;
        border-radius: 18px !important;
    }

    body.auth-page .auth-logo {
        min-height: 54px !important;
        margin-bottom: 8px !important;
    }

    body.auth-page .auth-logo-img {
        max-width: 250px !important;
        max-height: 54px !important;
    }

    body.auth-page .auth-title {
        font-size: 22px !important;
        margin-bottom: 12px !important;
    }

    body.auth-page .auth-google-btn,
    body.auth-page .auth-submit-btn {
        min-height: 46px !important;
        height: 46px !important;
        border-radius: 13px !important;
        font-size: 14.5px !important;
    }

    body.auth-page .auth-input-wrap {
        min-height: 46px !important;
        border-radius: 13px !important;
        padding: 0 13px !important;
    }

    body.auth-page .auth-input-wrap > i {
        font-size: 17px !important;
    }

    body.auth-page .auth-input-wrap .form-control {
        height: 44px !important;
        font-size: 14.5px !important;
    }

    body.auth-page .auth-form .form-group {
        margin-bottom: 10px !important;
    }

    body.auth-page .agreement-box {
        gap: 8px !important;
        margin: 10px 0 14px !important;
    }

    body.auth-page .auth-footer {
        margin-top: 12px !important;
        font-size: 13px !important;
    }

    .header-auth-btn,
    .account-quick-btn,
    .support-submit-btn,
    .cart-pay-btn,
    .cart-clear-btn,
    .cart-empty-state a,
    .my-listings-add-btn,
    .my-orders-filter-tabs button,
    .my-orders-search-grid button,
    .profile-showcase-tabs button,
    .favorite-type-tabs button,
    .favorite-bag-btn,
    .cart-discount-block button,
    .cart-payment-actions button,
    .cart-payment-actions a,
    .seller-ref-actions a,
    .seller-ref-actions button,
    .seller-ref-actions span {
        min-height: 42px !important;
        border-radius: 12px !important;
        font-size: 13.5px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .account-quick-btn i,
    .header-auth-btn i {
        font-size: 16px !important;
    }

    .support-field span,
    .support-field textarea,
    .cart-discount-block label,
    .seller-ref-filters label,
    .seller-ref-filters div,
    .seller-ref-filters button,
    .seller-ref-listing-head {
        min-height: 48px !important;
        border-radius: 13px !important;
    }

    .cart-payment-methods button {
        min-height: 92px !important;
        border-radius: 13px !important;
    }

    .cart-payment-methods i {
        font-size: 22px !important;
    }

    .cart-payment-methods b {
        font-size: 12.5px !important;
    }

    .cart-payment-methods span {
        font-size: 11px !important;
    }

    .listing-ref-price-line {
        font-size: 24px !important;
        margin-bottom: 8px !important;
    }

    .action-purchase-grid {
        grid-template-columns: 58px minmax(0, 1fr) !important;
    }

    .action-purchase-grid .listing-ref-bag,
    .action-purchase-grid .buy-box-action {
        min-height: 48px !important;
        border-radius: 12px !important;
    }

    .buy-box-action {
        font-size: 14.5px !important;
    }

    .buy-box-action i {
        font-size: 17px !important;
    }

    .qty-selector {
        grid-template-columns: 52px minmax(0, 1fr) 52px !important;
        min-height: 52px !important;
        border-radius: 13px !important;
    }

    .qty-btn,
    .qty-value {
        font-size: 21px !important;
    }

    .listing-tab-btn {
        font-size: 14.5px !important;
        padding: 10px 12px !important;
    }

    .listing-tab-panel p {
        font-size: 15.5px !important;
        line-height: 1.62 !important;
    }

    .listing-ref-desc-title {
        font-size: 21px !important;
    }
}


/* Header button size correction - final EOF */
.mobile-header-menu-trigger.home-menu-trigger {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 15px !important;
}

.mobile-header-menu-trigger.home-menu-trigger i {
    font-size: 23px !important;
}

.header-auth-buttons {
    gap: 8px !important;
}

.header-auth-btn {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 14px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    gap: 8px !important;
}

.header-auth-btn i {
    font-size: 15px !important;
}

.account-quick-btn {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 13px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    gap: 8px !important;
}

.account-quick-btn i {
    font-size: 15px !important;
}

@media (max-width: 640px) {
    .mobile-header-menu-trigger.home-menu-trigger {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        border-radius: 14px !important;
    }

    .mobile-header-menu-trigger.home-menu-trigger i {
        font-size: 22px !important;
    }

    .header-auth-buttons {
        gap: 7px !important;
    }

    .header-auth-btn {
        min-height: 38px !important;
        height: 38px !important;
        padding: 0 11px !important;
        border-radius: 13px !important;
        font-size: 13px !important;
        gap: 7px !important;
    }

    .header-auth-btn i {
        font-size: 14px !important;
    }

    .account-quick-btn {
        min-height: 38px !important;
        height: 38px !important;
        padding: 0 11px !important;
        border-radius: 13px !important;
        font-size: 13px !important;
        gap: 7px !important;
    }

    .account-quick-btn i {
        font-size: 14px !important;
    }
}


/* Header menu smaller - absolute final */
.mobile-header-menu-trigger.home-menu-trigger {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 13px !important;
}

.mobile-header-menu-trigger.home-menu-trigger i {
    font-size: 21px !important;
}

@media (max-width: 640px) {
    .mobile-header-menu-trigger.home-menu-trigger {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        border-radius: 13px !important;
    }

    .mobile-header-menu-trigger.home-menu-trigger i {
        font-size: 20px !important;
    }
}

/* Account drawer compact fit correction */
.account-drawer-panel {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    padding: 0 10px 22px !important;
    border-radius: 0 !important;
}

.account-drawer-head {
    min-height: 74px !important;
    margin: 0 -10px 10px !important;
    padding: 13px 17px 12px !important;
}

.account-drawer-title-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 11px !important;
    font-size: 16px !important;
}

.account-drawer-head strong {
    font-size: 21px !important;
}

.account-drawer-close {
    width: 36px !important;
    height: 36px !important;
    font-size: 27px !important;
}

.account-wallet-card {
    margin-bottom: 10px !important;
    padding: 11px !important;
    border-radius: 16px !important;
}

.account-wallet-user {
    gap: 10px !important;
    margin-bottom: 10px !important;
}

.account-wallet-user img {
    width: 46px !important;
    height: 46px !important;
}

.account-wallet-user strong,
.account-wallet-grid b {
    font-size: 16px !important;
}

.account-wallet-grid {
    gap: 8px !important;
    margin-bottom: 10px !important;
}

.account-wallet-grid div {
    min-height: 54px !important;
    padding: 8px 10px !important;
    border-radius: 12px !important;
}

.account-wallet-grid span {
    font-size: 11.5px !important;
}

.account-wallet-load {
    min-height: 44px !important;
    padding: 0 12px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
}

.account-drawer-group {
    margin-bottom: 10px !important;
    padding: 13px 14px 8px !important;
    border-radius: 16px !important;
}

.account-drawer-group h3 {
    margin-bottom: 11px !important;
    font-size: 11.5px !important;
}

.account-drawer-group a {
    min-height: 41px !important;
    gap: 12px !important;
    font-size: 14.5px !important;
}

.account-drawer-group a > i {
    width: 20px !important;
    min-width: 20px !important;
    font-size: 15px !important;
}

.account-drawer-logout {
    min-height: 46px !important;
    margin-top: 10px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
}

@media (max-width: 390px) {
    .account-drawer-panel {
        width: 100vw !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .account-drawer-head {
        margin-left: -8px !important;
        margin-right: -8px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

/* Messages mobile compact reference */
.messages-title-icon,
.messages-close-btn,
.messages-filter-row,
.messages-filter-btn,
.messages-read-form,
.messages-read-all,
.messages-new-bottom,
.new-chat-field,
.new-chat-message {
    box-sizing: border-box;
}

.messages-title-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(37, 99, 235, .12);
    color: #2f7cff;
    font-size: 20px;
}

.messages-close-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(226, 232, 240, .78);
    text-decoration: none;
    font-size: 26px;
}

.messages-filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px 8px;
}

.messages-filter-btn,
.messages-read-all {
    min-height: 38px;
    border-radius: 15px;
    border: 1px solid rgba(148, 163, 184, .18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    background: rgba(255, 255, 255, .035);
    color: rgba(226, 232, 240, .82);
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
    white-space: nowrap;
}

.messages-filter-btn.active {
    border-color: transparent;
    background: #435cff;
    color: #fff;
}

.messages-read-form {
    margin-left: auto;
}

.messages-read-all {
    border-color: rgba(16, 185, 129, .35);
    background: rgba(16, 185, 129, .12);
    color: #19d384;
}

.messages-new-bottom {
    width: calc(100% - 36px);
    min-height: 56px;
    margin: auto 18px 18px;
    border: 0;
    border-radius: 16px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #16d47b;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
}

.new-chat-field {
    display: grid;
    gap: 10px;
}

.new-chat-field > span {
    color: rgba(226, 232, 240, .68);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.new-chat-message {
    width: 100%;
    min-height: 132px;
    resize: vertical;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 18px;
    background: rgba(5, 8, 14, .72);
    color: #f8fafc;
    padding: 18px;
    outline: 0;
    font-size: 16px;
    font-weight: 700;
}

.new-chat-message::placeholder {
    color: rgba(148, 163, 184, .70);
}

@media (max-width: 700px) {
    .messages-page {
        margin: 0 !important;
        padding: 0 !important;
        min-height: calc(100dvh - 74px) !important;
        background: #080b10 !important;
    }

    .messages-shell {
        min-height: calc(100dvh - 74px) !important;
        background: #080b10 !important;
    }

    .messages-list-panel {
        min-height: calc(100dvh - 74px) !important;
        display: flex !important;
        flex-direction: column !important;
        background: #11151d !important;
    }

    .messages-title-row {
        min-height: 82px !important;
        padding: 16px 18px !important;
        border-bottom: 1px solid rgba(148, 163, 184, .18) !important;
    }

    .messages-title-row h1 {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        font-size: 24px !important;
        line-height: 1 !important;
    }

    .messages-add-btn {
        display: none !important;
    }

    .messages-filter-row {
        padding: 14px 18px 8px !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
    }

    .messages-filter-row::-webkit-scrollbar {
        display: none !important;
    }

    .messages-filter-btn,
    .messages-read-all {
        min-height: 38px !important;
        border-radius: 15px !important;
        padding: 0 13px !important;
        font-size: 13px !important;
    }

    .messages-search {
        height: 50px !important;
        margin: 12px 18px 14px !important;
        border-radius: 15px !important;
        background: #080b10 !important;
        border-color: rgba(148, 163, 184, .08) !important;
    }

    .messages-search input {
        font-size: 15px !important;
    }

    .messages-list {
        flex: 1 1 auto !important;
        max-height: none !important;
        padding: 0 !important;
        gap: 0 !important;
        background: #080b10 !important;
    }

    .messages-list-item {
        min-height: 86px !important;
        border-radius: 0 !important;
        border-width: 1px 0 !important;
        border-color: rgba(148, 163, 184, .12) !important;
        background: #10141b !important;
        padding-right: 8px !important;
    }

    .messages-list-item.active {
        border-left: 4px solid #435cff !important;
        background: #1a2029 !important;
    }

    .messages-list-link {
        grid-template-columns: 46px minmax(0, 1fr) !important;
        gap: 14px !important;
        padding: 12px 0 12px 18px !important;
    }

    .messages-list-link img,
    .messages-peer-card img {
        width: 46px !important;
        height: 46px !important;
        border-radius: 10px !important;
    }

    .messages-list-top {
        align-items: flex-start !important;
    }

    .messages-list-top strong {
        font-size: 17px !important;
    }

    .messages-list-top span {
        font-size: 12px !important;
        color: rgba(148, 163, 184, .76) !important;
    }

    .messages-list-text p {
        margin-top: 5px !important;
        font-size: 14.5px !important;
        color: rgba(226, 232, 240, .76) !important;
    }

    .messages-row-menu {
        display: none !important;
    }

    .messages-new-bottom {
        display: inline-flex !important;
        flex: 0 0 auto !important;
    }

    .new-chat-sheet {
        inset: 0 !important;
        padding: 0 !important;
        align-items: stretch !important;
    }

    .new-chat-box {
        width: 100% !important;
        max-height: none !important;
        min-height: 100dvh !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #080b10 !important;
    }

    .new-chat-head {
        min-height: 82px !important;
        padding: 16px 18px !important;
        border-bottom-color: rgba(148, 163, 184, .18) !important;
        background: #11151d !important;
    }

    .new-chat-head h2 {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        font-size: 22px !important;
    }

    .new-chat-close {
        width: 42px !important;
        height: 42px !important;
        border: 0 !important;
        background: transparent !important;
        font-size: 24px !important;
    }

    .new-chat-form {
        padding: 28px 18px 18px !important;
        gap: 18px !important;
    }

    .new-chat-search {
        height: 52px !important;
        border-radius: 15px !important;
        background: #080b10 !important;
        border-color: rgba(148, 163, 184, .22) !important;
    }

    .new-chat-search input,
    .new-chat-message {
        font-size: 15.5px !important;
    }

    .new-chat-results {
        max-height: 190px !important;
        gap: 8px !important;
    }

    .new-chat-user {
        min-height: 58px !important;
        grid-template-columns: 42px 1fr auto !important;
        border-radius: 14px !important;
        padding: 8px 11px !important;
    }

    .new-chat-user img {
        width: 42px !important;
        height: 42px !important;
    }

    .new-chat-user strong {
        font-size: 15.5px !important;
    }

    .new-chat-user span {
        font-size: 12px !important;
    }

    .new-chat-message {
        min-height: 132px !important;
        border-radius: 16px !important;
        padding: 16px !important;
    }

    .new-chat-start {
        min-height: 56px !important;
        border-radius: 16px !important;
        background: #435cff !important;
        font-size: 16px !important;
    }
}

/* Final compact fixes: messages lock, admin drawer button, profile fit */
.account-drawer-admin {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin: 10px 0 0;
    border: 1px solid rgba(67, 92, 255, .42);
    border-radius: 14px;
    color: #f8fbff;
    background: linear-gradient(135deg, rgba(67, 92, 255, .94), rgba(47, 124, 255, .88));
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
}

.account-drawer-admin i {
    font-size: 15px;
}

@media (max-width: 700px) {
    .main-content:has(.messages-page) {
        height: calc(100dvh - 74px) !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    .messages-page,
    .messages-shell {
        height: 100% !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    .messages-page.no-active .messages-chat-panel {
        display: none !important;
    }

    .messages-page.has-active .messages-list-panel {
        display: none !important;
    }

    .messages-page.has-active .messages-chat-panel,
    .messages-page.no-active .messages-list-panel {
        height: 100% !important;
        min-height: 0 !important;
    }

    .messages-list {
        min-height: 0 !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
    }

    .messages-new-bottom {
        margin-top: 12px !important;
        margin-bottom: max(12px, env(safe-area-inset-bottom)) !important;
    }

    .messages-body {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
    }

    .messages-compose-wrap {
        flex: 0 0 auto !important;
    }
}

/* Selected chat mobile alignment */
.messages-chat-back {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    color: #f8fafc;
    text-decoration: none;
    font-size: 22px;
}

.messages-peer-status {
    width: fit-content;
    max-width: 120px !important;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(148, 163, 184, .14);
    color: rgba(226, 232, 240, .62) !important;
    font-weight: 850;
}

.messages-trust-note {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 8px auto 14px;
    color: #c98b3d;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.messages-trust-note i {
    font-size: 13px;
}

.message-row-avatar {
    display: none;
}

@media (max-width: 700px) {
    .messages-page.has-active .messages-shell {
        display: flex !important;
        flex-direction: column !important;
        background: #080b10 !important;
    }

    .messages-page.has-active .messages-chat-panel {
        display: flex !important;
        flex-direction: column !important;
        background: #080b10 !important;
        overflow: hidden !important;
    }

    .messages-chat-back {
        display: inline-flex !important;
    }

    .messages-chat-header {
        flex: 0 0 82px !important;
        min-height: 82px !important;
        padding: 10px 18px !important;
        gap: 10px !important;
        position: static !important;
        border-bottom: 1px solid rgba(148, 163, 184, .16) !important;
        background: #11151d !important;
    }

    .messages-peer-card {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        gap: 11px !important;
    }

    .messages-peer-card img {
        width: 48px !important;
        height: 48px !important;
        border-radius: 10px !important;
    }

    .messages-peer-card h2 {
        max-width: 38vw !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        font-size: 20px !important;
        line-height: 1.05 !important;
    }

    .messages-peer-status {
        margin-top: 6px !important;
        padding: 5px 12px !important;
        font-size: 13px !important;
        line-height: 1 !important;
    }

    .messages-header-actions {
        flex: 0 0 auto !important;
        gap: 10px !important;
    }

    .messages-icon-btn {
        width: 40px !important;
        height: 40px !important;
        border-radius: 14px !important;
        background: rgba(37, 99, 235, .12) !important;
        border-color: rgba(67, 92, 255, .18) !important;
        color: #435cff !important;
    }

    .messages-alert-btn {
        background: rgba(239, 68, 68, .14) !important;
        border-color: rgba(239, 68, 68, .22) !important;
        color: #ff5964 !important;
    }

    .messages-body {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        padding: 18px 18px 22px !important;
        gap: 10px !important;
        background: #080b10 !important;
        overflow-y: auto !important;
    }

    .messages-trust-note {
        max-width: calc(100vw - 42px) !important;
        margin: 6px auto 12px !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
    }

    .messages-day {
        align-self: center !important;
        margin: 2px auto 12px !important;
        padding: 7px 18px !important;
        border-radius: 999px !important;
        border: 1px solid rgba(148, 163, 184, .18) !important;
        background: #121722 !important;
        color: rgba(226, 232, 240, .66) !important;
        font-size: 13px !important;
    }

    .message-row {
        align-items: flex-end !important;
        margin: 2px 0 !important;
    }

    .message-row-avatar {
        display: block !important;
        width: 38px;
        height: 38px;
        min-width: 38px;
        margin-right: 8px;
        border-radius: 9px;
        object-fit: cover;
        background: #172033;
    }

    .message-bubble {
        max-width: 72% !important;
        padding: 12px 14px !important;
        border-radius: 14px !important;
        box-shadow: none !important;
    }

    .message-row.mine .message-bubble {
        background: #435cff !important;
        border-bottom-right-radius: 8px !important;
    }

    .message-row.theirs .message-bubble {
        background: #121722 !important;
        border: 1px solid rgba(148, 163, 184, .22) !important;
        border-bottom-left-radius: 8px !important;
    }

    .message-bubble p {
        font-size: 16px !important;
        line-height: 1.32 !important;
    }

    .message-bubble small {
        margin-top: 8px !important;
        font-size: 12px !important;
        text-align: right !important;
    }

    .messages-compose-wrap {
        flex: 0 0 auto !important;
        padding: 10px 18px max(10px, env(safe-area-inset-bottom)) !important;
        border-top: 1px solid rgba(148, 163, 184, .16) !important;
        background: #11151d !important;
    }

    .messages-compose {
        grid-template-columns: 42px minmax(0, 1fr) 50px !important;
        gap: 8px !important;
        padding: 0 !important;
        border: 1px solid rgba(148, 163, 184, .22) !important;
        border-radius: 16px !important;
        background: #080b10 !important;
        overflow: hidden !important;
    }

    .messages-attach {
        width: 42px !important;
        height: 48px !important;
        border-radius: 0 !important;
        color: rgba(148, 163, 184, .72) !important;
    }

    .messages-compose textarea {
        min-height: 48px !important;
        max-height: 86px !important;
        padding: 14px 4px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        font-size: 15px !important;
    }

    .messages-send {
        width: 44px !important;
        height: 44px !important;
        margin-right: 4px !important;
        border-radius: 50% !important;
        background: #435cff !important;
        font-size: 17px !important;
        box-shadow: none !important;
    }

    .messages-compose-status {
        padding: 6px 0 0 !important;
    }
}

.profile-showcase-page {
    width: min(100%, 760px) !important;
    margin-bottom: 18px !important;
    padding-top: 24px !important;
}

.profile-cover-upload {
    margin: 0 12px 58px !important;
}

.profile-cover-upload label {
    min-height: 38px !important;
    border-radius: 13px !important;
    padding: 0 16px !important;
    font-size: 13px !important;
}

.profile-showcase-card {
    max-width: 720px !important;
    margin-bottom: 18px !important;
    padding: 82px 20px 20px !important;
    border-radius: 18px !important;
}

.profile-showcase-avatar {
    width: 104px !important;
    height: 104px !important;
}

.profile-showcase-name h1 {
    font-size: clamp(24px, 5vw, 34px) !important;
}

.profile-mini-rating {
    margin: 8px 0 12px !important;
}

.profile-showcase-actions {
    gap: 10px !important;
    margin-bottom: 14px !important;
}

.profile-edit-link,
.profile-sort-main {
    min-height: 40px !important;
    border-radius: 13px !important;
    padding: 0 15px !important;
    font-size: 13.5px !important;
}

.profile-showcase-tabs {
    gap: 8px !important;
    padding-bottom: 2px !important;
}

.profile-showcase-tabs button {
    min-height: 38px !important;
    border-radius: 12px !important;
    padding: 0 12px !important;
    font-size: 12.5px !important;
}

.profile-showcase-filters {
    max-width: 720px !important;
    margin: 0 auto 14px !important;
    gap: 10px !important;
}

.profile-showcase-search,
.profile-delivery-toggle,
.profile-showcase-sort {
    min-height: 42px !important;
    border-radius: 13px !important;
    font-size: 13px !important;
}

@media (max-width: 700px) {
    .profile-showcase-page {
        width: 100% !important;
        margin: 0 !important;
        padding: 14px 10px 0 !important;
    }

    .profile-cover-upload {
        margin: 0 0 44px !important;
    }

    .profile-cover-upload label {
        min-height: 34px !important;
        max-width: 100% !important;
        padding: 0 12px !important;
        font-size: 11.5px !important;
    }

    .profile-showcase-card {
        padding: 66px 14px 15px !important;
        margin-bottom: 12px !important;
        border-radius: 16px !important;
    }

    .profile-showcase-avatar {
        width: 88px !important;
        height: 88px !important;
    }

    .profile-avatar-camera {
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
    }

    .profile-showcase-name h1 {
        font-size: 24px !important;
    }

    .profile-showcase-actions {
        grid-template-columns: 1fr 1fr !important;
        margin-bottom: 11px !important;
    }

    .profile-edit-link,
    .profile-sort-main {
        min-height: 36px !important;
        padding: 0 10px !important;
        font-size: 12.5px !important;
    }

    .profile-showcase-tabs {
        overflow-x: auto !important;
        scrollbar-width: none !important;
    }

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

    .profile-showcase-tabs button {
        min-height: 35px !important;
        flex: 0 0 auto !important;
        padding: 0 10px !important;
        font-size: 12px !important;
    }

    .profile-showcase-filters {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        margin-bottom: 10px !important;
    }

    .profile-showcase-search,
    .profile-delivery-toggle,
    .profile-showcase-sort {
        min-height: 38px !important;
        border-radius: 12px !important;
        font-size: 12.5px !important;
    }

    .profile-showcase-empty {
        min-height: 120px !important;
        padding: 18px !important;
    }

    .profile-showcase-empty span {
        width: 52px !important;
        height: 52px !important;
        font-size: 22px !important;
    }

    .profile-showcase-empty h2 {
        font-size: 18px !important;
    }
}

/* Messages keyboard stable viewport fix */
@media (max-width: 700px) {
    html:has(.messages-page),
    body:has(.messages-page) {
        height: 100vh !important;
        min-height: 100vh !important;
        overflow: hidden !important;
    }

    .site-wrapper:has(.messages-page),
    .main-content:has(.messages-page),
    .messages-page,
    .messages-shell,
    .messages-page.has-active .messages-chat-panel,
    .messages-page.no-active .messages-list-panel {
        height: calc(100vh - 74px) !important;
        min-height: calc(100vh - 74px) !important;
        max-height: calc(100vh - 74px) !important;
        overflow: hidden !important;
    }

    .messages-page.has-active .messages-chat-panel {
        height: calc(100vh - 74px) !important;
    }

    .messages-body,
    .messages-list {
        min-height: 0 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .messages-compose textarea,
    .new-chat-search input,
    .new-chat-message {
        font-size: 16px !important;
    }

    .messages-compose textarea:focus,
    .new-chat-search input:focus,
    .new-chat-message:focus {
        font-size: 16px !important;
        transform: none !important;
    }
}

/* Messages page drawer mode - final */
@media (max-width: 700px) {
    html:has(.messages-page),
    body:has(.messages-page) {
        height: auto !important;
        min-height: 100% !important;
        overflow: auto !important;
        position: static !important;
        touch-action: auto !important;
    }

    .site-wrapper:has(.messages-page),
    .main-content:has(.messages-page) {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 0 !important;
        margin: 0 !important;
        touch-action: auto !important;
    }

    .messages-page {
        position: fixed !important;
        inset: 0 !important;
        z-index: 2300 !important;
        width: 100vw !important;
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: #080b10 !important;
        transform: translateX(0) !important;
        animation: messagesDrawerIn .24s ease-out both;
        touch-action: auto !important;
    }

    @keyframes messagesDrawerIn {
        from {
            transform: translateX(100%);
        }
        to {
            transform: translateX(0);
        }
    }

    .messages-shell {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: 100vh !important;
        border: 0 !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        background: #080b10 !important;
        box-shadow: none !important;
        touch-action: auto !important;
    }

    .messages-page.no-active .messages-list-panel,
    .messages-page.has-active .messages-chat-panel {
        display: flex !important;
        flex: 1 1 auto !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: 100vh !important;
        overflow: hidden !important;
        touch-action: auto !important;
    }

    .messages-page.no-active .messages-chat-panel,
    .messages-page.has-active .messages-list-panel {
        display: none !important;
    }

    .messages-title-row,
    .messages-chat-header,
    .new-chat-head {
        flex: 0 0 auto !important;
    }

    .messages-list,
    .messages-body,
    .new-chat-form {
        min-height: 0 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
    }

    .messages-compose-wrap {
        flex: 0 0 auto !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .messages-compose textarea,
    .new-chat-search input,
    .new-chat-message {
        pointer-events: auto !important;
        user-select: text !important;
        -webkit-user-select: text !important;
        touch-action: manipulation !important;
        font-size: 16px !important;
    }

    .new-chat-sheet {
        position: fixed !important;
        inset: 0 !important;
        z-index: 2400 !important;
        display: flex !important;
        justify-content: stretch !important;
        align-items: stretch !important;
        padding: 0 !important;
        background: #080b10 !important;
        transform: translateX(0) !important;
        animation: messagesDrawerIn .24s ease-out both;
        touch-action: auto !important;
    }

    .new-chat-sheet[hidden] {
        display: none !important;
    }

    .new-chat-backdrop {
        display: none !important;
    }

    .new-chat-box {
        width: 100% !important;
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #080b10 !important;
        box-shadow: none !important;
    }
}

/* Header auth and profile showcase final compact pass */
.header-auth-buttons {
    gap: 6px !important;
}

.header-auth-btn {
    min-height: 34px !important;
    height: 34px !important;
    padding: 0 10px !important;
    border-radius: 11px !important;
    font-size: 12.5px !important;
    gap: 6px !important;
}

.header-auth-btn i {
    font-size: 13px !important;
}

.profile-showcase-card {
    overflow: hidden !important;
    padding-top: 118px !important;
}

.profile-showcase-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 118px;
    overflow: hidden;
    background: #090d14;
}

.profile-showcase-banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.profile-showcase-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 13, 20, 0.05), rgba(19, 24, 32, 0.95));
}

.profile-avatar-upload {
    top: 56px !important;
    z-index: 2 !important;
}

.profile-showcase-name {
    position: relative;
    z-index: 2;
    margin-top: 20px !important;
    margin-bottom: 8px !important;
}

.profile-verified-tick {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: #fff;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
    font-size: 11px;
}

.profile-sales-stats {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 12px;
}

.profile-sales-stat {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid transparent;
}

.profile-sales-stat em {
    font-style: normal;
}

.profile-sales-stat b {
    color: #fff;
    font-size: 13px;
    line-height: 1;
}

.profile-sales-stat.success {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.28);
}

.profile-sales-stat.danger {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.28);
}

.profile-showcase-tabs button.active b {
    min-width: 20px !important;
    height: 20px !important;
    margin-left: 2px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.14) !important;
    font-size: 11px !important;
}

@media (max-width: 640px) {
    .header-auth-buttons {
        gap: 5px !important;
    }

    .header-auth-btn {
        min-height: 32px !important;
        height: 32px !important;
        padding: 0 8px !important;
        border-radius: 10px !important;
        font-size: 11.5px !important;
        gap: 5px !important;
    }

    .header-auth-btn i {
        font-size: 12px !important;
    }

    .profile-showcase-card {
        padding-top: 104px !important;
    }

    .profile-showcase-banner {
        height: 102px;
    }

    .profile-avatar-upload {
        top: 48px !important;
    }

    .profile-showcase-name {
        margin-top: 18px !important;
        margin-bottom: 7px !important;
    }

    .profile-verified-tick {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .profile-sales-stats {
        gap: 6px;
        margin-bottom: 10px;
    }

    .profile-sales-stat {
        min-height: 27px;
        padding: 0 8px;
        gap: 6px;
        font-size: 10.5px;
    }

    .profile-sales-stat b {
        font-size: 12px;
    }
}

/* Profile card overlap fix */
.profile-showcase-card {
    padding-top: 148px !important;
}

.profile-showcase-banner {
    height: 96px !important;
}

.profile-avatar-upload {
    top: 50px !important;
}

.profile-showcase-avatar {
    width: 88px !important;
    height: 88px !important;
    border-width: 4px !important;
}

.profile-avatar-camera {
    width: 26px !important;
    height: 26px !important;
    font-size: 11px !important;
}

.profile-avatar-online {
    width: 13px !important;
    height: 13px !important;
    right: 10px !important;
    bottom: 7px !important;
}

.profile-showcase-name {
    margin-top: 12px !important;
    margin-bottom: 8px !important;
}

.profile-showcase-name h1 {
    font-size: 25px !important;
    line-height: 1.15 !important;
}

.profile-sales-stats {
    margin-bottom: 12px !important;
}

.profile-mini-rating {
    display: none !important;
}

.profile-showcase-tabs button.active b {
    display: none !important;
}

@media (max-width: 640px) {
    .profile-showcase-card {
        padding-top: 128px !important;
    }

    .profile-showcase-banner {
        height: 84px !important;
    }

    .profile-avatar-upload {
        top: 42px !important;
    }

    .profile-showcase-avatar {
        width: 78px !important;
        height: 78px !important;
        border-width: 3px !important;
    }

    .profile-avatar-camera {
        width: 23px !important;
        height: 23px !important;
        font-size: 10px !important;
    }

    .profile-avatar-online {
        width: 11px !important;
        height: 11px !important;
        right: 9px !important;
        bottom: 6px !important;
    }

    .profile-showcase-name h1 {
        font-size: 20px !important;
    }

    .profile-showcase-name {
        margin-top: 10px !important;
    }

    .profile-sales-stats {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100% !important;
        max-width: 310px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .profile-sales-stat {
        justify-content: center !important;
        white-space: nowrap !important;
    }
}

/* Account header quick actions (Bakiye/İlan/mesaj/bildirim/profil) - final compact sizing v2 */
.account-header-bar {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

.account-header-left,
.account-header-right {
    gap: 6px !important;
    flex: 0 0 auto !important;
}

.account-quick-btn {
    min-height: 34px !important;
    height: 34px !important;
    padding: 0 13px !important;
    border-radius: 11px !important;
    gap: 5px !important;
    font-size: 12.5px !important;
}

.account-quick-btn i {
    font-size: 13px !important;
}

.account-header-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 12px !important;
    font-size: 15.5px !important;
}

.account-header-icon .notification-badge {
    top: -5px !important;
    right: -5px !important;
    min-width: 15px !important;
    height: 15px !important;
    font-size: 8.5px !important;
}

.account-profile-pill {
    height: 34px !important;
    min-width: 82px !important;
    padding: 3px 9px 3px 3px !important;
    border-radius: 13px !important;
    font-size: 12.5px !important;
    gap: 5px !important;
}

.account-profile-pill img {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
}

@media (max-width: 380px) {
    .account-header-bar {
        gap: 8px !important;
    }

    .account-header-left,
    .account-header-right {
        gap: 4px !important;
    }

    .account-quick-btn {
        min-height: 31px !important;
        height: 31px !important;
        padding: 0 9px !important;
        border-radius: 10px !important;
        gap: 4px !important;
        font-size: 11px !important;
    }

    .account-quick-btn i {
        font-size: 12px !important;
    }

    .account-header-icon {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        border-radius: 11px !important;
        font-size: 14px !important;
    }

    .account-profile-pill {
        height: 31px !important;
        min-width: 72px !important;
        padding: 3px 7px 3px 3px !important;
        font-size: 11px !important;
    }

    .account-profile-pill img {
        width: 25px !important;
        height: 25px !important;
    }
}
.account-wallet-load + .account-wallet-load{margin-top:8px}

/* Compact centered buttons for support and withdraw pages */
.support-page-shell .support-submit-btn {
    width: min(100%, 270px) !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-height: 42px !important;
    padding: 9px 14px !important;
    margin: 10px auto 0 !important;
    border-radius: 13px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    text-align: center !important;
    white-space: normal !important;
}

.support-page-shell .support-submit-btn i {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    line-height: 1 !important;
    transform: none !important;
}

@media (max-width: 640px) {
    .support-page-shell .support-submit-btn {
        width: min(100%, 250px) !important;
        min-height: 40px !important;
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
}

/* Final compact no-overflow overrides for support and withdraw pages */
.support-page-shell,
.withdraw-page-shell {
    width: min(100%, 720px) !important;
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}
.support-page-shell *,
.support-page-shell *::before,
.support-page-shell *::after,
.withdraw-page-shell *,
.withdraw-page-shell *::before,
.withdraw-page-shell *::after {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0;
}
.support-page-shell {
    padding: 4px !important;
    margin-bottom: 22px !important;
}
.support-request-card,
.support-history-card {
    width: 100% !important;
    padding: 18px !important;
    margin-bottom: 16px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}
.support-card-head {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    margin-bottom: 16px !important;
    padding-bottom: 14px !important;
}
.support-card-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 12px !important;
    font-size: 20px !important;
}
.support-card-head h1,
.support-card-head h2 {
    margin-bottom: 4px !important;
    font-size: clamp(20px, 4.8vw, 26px) !important;
    line-height: 1.12 !important;
}
.support-card-head p {
    font-size: clamp(12.5px, 3.3vw, 15px) !important;
    line-height: 1.35 !important;
}
.support-field {
    gap: 8px !important;
    margin-bottom: 14px !important;
}
.support-field > strong {
    font-size: 13.5px !important;
    line-height: 1.25 !important;
}
.support-field span,
.support-field textarea {
    width: 100% !important;
    min-height: 44px !important;
    gap: 9px !important;
    padding: 0 12px !important;
    border-radius: 13px !important;
}
.support-field span > i:first-child {
    font-size: 16px !important;
}
.support-field span > i:last-child {
    font-size: 13px !important;
}
.support-field select,
.support-field textarea {
    font-size: 14px !important;
    font-weight: 700 !important;
    min-width: 0 !important;
}
.support-field select {
    text-overflow: ellipsis !important;
}
.support-field textarea {
    min-height: 126px !important;
    padding-top: 12px !important;
    line-height: 1.45 !important;
}
.support-page-shell .support-submit-btn {
    width: min(100%, 220px) !important;
    max-width: 220px !important;
    min-height: 36px !important;
    padding: 7px 11px !important;
    margin: 8px auto 0 !important;
    border-radius: 11px !important;
    font-size: 12.5px !important;
    line-height: 1.15 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-align: center !important;
    white-space: normal !important;
}
.support-page-shell form {
    display: block !important;
    text-align: center !important;
}
.support-page-shell .support-field {
    text-align: left !important;
}
.support-ticket-list {
    gap: 10px !important;
}
.support-ticket-item {
    padding: 12px !important;
    border-radius: 13px !important;
}
.support-ticket-item div {
    gap: 8px !important;
    align-items: flex-start !important;
}
.support-ticket-item strong {
    font-size: 14px !important;
    line-height: 1.25 !important;
}
.support-ticket-item p {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere !important;
}
.support-ticket-item small {
    font-size: 11.5px !important;
}
.support-empty-panel {
    min-height: 220px !important;
    gap: 10px !important;
    border-radius: 15px !important;
    padding: 20px 12px !important;
}
.support-empty-panel i {
    font-size: 42px !important;
}
.support-empty-panel h3 {
    font-size: 18px !important;
}
.support-empty-panel p {
    font-size: 12.5px !important;
}
@media (max-width: 640px) {
    .support-page-shell,
    .withdraw-page-shell {
        width: 100% !important;
        max-width: 100% !important;
    }
    .support-page-shell {
        padding: 0 !important;
    }
    .support-request-card,
    .support-history-card {
        padding: 14px !important;
        border-radius: 14px !important;
        margin-bottom: 12px !important;
    }
    .support-card-head {
        grid-template-columns: 38px minmax(0, 1fr) !important;
        gap: 10px !important;
        margin-bottom: 13px !important;
        padding-bottom: 12px !important;
    }
    .support-card-icon {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        border-radius: 10px !important;
        font-size: 17px !important;
    }
    .support-card-head h1,
    .support-card-head h2 {
        font-size: 19px !important;
    }
    .support-card-head p {
        font-size: 12px !important;
    }
    .support-field span,
    .support-field textarea {
        min-height: 42px !important;
        padding: 0 10px !important;
        border-radius: 12px !important;
    }
    .support-field select,
    .support-field textarea {
        font-size: 13.5px !important;
    }
    .support-field textarea {
        min-height: 118px !important;
        padding-top: 10px !important;
    }
    .support-page-shell .support-submit-btn {
        width: min(100%, 210px) !important;
        max-width: 210px !important;
        min-height: 35px !important;
        padding: 7px 10px !important;
        font-size: 12px !important;
    }
    .support-ticket-item div {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .support-ticket-item .badge {
        justify-self: start !important;
    }
}
