.home-news-media-grid {
    width: 100%;
    display: grid;
    gap: 3px;
    background: #111827;
    overflow: hidden;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.home-media-tile {
    width: 100%;
    min-width: 0;
    min-height: 0;
    border: 0;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    display: block;
    background: #111827;
    cursor: pointer;
}

.home-media-tile img,
.home-media-tile video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #111827;
}

.home-media-tile video {
    pointer-events: none;
}

.home-news-media-grid.media-count-1 {
    display: block;
    height: 295px;
}

.home-news-media-grid.media-count-1 .home-media-tile {
    height: 295px;
}

.home-news-media-grid.media-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 270px;
}

.home-news-media-grid.media-count-2 .home-media-tile {
    height: 270px;
}

.home-news-media-grid.media-count-3 {
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: repeat(2, 145px);
    height: 293px;
}

.home-news-media-grid.media-count-3 .home-media-tile:first-child {
    grid-row: 1 / span 2;
}

.home-news-media-grid.media-count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 145px);
    height: 293px;
}

.home-video-play-badge {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    color: #ffffff;
    pointer-events: none;
}

.home-video-play-badge ion-icon {
    width: 44px;
    height: 44px;
    padding: 11px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.54);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.home-media-more-overlay {
    position: absolute;
    inset: 0;
    z-index: 7;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2.5px);
    -webkit-backdrop-filter: blur(2.5px);
    color: #ffffff;
    pointer-events: none;
}

