:root {
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --primary-soft: #fee2e2;
    --bg: #f4f6fb;
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --dark: #111827;
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    --radius-lg: 18px;
    --radius-xl: 26px;
    --bottom-nav-height: 74px;
font-family: "Poppins", "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
}

body {
    overflow-x: hidden;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.web-shell {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px minmax(360px, 540px) 280px;
    gap: 22px;
    padding: 22px;
}

.desktop-left-panel,
.desktop-right-panel {
    display: block;
}

.brand-panel,
.side-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: 18px;
}

.desktop-brand-logo {
    width: 82px;
    height: 82px;
    object-fit: contain;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--border);
}

.brand-panel h1 {
    margin: 14px 0 8px;
    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -0.6px;
}

.brand-panel p,
.muted-text {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: 14px;
    font-weight: 650;
}

.side-card {
    margin-top: 16px;
}

.side-card h3 {
    margin: 0 0 12px;
    font-size: 16px;
}

.side-link {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: var(--text);
    font-weight: 800;
    border-radius: 14px;
    padding: 0 12px;
    margin-bottom: 6px;
    text-align: left;
}

.side-link.active,
.side-link:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.disabled-link {
    opacity: 0.78;
}

.sticky-card {
    position: sticky;
    top: 20px;
}

.metric-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-weight: 750;
}

.metric-row:first-of-type {
    margin-top: 12px;
}

.metric-row strong {
    color: var(--primary);
    font-size: 18px;
}

.phone-frame {
    min-height: 100dvh;
    background: var(--bg);
    position: relative;
    border-radius: 34px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
}

.app-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(244, 246, 251, 0.92);
    backdrop-filter: blur(16px);
    padding: 16px 16px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-row {
    display: flex;
    align-items: center;
    min-width: 0;
}

.brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    object-fit: cover;
    background: var(--surface);
    border: 1px solid var(--border);
    margin-right: 10px;
}

.brand-text {
    min-width: 0;
}

.brand-text h2 {
    margin: 0;
    color: red;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.2px;
    white-space: nowrap;
    
}

.brand-text p {
    margin: 3px 0 0;
    color: var(--dark);
    font-size: 10.5px;
    font-weight: 600;
}

