/* ============================= */
/* RESET */
/* ============================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Segoe UI', Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(0,247,255,0.08), transparent 26%),
        radial-gradient(circle at bottom right, rgba(124,58,237,0.14), transparent 30%),
        linear-gradient(135deg,#0b1220 0%,#070d18 100%);
    color:#ffffff;
    min-height:100vh;
    line-height:1.6;
}

img{
    max-width:100%;
    display:block;
}

a{
    color:inherit;
}

button,
input,
textarea,
select{
    font:inherit;
}

textarea{
    resize:vertical;
}

/* ============================= */
/* UTILITIES */
/* ============================= */

.glass{
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.10);
    box-shadow:0 10px 30px rgba(0,0,0,0.22);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    margin-bottom:28px;
}

.neon-btn,
.outline-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    text-decoration:none;
    padding:12px 18px;
    border-radius:12px;
    font-weight:700;
    transition:.25s ease;
    cursor:pointer;
}

.neon-btn{
    color:#fff;
    background:linear-gradient(135deg,#00f7ff,#7c3aed);
    border:none;
    box-shadow:0 0 16px rgba(0,247,255,0.16);
}

.neon-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 0 22px rgba(0,247,255,0.22);
}

.outline-btn{
    color:#fff;
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.12);
}

.outline-btn:hover{
    transform:translateY(-2px);
    border-color:rgba(0,247,255,0.25);
    box-shadow:0 0 16px rgba(0,247,255,0.10);
}

.form-message{
    margin-bottom:16px;
    padding:14px 16px;
    border-radius:14px;
    font-size:14px;
    line-height:1.6;
}

.error-box{
    background:rgba(255,75,92,0.12);
    border:1px solid rgba(255,75,92,0.28);
    color:#ffb4bc;
}

.success-box{
    background:rgba(0,255,156,0.12);
    border:1px solid rgba(0,255,156,0.24);
    color:#9cffd0;
}

.muted{
    color:#9fb0c9;
}

.page-wrap{
    max-width:1280px;
    margin:36px auto 60px;
    padding:0 20px;
}

.section-title-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    margin-bottom:18px;
    flex-wrap:wrap;
}

/* ============================= */
/* HEADER */
/* ============================= */

.main-site-header{
    position:sticky;
    top:0;
    z-index:1100;
    padding:16px 20px 0;
}

.main-site-header-inner{
    max-width:1200px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:14px 18px;
    border-radius:20px;
}

.main-brand{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    flex-shrink:0;
}

.main-brand-icon{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:linear-gradient(135deg,#00f7ff,#7c3aed);
    font-size:18px;
    color:#fff;
}

.main-brand-text{
    font-size:20px;
    font-weight:700;
    color:#ffffff;
}

.main-nav-toggle{
    display:none;
    font-size:24px;
    background:none;
    border:none;
    color:#ffffff;
    cursor:pointer;
}

.main-header-right{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:16px;
    flex:1;
}

.main-site-nav{
    display:flex;
    align-items:center;
    gap:14px;
}

.main-site-nav a{
    color:#e2e8f0;
    text-decoration:none;
    font-size:14px;
    padding:8px 10px;
    border-radius:8px;
    transition:.2s;
    font-weight:500;
}

.main-site-nav a:hover{
    color:#00f7ff;
    background:rgba(255,255,255,0.05);
}

.main-header-search{
    display:flex;
    align-items:center;
    gap:6px;
}

.main-header-search input{
    padding:8px 12px;
    border-radius:8px;
    border:none;
    background:rgba(255,255,255,0.08);
    color:#ffffff;
    outline:none;
    min-width:220px;
}

.main-header-search input::placeholder{
    color:#aab7cb;
}

.main-header-search button{
    border:none;
    background:transparent;
    color:#ffffff;
    cursor:pointer;
    font-size:16px;
}

.main-header-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.main-action-btn{
    padding:8px 12px;
    border-radius:8px;
    text-decoration:none;
    background:rgba(255,255,255,0.08);
    color:#ffffff;
    font-size:14px;
    transition:.2s;
    border:1px solid rgba(255,255,255,0.08);
}

.main-action-btn:hover{
    background:rgba(255,255,255,0.15);
}

.neon-mini{
    border:1px solid #00f7ff;
    color:#00f7ff;
}

.logout-mini{
    border:1px solid #ff4b5c;
    color:#ff4b5c;
}

/* ============================= */
/* HERO / HOMEPAGE */
/* ============================= */

.home-page-wrap{
    max-width:1280px;
    margin:36px auto 60px;
    padding:0 20px;
}



.home-label{
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#9fb0c9;
    margin-bottom:10px;
}



.home-subtitle{
    color:#c0ccde;
    line-height:1.8;
    max-width:760px;
}

.home-hero-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:24px;
}

.home-hero-mini-info{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin-top:18px;
    color:#dce7f7;
    font-size:14px;
}





.hero-visual-top{
    display:flex;
    gap:8px;
    margin-bottom:18px;
}

.hero-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:rgba(255,255,255,0.7);
}



.hero-visual-gradient{
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at top left, rgba(0,247,255,0.28), transparent 30%),
        radial-gradient(circle at bottom right, rgba(124,58,237,0.28), transparent 36%),
        linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}









.home-stats-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
    margin-bottom:30px;
    
}

.home-stat-card{
    padding:24px;
    border-radius:22px;
    text-align:center;
    width:100%;
    min-width:0;
}

.home-stat-label{
    display:block;
    color:#b7c4d8;
    margin-bottom:12px;
    font-size:14px;
}

.home-stat-value{
    font-size:2.4rem;
    font-weight:800;
    color:#fff;
}

.section-title-center{
    text-align:center;
    margin-bottom:20px;
}

.section-title-center h2{
    font-size:34px;
}

.home-features-section{
    margin-bottom:30px;
}

.home-features-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.home-feature-card{
    padding:24px;
    border-radius:22px;
}

.home-feature-icon{
    font-size:34px;
    margin-bottom:14px;
}

.home-feature-card h3{
    margin-bottom:12px;
    font-size:22px;
}

.home-feature-card p{
    color:#d3dff0;
    line-height:1.75;
}

.home-highlight-section{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:24px;
    padding:28px;
    border-radius:26px;
    margin-bottom:30px;
}

.home-highlight-text h2{
    font-size:34px;
    margin-bottom:14px;
}

.home-highlight-text p{
    color:#d7e2f2;
    line-height:1.8;
}

.home-check-list{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:18px;
    color:#e8f0fb;
}

.home-highlight-side{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.home-side-box{
    padding:22px;
    border-radius:22px;
}

.home-side-box h3{
    margin-bottom:10px;
    font-size:22px;
}

.home-side-box p{
    color:#d4dfef;
    line-height:1.7;
    margin-bottom:14px;
}

.home-latest-section{
    margin-bottom:30px;
}

.home-latest-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
    margin-top:20px;
}

.home-latest-card{
    overflow:hidden;
    border-radius:24px;
}

.home-latest-image{
    width:100%;
    height:260px;
    object-fit:cover;
    transition:transform .35s ease;
}

.home-latest-image:hover{
    transform:scale(1.03);
}

.home-latest-body{
    padding:18px;
}

.home-latest-user{
    color:#fff;
    font-weight:700;
    margin-bottom:10px;
}

.home-latest-desc{
    color:#d9e4f3;
    line-height:1.7;
    min-height:52px;
    margin-bottom:14px;
}

.home-open-link{
    text-decoration:none;
    color:#00f7ff;
    font-weight:700;
}

.home-cta-section{
    padding:30px;
    border-radius:26px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    flex-wrap:wrap;
}

.home-cta-section h2{
    font-size:34px;
    margin-bottom:12px;
}

.home-cta-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.home-empty-state{
    padding:36px 24px;
    border-radius:24px;
    text-align:center;
}

.home-empty-state h3{
    font-size:26px;
    margin-bottom:10px;
}

.home-empty-state p{
    color:#c8d4e7;
    line-height:1.7;
}

/* ============================= */
/* FEED */
/* ============================= */

.feed-page-wrap{
    max-width:1280px;
    margin:36px auto 60px;
    padding:0 20px;
}

.feed-page-header{
    padding:28px;
    border-radius:26px;
    margin-bottom:24px;
}

.feed-label{
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#9fb0c9;
    margin-bottom:8px;
}

.feed-page-header h1{
    font-size:34px;
    margin-bottom:10px;
}

.feed-subtitle{
    color:#b8c6dc;
   max-width:760px;
    line-height:1.7;
}

.feed-subtitle2{
    color:#b8c6dc;
   /* max-width:760px; */
    line-height:1.7;
}

.feed-layout{
    display:grid;
    grid-template-columns:minmax(0,760px) 320px;
    gap:24px;
    align-items:start;
    justify-content:center;
}

.feed-main-column{
    display:flex;
    flex-direction:column;
    gap:24px;
}

.feed-post-card{
    padding:20px;
    border-radius:24px;
}

.feed-post-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    margin-bottom:16px;
}

.feed-post-user{
    display:flex;
    align-items:center;
    gap:14px;
}

.feed-avatar{
    width:52px;
    height:52px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#00f7ff,#8b5cf6);
    color:#fff;
    font-size:20px;
    font-weight:800;
    box-shadow:0 0 20px rgba(0,247,255,0.15);
    flex-shrink:0;
}

.feed-username{
    color:#fff;
    text-decoration:none;
    font-size:18px;
    font-weight:700;
}

.feed-username:hover{
    color:#00f7ff;
}

.feed-post-date{
    color:#afbdd2;
    font-size:13px;
    margin-top:4px;
}

.feed-open-post-btn{
    text-decoration:none;
    color:#fff;
    padding:10px 14px;
    border-radius:12px;
    background:rgba(255,255,255,0.07);
    border:1px solid rgba(255,255,255,0.10);
    font-weight:700;
}

.feed-post-image-wrap{
    overflow:hidden;
    border-radius:22px;
    margin-bottom:16px;
}

.feed-post-image{
    width:100%;
    object-fit:cover;
    max-height:760px;
    transition:transform .35s ease;
}

.feed-post-image:hover{
    transform:scale(1.02);
}

.feed-post-body{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.feed-post-actions-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}

.feed-actions-left{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.feed-action-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    text-decoration:none;
    padding:10px 14px;
    border-radius:12px;
    background:rgba(255,255,255,0.07);
    border:1px solid rgba(255,255,255,0.10);
    color:#fff;
    font-weight:700;
    cursor:pointer;
    transition:.25s ease;
}

.feed-action-btn:hover{
    transform:translateY(-2px);
    border-color:rgba(0,247,255,0.24);
}

.feed-action-btn.liked{
    color:#ffb3bc;
    background:rgba(255,75,92,0.12);
    border:1px solid rgba(255,75,92,0.28);
}

.feed-post-stats{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    color:#d9e2f0;
    font-size:15px;
}

.feed-description{
    color:#edf3ff;
    line-height:1.8;
    font-size:15px;
}

.feed-comments-preview{
    display:flex;
    flex-direction:column;
    gap:10px;
    padding-top:4px;
}

.feed-comment-preview-item{
    color:#d7e2f2;
    line-height:1.6;
    font-size:14px;
}

.feed-comment-preview-item strong{
    color:#fff;
    margin-right:8px;
}

.view-all-comments-link{
    text-decoration:none;
    color:#00f7ff;
    font-weight:700;
}

.no-comments-text{
    color:#aebccf;
}

.feed-sidebar{
    display:flex;
    flex-direction:column;
    gap:18px;
    position:sticky;
    top:110px;
}

.feed-side-card{
    padding:20px;
    border-radius:22px;
}

.feed-side-card h3{
    margin-bottom:10px;
    font-size:20px;
}

.feed-side-card p{
    color:#cfdaea;
    line-height:1.7;
}

.feed-side-actions{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:14px;
}

.feed-empty-state{
    padding:36px 24px;
    border-radius:24px;
    text-align:center;
}

/* ============================= */
/* GALLERY */
/* ============================= */








/* ============================= */


/* ============================= */
/* DASHBOARD */
/* ============================= */

.dashboard-premium-page{
    max-width:1280px;
    margin:36px auto 60px;
    padding:0 20px;
}

.dashboard-hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    padding:28px;
    border-radius:26px;
    margin-bottom:26px;
}

.dashboard-user-box{
    display:flex;
    align-items:center;
    gap:20px;
}

.dashboard-avatar-lg{
    width:92px;
    height:92px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
    font-weight:800;
    background:linear-gradient(135deg,#00f7ff,#8b5cf6);
    color:#fff;
    box-shadow:0 0 30px rgba(0,247,255,0.25);
    flex-shrink:0;
}

.dashboard-user-meta h1{
    font-size:15px;
    color:#9fb0c9;
    margin-bottom:6px;
    text-transform:uppercase;
    letter-spacing:1px;
}

.dashboard-user-meta h2{
    font-size:30px;
    margin-bottom:8px;
}

.dashboard-email{
    color:#b8c6dc;
    margin-bottom:10px;
}

.dashboard-user-bio{
    color:#e7eefb;
    line-height:1.7;
    max-width:760px;
}

.dashboard-hero-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}



.dashboard-info-card{
    padding:22px;
    border-radius:20px;
}

.metric-label{
    display:block;
    color:#b7c4d8;
    margin-bottom:12px;
    font-size:14px;
}

.metric-value{
    font-size:32px;
    font-weight:800;
    color:#fff;
}

.approved-text{
    color:#6bffb0;
}

.pending-text{
    color:#ffd166;
}

.dashboard-toolbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:24px;
    border-radius:24px;
    margin-bottom:24px;
}

.toolbar-title h3{
    font-size:26px;
    margin-bottom:6px;
}