.home-media-more-overlay span {
    min-width: 70px;
    min-height: 54px;
    padding: 0 18px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

@media (max-width: 520px) {
    .home-news-media-grid.media-count-1,
    .home-news-media-grid.media-count-1 .home-media-tile {
        height: 300px;
    }

    .home-news-media-grid.media-count-2,
    .home-news-media-grid.media-count-2 .home-media-tile {
        height: 260px;
    }

    .home-news-media-grid.media-count-3 {
        grid-template-rows: repeat(2, 140px);
        height: 283px;
    }

    .home-news-media-grid.media-count-4 {
        grid-template-rows: repeat(2, 140px);
        height: 283px;
    }

    .home-media-more-overlay span {
        min-width: 66px;
        min-height: 50px;
        font-size: 31px;
    }
}

@media (max-width: 390px) {
    .home-news-media-grid.media-count-1,
    .home-news-media-grid.media-count-1 .home-media-tile {
        height: 270px;
    }

    .home-news-media-grid.media-count-2,
    .home-news-media-grid.media-count-2 .home-media-tile {
        height: 230px;
    }

    .home-news-media-grid.media-count-3 {
        grid-template-rows: repeat(2, 125px);
        height: 253px;
    }

    .home-news-media-grid.media-count-4 {
        grid-template-rows: repeat(2, 125px);
        height: 253px;
    }
}
/* ===== HOME FEED META TIME FIX ===== */

.news-card .meta-line {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    line-height: 1.35 !important;
    max-width: 100% !important;
}

.news-card .author-meta {
    min-width: 0 !important;
    flex: 1 !important;
}

.news-card .author-line strong {
    max-width: 190px !important;
}

@media (max-width: 430px) {
    .news-card .author-line strong {
        max-width: 170px !important;
    }

    .news-card .meta-line {
        font-size: 11.5px !important;
    }
}
/* ===== GLOBAL FONT FAMILY ===== */

html,
body,
button,
input,
textarea,
select,
a,
p,
span,
strong,
small,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
/* ===== FINAL HARD FIX: HOME HEADER ALWAYS FIXED TOP ===== */

@media (max-width: 1024px) {
    .phone-frame {
        padding-top: 146px !important;
        overflow: visible !important;
    }

    .top-nav-fixed {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 999999 !important;

        width: 100vw !important;
        max-width: 100vw !important;

        background:
            radial-gradient(circle at 12% 0%, rgba(220, 38, 38, 0.16), transparent 36%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.96)) !important;

        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;

        border-bottom: 1px solid rgba(226, 232, 240, 0.95) !important;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10) !important;

        transform: none !important;
        overflow: hidden !important;
    }

    .premium-home-topbar {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        min-height: 82px !important;

        padding: calc(env(safe-area-inset-top, 0px) + 14px) 18px 12px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .premium-home-topbar::before {
        content: "";
        position: absolute;
        left: 18px;
        right: 18px;
        bottom: 0;
        height: 1px;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(220, 38, 38, 0.20),
            rgba(15, 23, 42, 0.08),
            transparent
        );
    }

    .premium-brand-row {
        min-width: 0 !important;
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        gap: 11px !important;
        overflow: hidden !important;
    }

    .premium-logo-wrap {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        max-width: 50px !important;
        flex: 0 0 50px !important;
        border-radius: 100% !important;
        padding: 3px !important;
        overflow: hidden !important;
    }

    .premium-brand-logo {
        width: 44px !important;
        height: 44px !important;
        max-width: 44px !important;
        max-height: 44px !important;
        border-radius: 15px !important;
        object-fit: cover !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .premium-brand-text {
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .premium-brand-text h2 {
        font-size: 19px !important;
        line-height: 1.1 !important;
        font-weight: 600 !important;
        color: #dc2626 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .premium-brand-text p {
        margin-top: 5px !important;
        font-size: 10.8px !important;
        line-height: 1.1 !important;
        font-weight: 600 !important;
        color: #0f172a !important;
        max-width: 220px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .premium-home-actions {
        flex: 0 0 auto !important;
        gap: 8px !important;
    }

    .premium-notification-btn {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        flex: 0 0 46px !important;
        border-radius: 17px !important;
    }

    .premium-category-strip {
        width: 100% !important;
        padding: 10px 18px 14px !important;
        gap: 10px !important;
        background: transparent !important;
    }

    .premium-category-strip .category-chip {
        min-height: 40px !important;
        padding: 0 18px !important;
        font-size: 12.8px !important;
        font-weight: 500 !important;
    }

    .feed-header-row {
        padding-top: 10px !important;
    }
}

@media (max-width: 380px) {
    .phone-frame {
        padding-top: 142px !important;
    }

    .premium-brand-text h2 {
        font-size: 18px !important;
    }

    .premium-brand-text p {
        max-width: 190px !important;
    }

    .premium-logo-wrap {
        width: 47px !important;
        height: 47px !important;
        min-width: 47px !important;
        flex-basis: 47px !important;
    }

    .premium-brand-logo {
        width: 41px !important;
        height: 41px !important;
    }

    .premium-notification-btn {
        width: 43px !important;
        height: 43px !important;
        min-width: 43px !important;
        flex-basis: 43px !important;
    }
}

/* Desktop par phone frame ke andar sticky rakho */
@media (min-width: 1025px) {
    .top-nav-fixed {
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
    }
}
/* ===== FACEBOOK STYLE FULL SCREEN COMMENT MODAL ===== */

.comment-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    z-index: 999999 !important;
    background: #ffffff !important;
}

.comment-modal[hidden] {
    display: none !important;
}

.comment-backdrop {
    display: none !important;
}

.comment-sheet {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    transform: translateY(100%) !important;
    transition: transform 0.22s ease !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

.comment-modal.visible .comment-sheet {
    transform: translateY(0) !important;
}

.sheet-handle {
    display: none !important;
}

.comment-sheet-header {
    min-height: 64px !important;
    padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px 12px !important;
    border-bottom: 1px solid #e5e7eb !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 0 0 auto !important;
}

.comment-sheet-header h3 {
    margin: 0 !important;
    color: #0f172a !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
}

.comment-sheet-header p {
    margin: 3px 0 0 !important;
    color: #64748b !important;
    font-size: 11.5px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
    max-width: 250px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.sheet-close-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 999px !important;
    border: 0 !important;
    background: #f1f5f9 !important;
    color: #0f172a !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
}

.sheet-close-btn ion-icon {
    font-size: 22px !important;
}

.comment-list {
    flex: 1 1 auto !important;
    height: auto !important;
    max-height: none !important;
    overflow-y: auto !important;
    padding: 14px 14px 100px !important;
    background: #ffffff !important;
}

.comment-item {
    display: flex !important;
    gap: 10px !important;
    align-items: flex-start !important;
    margin-bottom: 13px !important;
}

.comment-avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 999px !important;
    object-fit: cover !important;
    flex: 0 0 36px !important;
    background: #f1f5f9 !important;
}

.comment-avatar.fallback {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #64748b !important;
}

.comment-bubble {
    max-width: calc(100vw - 74px) !important;
    background: #f1f5f9 !important;
    border-radius: 18px !important;
    padding: 9px 12px !important;
}

.comment-bubble strong {
    display: block !important;
    margin-bottom: 3px !important;
    color: #0f172a !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
}

.comment-bubble p {
    margin: 0 !important;
    color: #1e293b !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    word-break: break-word !important;
}

.comment-bubble span {
    display: block !important;
    margin-top: 4px !important;
    color: #64748b !important;
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
}

.empty-comments,
.comment-loading {
    min-height: 60vh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    color: #64748b !important;
}

.empty-comments ion-icon {
    font-size: 42px !important;
    color: #cbd5e1 !important;
}

.empty-comments h4 {
    margin: 10px 0 4px !important;
    color: #0f172a !important;
    font-size: 17px !important;
    font-weight: 600 !important;
}

.empty-comments p,
.comment-loading p {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

.comment-form {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    min-height: 72px !important;
    padding: 10px 12px calc(env(safe-area-inset-bottom, 0px) + 10px) !important;
    background: #ffffff !important;
    border-top: 1px solid #e5e7eb !important;
    display: flex !important;
    align-items: flex-end !important;
    gap: 9px !important;
    z-index: 1000000 !important;
}

.comment-form textarea {
    flex: 1 !important;
    min-height: 44px !important;
    max-height: 120px !important;
    resize: none !important;
    border: 0 !important;
    outline: none !important;
    border-radius: 22px !important;
    background: #f1f5f9 !important;
    color: #0f172a !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
}

.comment-form textarea::placeholder {
    color: #94a3b8 !important;
}

.comment-send-btn {
    width: 44px !important;
    height: 44px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #dc2626 !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 44px !important;
}

.comment-send-btn ion-icon {
    font-size: 20px !important;
}

/* Body scroll lock when comment modal is open */
body.comment-modal-open {
    overflow: hidden !important;
    height: 100dvh !important;
}
/* ===== HOME FEED STATS ROW CLEAN ALIGN ===== */

.stats-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 10px 14px 8px !important;
    color: #64748b !important;
    font-size: 12.5px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
}

.stats-row span {
    flex: 1 !important;
    color: #64748b !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
}

.stats-row span:nth-child(1) {
    text-align: left !important;
}

.stats-row span:nth-child(2) {
    text-align: center !important;
}

.stats-row span:nth-child(3) {
    text-align: right !important;
}

@media (max-width: 380px) {
    .stats-row {
        gap: 6px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        font-size: 11.5px !important;
    }

    .stats-row span {
        font-size: 11.5px !important;
    }
}
/* ===== FORCE HOME STATS ROW HORIZONTAL ===== */

.news-card .stats-row {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    align-items: center !important;
    justify-content: normal !important;
    gap: 6px !important;

    padding: 10px 14px 9px !important;
    margin: 0 !important;

    border-top: 1px solid rgba(226, 232, 240, 0.85) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;

    color: #64748b !important;
    background: #ffffff !important;
    text-align: unset !important;
    flex-direction: unset !important;
}

.news-card .stats-row > span {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    color: #64748b !important;
    font-size: 12.5px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    white-space: nowrap !important;

    flex: unset !important;
    float: none !important;
}

.news-card .stats-row > span:nth-child(1) {
    text-align: left !important;
}

.news-card .stats-row > span:nth-child(2) {
    text-align: center !important;
}

.news-card .stats-row > span:nth-child(3) {
    text-align: right !important;
}

@media (max-width: 380px) {
    .news-card .stats-row {
        padding-left: 12px !important;
        padding-right: 12px !important;
        gap: 4px !important;
    }

    .news-card .stats-row > span {
        font-size: 11.2px !important;
    }
}
.news-card .stats-row {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 10px 14px 9px !important;
    margin: 0 !important;
    border-top: 1px solid rgba(226, 232, 240, 0.85) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
    background: #ffffff !important;
}

.news-card .stats-row > span,
.news-card .stats-row > button {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    font-size: 12.5px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
}

.news-card .stats-row > span:nth-child(1) {
    text-align: left !important;
}

.news-card .stats-row > button:nth-child(2) {
    text-align: center !important;
    cursor: pointer !important;
}

.news-card .stats-row > span:nth-child(3) {
    text-align: right !important;
}

.news-card .stats-comment-btn:hover {
    color: #dc2626 !important;
    text-decoration: underline !important;
}

/* ===== FINAL HOME FEED IMAGE + STATS HARD FIX ===== */

/* Uploaded news image/media full card width */
.news-card .home-news-media-grid,
.news-card .news-media-grid,
.news-card .media-grid,
.news-card .news-media-wrap,
.news-card .news-media,
.news-card .media-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block !important;
    overflow: hidden !important;
    background: #111827 !important;
}