.round-icon-btn,
.more-btn,
.sheet-close-btn {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.round-icon-btn ion-icon,
.more-btn ion-icon {
    font-size: 22px;
}

.notification-dot {
    width: 9px;
    height: 9px;
    border-radius: 99px;
    background: var(--primary);
    position: absolute;
    top: 11px;
    right: 11px;
    border: 2px solid #fff;
}

.search-box {
    margin: 0 16px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 9px;
}

.search-box ion-icon {
    color: var(--muted);
    font-size: 20px;
}

.search-box input {
    border: 0;
    outline: 0;
    width: 100%;
    color: var(--text);
    font-weight: 750;
    background: transparent;
}

.search-box input::placeholder {
    color: var(--muted);
}

.category-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px 14px;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-strip::-webkit-scrollbar {
    display: none;
}

.category-chip {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
    border-radius: 999px;
    padding: 9px 15px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.category-chip.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.guest-card {
    margin: 0 16px 14px;
    background: linear-gradient(135deg, var(--primary), #ef4444);
    border-radius: var(--radius-xl);
    padding: 16px;
    color: #fff;
    box-shadow: 0 18px 36px rgba(220, 38, 38, 0.24);
}

.guest-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.guest-card p {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.primary-pill {
    border: 0;
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    border-radius: 999px;
    padding: 11px 16px;
}

.feed-header-row {
    padding: 2px 16px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.feed-header-row h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
}

.feed-header-row span {
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
}

.news-feed {
    /*padding: 0 16px;*/
}

.news-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius:2px solid black;
    
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.news-card-header {
    padding: 12px 12px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.author-area {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 0;
}

.author-avatar,
.comment-avatar {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    object-fit: cover;
    background: #e5e7eb;
    flex: 0 0 auto;
}

.author-avatar.fallback,
.comment-avatar.fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary);
}

.author-avatar.fallback ion-icon,
.comment-avatar.fallback ion-icon {
    font-size: 20px;
}

.author-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.author-line {
    display: flex;
    align-items: center;
    min-width: 0;
}

.author-line strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    max-width: 165px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.verified-icon {
    color: #1877f2;
    font-size: 17px;
    margin-left: 4px;
}

.meta-line {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.more-btn {
    border: 0;
    width: 38px;
    height: 38px;
}

.news-text-area {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 4px 12px 12px;
}

.category-label {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 7px;
}

.news-text-area h2 {
    margin: 0;
    color: var(--text);
    font-size: 19px;
    line-height: 1.4;
    font-weight: 400;
    text-align:justify;
    color:red;
}

.news-text-area p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.55;
    font-weight: normal;
    text-align:justify;
}

.news-media-wrap {
    width: 100%;
    display: block;
    border: 0;
    padding: 0;
    position: relative;
    background: var(--dark);
}

.news-media-wrap img {
    width: 100%;
    height: 295px;
    object-fit: cover;
    display: block;
}

.video-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.stats-row {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 800;
    gap: 12px;
}

.action-row {
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.action-btn {
    min-height: 46px;
    border: 0;
    background: transparent;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 500;
}

.action-btn ion-icon {
    font-size: 21px;
}

.action-btn.active {
    color: #1877f2;
}

.feed-state-box {
    margin: 8px 16px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px 18px;
    text-align: center;
    color: var(--muted);
}

.feed-state-box h3 {
    color: var(--text);
    margin: 8px 0 4px;
}

.feed-state-box p {
    margin: 8px 0 0;
    font-weight: 700;
}

.state-icon {
    font-size: 44px;
    color: var(--primary);
}

.loader {
    width: 28px;
    height: 28px;
    border: 3px solid #fecaca;
    border-top-color: var(--primary);
    border-radius: 999px;
    margin: 0 auto 10px;
    animation: spin 0.75s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.bottom-safe-space {
    height: calc(var(--bottom-nav-height) + 24px);
}

.mobile-bottom-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: var(--bottom-nav-height);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    z-index: 30;
    padding: 7px 6px calc(env(safe-area-inset-bottom, 0px) + 6px);
}

.bottom-nav-item {
    border: 0;
    background: transparent;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 10.5px;
    font-weight: 500;
}

.bottom-nav-item ion-icon {
    font-size: 22px;
}

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

.upload-fab {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(220, 38, 38, 0.28);
}

.upload-fab ion-icon {
    font-size: 24px;
}

.notification-permission-modal,
.comment-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    bottom:72px;
}

.notification-permission-modal {
    background: rgba(15, 23, 42, 0.38);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 18px;
    opacity: 0;
    pointer-events: none;
    transition: 0.22s ease;
}

.notification-permission-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.notification-card {
    width: 100%;
    max-width: 420px;
    background: var(--surface);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.24);
    transform: translateY(24px);
    transition: 0.22s ease;
}

.notification-permission-modal.visible .notification-card {
    transform: translateY(0);
}

.notification-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 22px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.notification-icon-wrap ion-icon {
    font-size: 30px;
}

.notification-card h3 {
    margin: 0 0 8px;
    font-size: 21px;
    letter-spacing: -0.3px;
}

.notification-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
}

.notification-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-top: 18px;
}

.primary-btn,
.secondary-btn {
    border: 0;
    min-height: 46px;
    border-radius: 999px;
    font-weight: 600;
}

.primary-btn {
    background: var(--primary);
    color: #fff;
}

.secondary-btn {
    background: #f1f5f9;
    color: var(--text);
}

.comment-modal {
    opacity: 0;
    pointer-events: none;
    transition: 0.22s ease;
}

.comment-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.comment-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.44);
}

.comment-sheet {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(100%, 540px);
    max-height: min(80dvh, 720px);
    transform: translate(-50%, 100%);
    background: var(--surface);
    border-radius: 28px 28px 0 0;
    padding: 10px 16px 16px;
    display: flex;
    flex-direction: column;
    transition: 0.24s ease;
}

.comment-modal.visible .comment-sheet {
    transform: translate(-50%, 0);
}

.sheet-handle {
    width: 46px;
    height: 5px;
    border-radius: 99px;
    background: #cbd5e1;
    margin: 0 auto 12px;
}

.comment-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.comment-sheet-header h3 {
    margin: 0;
    font-size: 18px;
}

.comment-sheet-header p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sheet-close-btn {
    width: 38px;
    height: 38px;
}