.toolbar-title p{
    color:#a8b5c8;
}

.dashboard-filters-form{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    align-items:center;
}

.dashboard-search-box input,
.dashboard-select-box select,
.dashboard-filters-form input,
.dashboard-filters-form select{
    padding:12px 14px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,0.12);
    background:rgba(255,255,255,0.06);
    color:#fff;
    min-width:220px;
    outline:none;
}

.dashboard-select-box select option,
.dashboard-filters-form select option{
    color:#000;
}

.filter-btn,
.reset-btn{
    padding:12px 16px;
    border-radius:12px;
    text-decoration:none;
    border:none;
    cursor:pointer;
    font-weight:700;
    transition:.25s ease;
}

.filter-btn{
    background:linear-gradient(135deg,#00f7ff,#7c3aed);
    color:#fff;
}

.reset-btn{
    background:rgba(255,255,255,0.08);
    color:#fff;
    border:1px solid rgba(255,255,255,0.12);
}

.dashboard-posts-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.dashboard-post-advanced{
    overflow:hidden;
    border-radius:24px;
}

.dashboard-post-thumb-wrap{
    position:relative;
}

.dashboard-post-thumb{
    width:100%;
    height:260px;
    object-fit:cover;
    display:block;
}

.post-status-chip,
.status-badge{
    display:inline-flex;
    align-items:center;
    padding:8px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
}

.post-status-chip{
    position:absolute;
    top:14px;
    right:14px;
}

.post-status-chip.approved,
.status-badge.approved{
    background:rgba(0,255,156,0.18);
    color:#8fffd1;
    border:1px solid rgba(0,255,156,0.32);
}

.post-status-chip.pending,
.status-badge.pending{
    background:rgba(255,184,0,0.18);
    color:#ffd166;
    border:1px solid rgba(255,184,0,0.35);
}

.dashboard-post-body{
    padding:18px;
}

.dashboard-post-meta{
    display:flex;
    justify-content:space-between;
    gap:12px;
    color:#aab7cb;
    font-size:13px;
    margin-bottom:14px;
}

.dashboard-post-desc{
    color:#ecf3ff;
    line-height:1.7;
    min-height:96px;
    margin-bottom:16px;
}

.dashboard-post-stats{
    display:flex;
    justify-content:space-between;
    gap:14px;
    color:#c4d1e4;
    font-size:14px;
    margin-bottom:16px;
    flex-wrap:wrap;
}

.dashboard-post-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.dash-action{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 14px;
    border-radius:10px;
    text-decoration:none;
    font-size:14px;
    font-weight:700;
    transition:.25s ease;
}

.view-action{
    color:#fff;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.12);
}

.edit-action{
    color:#aefcff;
    background:rgba(0,247,255,0.10);
    border:1px solid rgba(0,247,255,0.30);
}

.delete-action{
    color:#ffb4bc;
    background:rgba(255,75,92,0.10);
    border:1px solid rgba(255,75,92,0.28);
}

.dashboard-pagination{
    margin-top:28px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
}

.page-btn{
    text-decoration:none;
    color:#fff;
    padding:12px 16px;
    border-radius:12px;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.12);
}

.page-numbers{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.page-number{
    width:42px;
    height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    text-decoration:none;
    color:#fff;
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.10);
}

.page-number.active{
    background:linear-gradient(135deg,#00f7ff,#7c3aed);
    border-color:transparent;
}

.dashboard-empty-state{
    padding:40px 24px;
    border-radius:24px;
    text-align:center;
}

.empty-actions{
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
}

/* ============================= */
/* UPLOAD */
/* ============================= */

.upload-page-wrap{
    max-width:1280px;
    margin:36px auto 60px;
    padding:0 20px;
}

.upload-card{
    padding:28px;
    border-radius:26px;
}

.upload-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:24px;
}

.upload-label{
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#9fb0c9;
    margin-bottom:6px;
}

.upload-header h1{
    font-size:32px;
    margin-bottom:8px;
}

.upload-subtitle{
    color:#b9c7db;
    max-width:760px;
    line-height:1.7;
}

.upload-grid{
    display:grid;
    grid-template-columns:.95fr 1.05fr;
    gap:28px;
    align-items:start;
}

.upload-preview-box{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.upload-preview-inner{
    min-height:420px;
    border-radius:24px;
    overflow:hidden;
    position:relative;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.08);
}

.upload-preview-image{
    width:100%;
    height:100%;
    min-height:420px;
    object-fit:cover;
    display:none;
}

.upload-placeholder{
    min-height:420px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:14px;
    color:#b6c4d8;
    text-align:center;
    padding:20px;
}

.upload-placeholder span{
    font-size:48px;
}

.upload-rules{
    padding:20px;
    border-radius:20px;
}

.upload-rules h3{
    margin-bottom:12px;
}

.upload-rules ul{
    padding-left:18px;
    color:#d7e2f2;
    line-height:1.8;
}

.upload-form{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.upload-form label{
    color:#e3ecfb;
    font-weight:600;
}

.upload-form input[type="file"],
.upload-form textarea{
    width:100%;
    border-radius:14px;
    border:1px solid rgba(255,255,255,0.12);
    background:rgba(255,255,255,0.06);
    color:#fff;
    padding:14px;
    outline:none;
}

.upload-form textarea{
    min-height:220px;
}

.upload-form textarea::placeholder{
    color:#aab7cb;
}

.upload-meta-row{
    display:flex;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    color:#aab7cb;
    font-size:14px;
}

.upload-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:8px;
}

/* ============================= */
/* PHOTO / EDIT */
/* ============================= */

.photo-page-wrap,
.edit-page-wrap{
    max-width:1280px;
    margin:36px auto 60px;
    padding:0 20px;
}

.info-box{
    padding:24px;
    border-radius:20px;
    text-align:center;
}

.photo-view-card,
.photo-comments-section,
.edit-card{
    padding:26px;
    border-radius:26px;
    margin-bottom:24px;
}

.photo-view-grid,
.edit-grid{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:28px;
    align-items:start;
}

.photo-main-image-box,
.edit-preview-box{
    position:relative;
}

.photo-main-image,
.edit-preview-image{
    width:100%;
    border-radius:22px;
    object-fit:cover;
    display:block;
    max-height:720px;
}

.photo-side-content{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.photo-meta-top,
.edit-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
}

.photo-author-label,
.edit-label{
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#9fb0c9;
    margin-bottom:6px;
}

.photo-author-name{
    font-size:30px;
}

.photo-status-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
}

.photo-date{
    color:#b4c0d5;
    font-size:14px;
}

.photo-description-box h3,
.comments-header-row h2{
    margin-bottom:12px;
}

/* .photo-description-text{  */
/*    color:#eaf2ff;  */
/*    line-height:1.8;  */
/*    white-space:pre-wrap; */
/* }  */

.photo-like-section{
    padding:18px;
    border-radius:20px;
}

.photo-like-top{
    margin-bottom:12px;
}

.likes-counter{
    color:#fff;
    font-weight:700;
}

.comments-header-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    margin-bottom:20px;
    flex-wrap:wrap;
}

.comments-count{
    color:#b6c3d7;
}

.comment-form{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-bottom:24px;
}

.comment-form textarea,
.edit-form textarea,
.edit-form input[type="file"]{
    width:100%;
    border-radius:14px;
    border:1px solid rgba(255,255,255,0.12);
    background:rgba(255,255,255,0.06);
    color:#fff;
    padding:14px;
    outline:none;
}

.comment-form textarea::placeholder{
    color:#aab6ca;
}

.comments-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.comment-card{
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:16px;
    padding:16px;
}

.comment-top{
    display:flex;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:10px;
    color:#b9c7da;
    font-size:14px;
}

.comment-card p{
    color:#edf3ff;
    line-height:1.7;
}

.empty-comments{
    padding:18px;
    border-radius:16px;
    background:rgba(255,255,255,0.04);
    color:#b4bfd1;
}

.edit-card h1{
    font-size:30px;
}

.edit-form-box label{
    display:block;
    margin-bottom:8px;
    color:#dce8f8;
    font-weight:600;
}

.edit-form{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.field-hint{
    color:#9fb0c9;
    font-size:13px;
}

.edit-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:8px;
}

/* ============================= */
/* LEGAL / CONTACT */
/* ============================= */

.legal-page-wrap{
    max-width:1200px;
    margin:36px auto 60px;
    padding:0 20px;
}

.legal-hero{
    padding:28px;
    border-radius:26px;
    margin-bottom:24px;
}

.legal-label{
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#9fb0c9;
    margin-bottom:8px;
}

.legal-hero h1{
    font-size:34px;
    margin-bottom:10px;
}

.legal-subtitle{
    color:#b8c6dc;
    line-height:1.7;
    max-width:860px;
}

.legal-content{
    padding:28px;
    border-radius:26px;
    line-height:1.85;
    color:#e8f0fb;
}

.legal-content h2{
    margin-bottom:12px;
    font-size:24px;
    color:#ffffff;
}

.legal-content h2:not(:first-child){
    margin-top:28px;
}

.legal-content p{
    color:#d8e3f3;
}

.legal-list{
    padding-left:22px;
    color:#d8e3f3;
    line-height:1.9;
}

.contact-grid{
    display:grid;
    grid-template-columns:.95fr 1.05fr;
    gap:24px;
}

.contact-info-card,
.contact-form-card{
    padding:26px;
    border-radius:24px;
}

.contact-info-card h2,
.contact-form-card h2{
    margin-bottom:14px;
    font-size:26px;
}

.contact-info-card p,
.contact-form-card p{
    color:#d8e3f3;
    line-height:1.7;
}

.contact-note{
    margin-top:18px;
    padding:16px;
    border-radius:16px;
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.10);
    color:#e9f2ff;
}