.news-card .home-news-media-grid.media-count-1 {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.news-card .home-news-media-grid.media-count-1 .home-media-tile {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.news-card .home-news-media-grid.media-count-1 .home-media-tile img,
.news-card .home-news-media-grid.media-count-1 .home-media-tile video {
    width: 100% !important;
    height: auto !important;
    min-height: 260px !important;
    max-height: 520px !important;
    object-fit: cover !important;
    display: block !important;
}

/* Multiple media layout stays proper */
.news-card .home-news-media-grid.media-count-2,
.news-card .home-news-media-grid.media-count-3,
.news-card .home-news-media-grid.media-count-4 {
    width: 100% !important;
}

/* Any direct image inside news card should not shrink */
.news-card img {
    max-width: 100% !important;
}

/* Stats values row: 1 Likes | 0 Comments | 7 Shares */
.news-card .stats-row {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 10px 14px 9px !important;
    margin: 0 !important;
    background: #ffffff !important;
    border-top: 1px solid rgba(226, 232, 240, 0.85) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
}

.news-card .stats-row > span,
.news-card .stats-row > button,
.news-card .stats-row > a {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    font-size: 12.5px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}

.news-card .stats-row > *:nth-child(1) {
    text-align: left !important;
}

.news-card .stats-row > *:nth-child(2) {
    text-align: center !important;
}

.news-card .stats-row > *:nth-child(3) {
    text-align: right !important;
}

/* Action buttons row: Like | Comment | Share */
.news-card .action-row,
.news-card .news-actions,
.news-card .post-actions,
.news-card .feed-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 7px 8px !important;
    margin: 0 !important;
    background: #ffffff !important;
}

.news-card .action-row button,
.news-card .action-row a,
.news-card .news-actions button,
.news-card .news-actions a,
.news-card .post-actions button,
.news-card .post-actions a,
.news-card .feed-actions button,
.news-card .feed-actions a {
    width: 100% !important;
    min-height: 38px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.news-card .action-row button:hover,
.news-card .action-row a:hover,
.news-card .news-actions button:hover,
.news-card .news-actions a:hover,
.news-card .post-actions button:hover,
.news-card .post-actions a:hover,
.news-card .feed-actions button:hover,
.news-card .feed-actions a:hover {
    background: #f8fafc !important;
    color: #dc2626 !important;
}

.news-card .action-row ion-icon,
.news-card .news-actions ion-icon,
.news-card .post-actions ion-icon,
.news-card .feed-actions ion-icon {
    font-size: 19px !important;
    flex: 0 0 auto !important;
}

/* Mobile fine tuning */
@media (max-width: 430px) {
    .news-card .home-news-media-grid.media-count-1 .home-media-tile img,
    .news-card .home-news-media-grid.media-count-1 .home-media-tile video {
        min-height: 250px !important;
        max-height: 430px !important;
    }

    .news-card .stats-row {
        padding-left: 12px !important;
        padding-right: 12px !important;
        gap: 4px !important;
    }

    .news-card .stats-row > span,
    .news-card .stats-row > button,
    .news-card .stats-row > a {
        font-size: 11.6px !important;
    }

    .news-card .action-row button,
    .news-card .action-row a,
    .news-card .news-actions button,
    .news-card .news-actions a,
    .news-card .post-actions button,
    .news-card .post-actions a,
    .news-card .feed-actions button,
    .news-card .feed-actions a {
        font-size: 12.5px !important;
        gap: 5px !important;
    }
}

/* ===== FINAL HARD FIX: MOBILE PROFILE DROPDOWN OUTSIDE HEADER ===== */

#mobileHomeProfileDropdown {
    position: fixed !important;
    top: 88px !important;
    right: 12px !important;

    width: min(232px, calc(100vw - 24px)) !important;
    max-height: calc(100dvh - 110px) !important;
    overflow-y: auto !important;

    padding: 10px !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24) !important;

    z-index: 2147483647 !important;

    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-8px) !important;
    pointer-events: none !important;
    transition: 0.18s ease !important;
}