.comment-list {
    overflow-y: auto;
    padding: 14px 0;
    flex: 1;
}

.comment-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.comment-avatar {
    width: 38px;
    height: 38px;
}

.comment-bubble {
    background: #f1f5f9;
    border-radius: 18px;
    padding: 10px 12px;
    flex: 1;
}

.comment-bubble strong {
    display: block;
    font-size: 13px;
    margin-bottom: 3px;
}

.comment-bubble p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--text);
    font-weight: 650;
}

.comment-bubble span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.comment-loading,
.empty-comments {
    text-align: center;
    color: var(--muted);
    padding: 26px 14px;
}

.empty-comments ion-icon {
    font-size: 34px;
    color: var(--primary);
}

.empty-comments h4 {
    color: var(--text);
    margin: 8px 0 4px;
}

.empty-comments p {
    margin: 0;
    font-size: 13px;
}

.comment-form {
    display: flex;
    align-items: flex-end;
    gap: 9px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.comment-form textarea {
    resize: none;
    min-height: 44px;
    max-height: 110px;
    flex: 1;
    border: 1px solid var(--border);
    outline: 0;
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px 14px;
    color: var(--text);
    font-weight: 700;
}

.comment-send-btn {
    width: 45px;
    height: 45px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.comment-send-btn ion-icon {
    font-size: 20px;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 92px;
    transform: translateX(-50%) translateY(20px);
    background: #0f172a;
    color: #fff;
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 850;
    z-index: 1300;
    opacity: 0;
    transition: 0.22s ease;
    max-width: calc(100% - 32px);
    text-align: center;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

[hidden] {
    display: none !important;
}

@media (max-width: 1024px) {
    .web-shell {
        max-width: 560px;
        grid-template-columns: 1fr;
        padding: 0;
        gap: 0;
    }

    .desktop-left-panel,
    .desktop-right-panel {
        display: none;
    }

    .phone-frame {
        border: 0;
        border-radius: 0;
        box-shadow: none;
        min-height: 100dvh;
    }

    .mobile-bottom-nav {
        position: fixed;
    }
}

@media (max-width: 520px) {
    .app-topbar {
        padding-top: calc(env(safe-area-inset-top, 0px) + 14px);
    }

    .news-media-wrap img {
        height: 300px;
    }

    .stats-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .notification-permission-modal {
        padding: 12px;
    }

    .notification-card {
        border-radius: 26px;
        padding: 21px;
    }

    .home-login-pill {
        min-height: 32px;
        padding: 0 11px;
        font-size: 11.5px;
    }

    .home-top-actions {
        gap: 6px;
    }
}

/* Auth pages */
.auth-page {
    width: 100%;
    min-height: 100dvh;
    background: var(--bg);
    display: flex;
    justify-content: center;
}

.auth-phone-frame {
    width: min(100%, 540px);
    min-height: 100dvh;
    background: var(--bg);
    padding: 18px 16px 40px;
}

.auth-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-top: env(safe-area-inset-top, 0px);
}

.auth-back-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-back-btn ion-icon {
    font-size: 22px;
}

.auth-topbar h1 {
    margin: 0;
    color: var(--text);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.auth-topbar p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 750;
}

.auth-brand-card {
    background: linear-gradient(135deg, var(--primary), #ef4444);
    border-radius: 28px;
    padding: 18px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 18px 36px rgba(220, 38, 38, 0.24);
    margin-bottom: 16px;
}

.auth-brand-card img {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    object-fit: cover;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    flex: 0 0 auto;
}

.auth-brand-card h2 {
    margin: 0;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.auth-brand-card p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

.auth-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 18px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07);
}

.form-label {
    display: block;
    color: var(--text);
    font-size: 13.5px;
    font-weight: 600;
    margin: 13px 0 8px;
}

.form-label:first-child {
    margin-top: 0;
}

.input-wrap {
    min-height: 52px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 10px;
}

.input-wrap ion-icon {
    font-size: 20px;
    color: var(--primary);
    flex: 0 0 auto;
}

.input-wrap input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-weight: 750;
}

.input-wrap input::placeholder {
    color: var(--muted);
}

.auth-submit-btn {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 18px;
    box-shadow: 0 14px 28px rgba(220, 38, 38, 0.22);
}

.auth-submit-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.auth-submit-btn ion-icon {
    font-size: 19px;
}

.auth-switch-text {
    text-align: center;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 750;
}

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

.mini-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 999px;
    animation: spin 0.75s linear infinite;
}