.contact-form{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.contact-form label{
    color:#e3ecfb;
    font-weight:600;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    border-radius:14px;
    border:1px solid rgba(255,255,255,0.12);
    background:rgba(255,255,255,0.06);
    color:#fff;
    padding:14px;
    outline:none;
}

.contact-form textarea{
    min-height:180px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
    color:#aab7cb;
}

/* ============================= */


/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media(max-width:1200px){
    .gallery-masonry{column-count:3;}
    .dashboard-cards-grid{grid-template-columns:repeat(3,1fr);}
}

@media(max-width:1100px){
    .home-hero,
    .home-highlight-section{
        grid-template-columns:1fr;
    }

    .home-features-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .home-latest-grid,
    .profile-posts-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .feed-layout{
        grid-template-columns:1fr;
    }

    .feed-sidebar{
        position:static;
    }
}

@media(max-width:980px){
    .main-nav-toggle{
        display:block;
    }

    .main-header-right{
        display:none;
        flex-direction:column;
        width:100%;
        margin-top:10px;
    }

    .main-header-right.main-mobile-open{
        display:flex;
    }

    .main-site-header-inner{
        flex-wrap:wrap;
    }

    .main-site-nav{
        flex-direction:column;
        align-items:flex-start;
    }

    .main-header-actions{
        flex-direction:column;
        width:100%;
    }

    .main-header-search{
        width:100%;
    }

    .main-header-search input{
        width:100%;
        min-width:0;
    }
}

@media(max-width:950px){
    .upload-grid,
    .photo-view-grid,
    .edit-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:900px){
    .gallery-masonry{column-count:2;}

    .profile-hero,
    .dashboard-hero,
    .dashboard-toolbar{
        flex-direction:column;
        align-items:flex-start;
    }

    .profile-stats-grid,
    .contact-grid{
        grid-template-columns:1fr;
    }

    .dashboard-cards-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .dashboard-user-box,
    .profile-hero-left{
        flex-direction:column;
        align-items:flex-start;
    }

    
}

@media(max-width:700px){
    .feed-page-header h1,
    .gallery-hero h1,
    .legal-hero h1,
    .home-hero h1,
    .home-highlight-text h2,
    .home-cta-section h2,
    .section-title-center h2,
    .profile-user-meta h1,
    .dashboard-user-meta h2,
    .upload-header h1,
    .photo-author-name,
    .edit-card h1{
        font-size:28px;
    }

    .feed-post-card{
        padding:16px;
    }

    .feed-post-header{
        align-items:flex-start;
        flex-direction:column;
    }

    .feed-avatar{
        width:46px;
        height:46px;
        font-size:18px;
    }

    .dashboard-posts-grid,
    .home-features-grid,
    .home-latest-grid,
    .profile-posts-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:640px){

    .main-site-header{
        padding:12px 12px 0;
    }

    .main-site-header-inner{
        padding:14px;
        border-radius:18px;
    }

    .main-brand-text{
        font-size:18px;
    }

    .main-brand-icon{
        width:40px;
        height:40px;
        font-size:18px;
    }

    .main-header-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .gallery-masonry{
        column-count:1;
    }

    .home-stats-grid{
        display:grid !important;
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:14px !important;
        width:100% !important;
    }

    .home-stat-card{
        width:100% !important;
        min-width:0 !important;
    }

    .dashboard-cards-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    
}


.dashboard-bio-editor{
    padding:24px;
    border-radius:24px;
    margin-bottom:26px;
}

.dashboard-bio-form{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.dashboard-bio-form label{
    color:#e3ecfb;
    font-weight:600;
}

.dashboard-bio-form textarea{
    width:100%;
    border-radius:14px;
    border:1px solid rgba(255,255,255,0.12);
    background:rgba(255,255,255,0.06);
    color:#fff;
    padding:14px;
    outline:none;
    min-height:160px;
}

.dashboard-bio-form textarea::placeholder{
    color:#aab7cb;
}


.edit-profile-page-wrap{
    max-width: 1280px;
    margin: 36px auto 60px;
    padding: 0 20px;
}

.edit-profile-card{
    padding: 28px;
    border-radius: 26px;
}

.edit-profile-header{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.edit-profile-label{
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9fb0c9;
    margin-bottom: 6px;
}

.edit-profile-header h1{
    font-size: 32px;
    margin-bottom: 8px;
}

.edit-profile-subtitle{
    color: #b9c7db;
    line-height: 1.7;
    max-width: 760px;
}

.edit-profile-actions-top{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.edit-profile-grid{
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 24px;
    align-items: start;
}

.edit-profile-preview,
.edit-profile-form-box{
    padding: 24px;
    border-radius: 24px;
}

.edit-profile-preview h3{
    margin-bottom: 18px;
}

.edit-profile-avatar-wrap{
    margin-bottom: 18px;
}

.edit-profile-avatar-image{
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.12);
}

.edit-profile-avatar-fallback{
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #00f7ff, #8b5cf6);
    box-shadow: 0 0 24px rgba(0,247,255,0.18);
}

.edit-profile-preview-meta h4{
    font-size: 24px;
    margin-bottom: 8px;
}

.edit-profile-preview-meta p{
    color: #b8c6dc;
    margin-bottom: 14px;
}

.edit-profile-preview-bio{
    color: #e7eefb;
    line-height: 1.8;
    white-space: pre-wrap;
}

.edit-profile-form{
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.edit-profile-form label{
    color: #e3ecfb;
    font-weight: 600;
}

.edit-profile-form input,
.edit-profile-form textarea{
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: #fff;
    padding: 14px;
    outline: none;
}

.edit-profile-form textarea{
    min-height: 180px;
}

.edit-profile-form input::placeholder,
.edit-profile-form textarea::placeholder{
    color: #aab7cb;
}

.edit-profile-submit-row{
    margin-top: 8px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 920px){
    .edit-profile-grid{
        grid-template-columns: 1fr;
    }
}



.profile-avatar-xl-wrap{
    flex-shrink: 0;
}




.header-user-box{

position:relative;

}

.header-avatar-link{

display:block;

}

.header-avatar-image{

width:42px;
height:42px;

border-radius:50%;

object-fit:cover;

border:2px solid rgba(255,255,255,0.2);

}

.header-avatar-fallback{

width:42px;
height:42px;

border-radius:50%;

display:flex;
align-items:center;
justify-content:center;

font-weight:700;

color:#fff;

background:linear-gradient(135deg,#00f7ff,#8b5cf6);

}

.header-user-dropdown{

position:absolute;

top:52px;
right:0;

background:rgba(20,25,40,0.95);

backdrop-filter:blur(14px);

border-radius:14px;

padding:10px 0;

min-width:170px;

display:none;

flex-direction:column;

box-shadow:0 10px 30px rgba(0,0,0,0.35);

}

.header-user-dropdown a{

padding:10px 16px;

color:#e5ecf8;

text-decoration:none;

display:block;

}

.header-user-dropdown a:hover{

background:rgba(255,255,255,0.08);

}

.header-user-box:hover .header-user-dropdown{

display:flex;

}








.feed-avatar-image{
    width:52px;
    height:52px;
    border-radius:50%;
    object-fit:cover;
    border:1px solid rgba(255,255,255,0.12);
    box-shadow:0 0 18px rgba(0,247,255,0.08);
    flex-shrink:0;
}


/* =========================
   MOBILE HERO VISUAL FIX
=========================*/


/* =========================
   AVATAR SYSTEM
========================= */

.avatar-fallback{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(0,247,255,0.10);
    border:1px solid rgba(0,247,255,0.16);
    color:#c9f9ff;
    font-weight:800;
    line-height:1;
    overflow:hidden;
}

.profile-main-avatar{
    width:96px;
    height:96px;
    min-width:96px;
    border-radius:50%;
    object-fit:cover;
    box-shadow:0 10px 28px rgba(0,0,0,0.22);
}

.profile-main-avatar.avatar-fallback{
    font-size:32px;
}

.header-user-avatar{
    width:32px;
    height:32px;
    min-width:32px;
    border-radius:50%;
    object-fit:cover;
}

.header-user-avatar.avatar-fallback{
    font-size:13px;
}

.feed-user-avatar,
.comment-user-avatar{
    width:34px;
    height:34px;
    min-width:34px;
    border-radius:50%;
    object-fit:cover;
}

.feed-user-avatar.avatar-fallback,
.comment-user-avatar.avatar-fallback{
    font-size:13px;
}

/* =========================
   PROFILE PAGE
========================= */

.profile-page-wrap{
    width:min(1200px, calc(100% - 24px));
    margin:28px auto 40px;
    display:flex;
    flex-direction:column;
    gap:22px;
}

.profile-hero-card{
    display:grid;
    grid-template-columns:1.4fr .9fr;
    gap:22px;
    padding:24px;
    border-radius:26px;
}

.profile-hero-left{
    display:flex;
    align-items:flex-start;
    gap:18px;
}

.profile-avatar-wrap{
    flex-shrink:0;
}

.profile-main-info{
    min-width:0;
}

.profile-mini-label{
    margin:0 0 8px;
    font-size:12px;
    letter-spacing:1.2px;
    text-transform:uppercase;
    color:#9fb3c8;
    font-weight:700;
}

.profile-username{
    margin:0 0 10px;
    font-size:34px;
    line-height:1.1;
}

.profile-meta-line{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    color:#9fb3c8;
    font-size:14px;
    margin-bottom:14px;
}

.profile-bio-box p{
    margin:0;
    font-size:16px;
    line-height:1.8;
}

.profile-avatar-upload-box{
    padding:18px;
    border-radius:20px;
}

.profile-avatar-upload-box h3{
    margin:0 0 14px;
    font-size:20px;
}

.profile-avatar-form{
    display:flex;
    flex-direction:column;
    gap:12px;
    align-items:flex-start;
}

.profile-avatar-form input[type="file"]{
    width:100%;
    padding:10px 12px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,0.10);
    background:rgba(255,255,255,0.04);
    color:#fff;
}

.profile-owner-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:14px;
}

.profile-gallery-card{
    padding:24px;
    border-radius:26px;
}

.section-head-row{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:16px;
    margin-bottom:18px;
}

.section-head-row h2{
    margin:0;
    font-size:28px;
}

.profile-photo-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:16px;
}

.profile-photo-card{
    overflow:hidden;
    border-radius:20px;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.08);
}

.profile-photo-link{
    display:block;
    text-decoration:none;
}

.profile-photo-image{
    width:100%;
    aspect-ratio:1 / 1;
    object-fit:cover;
    display:block;
}

.profile-photo-content{
    padding:14px;
}

.profile-photo-date{
    margin:0 0 8px;
    font-size:13px;
    color:#9fb3c8;
}

.profile-photo-desc{
    margin:0;
    font-size:14px;
    line-height:1.6;
}

.empty-state-box{
    padding:18px;
    border-radius:18px;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.08);
}

@media (max-width: 980px){
    .profile-hero-card{
        grid-template-columns:1fr;
    }

    .profile-photo-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px){
    .profile-page-wrap{
        width:min(100%, calc(100% - 20px));
        margin:18px auto 28px;
        gap:18px;
    }

    .profile-hero-card,
    .profile-gallery-card{
        padding:18px;
        border-radius:20px;
    }

    .profile-hero-left{
        flex-direction:column;
        align-items:flex-start;
    }

    .profile-main-avatar{
        width:82px;
        height:82px;
        min-width:82px;
    }

    .profile-main-avatar.avatar-fallback{
        font-size:28px;
    }

    .profile-username{
        font-size:28px;
    }

    .profile-photo-grid{
        grid-template-columns:1fr;
    }

    .profile-owner-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .profile-owner-actions .outline-btn{
        width:100%;
        justify-content:center;
    }

    .profile-avatar-form .neon-btn{
        width:100%;
    }
}


/* ---- */
.header-user-chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    text-decoration:none;
    color:inherit;
    padding:6px 10px 6px 6px;
    border-radius:999px;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.08);
    transition:.2s ease;
}

.header-user-chip:hover{
    background:rgba(255,255,255,0.07);
    border-color:rgba(0,247,255,0.22);
}