#mobileHomeProfileDropdown.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

#mobileHomeProfileDropdown a,
#mobileHomeProfileDropdown button {
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
    color: #475569 !important;

    display: flex !important;
    align-items: center !important;
    gap: 10px !important;

    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-align: left !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

#mobileHomeProfileDropdown a:hover,
#mobileHomeProfileDropdown button:hover {
    background: #f8fafc !important;
    color: #dc2626 !important;
}

#mobileHomeProfileDropdown ion-icon {
    font-size: 20px !important;
    flex: 0 0 auto !important;
}

#mobileHomeLogoutBtn {
    color: #dc2626 !important;
}

/* ===== GNPM HARD FIX: MOBILE PROFILE DROPDOWN ===== */

#mobileHomeProfileDropdown {
    position: fixed !important;
    top: 88px !important;
    right: 12px !important;
    width: min(232px, calc(100vw - 24px)) !important;
    max-height: calc(100dvh - 110px) !important;
    overflow-y: auto !important;

    padding: 10px !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24) !important;

    z-index: 2147483647 !important;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: 0.18s ease !important;
}

#mobileHomeProfileDropdown.gnpm-dropdown-force-open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

#mobileHomeProfileDropdown a,
#mobileHomeProfileDropdown button {
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
    color: #475569 !important;

    display: flex !important;
    align-items: center !important;
    gap: 10px !important;

    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-align: left !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