@media (min-width: 500px) {
    .auth-page {
        padding: 24px;
    }

    .auth-phone-frame {
        min-height: auto;
        border-radius: 34px;
        border: 1px solid var(--border);
        box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
    }
}

/* Global Bottom Navigation - Mobile */
.global-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 9999;
    width: min(100%, 520px);
    transform: translateX(-50%);
    min-height: 70px;
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 -18px 44px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
}

.global-bottom-item {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    text-decoration: none !important;
    color: #64748b;
    min-width: 0;
    height: 58px;
    padding: 5px 2px;
    border-radius: 18px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: inherit;
    font-size: 10.5px !important;
    font-weight: 850 !important;
    line-height: 1.1 !important;
    transition: all 0.18s ease;
}

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

.global-bottom-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.global-bottom-icon ion-icon {
    font-size: 23px !important;
    line-height: 1 !important;
}

.global-bottom-label {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 10.5px !important;
    font-weight: 550 !important;
    line-height: 1.1 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.global-bottom-item.active .global-bottom-icon {
    background: rgba(220, 38, 38, 0.10);
}

.global-bottom-item.active .global-bottom-label {
    color: var(--primary);
    font-weight: 600 !important;
}

.upload-center-item {
    justify-content: flex-end;
}

.global-upload-fab {
    width: 48px;
    height: 48px;
    margin-top: -22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 32px rgba(220, 38, 38, 0.32);
    border: 4px solid #ffffff;
}

.global-upload-fab ion-icon {
    color: #ffffff;
    font-size: 30px !important;
}

.gnpm-app {
    min-height: 100dvh;
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}

.mobile-bottom-nav {
    display: none !important;
}

.bottom-safe-space {
    height: 84px !important;
}

@media (min-width: 921px) {
    .global-bottom-nav {
        display: none !important;
    }

    .gnpm-app {
        padding-bottom: 0;
    }
}

@media (max-width: 390px) {
    .global-bottom-nav {
        padding-left: 6px;
        padding-right: 6px;
    }

    .global-bottom-label {
        font-size: 9.5px !important;
    }

    .global-bottom-icon ion-icon {
        font-size: 21px !important;
    }

    .global-upload-fab {
        width: 45px;
        height: 45px;
    }
}

/* Home top login button */
.home-top-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home-login-pill {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 10px 22px rgba(220, 38, 38, 0.22);
}

.home-login-pill.is-hidden {
    display: none !important;
}

/* Desktop-only top navigation */
.desktop-public-topnav {
    display: none;
}

@media (min-width: 921px) {
    .desktop-public-topnav {
        display: block;
        position: sticky;
        top: 0;
        z-index: 9998;
        width: 100%;
        background: rgba(255, 255, 255, 0.96);
        border-bottom: 1px solid rgba(226, 232, 240, 0.9);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
    }

    .desktop-public-nav-inner {
        max-width: 1240px;
        margin: 0 auto;
        min-height: 74px;
        padding: 0 22px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }

    .desktop-public-brand {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        color: #0f172a;
        text-decoration: none;
        font-weight: 600;
        font-size: 18px;
        letter-spacing: -0.3px;
        white-space: nowrap;
    }

    .desktop-public-brand img {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        object-fit: cover;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
    }

    .desktop-public-links {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .desktop-public-links a {
        color: #475569;
        text-decoration: none;
        font-size: 14px;
        font-weight: 850;
        padding: 10px 13px;
        border-radius: 999px;
        transition: all 0.18s ease;
    }

    .desktop-public-links a:hover {
        color: #dc2626;
        background: rgba(220, 38, 38, 0.08);
    }

    .desktop-login-btn {
        min-height: 42px;
        padding: 0 20px;
        border-radius: 999px;
        background: linear-gradient(135deg, #dc2626, #b91c1c);
        color: #ffffff !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none !important;
        font-size: 14px;
        font-weight: 600;
        box-shadow: 0 12px 26px rgba(220, 38, 38, 0.24);
    }

    .phone-frame {
        margin-top: 18px;
    }
}

@media (max-width: 920px) {
    .desktop-public-topnav {
        display: none !important;
    }
}

/* Public pages */
.public-page-shell {
    width: 100%;
    min-height: 100dvh;
    padding: 24px 16px 110px;
    display: flex;
    justify-content: center;
    background: #f1f5f9;
}

.public-page-card {
    width: 100%;
    max-width: 920px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.public-page-card h1 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.6px;
}

.public-page-card p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 650;
}

.public-form {
    margin-top: 20px;
    display: grid;
    gap: 12px;
}

.public-form label {
    color: #0f172a;
    font-size: 13px;
    font-weight: 500;
}

.public-form input,
.public-form textarea {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 13px 15px;
    outline: none;
    font: inherit;
    color: #0f172a;
    background: #f8fafc;
}

.public-form input:focus,
.public-form textarea:focus {
    border-color: #dc2626;
    background: #ffffff;
}

.public-form small {
    color: #dc2626;
    font-weight: 800;
}

.public-form button,
.public-plan-card a {
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.public-success-box {
    margin-top: 14px;
    padding: 12px 14px;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #15803d;
    border-radius: 16px;
    font-weight: 850;
}

.public-plan-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.public-plan-card {
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 18px;
    background: #f8fafc;
}

.public-plan-card h2 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 600;
}

.public-plan-card strong {
    display: block;
    color: #dc2626;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
}

.public-plan-card ul {
    margin: 14px 0;
    padding-left: 18px;
    color: #475569;
    font-weight: 750;
}

@media (max-width: 920px) {
    .public-page-shell {
        padding: 16px 14px 110px;
    }

    .public-page-card {
        padding: 22px;
        border-radius: 24px;
    }

    .public-plan-grid {
        grid-template-columns: 1fr;
    }
}
/* Public content improvements */
.public-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.10);
    color: #dc2626;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
}