.header-user-avatar{
    width:32px;
    height:32px;
    min-width:32px;
    border-radius:50%;
    object-fit:cover;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.header-user-avatar.avatar-fallback{
    background:rgba(0,247,255,0.10);
    border:1px solid rgba(0,247,255,0.16);
    color:#c9f9ff;
    font-size:13px;
    font-weight:800;
    line-height:1;
}

.header-user-name{
    font-size:14px;
    font-weight:700;
    color:#eaf4ff;
}


/* ---- */

.feed-avatar-image{
    width:44px;
    height:44px;
    min-width:44px;
    border-radius:50%;
    object-fit:cover;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.feed-avatar-image.avatar-fallback{
    background:rgba(0,247,255,0.10);
    border:1px solid rgba(0,247,255,0.16);
    color:#c9f9ff;
    font-size:16px;
    font-weight:800;
    line-height:1;
}

.feed-comment-user{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:4px;
}



.feed-comment-avatar.avatar-fallback{
    background:rgba(0,247,255,0.10);
    border:1px solid rgba(0,247,255,0.16);
    color:#c9f9ff;
    font-size:11px;
    font-weight:800;
    line-height:1;
}

/* ===== FIX: FEED COMMENT AVATAR SIZE ===== */



.feed-comment-avatar.avatar-fallback{
    font-size:11px !important;
}


.feed-comment-preview-item{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.feed-comment-user{
    display:flex;
    align-items:center;
    gap:8px;
}

/* ---- */
/* =========================
   FEED COMMENTS PREVIEW UI
========================= */

.feed-comments-preview{
    margin-top:14px;
    display:flex;
    flex-direction:column;
    gap:10px;
}

.feed-comment-preview-item{
    display:flex;
    flex-direction:column;
    gap:6px;
    padding:10px 12px;
    border-radius:14px;
    background:rgba(255,255,255,0.035);
    border:1px solid rgba(255,255,255,0.06);
}

.feed-comment-user-row{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
}

.feed-comment-avatar{
    width:26px !important;
    height:26px !important;
    min-width:26px !important;
    max-width:26px !important;
    border-radius:50% !important;
    object-fit:cover !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex-shrink:0;
}

.feed-comment-avatar.avatar-fallback{
    background:rgba(0,247,255,0.10);
    border:1px solid rgba(0,247,255,0.16);
    color:#c9f9ff;
    font-size:11px !important;
    font-weight:800;
    line-height:1;
}

.feed-comment-meta{
    min-width:0;
    display:flex;
    align-items:center;
}

.feed-comment-username{
    display:block;
    font-size:13px;
    font-weight:700;
    color:#eaf4ff;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.feed-comment-text{
    margin:0;
    font-size:14px;
    line-height:1.65;
    color:#cfdceb;
    word-break:break-word;
    padding-left:34px;
}

.view-all-comments-link{
    display:inline-block;
    margin-top:4px;
    font-size:13px;
    font-weight:700;
    color:#8feeff;
    text-decoration:none;
    transition:.2s ease;
}

.view-all-comments-link:hover{
    color:#ffffff;
    text-decoration:none;
}

.no-comments-text{
    margin:0;
    font-size:14px;
    line-height:1.6;
    color:#97a9bf;
}

/* mobile */
@media (max-width: 768px){
    .feed-comment-preview-item{
        padding:9px 10px;
        border-radius:12px;
    }

    .feed-comment-avatar{
        width:24px !important;
        height:24px !important;
        min-width:24px !important;
        max-width:24px !important;
    }

    .feed-comment-avatar.avatar-fallback{
        font-size:10px !important;
    }

    .feed-comment-username{
        font-size:12px;
    }

    .feed-comment-text{
        font-size:13px;
        line-height:1.6;
        padding-left:32px;
    }

    .view-all-comments-link{
        font-size:12px;
    }
}

/*-----*/










@media (max-width: 768px){
    .gallery-user-chip{
        padding:5px 9px 5px 5px;
        gap:7px;
    }

    .gallery-user-avatar{
        width:26px;
        height:26px;
        min-width:26px;
    }

    .gallery-user-avatar.avatar-fallback{
        font-size:10px;
    }

    .gallery-user-chip-text{
        max-width:95px;
        font-size:12px;
    }
}


/* ===== GALLERY REAL AVATAR FIX ===== */











@media (max-width:768px){
    .gallery-user-avatar{
        width:26px !important;
        height:26px !important;
        min-width:26px !important;
        max-width:26px !important;
        max-height:26px !important;
    }

    .gallery-user-chip-text{
        max-width:95px !important;
        font-size:12px !important;
    }
}

.dashboard-avatar-lg-wrap{
    flex-shrink:0;
}

.dashboard-avatar-lg{
    width:92px;
    height:92px;
    min-width:92px;
    border-radius:50%;
    object-fit:cover;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 10px 28px rgba(0,0,0,0.22);
}

.dashboard-avatar-lg.avatar-fallback{
    background:rgba(0,247,255,0.10);
    border:1px solid rgba(0,247,255,0.16);
    color:#c9f9ff;
    font-size:30px;
    font-weight:800;
    line-height:1;
}



/* =========================
   HOME LATEST AVATAR
========================= */

.home-latest-user-row{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
    min-width:0;
}

.home-latest-avatar{
    width:32px;
    height:32px;
    min-width:32px;
    max-width:32px;
    border-radius:50%;
    object-fit:cover;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.home-latest-avatar.avatar-fallback{
    background:rgba(0,247,255,0.10);
    border:1px solid rgba(0,247,255,0.16);
    color:#c9f9ff;
    font-size:12px;
    font-weight:800;
    line-height:1;
}

.home-latest-user{
    display:block;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    text-decoration:none;
    color:#eaf4ff;
    font-weight:700;
    transition:.2s ease;
}

.home-latest-user:hover{
    color:#00f7ff;
}

@media (max-width: 768px){
    .home-latest-avatar{
        width:30px;
        height:30px;
        min-width:30px;
        max-width:30px;
    }

    .home-latest-avatar.avatar-fallback{
        font-size:11px;
    }
}


.checkbox-inline{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:10px;
    font-size:14px;
    color:#dbeafe;
}

.checkbox-inline input[type="checkbox"]{
    width:18px;
    height:18px;
    accent-color:#00cfe8;
}

.profile-avatar-xl-image{
    width:78px;
    height:78px;
    min-width:78px;
    max-width:78px;
    border-radius:50%;
    object-fit:cover;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.profile-avatar-xl-image.avatar-fallback{
    background:rgba(0,247,255,0.10);
    border:1px solid rgba(0,247,255,0.16);
    color:#c9f9ff;
    font-size:28px;
    font-weight:800;
    line-height:1;
}

.search-user-link{
    text-decoration:none;
    color:#eaf4ff;
    font-weight:700;
    transition:.2s ease;
}

.search-user-link:hover{
    color:#00f7ff;
}


.feed-action-btn.liked,
.like-toggle-btn.liked{
    box-shadow:0 0 18px rgba(255,80,120,0.22);
    transform:translateY(-1px);
}

.feed-action-btn:disabled,
.like-toggle-btn:disabled{
    opacity:.7;
    cursor:not-allowed;
}


/* ------  */

.feed-post-card{
    border-radius:22px;
    overflow:hidden;
    transition:all .35s ease;
    position:relative;
}

.feed-post-card:hover{
    transform:translateY(-6px);
    box-shadow:0 25px 60px rgba(0,0,0,0.45);
}

.feed-post-image-wrap{
    overflow:hidden;
    border-radius:18px;
}

.feed-post-image{
    width:100%;
    transition:transform .6s ease;
}

.feed-post-card:hover .feed-post-image{
    transform:scale(1.05);
}



.feed-avatar-image{
    border:2px solid rgba(255,255,255,0.15);
    box-shadow:0 0 10px rgba(0,247,255,0.15);
}

.feed-username{
    font-weight:700;
    letter-spacing:.3px;
}

.feed-username:hover{
    color:#00f7ff;
}



.feed-action-btn{
    border-radius:12px;
    padding:6px 12px;
    transition:all .25s ease;
}

.feed-action-btn:hover{
    background:rgba(255,255,255,0.08);
}

.feed-action-btn.liked{
    background:rgba(255,80,120,0.12);
    color:#ff4d6d;
    box-shadow:0 0 16px rgba(255,80,120,0.25);
}


.feed-post-stats{
    font-size:14px;
    color:#9fb0c9;
    display:flex;
    gap:12px;
}

.feed-post-stats span{
    display:flex;
    align-items:center;
    gap:4px;
}



.feed-comment-preview-item{
    padding:10px;
    border-radius:14px;
    background:rgba(255,255,255,0.03);
    transition:all .25s ease;
}

.feed-comment-preview-item:hover{
    background:rgba(255,255,255,0.06);
}

.feed-comment-text{
    font-size:14px;
    color:#cbd5e1;
}




.feed-side-card{
    transition:all .3s ease;
}

.feed-side-card:hover{
    transform:translateY(-4px);
    box-shadow:0 20px 40px rgba(0,0,0,0.4);
}







/* ===== FEED CLICK FIX ===== */

.feed-post-card{
    position:relative;
    overflow:hidden;
}

.feed-post-card::after{
    pointer-events:none !important;
    z-index:0 !important;
}

.feed-post-card > *{
    position:relative;
    z-index:1;
}

/* avatar πάντα σωστό */
.feed-post-user,
.feed-post-user a,
.feed-avatar-image,
.feed-username{
    position:relative;
    z-index:3;
}

/* image link πάντα clickable */
.feed-post-image-wrap,
.feed-post-image-wrap a,
.feed-post-image{
    position:relative;
    z-index:2;
}

/* buttons πάντα clickable */
.feed-post-actions-row,
.feed-action-btn,
.feed-open-post-btn{
    position:relative;
    z-index:3;
}





/* ===== FEED AVATAR DESKTOP FIX ===== */

.feed-post-user{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}

.feed-avatar-image{
    width:44px !important;
    height:44px !important;
    min-width:44px !important;
    max-width:44px !important;
    max-height:44px !important;
    border-radius:50% !important;
    object-fit:cover !important;
    display:block !important;
    flex-shrink:0 !important;
    overflow:hidden !important;
}

.feed-avatar-image.avatar-fallback{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-size:16px !important;
    font-weight:800 !important;
    line-height:1 !important;
}

.feed-username{
    display:inline-block;
    text-decoration:none;
}


.feed-loader{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:20px 0 8px;
}

.feed-loader-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#00cfe8;
    animation:feedLoaderBounce 1s infinite ease-in-out;
}

.feed-loader-dot:nth-child(2){
    animation-delay:.15s;
}

.feed-loader-dot:nth-child(3){
    animation-delay:.3s;
}

@keyframes feedLoaderBounce{
    0%, 80%, 100%{
        transform:scale(.6);
        opacity:.45;
    }
    40%{
        transform:scale(1);
        opacity:1;
    }
}

.feed-end-message{
    text-align:center;
    padding:18px 0 10px;
    color:#9fb0c9;
    font-size:14px;
}

#feedScrollSentinel{
    width:100%;
    height:2px;
}


.feed-post-image-wrap{
    position:relative;
    overflow:hidden;
    border-radius:18px;
}

.feed-post-image-link{
    display:block;
    position:relative;
    z-index:1;
}

.feed-like-burst{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%) scale(.4);
    font-size:86px;
    line-height:1;
    opacity:0;
    pointer-events:none;
    z-index:3;
    filter:drop-shadow(0 8px 24px rgba(0,0,0,0.35));
}

.feed-like-burst.show{
    animation:feedLikeBurst .9s ease forwards;
}

@keyframes feedLikeBurst{
    0%{
        opacity:0;
        transform:translate(-50%, -50%) scale(.35);
    }
    20%{
        opacity:1;
        transform:translate(-50%, -50%) scale(1.15);
    }
    45%{
        opacity:1;
        transform:translate(-50%, -50%) scale(1);
    }
    100%{
        opacity:0;
        transform:translate(-50%, -50%) scale(1.35);
    }
}


/* ------ */

/* =========================================
   FEED VIEWER PREMIUM V2
========================================= */

body.viewer-open{
    overflow:hidden;
}



.feed-viewer-modal.is-open{
    display:block;
}

.feed-viewer-backdrop{
    position:absolute;
    inset:0;
    background:rgba(3,8,16,0.90);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    opacity:0;
    transition:opacity .22s ease;
}

.feed-viewer-modal.is-open .feed-viewer-backdrop{
    opacity:1;
}



.feed-viewer-modal.is-open .feed-viewer-dialog{
    transform:translateY(0) scale(1);
    opacity:1;
}



.feed-viewer-close:hover{
    background:rgba(255,255,255,0.16);
    transform:scale(1.05);
}









.feed-viewer-label{
    margin:0 0 8px;
    font-size:12px;
    letter-spacing:1px;
    text-transform:uppercase;
    color:#9fb0c9;
    font-weight:700;
}

.feed-viewer-meta h3{
    margin:0 0 8px;
    font-size:30px;
    line-height:1.15;
    color:#ffffff;
}

.feed-viewer-date{
    margin:0;
    font-size:14px;
    color:#9fb0c9;
}

.feed-viewer-description{
    font-size:16px;
    line-height:1.8;
    color:#e5edf8;
    background:rgba(255,255,255,0.035);
    border:1px solid rgba(255,255,255,0.06);
    border-radius:18px;
    padding:18px;
    word-break:break-word;
}





.feed-post-image-clickable{
    cursor:zoom-in;
    user-select:none;
    -webkit-user-drag:none;
}

.feed-like-burst{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%) scale(.4);
    font-size:86px;
    line-height:1;
    opacity:0;
    pointer-events:none;
    z-index:3;
    filter:drop-shadow(0 8px 24px rgba(0,0,0,0.35));
}

.feed-like-burst.show{
    animation:feedLikeBurst .85s ease forwards;
}

@keyframes feedLikeBurst{
    0%{
        opacity:0;
        transform:translate(-50%, -50%) scale(.35);
    }
    20%{
        opacity:1;
        transform:translate(-50%, -50%) scale(1.15);
    }
    45%{
        opacity:1;
        transform:translate(-50%, -50%) scale(1);
    }
    100%{
        opacity:0;
        transform:translate(-50%, -50%) scale(1.35);
    }
}

/* MOBILE */




.feed-viewer-author-avatar-img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}





















.feed-viewer-comments-box{
    display:flex;
    flex-direction:column;
    gap:12px;
    padding:14px;
    border-radius:18px;
    background:rgba(255,255,255,0.035);
    border:1px solid rgba(255,255,255,0.06);
}

.feed-viewer-comments-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.feed-viewer-comments-head h4{
    margin:0;
    font-size:16px;
    color:#ffffff;
}

.feed-viewer-comments-link{
    color:#8feeff;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
}

.feed-viewer-comments-link:hover{
    color:#ffffff;
}

.feed-viewer-comments-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.feed-viewer-comment-item{
    display:flex;
    align-items:flex-start;
    gap:10px;
}

.feed-viewer-comment-avatar{
    width:38px;
    height:38px;
    min-width:38px;
    border-radius:50%;
    overflow:hidden;
    background:rgba(0,247,255,0.10);
    border:1px solid rgba(0,247,255,0.16);
    display:flex;
    align-items:center;
    justify-content:center;
}

.feed-viewer-comment-avatar-img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.feed-viewer-comment-avatar-letter{
    color:#c9f9ff;
    font-size:14px;
    font-weight:800;
    line-height:1;
}

.feed-viewer-comment-body{
    min-width:0;
}

.feed-viewer-comment-username{
    display:block;
    margin:0 0 4px;
    font-size:14px;
    color:#ffffff;
}

.feed-viewer-comment-text{
    margin:0;
    font-size:14px;
    line-height:1.6;
    color:#dbeafe;
    word-break:break-word;
}









@keyframes feedViewerSlideNext{
    0%{
        opacity:.55;
        transform:translateX(42px);
    }
    100%{
        opacity:1;
        transform:translateX(0);
    }
}

@keyframes feedViewerSlidePrev{
    0%{
        opacity:.55;
        transform:translateX(-42px);
    }
    100%{
        opacity:1;
        transform:translateX(0);
    }
}







.feed-viewer-progress{
    flex:1;
    display:flex;
    align-items:center;
    gap:6px;
    min-width:0;
}

.feed-viewer-progress-bar{
    flex:1;
    height:4px;
    border-radius:999px;
    background:rgba(255,255,255,0.18);
    overflow:hidden;
    position:relative;
}

.feed-viewer-progress-bar.is-passed{
    background:rgba(255,255,255,0.55);
}

.feed-viewer-progress-bar.is-active{
    background:rgba(255,255,255,0.24);
}

.feed-viewer-progress-bar.is-active::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:999px;
    background:linear-gradient(90deg, #ffffff, #8feeff);
    box-shadow:0 0 14px rgba(143,238,255,0.35);
}










.feed-viewer-tap-zone{
    position:absolute;
    top:0;
    bottom:0;
    width:22%;
    z-index:4;
    border:none;
    background:transparent;
    padding:0;
    cursor:pointer;
}

.feed-viewer-tap-left{
    left:0;
}

.feed-viewer-tap-right{
    right:0;
}

.feed-viewer-tap-zone:focus{
    outline:none;
}

.feed-viewer-tap-zone::after{
    content:"";
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:42px;
    height:42px;
    border-radius:50%;
    background:rgba(255,255,255,0.08);
    opacity:0;
    transition:opacity .18s ease, transform .18s ease;
    pointer-events:none;
}

.feed-viewer-tap-left::after{
    left:12px;
}

.feed-viewer-tap-right::after{
    right:12px;
}

.feed-viewer-tap-zone:hover::after{
    opacity:1;
}




body.viewer-open{
    overflow:hidden;
}

.feed-post-image-clickable{
    cursor:zoom-in;
    user-select:none;
    -webkit-user-drag:none;
}



.feed-viewer-modal.is-open{
    display:block;
}

.feed-viewer-backdrop{
    position:absolute;
    inset:0;
    background:rgba(3,8,16,0.90);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}













.feed-viewer-label{
    margin:0 0 8px;
    font-size:12px;
    letter-spacing:1px;
    text-transform:uppercase;
    color:#9fb0c9;
    font-weight:700;
}

.feed-viewer-meta h3{
    margin:0 0 8px;
    font-size:30px;
    line-height:1.15;
    color:#ffffff;
}

.feed-viewer-date{
    margin:0;
    font-size:14px;
    color:#9fb0c9;
}

.feed-viewer-description{
    font-size:16px;
    line-height:1.8;
    color:#e5edf8;
    background:rgba(255,255,255,0.035);
    border:1px solid rgba(255,255,255,0.06);
    border-radius:18px;
    padding:18px;
    word-break:break-word;
}























.feed-viewer-author-avatar-img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}







/* ---- */


.feed-viewer-modal.is-open {
    display: block;
}

.feed-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(10px);
}





@media (max-width: 768px) {
    .feed-viewer-content {
        grid-template-columns: 1fr;
        height: 100%;
    }

    .feed-viewer-info-side {
        padding: 16px;
    }

    .feed-viewer-image {
        max-height: 60vh;
    }

    .feed-viewer-nav {
        font-size: 26px;
        padding: 8px 10px;
    }
}
