#mobileHomeProfileDropdown a:hover,
#mobileHomeProfileDropdown button:hover {
    background: #f8fafc !important;
    color: #dc2626 !important;
}

#mobileHomeProfileDropdown ion-icon {
    font-size: 20px !important;
    flex: 0 0 auto !important;
}

#mobileHomeLogoutBtn {
    color: #dc2626 !important;
}

/* =========================================================
   GNPM_HOME_INLINE_VIDEO_PLAY
========================================================= */

.home-media-tile.is-video {
    position: relative;
    cursor: pointer;
}

.home-feed-video-thumb {
    pointer-events: none !important;
}

.home-video-play-badge {
    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
}

.home-media-tile.is-playing .home-video-play-badge {
    background: rgba(0, 0, 0, 0.04);
}

.home-media-tile.is-playing .home-video-play-badge ion-icon {
    opacity: 0;
    transform: scale(0.88);
    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
}

.home-media-tile.is-playing:hover .home-video-play-badge ion-icon {
    opacity: 1;
    transform: scale(1);
    background: rgba(0, 0, 0, 0.62);
}

@media (hover: none) {
    .home-media-tile.is-playing .home-video-play-badge ion-icon {
        opacity: 0;
    }
}


/* =========================================================
   GNPM_UNICODE_DEVANAGARI_FONT
   Unicode Hindi — do not use legacy Kruti Dev
========================================================= */

.news-text-area {
    overflow: visible !important;
}

.news-text-area .devanagari-text,
.news-text-area [lang="hi"] {
    font-family:
        "Noto Sans Devanagari",
        "Nirmala UI",
        "Mangal",
        sans-serif !important;

    letter-spacing: 0 !important;
    word-spacing: normal !important;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    font-kerning: normal;
    overflow: visible !important;
}

.news-text-area h2.devanagari-text,
.news-text-area h2[lang="hi"] {
    padding-top: 3px !important;
    padding-bottom: 1px !important;
    font-size: 19px !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
}

.news-text-area p.devanagari-text,
.news-text-area p[lang="hi"] {
    padding-top: 2px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
}