.public-content-card h2 {
    margin: 24px 0 8px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.public-feature-grid {
    margin: 24px 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.public-feature-grid > div,
.contact-info-box {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 22px;
    padding: 18px;
}

.public-feature-grid ion-icon,
.contact-info-box ion-icon {
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(220, 38, 38, 0.10);
    color: #dc2626;
    font-size: 24px;
    margin-bottom: 10px;
}

.public-feature-grid h3,
.contact-info-box h3 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 16px;
    font-weight: 600;
}

.public-feature-grid p,
.contact-info-box p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
}

.public-contact-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
    align-items: start;
}

.public-contact-side {
    display: grid;
    gap: 14px;
}

.contact-info-box a {
    margin-top: 10px;
    display: inline-flex;
    color: #dc2626;
    font-weight: 600;
}

.public-contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.public-whatsapp-btn {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
    color: #ffffff !important;
    gap: 8px;
}

.public-whatsapp-btn ion-icon {
    font-size: 20px;
}

/* Desktop more dropdown */
.desktop-more-menu {
    position: relative;
}

.desktop-more-btn {
    border: 0;
    background: transparent;
    color: #475569;
    font-size: 14px;
    font-weight: 850;
    padding: 10px 13px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.desktop-more-btn:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
}

.desktop-more-btn ion-icon {
    font-size: 15px;
}

.desktop-more-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 230px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 8px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.18s ease;
    z-index: 99999;
}

.desktop-more-menu:hover .desktop-more-dropdown,
.desktop-more-menu:focus-within .desktop-more-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.desktop-more-dropdown a {
    display: block;
    padding: 11px 12px;
    border-radius: 12px;
    color: #475569;
    font-size: 13.5px;
    font-weight: 850;
}

.desktop-more-dropdown a:hover {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
}

@media (max-width: 920px) {
    .public-feature-grid,
    .public-contact-grid,
    .public-contact-actions {
        grid-template-columns: 1fr;
    }
}
/* Desktop profile dropdown */
.desktop-profile-menu {
    position: relative;
}

.desktop-profile-btn {
    min-height: 46px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #ffffff;
    color: #0f172a;
    border-radius: 999px;
    padding: 5px 12px 5px 5px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.desktop-profile-btn img {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    object-fit: cover;
    background: #e5e7eb;
    border: 1px solid rgba(226, 232, 240, 0.95);
}

.desktop-profile-btn ion-icon {
    color: #64748b;
    font-size: 16px;
}

.desktop-profile-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 245px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.18s ease;
    z-index: 99999;
}