body.viewer-open{
    overflow:hidden;
}

.feed-post-image-clickable{
    cursor:zoom-in;
    user-select:none;
    -webkit-user-drag:none;
}





.feed-viewer-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.92);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}















.feed-viewer-label{
    margin:0 0 8px;
    font-size:12px;
    letter-spacing:1px;
    text-transform:uppercase;
    color:#9fb0c9;
    font-weight:700;
}








.feed-viewer-author-avatar-img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}



.feed-viewer-date{
    margin:0;
    font-size:14px;
    color:#9fb0c9;
}

.feed-viewer-description{
    font-size:16px;
    line-height:1.8;
    color:#e5edf8;
    background:rgba(255,255,255,0.035);
    border:1px solid rgba(255,255,255,0.06);
    border-radius:18px;
    padding:18px;
    word-break:break-word;
}










/*


*/

@keyframes viewerScrollHint{
    0%{
        transform:rotate(45deg) translateY(0);
        opacity:0;
    }
    30%{
        opacity:1;
    }
    100%{
        transform:rotate(45deg) translateY(8px);
        opacity:0;
    }
}



/*-----*/




@keyframes hintPulse{
    0%,100%{
        box-shadow:
            0 10px 30px rgba(0,0,0,0.4),
            0 0 0 rgba(0,234,255,0);
    }
    50%{
        box-shadow:
            0 10px 30px rgba(0,0,0,0.4),
            0 0 18px rgba(0,234,255,0.22);
    }
}



.feed-viewer-image-stage.viewer-slide-prev{
    animation:viewerSlidePrev .28s ease;
}

@keyframes viewerSlideNext{
    0%{
        opacity:.55;
        transform:translateX(42px);
    }
    100%{
        opacity:1;
        transform:translateX(0);
    }
}

@keyframes viewerSlidePrev{
    0%{
        opacity:.55;
        transform:translateX(-42px);
    }
    100%{
        opacity:1;
        transform:translateX(0);
    }
}






/* ------- */














.feed-viewer-slide-track.has-prev .feed-viewer-image-secondary{
    display:block;
    left:-100%;
}




/* =========================================
   FEED VIEWER - CLEAN STABLE VERSION
========================================= */

body.viewer-open{
    overflow:hidden;
}

.feed-viewer-modal{
    position:fixed;
    inset:0;
    z-index:9999;
    display:none;
}

.feed-viewer-modal.is-open{
    display:block;
}

.feed-viewer-backdrop{
    position:absolute;
    inset:0;
    background:rgba(3,8,16,0.92);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}

.feed-viewer-dialog{
    position:relative;
    z-index:2;
    width:min(1400px, calc(100vw - 24px));
    height:min(92vh, 940px);
    margin:4vh auto;
    border-radius:24px;
    overflow:hidden;
    background:linear-gradient(180deg, rgba(17,24,39,0.98), rgba(8,13,24,0.99));
    border:1px solid rgba(255,255,255,0.08);
    box-shadow:0 32px 90px rgba(0,0,0,0.55);
}

.feed-viewer-close{
    position:absolute;
    top:14px;
    right:14px;
    z-index:10;
    width:44px;
    height:44px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,0.08);
    color:#ffffff;
    font-size:18px;
    cursor:pointer;
    transition:.2s ease;
}

.feed-viewer-close:hover{
    background:rgba(255,255,255,0.16);
}

.feed-viewer-content{
    display:grid;
    grid-template-columns:minmax(0, 1.65fr) 420px;
    width:100%;
    height:100%;
    gap:0;
}

.feed-viewer-image-side{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#02060d;
    padding:10px;
    min-width:0;
    min-height:0;
    overflow:hidden;
    touch-action:pan-y;
}

.feed-viewer-image{
    display:block;
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    border-radius:16px;
    user-select:none;
    -webkit-user-drag:none;
}

.feed-viewer-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:8;
    width:54px;
    height:54px;
    border:none;
    border-radius:50%;
    background:rgba(7,16,29,0.78);
    border:1px solid rgba(255,255,255,0.10);
    color:#ffffff;
    font-size:24px;
    font-weight:700;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 12px 28px rgba(0,0,0,0.28);
    transition:all .2s ease;
}

.feed-viewer-nav:hover{
    background:rgba(16,30,49,0.96);
    transform:translateY(-50%) scale(1.04);
}

.feed-viewer-nav-prev{
    left:18px;
}

.feed-viewer-nav-next{
    right:18px;
}

.feed-viewer-nav.is-disabled,
.feed-viewer-nav:disabled{
    opacity:.35;
    cursor:not-allowed;
    transform:translateY(-50%);
}

.feed-viewer-topbar{
    position:absolute;
    top:14px;
    left:14px;
    right:70px;
    z-index:6;
    display:flex;
    align-items:center;
    gap:12px;
    pointer-events:none;
}

.feed-viewer-counter{
    pointer-events:auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:36px;
    padding:8px 12px;
    border-radius:999px;
    background:rgba(255,255,255,0.10);
    color:#ffffff;
    font-size:13px;
    font-weight:700;
    letter-spacing:.2px;
    white-space:nowrap;
    box-shadow:0 10px 24px rgba(0,0,0,0.20);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
}

.feed-viewer-info-side{
    position:relative;
    display:flex;
    flex-direction:column;
    gap:18px;
    padding:28px 24px;
    overflow-y:auto;
    min-height:0;
    color:#fff;
}

.feed-viewer-label{
    margin:0 0 8px;
    font-size:12px;
    letter-spacing:1px;
    text-transform:uppercase;
    color:#9fb0c9;
    font-weight:700;
}

.feed-viewer-author-row{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:inherit;
    border-radius:14px;
    padding:6px 4px;
    transition:background .18s ease, transform .18s ease;
}

.feed-viewer-author-row:hover{
    background:rgba(255,255,255,0.04);
    transform:translateY(-1px);
}

.feed-viewer-author-avatar{
    width:42px;
    height:42px;
    min-width:42px;
    border-radius:50%;
    background:#222;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
    overflow:hidden;
}

.feed-viewer-author-avatar-img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.feed-viewer-author-meta{
    min-width:0;
}

.feed-viewer-author-meta h3{
    margin:0 0 4px;
    font-size:22px;
    line-height:1.15;
    color:#fff;
}

.feed-viewer-date{
    margin:0;
    font-size:14px;
    color:#9fb0c9;
}

.feed-viewer-description{
    font-size:16px;
    line-height:1.8;
    color:#e5edf8;
    background:rgba(255,255,255,0.035);
    border:1px solid rgba(255,255,255,0.06);
    border-radius:18px;
    padding:18px;
    word-break:break-word;
}

.feed-viewer-social-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px 14px;
    border-radius:16px;
    background:rgba(255,255,255,0.035);
    border:1px solid rgba(255,255,255,0.06);
}

.feed-viewer-like-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:10px 16px;
    border:none;
    border-radius:12px;
    background:rgba(255,255,255,0.08);
    color:#ffffff;
    font-size:15px;
    font-weight:700;
    line-height:1;
    cursor:pointer;
    transition:.2s ease;
    white-space:nowrap;
}

.feed-viewer-like-btn:hover{
    background:rgba(255,255,255,0.14);
}

.feed-viewer-like-btn.liked{
    background:rgba(255,92,124,0.16);
    border:1px solid rgba(255,92,124,0.28);
    color:#ffffff;
    box-shadow:0 0 18px rgba(255,92,124,0.18);
}

.feed-viewer-like-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:10px 14px;
    border-radius:12px;
    background:rgba(255,255,255,0.06);
    color:#dbeafe;
    font-size:14px;
    font-weight:700;
    white-space:nowrap;
}

.feed-viewer-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:auto;
}

.feed-viewer-actions .neon-btn,
.feed-viewer-actions .outline-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    text-decoration:none;
    min-height:48px;
    padding:12px 18px;
    border-radius:14px;
    box-sizing:border-box;
}

.feed-viewer-image{
    transition:transform .24s ease, opacity .24s ease;
    will-change:transform, opacity;
}

.feed-viewer-image.is-sliding-next{
    animation:feedViewerSlideNext .24s ease;
}

.feed-viewer-image.is-sliding-prev{
    animation:feedViewerSlidePrev .24s ease;
}

@keyframes feedViewerSlideNext{
    0%{
        opacity:.68;
        transform:translateX(26px);
    }
    100%{
        opacity:1;
        transform:translateX(0);
    }
}

@keyframes feedViewerSlidePrev{
    0%{
        opacity:.68;
        transform:translateX(-26px);
    }
    100%{
        opacity:1;
        transform:translateX(0);
    }
}


.feed-viewer-like-burst{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%) scale(.35);
    font-size:92px;
    line-height:1;
    opacity:0;
    pointer-events:none;
    z-index:9;
    filter:drop-shadow(0 10px 28px rgba(0,0,0,0.35));
}

.feed-viewer-like-burst.show{
    animation:feedViewerLikeBurst .85s ease forwards;
}

@keyframes feedViewerLikeBurst{
    0%{
        opacity:0;
        transform:translate(-50%, -50%) scale(.35);
    }
    20%{
        opacity:1;
        transform:translate(-50%, -50%) scale(1.15);
    }
    45%{
        opacity:1;
        transform:translate(-50%, -50%) scale(1);
    }
    100%{
        opacity:0;
        transform:translate(-50%, -50%) scale(1.35);
    }
}

@media (max-width: 900px){
    .feed-viewer-like-burst{
        font-size:76px;
    }
}


/* =========================================
   FEED VIEWER EXTRA FEATURES
   - slide animation
   - like burst
   - comments preview
========================================= */

.feed-viewer-image{
    transition:transform .24s ease, opacity .24s ease;
    will-change:transform, opacity;
    touch-action:pan-y;
}

.feed-viewer-image.is-sliding-next{
    animation:feedViewerSlideNext .24s ease;
}

.feed-viewer-image.is-sliding-prev{
    animation:feedViewerSlidePrev .24s ease;
}

@keyframes feedViewerSlideNext{
    0%{
        opacity:.68;
        transform:translateX(26px);
    }
    100%{
        opacity:1;
        transform:translateX(0);
    }
}

@keyframes feedViewerSlidePrev{
    0%{
        opacity:.68;
        transform:translateX(-26px);
    }
    100%{
        opacity:1;
        transform:translateX(0);
    }
}

.feed-viewer-like-burst{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%) scale(.35);
    font-size:92px;
    line-height:1;
    opacity:0;
    pointer-events:none;
    z-index:9;
    filter:drop-shadow(0 10px 28px rgba(0,0,0,0.35));
}

.feed-viewer-like-burst.show{
    animation:feedViewerLikeBurst .85s ease forwards;
}

@keyframes feedViewerLikeBurst{
    0%{
        opacity:0;
        transform:translate(-50%, -50%) scale(.35);
    }
    20%{
        opacity:1;
        transform:translate(-50%, -50%) scale(1.15);
    }
    45%{
        opacity:1;
        transform:translate(-50%, -50%) scale(1);
    }
    100%{
        opacity:0;
        transform:translate(-50%, -50%) scale(1.35);
    }
}

.feed-viewer-comments-box{
    display:flex;
    flex-direction:column;
    gap:12px;
    padding:14px;
    border-radius:18px;
    background:rgba(255,255,255,0.035);
    border:1px solid rgba(255,255,255,0.06);
}

.feed-viewer-comments-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.feed-viewer-comments-head h4{
    margin:0;
    font-size:16px;
    color:#ffffff;
}

.feed-viewer-comments-link{
    color:#8feeff;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
    transition:.2s ease;
}

.feed-viewer-comments-link:hover{
    color:#ffffff;
}

.feed-viewer-comments-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.feed-viewer-comment-item{
    display:flex;
    align-items:flex-start;
    gap:10px;
}

.feed-viewer-comment-avatar{
    width:38px;
    height:38px;
    min-width:38px;
    border-radius:50%;
    overflow:hidden;
    background:rgba(0,247,255,0.10);
    border:1px solid rgba(0,247,255,0.16);
    display:flex;
    align-items:center;
    justify-content:center;
}

.feed-viewer-comment-avatar-img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.feed-viewer-comment-avatar-letter{
    color:#c9f9ff;
    font-size:14px;
    font-weight:800;
    line-height:1;
}

.feed-viewer-comment-body{
    min-width:0;
}

.feed-viewer-comment-username{
    display:block;
    margin:0 0 4px;
    font-size:14px;
    color:#ffffff;
}

.feed-viewer-comment-text{
    margin:0;
    font-size:14px;
    line-height:1.6;
    color:#dbeafe;
    word-break:break-word;
}

@media (max-width: 900px){
    .feed-viewer-like-burst{
        font-size:76px;
    }

    .feed-viewer-comments-box{
        padding:12px;
        border-radius:16px;
    }

    .feed-viewer-comments-head h4{
        font-size:15px;
    }

    .feed-viewer-comment-avatar{
        width:34px;
        height:34px;
        min-width:34px;
    }

    .feed-viewer-comment-text{
        font-size:13px;
        line-height:1.55;
    }
}

/* -----  */
.feed-viewer-image-side{
    perspective: 1400px;
    transform-style: preserve-3d;
    overflow: hidden;
}

.feed-viewer-image{
    transition:
        transform .42s cubic-bezier(.22,.8,.2,1),
        opacity .42s cubic-bezier(.22,.8,.2,1),
        filter .42s cubic-bezier(.22,.8,.2,1);
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
    transform-origin: center center;
}

.feed-viewer-image.is-sliding-next{
    animation: viewerStoryNext3D .42s cubic-bezier(.22,.8,.2,1);
}