.desktop-profile-menu:hover .desktop-profile-dropdown,
.desktop-profile-menu:focus-within .desktop-profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.desktop-profile-dropdown a,
.desktop-profile-dropdown button {
    width: 100%;
    min-height: 42px;
    border: 0;
    background: transparent;
    color: #475569;
    border-radius: 14px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
}

.desktop-profile-dropdown a:hover,
.desktop-profile-dropdown button:hover {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
}

.desktop-profile-dropdown ion-icon {
    font-size: 19px;
}

#desktopLogoutBtn {
    cursor: pointer;
    color: #dc2626;
}
/* ===== 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;
}
/* ===== PREMIUM HOME TOP HEADER ===== */

.top-nav-fixed {
    position: sticky;
    top: 0;
    z-index: 120;
    width: 100%;
    background:
        radial-gradient(circle at 12% 0%, rgba(220, 38, 38, 0.16), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.top-nav-spacer {
    display: none;
}

.premium-home-topbar {
    position: relative !important;
    top: auto !important;
    z-index: 2;
    min-height: 78px;
    padding: calc(env(safe-area-inset-top, 0px) + 14px) 18px 12px !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 {
    gap: 11px;
}

.premium-logo-wrap {
    width: 54px;
    height: 54px;
    border-radius: 19px;
    padding: 3px;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(220, 38, 38, 0.75), rgba(15, 23, 42, 0.18)) border-box;
    border: 1px solid transparent;
    box-shadow:
        0 12px 26px rgba(15, 23, 42, 0.13),
        0 0 0 6px rgba(220, 38, 38, 0.05);
    flex: 0 0 auto;
}

.premium-brand-logo {
    width: 100% !important;
    height: 100% !important;
    border-radius: 16px !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    object-fit: cover;
}

.premium-brand-text h2 {
    margin: 0;
    color: #dc2626 !important;
    font-size: 19px !important;
    line-height: 1.1;
    font-weight: 600 !important;
    letter-spacing: -0.45px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.premium-brand-text p {
    margin: 5px 0 0;
    color: #0f172a !important;
    font-size: 11.5px !important;
    line-height: 1.1;
    font-weight: 600 !important;
    letter-spacing: 0.05px;
    opacity: 0.92;
}

.premium-home-actions {
    gap: 9px;
}

.premium-login-pill {
    min-height: 38px !important;
    padding: 0 15px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #ef4444, #b91c1c) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        0 12px 24px rgba(220, 38, 38, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
    font-size: 12px !important;
    font-weight: 850 !important;
}

.premium-notification-btn {
    width: 48px !important;
    height: 48px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    background:
        linear-gradient(180deg, #ffffff, #f8fafc) !important;
    color: #0f172a !important;
    box-shadow:
        0 12px 26px rgba(15, 23, 42, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.premium-notification-btn ion-icon {
    font-size: 22px !important;
}

.premium-notification-dot {
    top: 10px !important;
    right: 10px !important;
    width: 10px !important;
    height: 10px !important;
    background: #dc2626 !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.premium-category-strip {
    position: relative;
    padding: 10px 18px 14px !important;
    gap: 10px !important;
    background: transparent;
}

.premium-category-strip::before {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 2px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    filter: blur(14px);
    pointer-events: none;
}

.premium-category-strip .category-chip {
    position: relative;
    min-height: 42px;
    padding: 0 20px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92)) !important;
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    box-shadow:
        0 8px 18px rgba(15, 23, 42, 0.055),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

.premium-category-strip .category-chip:hover {
    transform: translateY(-1px);
    color: #dc2626 !important;
    border-color: rgba(220, 38, 38, 0.20) !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.premium-category-strip .category-chip.active {
    color: #ffffff !important;
    border-color: rgba(220, 38, 38, 0.88) !important;
    background:
        radial-gradient(circle at 24% 15%, rgba(255, 255, 255, 0.32), transparent 30%),
        linear-gradient(135deg, #ef4444, #dc2626 48%, #b91c1c) !important;
    box-shadow:
        0 12px 26px rgba(220, 38, 38, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.premium-category-strip .category-chip.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 22px;
    height: 4px;
    border-radius: 999px;
    transform: translateX(-50%);
    background: rgba(220, 38, 38, 0.35);
}

@media (max-width: 520px) {
    .premium-home-topbar {
        min-height: 76px;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .premium-logo-wrap {
        width: 50px;
        height: 50px;
        border-radius: 18px;
    }

    .premium-brand-logo {
        border-radius: 15px !important;
    }

    .premium-brand-text h2 {
        font-size: 19px !important;
    }

    .premium-brand-text p {
        font-size: 10.8px !important;
    }

    .premium-notification-btn {
        width: 46px !important;
        height: 46px !important;
        border-radius: 17px !important;
    }

    .premium-category-strip {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .premium-category-strip .category-chip {
        min-height: 40px;
        padding: 0 18px !important;
        font-size: 12.8px !important;
    }
}

@media (max-width: 380px) {
    .premium-brand-text h2 {
        font-size: 19px !important;
    }

    .premium-brand-text p {
        max-width: 205px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .premium-logo-wrap {
        width: 47px;
        height: 47px;
    }

    .premium-notification-btn {
        width: 43px !important;
        height: 43px !important;
    }
}
.news-more-wrap {
    position: relative;
    margin-left: auto;
}

.news-more-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.news-more-btn ion-icon {
    font-size: 21px;
}

.news-more-menu {
    position: absolute;
    right: 0;
    top: 38px;
    min-width: 150px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    padding: 6px;
    z-index: 50;
}

.news-delete-btn {
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.news-delete-btn:hover {
    background: #fee2e2;
}

.news-delete-btn ion-icon {
    font-size: 17px;
}

.news-edit-btn {
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.news-edit-btn:hover {
    background: #f1f5f9;
}

.news-edit-btn ion-icon {
    font-size: 17px;
}
.desktop-public-actions [hidden],
#desktopProfileAction[hidden],
#desktopLoginAction[hidden] {
    display: none !important;
}

.desktop-logout-form {
    margin: 0 !important;
    padding: 0 !important;
}

.desktop-logout-form button {
    width: 100% !important;
    border: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
    font: inherit !important;
    text-align: left !important;
}

/* ===== FINAL DESKTOP TOP NAV HARD FIX ===== */

.desktop-public-topnav {
    z-index: 2147482000 !important;
    overflow: visible !important;
}

.desktop-public-nav-inner,
.desktop-public-actions,
.desktop-public-links,
.desktop-more-menu,
.desktop-profile-menu {
    overflow: visible !important;
}

.desktop-public-links a.active {
    color: #dc2626 !important;
    background: rgba(220, 38, 38, 0.08) !important;
}

.desktop-more-dropdown,
.desktop-profile-dropdown {
    z-index: 2147483000 !important;
}

.desktop-more-menu.is-open .desktop-more-dropdown,
.desktop-more-menu:hover .desktop-more-dropdown,
.desktop-more-menu:focus-within .desktop-more-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.desktop-profile-menu.is-open .desktop-profile-dropdown,
.desktop-profile-menu:hover .desktop-profile-dropdown,
.desktop-profile-menu:focus-within .desktop-profile-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.desktop-profile-dropdown,
.desktop-more-dropdown {
    pointer-events: none;
}

.desktop-profile-dropdown a,
.desktop-profile-dropdown button,
.desktop-more-dropdown a {
    pointer-events: auto;
}

.desktop-profile-btn[aria-expanded="true"],
.desktop-more-btn[aria-expanded="true"] {
    color: #dc2626 !important;
    background: rgba(220, 38, 38, 0.08) !important;
}

.desktop-profile-btn[aria-expanded="true"] ion-icon,
.desktop-more-btn[aria-expanded="true"] ion-icon {
    transform: rotate(180deg);
}

.desktop-profile-btn ion-icon,
.desktop-more-btn ion-icon {
    transition: transform 0.18s ease;
}

@media (max-width: 920px) {
    .desktop-public-topnav {
        display: none !important;
    }
}

/* Desktop right panel font weight reduce */
.desktop-right-panel .side-card h3 {
    font-weight: 500 !important;
}

.desktop-right-panel .metric-row {
    font-weight: 400 !important;
}

.desktop-right-panel .metric-row span {
    font-weight: 400 !important;
}

.desktop-right-panel .metric-row strong {
    font-weight: 500 !important;
}