.feed-viewer-image.is-sliding-prev{
    animation: viewerStoryPrev3D .42s cubic-bezier(.22,.8,.2,1);
}

@keyframes viewerStoryNext3D{
    0%{
        opacity:.78;
        transform:
            translateX(54px)
            rotateY(-14deg)
            scale(.94);
        filter: brightness(.88);
    }
    55%{
        opacity:.96;
        transform:
            translateX(12px)
            rotateY(-4deg)
            scale(.985);
        filter: brightness(.96);
    }
    100%{
        opacity:1;
        transform:
            translateX(0)
            rotateY(0deg)
            scale(1);
        filter: brightness(1);
    }
}

@keyframes viewerStoryPrev3D{
    0%{
        opacity:.78;
        transform:
            translateX(-54px)
            rotateY(14deg)
            scale(.94);
        filter: brightness(.88);
    }
    55%{
        opacity:.96;
        transform:
            translateX(-12px)
            rotateY(4deg)
            scale(.985);
        filter: brightness(.96);
    }
    100%{
        opacity:1;
        transform:
            translateX(0)
            rotateY(0deg)
            scale(1);
        filter: brightness(1);
    }
}

@media (max-width: 900px){
    .feed-viewer-image-side{
        perspective: 1100px;
    }

    @keyframes viewerStoryNext3D{
        0%{
            opacity:.8;
            transform:
                translateX(34px)
                rotateY(-11deg)
                scale(.965);
            filter: brightness(.9);
        }
        55%{
            opacity:.97;
            transform:
                translateX(8px)
                rotateY(-3deg)
                scale(.99);
            filter: brightness(.97);
        }
        100%{
            opacity:1;
            transform:
                translateX(0)
                rotateY(0deg)
                scale(1);
            filter: brightness(1);
        }
    }

    @keyframes viewerStoryPrev3D{
        0%{
            opacity:.8;
            transform:
                translateX(-34px)
                rotateY(11deg)
                scale(.965);
            filter: brightness(.9);
        }
        55%{
            opacity:.97;
            transform:
                translateX(-8px)
                rotateY(3deg)
                scale(.99);
            filter: brightness(.97);
        }
        100%{
            opacity:1;
            transform:
                translateX(0)
                rotateY(0deg)
                scale(1);
            filter: brightness(1);
        }
    }
}


/* ---- */


/* scroll hint */

.viewer-scroll-hint{
    position:absolute;
    left:50%;
    bottom:88px;
    transform:translateX(-50%);
    z-index:30;
    display:none;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:6px;
    width:46px;
    height:54px;
    border-radius:999px;
    background:linear-gradient(135deg, rgba(10,25,50,0.92), rgba(20,10,40,0.92));
    border:1px solid rgba(255,255,255,0.12);
    box-shadow:0 10px 30px rgba(0,0,0,0.40), inset 0 0 12px rgba(255,255,255,0.05);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    pointer-events:none;
    opacity:0;
    transition:opacity .25s ease, transform .25s ease;
}

.viewer-scroll-hint.is-visible{
    display:flex;
    opacity:.98;
}

.viewer-scroll-hint.is-touching{
    opacity:.78 !important;
    transform:translateX(-50%) scale(.94);
}

.viewer-scroll-pill{
    width:18px;
    height:4px;
    border-radius:999px;
    background:linear-gradient(90deg,#00eaff,#7a5cff,#ff4fd8);
    box-shadow:0 0 8px rgba(0,234,255,.7), 0 0 14px rgba(122,92,255,.55);
    animation:viewerGesturePill 1.4s infinite ease-in-out;
}

.viewer-scroll-hint span{
    width:14px;
    height:14px;
    display:block;
    transform:rotate(45deg);
    border-right:3px solid;
    border-bottom:3px solid;
    border-image:linear-gradient(135deg,#00eaff,#7a5cff,#ff4fd8) 1;
    filter:drop-shadow(0 0 6px rgba(0,234,255,.9))
           drop-shadow(0 0 12px rgba(122,92,255,.8))
           drop-shadow(0 0 18px rgba(255,79,216,.6));
    animation:neonArrowBounce 1.4s infinite;
}

@keyframes viewerGesturePill{
    0%,100%{ transform:translateY(0); opacity:.75; }
    50%{ transform:translateY(-3px); opacity:1; }
}

@keyframes neonArrowBounce{
    0%{ transform:rotate(45deg) translateY(0) scale(0.9); opacity:0; }
    25%{ opacity:1; transform:rotate(45deg) translateY(2px) scale(1); }
    50%{ transform:rotate(45deg) translateY(8px) scale(1.1); }
    75%{ transform:rotate(45deg) translateY(4px) scale(1); }
    100%{ transform:rotate(45deg) translateY(12px) scale(0.9); opacity:0; }
}

@media (max-width: 900px){
    .feed-viewer-dialog{
        width:calc(100vw - 10px);
        height:calc(100vh - 10px);
        max-height:calc(100vh - 10px);
        margin:5px auto;
        border-radius:18px;
    }

    .feed-viewer-content{
        display:flex;
        flex-direction:column;
        height:100%;
        width:100%;
    }

    .feed-viewer-image-side{
        flex:1 1 auto;
        min-height:0;
        height:42vh;
        padding:10px;
    }

    .feed-viewer-image{
        width:100%;
        height:100%;
        max-height:62vh;
        object-fit:contain;
        border-radius:14px;
    }

    .feed-viewer-info-side{
    flex:0 0 auto;
    max-height:38vh;
    overflow-y:auto;
    padding:16px 14px 96px;
    gap:14px;
    justify-content:flex-start;
    }

    .feed-viewer-topbar{
        top:10px;
        left:10px;
        right:58px;
        gap:8px;
    }

    .feed-viewer-counter{
        min-height:32px;
        padding:6px 10px;
        font-size:12px;
    }

    .feed-viewer-author-avatar{
        width:42px;
        height:42px;
        min-width:42px;
    }

    .feed-viewer-author-meta h3{
        font-size:22px;
    }

    .feed-viewer-description{
        font-size:15px;
        line-height:1.7;
        padding:14px;
        border-radius:16px;
    }

    .feed-viewer-social-bar{
        flex-direction:column;
        align-items:stretch;
        gap:10px;
    }

    .feed-viewer-like-btn,
    .feed-viewer-like-count{
        width:100%;
        min-height:48px;
        font-size:15px;
        border-radius:14px;
    }

    .feed-viewer-actions{
    flex-direction:column;
    gap:10px;
    padding-bottom:14px;
    }

    .feed-viewer-actions .neon-btn,
    .feed-viewer-actions .outline-btn{
        width:100%;
        min-height:50px;
    }

    .feed-viewer-close{
        top:10px;
        right:10px;
        width:40px;
        height:40px;
    }

    .feed-viewer-nav{
        width:44px;
        height:44px;
        font-size:20px;
        top:50%;
    }

    .feed-viewer-nav-prev{
        left:10px;
    }

    .feed-viewer-nav-next{
        right:10px;
    }
}

@media (min-width: 901px){
    .viewer-scroll-hint{
        display:none !important;
        opacity:0 !important;
    }
}






.feed-viewer-image-side{
    touch-action:pan-y;
    perspective: 1000px;
}




/* ------ */
.feed-viewer-image {
    transition: transform 0.35s cubic-bezier(.22,.61,.36,1),
                opacity 0.25s ease;
    will-change: transform;
}

/* swipe left */
.feed-viewer-image.is-sliding-next {
    transform: translateX(-40px) scale(0.95) rotateY(-12deg);
    opacity: 0.6;
}

/* swipe right */
.feed-viewer-image.is-sliding-prev {
    transform: translateX(40px) scale(0.95) rotateY(12deg);
    opacity: 0.6;
}

/* reset */
.feed-viewer-image.is-active {
    transform: translateX(0) scale(1) rotateY(0);
    opacity: 1;
}


/* ------ */
.feed-viewer-image-side{
    perspective:1000px;
    overflow:hidden;
}

.feed-viewer-image{
    transition:
        transform .38s cubic-bezier(.22,.61,.36,1),
        opacity .28s ease,
        filter .38s cubic-bezier(.22,.61,.36,1);
    will-change:transform, opacity, filter;
    transform-origin:center center;
    backface-visibility:hidden;
}

.feed-viewer-image.is-sliding-next{
    transform:translateX(-44px) scale(.955) rotateY(-14deg);
    opacity:.62;
    filter:brightness(.9);
}

.feed-viewer-image.is-sliding-prev{
    transform:translateX(44px) scale(.955) rotateY(14deg);
    opacity:.62;
    filter:brightness(.9);
}

.feed-viewer-image.is-active{
    transform:translateX(0) scale(1) rotateY(0);
    opacity:1;
    filter:brightness(1);
}

.feed-viewer-image-side::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:
        radial-gradient(circle at center, rgba(255,255,255,0.04), transparent 55%);
    opacity:.6;
}

@media (max-width:900px){
    .feed-viewer-image.is-sliding-next{
        transform:translateX(-28px) scale(.97) rotateY(-10deg);
    }

    .feed-viewer-image.is-sliding-prev{
        transform:translateX(28px) scale(.97) rotateY(10deg);
    }
}


/* ============================= */
/* GALLERY */
/* ============================= */

.gallery-page-wrap{
    max-width:1400px;
    margin:36px auto 60px;
    padding:0 20px;
}

.gallery-hero{
    padding:28px;
    border-radius:26px;
    margin-bottom:24px;
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:24px;
    flex-wrap:wrap;
}

.gallery-hero-content{
    max-width:760px;
}

.gallery-label{
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#9fb0c9;
    margin-bottom:8px;
}

.gallery-hero h1{
    font-size:34px;
    margin-bottom:10px;
}

.gallery-subtitle{
    color:#b8c6dc;
    line-height:1.7;
}

.gallery-search-form{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
}

.gallery-search-form input{
    min-width:280px;
    padding:12px 14px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,0.12);
    background:rgba(255,255,255,0.06);
    color:#fff;
    outline:none;
}

.gallery-search-form input::placeholder{
    color:#aab7cb;
}

.gallery-search-form button{
    padding:12px 16px;
    border-radius:12px;
    border:none;
    cursor:pointer;
    font-weight:700;
    color:#fff;
    background:linear-gradient(135deg,#00f7ff,#7c3aed);
}

.gallery-search-result-bar{
    padding:16px 20px;
    border-radius:18px;
    margin-bottom:20px;
    color:#d9e4f3;
}

.gallery-masonry{
    column-count:4;
    column-gap:22px;
}

.gallery-item{
    position:relative;
    display:inline-block;
    width:100%;
    margin:0 0 22px;
    border-radius:24px;
    overflow:hidden;
    break-inside:avoid;
    background:rgba(255,255,255,0.05);
    cursor:pointer;
}



.gallery-image{
    width:100%;
    object-fit:cover;
    transition:transform .4s ease;
}

.gallery-item:hover .gallery-image{
    transform:scale(1.04);
}

.gallery-overlay-top{
    position:absolute;
    top:14px;
    left:14px;
    right:14px;
    display:flex;
    justify-content:flex-start;
    pointer-events:none;
    z-index:2;
}

.gallery-user-chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    text-decoration:none;
    color:#ffffff;
    padding:6px 10px 6px 6px;
    border-radius:999px;
    background:rgba(15,23,42,0.58);
    border:1px solid rgba(255,255,255,0.10);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    transition:.2s ease;
    max-width:100%;
    pointer-events:auto;
}

.gallery-user-chip:hover{
    color:#ffffff;
    border-color:rgba(0,247,255,0.24);
    background:rgba(15,23,42,0.72);
}

.gallery-user-avatar{
    width:28px;
    height:28px;
    min-width:28px;
    max-width:28px;
    border-radius:50%;
    object-fit:cover;
    display:block;
    overflow:hidden;
    flex-shrink:0;
}

.gallery-user-avatar.avatar-fallback{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:rgba(0,247,255,0.10);
    border:1px solid rgba(0,247,255,0.16);
    color:#c9f9ff;
    font-size:11px;
    font-weight:800;
    line-height:1;
}

.gallery-user-chip-text{
    display:block;
    max-width:120px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:13px;
    font-weight:700;
    color:inherit;
}

.gallery-overlay-bottom{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:18px 16px 16px;
    background:linear-gradient(to top, rgba(5,10,18,0.92), rgba(5,10,18,0.10));
    z-index:2;
    pointer-events:none;
}

.gallery-stats{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    color:#fff;
    font-size:14px;
    margin-bottom:10px;
}

.gallery-desc{
    color:#d8e3f3;
    line-height:1.6;
    font-size:14px;
    margin-bottom:12px;
}

.gallery-actions{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}

.gallery-card-btn{
    text-decoration:none;
    padding:10px 14px;
    border-radius:12px;
    background:rgba(255,255,255,0.10);
    border:1px solid rgba(255,255,255,0.16);
    color:#fff;
    font-weight:700;
    transition:.2s ease;
    pointer-events:auto;
}

.gallery-card-btn:hover{
    background:rgba(255,255,255,0.16);
    border-color:rgba(0,247,255,0.22);
}

.gallery-date{
    color:#b9c7db;
    font-size:13px;
}

.gallery-empty-state{
    padding:40px 24px;
    border-radius:24px;
    text-align:center;
}

.gallery-empty-actions{
    margin-top:16px;
}

@media(max-width:1200px){
    .gallery-masonry{
        column-count:3;
    }
}

@media(max-width:900px){
    .gallery-masonry{
        column-count:2;
    }
}

@media(max-width:768px){
    .gallery-hero{
        padding:20px;
        border-radius:20px;
        align-items:flex-start;
    }

    .gallery-hero h1{
        font-size:28px;
    }

    .gallery-search-form{
        width:100%;
    }

    .gallery-search-form input{
        min-width:0;
        width:100%;
    }

    .gallery-user-chip{
        padding:5px 9px 5px 5px;
        gap:7px;
    }

    .gallery-user-avatar{
        width:26px;
        height:26px;
        min-width:26px;
        max-width:26px;
    }

    .gallery-user-avatar.avatar-fallback{
        font-size:10px;
    }

    .gallery-user-chip-text{
        max-width:95px;
        font-size:12px;
    }
}

@media(max-width:640px){
    .gallery-masonry{
        column-count:1;
    }

    .gallery-page-wrap{
        padding:0 14px;
    }

    .gallery-overlay-bottom{
        padding:14px 12px 12px;
    }

    .gallery-desc{
        font-size:13px;
    }

    .gallery-actions{
        align-items:flex-start;
        flex-direction:column;
    }
}

#galleryScrollSentinel{
    width:100%;
    height:2px;
}



/* ---  3D cube ----*/






























/* =========================================
   GALLERY VIEWER - FINAL CLEAN BLOCK
========================================= */
/* =========================================
   GALLERY VIEWER - CLEAN FINAL
========================================= */

.gallery-image-link{
    cursor:zoom-in;
    display:block;
}

#galleryViewerModal{
    position:fixed;
    inset:0;
    z-index:99999;
    display:none;
}

#galleryViewerModal.is-open{
    display:block;
}

#galleryViewerModal .feed-viewer-backdrop{
    position:absolute;
    inset:0;
    z-index:1;
    background:rgba(3,8,16,0.92);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}

#galleryViewerModal .feed-viewer-dialog{
    position:relative;
    z-index:2;
    width:min(1400px, calc(100vw - 24px));
    height:min(92vh, 940px);
    margin:4vh auto;
    display:block;
    background:linear-gradient(180deg, rgba(17,24,39,0.98), rgba(8,13,24,0.99));
}

#galleryViewerModal .feed-viewer-image-side{
    touch-action:pan-y;
    perspective:1100px;
}

#galleryViewerModal #galleryViewerImage{
    display:block;
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    border-radius:16px;
    user-select:none;
    -webkit-user-drag:none;
    -webkit-tap-highlight-color:transparent;
    transform-origin:center center;
    backface-visibility:hidden;
}

#galleryViewerImage.is-active{
    transform:translateX(0) scale(1) rotateY(0);
    opacity:1;
    filter:brightness(1);
}

#galleryViewerImage.is-cube-next{
    animation:galleryCubeNext .38s cubic-bezier(.22,.61,.36,1);
}

#galleryViewerImage.is-cube-prev{
    animation:galleryCubePrev .38s cubic-bezier(.22,.61,.36,1);
}

@keyframes galleryCubeNext{
    0%{
        opacity:.78;
        transform:translateX(44px) rotateY(-14deg) scale(.955);
        filter:brightness(.9);
    }
    100%{
        opacity:1;
        transform:translateX(0) rotateY(0) scale(1);
        filter:brightness(1);
    }
}

@keyframes galleryCubePrev{
    0%{
        opacity:.78;
        transform:translateX(-44px) rotateY(14deg) scale(.955);
        filter:brightness(.9);
    }
    100%{
        opacity:1;
        transform:translateX(0) rotateY(0) scale(1);
        filter:brightness(1);
    }
}

#galleryViewerModal .feed-viewer-like-burst{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%) scale(.35);
    font-size:92px;
    line-height:1;
    opacity:0;
    pointer-events:none;
    z-index:9;
    filter:drop-shadow(0 10px 28px rgba(0,0,0,0.35));
}

#galleryViewerModal .feed-viewer-like-burst.show{
    animation:galleryViewerLikeBurst .85s ease forwards;
}

@keyframes galleryViewerLikeBurst{
    0%{
        opacity:0;
        transform:translate(-50%, -50%) scale(.35);
    }
    20%{
        opacity:1;
        transform:translate(-50%, -50%) scale(1.15);
    }
    45%{
        opacity:1;
        transform:translate(-50%, -50%) scale(1);
    }
    100%{
        opacity:0;
        transform:translate(-50%, -50%) scale(1.35);
    }
}

@media(max-width:900px){
    #galleryViewerModal .feed-viewer-dialog{
        width:calc(100vw - 10px);
        height:calc(100vh - 10px);
        margin:5px auto;
        overflow-y:auto;
        overflow-x:hidden;
        -webkit-overflow-scrolling:touch;
        scroll-behavior:smooth;
    }

    #galleryViewerModal .feed-viewer-content{
        display:block;
        height:auto;
        min-height:100%;
        overflow:visible;
    }

    #galleryViewerModal .feed-viewer-image-side{
        height:62vh;
        min-height:62vh;
        flex:none;
        touch-action:pan-y;
    }

    #galleryViewerModal .feed-viewer-info-side{
        display:flex;
        max-height:none;
        overflow:visible;
        padding-bottom:110px;
    }

    #galleryViewerModal .viewer-scroll-hint{
        position:fixed;
        left:50%;
        bottom:calc(env(safe-area-inset-bottom, 0px) + 145px);
        transform:translateX(-50%);
        z-index:10050;
        display:flex;
        opacity:0;
        visibility:hidden;
        pointer-events:none;
    }

    #galleryViewerModal .viewer-scroll-hint.is-visible{
        opacity:.98;
        visibility:visible;
    }

    #galleryViewerModal .viewer-scroll-hint.is-touching{
        opacity:.78;
        transform:translateX(-50%) scale(.94);
    }

    #galleryViewerModal .feed-viewer-like-burst{
        font-size:76px;
    }
}

@media(min-width:901px){
    #galleryViewerModal .viewer-scroll-hint{
        display:none;
    }
}


.main-header-actions{
    align-items:center;
}

.logout-mini{
    padding:8px 12px;
    font-size:13px;
}







.danger-btn {
    border-color: #ff4d4f;
    color: #ff4d4f;
}

.danger-btn:hover {
    background: #ff4d4f;
    color: white;
}







.delete-account-actions{
    display:flex;
    justify-content:center;
    margin-top:18px;
}

.delete-account-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 20px;
    border-radius:12px;
    text-decoration:none;
    font-weight:700;
    color:#ff4b5c;
    background:rgba(255,75,92,0.08);
    border:1px solid rgba(255,75,92,0.42);
    transition:.25s ease;
}

.delete-account-btn:hover{
    color:#fff;
    background:#ff4b5c;
    box-shadow:0 0 18px rgba(255,75,92,0.22);
    transform:translateY(-2px);
}

/* =========================
   ADMIN PENDING VIEWER
========================= */

.admin-pending-modal{
    position:fixed;
    inset:0;
    z-index:10000;
    display:none;
}

.admin-pending-modal.is-open{
    display:block;
}

.admin-pending-backdrop{
    position:absolute;
    inset:0;
    background:rgba(3,8,16,0.92);
    backdrop-filter:blur(10px);
}

.admin-pending-dialog{
    position:relative;
    z-index:2;
    width:min(1200px, calc(100vw - 24px));
    max-height:90vh;
    margin:5vh auto;
    padding:24px;
    border-radius:24px;
    background:linear-gradient(180deg, rgba(17,24,39,0.98), rgba(8,13,24,0.99));
    border:1px solid rgba(255,255,255,0.10);
    overflow:auto;
}

.admin-pending-close{
    position:absolute;
    top:14px;
    right:14px;
    z-index:5;
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,0.10);
    color:#fff;
    cursor:pointer;
}

.admin-pending-grid{
    display:grid;
    grid-template-columns:1.3fr .7fr;
    gap:24px;
}

.admin-pending-image-box img{
    width:100%;
    max-height:78vh;
    object-fit:contain;
    border-radius:18px;
    background:#020617;
}

.admin-pending-info{
    color:#fff;
    display:flex;
    flex-direction:column;
    gap:14px;
}

.admin-pending-description{
    white-space:normal;
    line-height:1.8;
    padding:16px;
    border-radius:16px;
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.08);
}

@media(max-width:900px){
    .admin-pending-dialog{
        margin:10px auto;
        width:calc(100vw - 20px);
        max-height:calc(100vh - 20px);
    }

    .admin-pending-grid{
        grid-template-columns:1fr;
    }

    .admin-pending-image-box img{
        max-height:55vh;
    }
}



/* ===== FINAL FIX: FEED VIEWER MOBILE VERTICAL SWIPE ===== */

@media(max-width:900px){
    #feedViewerModal .feed-viewer-dialog{
        width:calc(100vw - 10px) !important;
        height:calc(100vh - 10px) !important;
        max-height:calc(100vh - 10px) !important;
        margin:5px auto !important;

        overflow-y:auto !important;
        overflow-x:hidden !important;
        -webkit-overflow-scrolling:touch !important;
        scroll-behavior:smooth !important;
    }

    #feedViewerModal .feed-viewer-content{
        display:block !important;
        height:auto !important;
        min-height:100% !important;
        overflow:visible !important;
    }

    #feedViewerModal .feed-viewer-image-side{
        height:62vh !important;
        min-height:62vh !important;
        flex:none !important;
        touch-action:pan-y !important;
	overflow:hidden !important;
    }

    #feedViewerModal #feedViewerImage{
        touch-action:pan-y !important;
        user-select:none !important;
        -webkit-user-drag:none !important;
        -webkit-tap-highlight-color:transparent !important;
    }

    #feedViewerModal .feed-viewer-info-side{
        display:flex !important;
        max-height:none !important;
        overflow:visible !important;
        padding-bottom:110px !important;
    }

    #feedViewerModal .viewer-scroll-hint{
        position:fixed !important;
        left:50% !important;
        bottom:calc(env(safe-area-inset-bottom, 0px) + 145px) !important;
        transform:translateX(-50%) !important;
        z-index:10050 !important;

        display:flex !important;
        opacity:0 !important;
        visibility:hidden !important;
        pointer-events:none !important;
    }

    #feedViewerModal .viewer-scroll-hint.is-visible{
        opacity:.98 !important;
        visibility:visible !important;
    }

    #feedViewerModal .viewer-scroll-hint.is-touching{
        opacity:.78 !important;
        transform:translateX(-50%) scale(.94) !important;
    }
}

@media(min-width:901px){
    #feedViewerModal .viewer-scroll-hint{
        display:none !important;
    }
}


/* ===== FEED VIEWER SWIPE STABLE FINAL OVERRIDE ===== */

#feedViewerModal .feed-viewer-image-side{
    overflow:hidden !important;
    perspective:none !important;
    transform-style:flat !important;
}

#feedViewerModal #feedViewerImage{
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
    opacity:1;
    transform:translate3d(0,0,0) scale(1) !important;
    filter:none !important;
    backface-visibility:hidden;
    will-change:opacity, transform;
    transition:none !important;
}

#feedViewerModal #feedViewerImage.is-active{
    opacity:1 !important;
    transform:translate3d(0,0,0) scale(1) !important;
    filter:none !important;
}

#feedViewerModal #feedViewerImage.is-sliding-next{
    animation:feedViewerCleanNext .28s ease-out both !important;
}

#feedViewerModal #feedViewerImage.is-sliding-prev{
    animation:feedViewerCleanPrev .28s ease-out both !important;
}

@keyframes feedViewerCleanNext{
    from{
        opacity:.35;
        transform:translate3d(34px,0,0) scale(.985);
    }
    to{
        opacity:1;
        transform:translate3d(0,0,0) scale(1);
    }
}

@keyframes feedViewerCleanPrev{
    from{
        opacity:.35;
        transform:translate3d(-34px,0,0) scale(.985);
    }
    to{
        opacity:1;
        transform:translate3d(0,0,0) scale(1);
    }
}

@media(max-width:900px){
    #feedViewerModal .feed-viewer-image-side{
        overflow:hidden !important;
    }

    #feedViewerModal #feedViewerImage.is-sliding-next{
        animation:feedViewerCleanNextMobile .24s ease-out both !important;
    }

    #feedViewerModal #feedViewerImage.is-sliding-prev{
        animation:feedViewerCleanPrevMobile .24s ease-out both !important;
    }

    @keyframes feedViewerCleanNextMobile{
        from{
            opacity:.4;
            transform:translate3d(22px,0,0) scale(.99);
        }
        to{
            opacity:1;
            transform:translate3d(0,0,0) scale(1);
        }
    }

    @keyframes feedViewerCleanPrevMobile{
        from{
            opacity:.4;
            transform:translate3d(-22px,0,0) scale(.99);
        }
        to{
            opacity:1;
            transform:translate3d(0,0,0) scale(1);
        }
    }
}


/* ===== GALLERY VIEWER SWIPE STABLE FINAL OVERRIDE ===== */

#galleryViewerModal .feed-viewer-image-side{
    overflow:hidden !important;
    perspective:none !important;
    transform-style:flat !important;
}

#galleryViewerModal #galleryViewerImage{
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
    opacity:1;
    transform:translate3d(0,0,0) scale(1) !important;
    filter:none !important;
    backface-visibility:hidden;
    will-change:opacity, transform;
    transition:none !important;
}

#galleryViewerModal #galleryViewerImage.is-active{
    opacity:1 !important;
    transform:translate3d(0,0,0) scale(1) !important;
    filter:none !important;
}

#galleryViewerModal #galleryViewerImage.is-cube-next{
    animation:galleryViewerCleanNext .28s ease-out both !important;
}

#galleryViewerModal #galleryViewerImage.is-cube-prev{
    animation:galleryViewerCleanPrev .28s ease-out both !important;
}

@keyframes galleryViewerCleanNext{
    from{
        opacity:.35;
        transform:translate3d(34px,0,0) scale(.985);
    }
    to{
        opacity:1;
        transform:translate3d(0,0,0) scale(1);
    }
}

@keyframes galleryViewerCleanPrev{
    from{
        opacity:.35;
        transform:translate3d(-34px,0,0) scale(.985);
    }
    to{
        opacity:1;
        transform:translate3d(0,0,0) scale(1);
    }
}

@media(max-width:900px){
    #galleryViewerModal #galleryViewerImage.is-cube-next{
        animation:galleryViewerCleanNextMobile .24s ease-out both !important;
    }

    #galleryViewerModal #galleryViewerImage.is-cube-prev{
        animation:galleryViewerCleanPrevMobile .24s ease-out both !important;
    }

    @keyframes galleryViewerCleanNextMobile{
        from{
            opacity:.4;
            transform:translate3d(22px,0,0) scale(.99);
        }
        to{
            opacity:1;
            transform:translate3d(0,0,0) scale(1);
        }
    }

    @keyframes galleryViewerCleanPrevMobile{
        from{
            opacity:.4;
            transform:translate3d(-22px,0,0) scale(.99);
        }
        to{
            opacity:1;
            transform:translate3d(0,0,0) scale(1);
        }
    }
}

/* ===== MOBILE FIX: feed viewer image not cropped on swipe ===== */

@media(max-width:900px){
    #feedViewerModal .feed-viewer-image-side{
        height:62vh !important;
        min-height:62vh !important;
        overflow:hidden !important;
        padding:8px !important;
        box-sizing:border-box !important;
    }

    #feedViewerModal #feedViewerImage{
        width:100% !important;
        height:auto !important;
        max-width:100% !important;
        max-height:100% !important;
        object-fit:contain !important;
        display:block !important;
        margin:auto !important;
    }

    #feedViewerModal #feedViewerImage.is-active{
        transform:translate3d(0,0,0) scale(1) !important;
        opacity:1 !important;
    }

    #feedViewerModal #feedViewerImage.is-sliding-next{
        animation:feedViewerMobileSafeNext .22s ease-out both !important;
    }

    #feedViewerModal #feedViewerImage.is-sliding-prev{
        animation:feedViewerMobileSafePrev .22s ease-out both !important;
    }
}

@keyframes feedViewerMobileSafeNext{
    from{
        opacity:.55;
        transform:translate3d(12px,0,0) scale(.995);
    }
    to{
        opacity:1;
        transform:translate3d(0,0,0) scale(1);
    }
}

@keyframes feedViewerMobileSafePrev{
    from{
        opacity:.55;
        transform:translate3d(-12px,0,0) scale(.995);
    }
    to{
        opacity:1;
        transform:translate3d(0,0,0) scale(1);
    }
}

.hp-field{
    position:absolute;
    left:-9999px;
    opacity:0;
    pointer-events:none;
}


/* ===== DASHBOARD STATS FINAL ===== */









@media(max-width:1200px){
    .dashboard-stats-grid{
        grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    }
}

@media(max-width:768px){
    .dashboard-stats-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        gap:12px !important;
    }

    .dashboard-stats-grid .dashboard-info-card{
        min-height:112px !important;
        padding:16px !important;
    }

    .dashboard-stats-grid .metric-label{
        font-size:13px !important;
    }

    .dashboard-stats-grid .metric-value{
        font-size:28px !important;
    }
}

@media(max-width:420px){
    .dashboard-stats-grid{
        grid-template-columns:1fr !important;
    }
}



.dash-metrics-row{
    display:grid !important;
    grid-template-columns:repeat(5, minmax(0, 1fr)) !important;
    gap:18px !important;
    width:100% !important;
    margin:0 0 26px !important;
}

.dash-metric-card{
    min-height:132px !important;
    padding:22px !important;
    border-radius:20px !important;
    box-sizing:border-box !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:space-between !important;
    align-items:flex-start !important;
}

.dash-metric-card span{
    color:#b7c4d8 !important;
    font-size:14px !important;
    line-height:1.35 !important;
}

.dash-metric-card strong{
    font-size:32px !important;
    line-height:1 !important;
    font-weight:800 !important;
    color:#fff !important;
}

.dash-metric-card strong.approved-text{
    color:#6bffb0 !important;
}

.dash-metric-card strong.pending-text{
    color:#ffd166 !important;
}

@media(max-width:1200px){
    .dash-metrics-row{
        grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    }
}

@media(max-width:768px){
    .dash-metrics-row{
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        gap:14px !important;
    }

    .dash-metric-card{
        min-height:118px !important;
        padding:18px !important;
        border-radius:20px !important;
    }
}

@media(max-width:420px){
    .dash-metrics-row{
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    }
}



/* ===== DASHBOARD METRICS CENTER FIX ===== */

.dash-metric-card{
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:center !important;
    text-align:center !important;
    gap:18px !important;
}

.dash-metric-card span,
.dash-metric-card strong{
    width:100% !important;
    text-align:center !important;
    margin:0 !important;
}


@media(max-width:768px){
    .dash-metric-card{
        min-height:135px !important;
        gap:16px !important;
        padding:22px 18px !important;
    }

    .dash-metric-card span{
        font-size:16px !important;
    }

    .dash-metric-card strong{
        font-size:36px !important;
    }
}


@media(max-width:768px){
    .dash-metrics-row{
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        gap:14px !important;
    }
}


/* ===== LIKE / UNLIKE HEART ANIMATION FINAL ===== */

/* Feed card heart */
.feed-like-burst.show,
.feed-viewer-like-burst.show,
#galleryViewerModal .feed-viewer-like-burst.show{
    animation:heartLikeGrow .85s ease forwards !important;
}

.feed-like-burst.hide,
.feed-viewer-like-burst.hide,
#galleryViewerModal .feed-viewer-like-burst.hide{
    animation:heartUnlikeShrink .65s ease forwards !important;
}

@keyframes heartLikeGrow{
    0%{
        opacity:0;
        transform:translate(-50%, -50%) scale(.35);
    }
    20%{
        opacity:1;
        transform:translate(-50%, -50%) scale(1.15);
    }
    45%{
        opacity:1;
        transform:translate(-50%, -50%) scale(1);
    }
    100%{
        opacity:0;
        transform:translate(-50%, -50%) scale(1.35);
    }
}

@keyframes heartUnlikeShrink{
    0%{
        opacity:1;
        transform:translate(-50%, -50%) scale(1.35);
    }
    35%{
        opacity:1;
        transform:translate(-50%, -50%) scale(.85);
    }
    100%{
        opacity:0;
        transform:translate(-50%, -50%) scale(.15);
    }
}


.neon-btn.is-loading{
    opacity:.72;
    cursor:not-allowed;
    pointer-events:none;
    transform:none !important;
}

/* ===================================== */
/* MOBILE UPLOAD SUCCESS ANIMATION */
/* ===================================== */

@media (max-width:768px){

    .success-box.upload-success-animate{
        position:relative;

        animation:uploadSuccessPop .65s ease both;

        box-shadow:
            0 0 0 1px rgba(0,255,156,.22),
            0 18px 50px rgba(0,255,156,.14),
            0 18px 60px rgba(0,0,0,.34);

        border:1px solid rgba(0,255,156,.18);

        overflow:hidden;
    }

    .success-box.upload-success-animate::before{
        content:"✅";
        display:block;

        font-size:36px;
        line-height:1;

        margin-bottom:10px;

        animation:uploadCheckPop .58s ease both;
    }

    @keyframes uploadSuccessPop{
        0%{
            opacity:0;
            transform:scale(.92) translateY(18px);
        }

        100%{
            opacity:1;
            transform:scale(1) translateY(0);
        }
    }

    @keyframes uploadCheckPop{
        0%{
            opacity:0;
            transform:scale(.4);
        }

        60%{
            opacity:1;
            transform:scale(1.18);
        }

        100%{
            opacity:1;
            transform:scale(1);
        }
    }
}


/* ===== UPLOAD SUCCESS MOBILE ANIMATION ===== */

@media(max-width:768px){
    .form-message.success-box.upload-success-animate{
        position:relative;
        animation:uploadSuccessPop .9s cubic-bezier(.16,1,.3,1) both;
        box-shadow:
            0 18px 45px rgba(0,0,0,.38),
            0 0 0 1px rgba(0,255,156,.22),
            0 0 28px rgba(0,255,156,.20);
    }

    .form-message.success-box.upload-success-animate::before{
        content:"✓";
        display:inline-flex;
        align-items:center;
        justify-content:center;
        width:32px;
        height:32px;
        margin-right:10px;
        border-radius:50%;
        background:rgba(0,255,156,.18);
        border:1px solid rgba(0,255,156,.35);
        color:#9cffd0;
        font-weight:900;
        animation:uploadSuccessCheck .65s ease both;
    }
}

@keyframes uploadSuccessPop{
    0%{
        opacity:0;
        transform:translateY(26px) scale(.92);
        filter:blur(6px);
    }
    60%{
        opacity:1;
        transform:translateY(-4px) scale(1.03);
        filter:blur(0);
    }
    100%{
        opacity:1;
        transform:translateY(0) scale(1);
        filter:blur(0);
    }
}

@keyframes uploadSuccessCheck{
    0%{
        transform:scale(0) rotate(-18deg);
        opacity:0;
    }
    70%{
        transform:scale(1.15) rotate(6deg);
        opacity:1;
    }
    100%{
        transform:scale(1) rotate(0);
        opacity:1;
    }
}


@media(max-width:768px){
    .upload-form .upload-actions{
        display:flex !important;
        flex-direction:column !important;
        gap:14px !important;
        width:100% !important;
        margin-top:18px !important;
    }

    .upload-form .upload-actions .neon-btn,
    .upload-form .upload-actions .outline-btn{
        width:100% !important;
        min-height:56px !important;
        border-radius:18px !important;
        font-size:18px !important;
        font-weight:800 !important;
        text-align:center !important;
    }

    .upload-form .upload-actions .neon-btn{
        box-shadow:
            0 14px 30px rgba(0,247,255,.18),
            0 0 26px rgba(124,58,237,.18) !important;
    }

    .upload-form .upload-actions .outline-btn{
        background:rgba(255,255,255,.045) !important;
        border:1px solid rgba(255,255,255,.12) !important;
        color:#dbeafe !important;
    }
}


/* ===== FINAL MOBILE UPLOAD BUTTONS FIX ===== */

@media screen and (max-width:768px){

    .upload-page-wrap .upload-form > .upload-actions{
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:14px !important;
        width:100% !important;
        margin-top:22px !important;
    }

    .upload-page-wrap .upload-form > .upload-actions > button.neon-btn,
    .upload-page-wrap .upload-form > .upload-actions > a.outline-btn{
        width:100% !important;
        max-width:none !important;
        min-height:58px !important;
        padding:15px 18px !important;
        border-radius:20px !important;
        font-size:18px !important;
        font-weight:800 !important;
        line-height:1.2 !important;
        text-align:center !important;
    }

    .upload-page-wrap .upload-form > .upload-actions > button.neon-btn{
        background:linear-gradient(135deg,#00eaff,#7c3aed) !important;
        box-shadow:
            0 16px 34px rgba(0,247,255,.20),
            0 0 28px rgba(124,58,237,.18) !important;
    }

    .upload-page-wrap .upload-form > .upload-actions > a.outline-btn{
        background:rgba(255,255,255,.055) !important;
        border:1px solid rgba(255,255,255,.14) !important;
        color:#dbeafe !important;
        box-shadow:0 10px 24px rgba(0,0,0,.20) !important;
    }
}


/* ===== DASHBOARD DELETE PHOTO MODAL ===== */

body.delete-modal-open{
    overflow:hidden;
}

.dashboard-delete-modal{
    position:fixed;
    inset:0;
    z-index:99999;
    display:none;
}

.dashboard-delete-modal.is-open{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.dashboard-delete-backdrop{
    position:absolute;
    inset:0;
    background:rgba(3,8,16,.78);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}

.dashboard-delete-dialog{
    position:relative;
    z-index:2;
    width:min(460px, 100%);
    padding:26px;
    border-radius:26px;
    text-align:left;
    animation:deleteModalPop .28s ease both;
}

.dashboard-delete-dialog h3{
    font-size:24px;
    margin-bottom:10px;
}

.dashboard-delete-dialog p{
    color:#cbd5e1;
    line-height:1.7;
    margin-bottom:22px;
}

.dashboard-delete-actions{
    display:flex;
    gap:12px;
    justify-content:flex-end;
    flex-wrap:wrap;
}

.dashboard-delete-actions .outline-btn,
.dashboard-delete-actions .delete-action{
    min-height:46px;
    border-radius:14px;
}

@keyframes deleteModalPop{
    from{
        opacity:0;
        transform:translateY(18px) scale(.96);
    }
    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

@media(max-width:768px){
    .dashboard-delete-modal.is-open{
        align-items:center;
        padding:18px;
    }

    .dashboard-delete-dialog{
        padding:24px 20px;
        border-radius:24px;
    }

    .dashboard-delete-actions{
        flex-direction:column-reverse;
    }

    .dashboard-delete-actions .outline-btn,
    .dashboard-delete-actions .delete-action{
        width:100%;
        justify-content:center;
    }
}


@media (max-width: 768px){
    .home-stats-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    align-items:stretch;
}
}


@media(max-width:640px){

    body .home-page-wrap .home-stats-grid{
        display:grid !important;
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        gap:14px !important;
        width:100% !important;
        margin:18px 0 30px !important;
    }

    body .home-page-wrap .home-stats-grid .home-stat-card.glass{
        width:100% !important;
        min-width:0 !important;
        padding:18px 8px !important;
    }

}

