.zw-feed-card{

    background:#ffffff;

    border-radius:28px;

    padding:26px;

    box-shadow:
    0 10px 40px rgba(15,23,42,0.06);

    border:
    1px solid #eef2f7;

    transition:0.2s ease;

}

.zw-feed-card:hover{

    transform:translateY(-2px);

    box-shadow:
    0 16px 50px rgba(15,23,42,0.08);

}

.zw-feed-top{

    display:flex;

    align-items:flex-start;

    justify-content:space-between;

    margin-bottom:20px;

}

.zw-feed-user{

    display:flex;

    align-items:center;

    gap:14px;

}

.zw-feed-avatar{

    width:56px;
    height:56px;

    border-radius:50%;

    background:
    linear-gradient(
        135deg,
        #2563eb,
        #3b82f6
    );

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:22px;

    font-weight:700;

    flex-shrink:0;

}
	
	.zw-feed-avatar img{

    width:100%;

    height:100%;

    object-fit:cover;

    border-radius:50%;

    display:block;

}

.zw-feed-meta{

    display:flex;

    flex-direction:column;

}

.zw-feed-name{

    font-size:18px;

    font-weight:700;

    color:#0f172a;

}

.zw-feed-name a{

    color:inherit;

    text-decoration:none;

}

.zw-feed-name a:hover{

    color:#2563eb;

}

.zw-feed-time{

    margin-top:4px;

    font-size:14px;

    color:#64748b;

}

.zw-feed-content{

    font-size:20px;

    line-height:1.8;

    color:#0f172a;

    margin-bottom:20px;

    word-break:break-word;

}

.zw-feed-content p{

    margin:0;

}

.zw-feed-images{

    display:grid;

    grid-template-columns:
    repeat(2,1fr);

    gap:10px;

    margin-bottom:20px;

}

.zw-feed-images-1{

    grid-template-columns:1fr;

}

.zw-feed-image{

    width:100%;

    border-radius:22px;

    object-fit:cover;

    aspect-ratio:16/10;

    display:block;

}

.zw-feed-actions{

    display:flex;

    align-items:center;

    gap:12px;

    padding-top:18px;

    border-top:
    1px solid #e2e8f0;

}

.zw-like-button{

    height:48px;

    border:none;

    background:#eff6ff;

    color:#2563eb;

    border-radius:16px;

    padding:0 18px;

    cursor:pointer;

    font-size:15px;

    font-weight:700;

    display:flex;

    align-items:center;

    gap:8px;

    transition:0.2s ease;

}
	
	.zw-like-button.active{

    background:#2563eb;

    color:#fff;

}
	
	.zw-share-button{

    height:48px;

    border:none;

    background:#f8fafc;

    color:#334155;

    border-radius:16px;

    padding:0 18px;

    cursor:pointer;

    font-size:15px;

    font-weight:700;

    transition:0.2s ease;

}

.zw-share-button:hover{

    background:#e2e8f0;

}

.zw-like-button:hover{

    background:#dbeafe;

}

.zw-comments-list{

    margin-top:18px;

}

.zw-comment-item{

    background:#f8fafc;

    border-radius:18px;

    padding:16px 18px;

    margin-bottom:12px;

    border:1px solid #eef2f7;

    transition:.18s ease;

}

.zw-comment-item:hover{

    background:#ffffff;

    border-color:#dbeafe;

}

.zw-comment-author{

    font-size:14px;

    font-weight:700;

    color:#0f172a;

    margin-bottom:6px;

}

.zw-comment-text{

    font-size:15px;

    line-height:1.7;

    color:#334155;

}

.zw-comment-box{

    display:flex;

    align-items:center;

    gap:12px;

    margin-top:18px;

}

.zw-comment-input{

    flex:1;

    height:54px;

    border:
    1px solid #e2e8f0;

    border-radius:999px;

    padding:0 22px;

    background:#fff;

    font-size:15px;

    outline:none;

    transition:0.2s ease;
	
	resize:none;

}

.zw-comment-input:focus{

    border-color:#93c5fd;

    box-shadow:
    0 0 0 4px rgba(59,130,246,0.08);

}

.zw-comment-submit{

    width:54px;
    height:54px;

    border:none;

    border-radius:50%;

    background:
    linear-gradient(
        135deg,
        #2563eb,
        #3b82f6
    );

    color:#fff;

    font-size:18px;

    cursor:pointer;

    flex-shrink:0;

    transition:0.2s ease;

}

.zw-comment-submit:hover{

    transform:scale(1.05);

}

@media(max-width:768px){

    .zw-feed-card{

        padding:20px;

        border-radius:22px;

    }

    .zw-feed-content{

        font-size:17px;

    }

}

.zw-repost-preview{

    margin-top:18px;

    border-radius:20px;

    padding:18px;

    border:1px solid #e2e8f0;

    background:#f8fafc;

}

.zw-repost-author{

    font-size:14px;

    font-weight:700;

    color:#0f172a;

    margin-bottom:8px;

}

.zw-repost-content{

    font-size:14px;

    line-height:1.7;

    color:#475569;

}

.zw-repost-link{

    display:inline-block;

    margin-top:12px;

    color:#2563eb;

    font-size:14px;

    font-weight:600;

    text-decoration:none;

}	
	
	.zw-post-top-actions{

    display:flex;

    gap:10px;

    margin-left:auto;

}

.zw-edit-post,
.zw-delete-post{

    border:none;

    height:38px;

    padding:0 16px;

    border-radius:12px;

    cursor:pointer;

    font-size:14px;

    font-weight:700;

    transition:0.2s ease;

}

.zw-edit-post{

    background:#eff6ff;

    color:#2563eb;

}

.zw-edit-post:hover{

    background:#dbeafe;

}

.zw-delete-post{

    background:#fef2f2;

    color:#dc2626;

}

.zw-delete-post:hover{

    background:#fee2e2;

}
	
	
	.zw-post-edited{

    font-size:13px;

    color:#94a3b8;

    margin-left:6px;

}

/* -------------------------------------------------------------------------- */
/* PROFILE */
/* -------------------------------------------------------------------------- */

body{

    background:#f5f7fb;

    font-family:
    "Poppins",
    "Prompt",
    sans-serif;

}

html:lang(th) body,
body:lang(th){

    font-family:
    "Prompt",
    sans-serif;

}
	
.zw-profile-wrap{

    width:100%;

    max-width:1400px;

    margin:30px auto;

    padding:0 20px;

    box-sizing:border-box;

}

/*
|--------------------------------------------------------------------------
| COVER
|--------------------------------------------------------------------------
*/

.zw-profile-header{

    position:relative;

    background:#fff;

    border-radius:28px;

    overflow:hidden;

    box-shadow:
    0 4px 30px rgba(15,23,42,0.05);

    margin-bottom:24px;

}

.zw-profile-cover{

    height:180px;

    background:
    linear-gradient(
        135deg,
        #3b82f6,
        #60a5fa
    );

}

.zw-profile-header-content{

    display:flex;

    align-items:flex-end;

    gap:26px;

    padding:0 40px 34px;

    margin-top:-40px;

    position:relative;

    z-index:5;

}

.zw-profile-avatar{

    width:120px;
    height:120px;

    border-radius:50%;

    background:
    linear-gradient(
        135deg,
        #2563eb,
        #3b82f6
    );

    border:6px solid #fff;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:48px;

    font-weight:700;

    margin-top:40px;

}
	
	.zw-profile-avatar img{

    width:100%;

    height:100%;

    object-fit:cover;

    border-radius:50%;

    display:block;

}

.zw-profile-info h1{

    margin:0;

    font-size:42px;

    font-weight:700;

    color:#0f172a;

}

.zw-profile-username{

    color:#64748b;

    margin-top:6px;

    font-size:18px;

}

.zw-profile-stats{

    margin-top:14px;

    display:flex;

    gap:18px;

    color:#475569;

    font-size:15px;

    font-weight:600;

}

.zw-follow-button{

    margin-top:18px;

    border:none;

    background:#2563eb;

    color:#fff;

    padding:12px 22px;

    border-radius:14px;

    cursor:pointer;

    font-size:15px;

    font-weight:600;

}

/*
|--------------------------------------------------------------------------
| CONTENT GRID
|--------------------------------------------------------------------------
*/

.zw-profile-layout{

    display:grid;

    grid-template-columns:
    minmax(0,1fr)
    320px;

    gap:24px;

    align-items:start;

    width:100%;

}

.zw-profile-content{

    min-width:0;

    width:100%;

}

	.zw-profile-sidebar{

    width:320px;

    min-width:320px;

    flex-shrink:0;

    position:sticky;

    top:30px;

}

.zw-profile-feed{

    display:flex;

    flex-direction:column;

    gap:22px;

    width:100%;

}
	
 .zw-profile-feed,
.zw-profile-feed .zw-feed-card,
.zw-create-post{

    width:100%;

    max-width:100%;

}

/*
|--------------------------------------------------------------------------
| SIDEBAR
|--------------------------------------------------------------------------
*/

.zw-profile-sidebar{

    position:sticky;

    top:30px;

}

.zw-sidebar-card{

    background:#fff;

    border-radius:24px;

    padding:24px;

    box-shadow:
    0 4px 24px rgba(15,23,42,0.04);

}

.zw-sidebar-title{

    font-size:22px;

    font-weight:700;

    margin-bottom:18px;

    color:#0f172a;

}

.zw-sidebar-item{

    margin-bottom:14px;

    color:#334155;

    font-size:15px;

}

.zw-sidebar-stats{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:12px;

    margin-top:22px;

}

.zw-stat-box{

    background:#f8fafc;

    border-radius:18px;

    padding:18px 10px;

    text-align:center;

}

.zw-stat-number{

    font-size:24px;

    font-weight:700;

    color:#2563eb;

}

.zw-stat-label{

    font-size:13px;

    color:#64748b;

    margin-top:4px;

}

/*
|--------------------------------------------------------------------------
| FEED
|--------------------------------------------------------------------------
*/

.zw-profile-feed{

    display:flex;

    flex-direction:column;

    gap:22px;

    width:100%;

}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media(max-width:768px){

 .zw-profile-layout{

    grid-template-columns:1fr;

}

    .zw-profile-sidebar{

        width:100%;

        position:static;

    }

    .zw-profile-header-content{

        flex-direction:column;

        align-items:flex-start;

    }

    .zw-profile-info h1{

        font-size:32px;

    }

}

	html:lang(th) body,
body:lang(th){

    font-family:
    "Prompt",
    sans-serif;

}

/* =========================================
HEADER RIGHT SIDE
========================================= */

.zw-header-actions{

    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:16px;
    width:100%;

}

.zw-header-expire{

    display:flex;
    align-items:center;
    flex-shrink:0;

}

.zw-header-avatar-wrap{

    flex-shrink:0;

}

#zw-global-avatar-btn{

    width:42px;
    height:42px;

    border:none;
    border-radius:999px;

    overflow:hidden;

    padding:0;

    background:#fff;

    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:
    0 6px 20px rgba(0,0,0,.08);

}

#zw-global-avatar-btn img{

    width:100%;
    height:100%;

    object-fit:cover;

}

#zw-global-dropdown{

    position:absolute;

    top:58px;
    right:0;

    min-width:240px;

    background:#fff;

    border-radius:18px;

    padding:10px;

    display:none;

    flex-direction:column;

    box-shadow:
    0 20px 40px rgba(0,0,0,.12);

    z-index:99999;

}

#zw-global-dropdown.active{

    display:flex;

}

/* =========================
HEADER RIGHT SIDE
========================= */

.zw-header-actions{

    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:14px;

    margin-top:10px;

    position:relative;

}

.zw-header-expire{

    display:flex;
    align-items:center;

}

.zw-header-avatar-wrap{

    position:relative;

}

#zw-global-avatar-btn{

    width:42px;
    height:42px;

    border:none;
    border-radius:999px;

    overflow:hidden;

    padding:0;

    background:#fff;

    cursor:pointer;

    flex-shrink:0;

    box-shadow:
    0 6px 20px rgba(0,0,0,.08);

}

#zw-global-avatar-btn img{

    width:100%;
    height:100%;

    object-fit:cover;

}

#zw-global-dropdown{

    position:absolute;

    top:55px;
    right:0;

    min-width:240px;

    background:#fff;

    border-radius:18px;

    padding:10px;

    display:none;

    flex-direction:column;

    box-shadow:
    0 20px 40px rgba(0,0,0,.12);

    z-index:99999;

}

#zw-global-dropdown.active{

    display:flex;

}

#zw-global-dropdown a{

    display:flex;

    align-items:center;

    gap:10px;

    height:46px;

    padding:0 14px;

    border-radius:12px;

    text-decoration:none;

    color:#111827;

    font-weight:600;

}

#zw-global-dropdown a:hover{

    background:#f3f4f6;

}

.zw-header-expire{

    font-family:'Poppins',sans-serif !important;

    font-size:16px !important;

    font-weight:700 !important;

    color:#111827;

}

.zw-header-expire *{

    font-family:'Poppins',sans-serif !important;

    font-size:16px !important;

    font-weight:700 !important;

}

/* =========================================
SHARE MODAL
========================================= */

#zw-share-modal{

    display:none;
align-items:center;
justify-content:center;

    position:fixed;

    inset:0;

    background:rgba(15,23,42,.55);

    z-index:999999;

    align-items:center;

    justify-content:center;

    padding:20px;

    box-sizing:border-box;

}

#zw-share-modal[style*="flex"]{

    display:flex !important;

}

.zw-share-modal-box{

    width:100%;

    max-width:460px;

    background:#fff;

    border-radius:24px;

    padding:22px;

    box-shadow:
    0 25px 60px rgba(0,0,0,.18);

    animation:
    zwModalFade .18s ease;

}

@keyframes zwModalFade{

    from{

        opacity:0;

        transform:
        translateY(8px)
        scale(.98);

    }

    to{

        opacity:1;

        transform:
        translateY(0)
        scale(1);

    }

}

#zw-share-text{

    width:100%;

    min-height:120px;

    border:1px solid #e2e8f0;

    border-radius:18px;

    padding:16px;

    font-size:15px;

    resize:none;

    outline:none;

    box-sizing:border-box;

    margin-bottom:16px;

}

#zw-share-text:focus{

    border-color:#93c5fd;

    box-shadow:
    0 0 0 4px rgba(59,130,246,.08);

}

.zw-share-actions{

    display:flex;

    gap:12px;

}

#zw-copy-link,
#zw-share-profile{

    flex:1;

    height:50px;

    border:none;

    border-radius:16px;

    font-size:15px;

    font-weight:700;

    cursor:pointer;

    transition:.2s ease;

}

#zw-copy-link{

    background:#f1f5f9;

    color:#0f172a;

}

#zw-copy-link:hover{

    background:#e2e8f0;

}

#zw-share-profile{

    background:#2563eb;

    color:#fff;

}

#zw-share-profile:hover{

    background:#1d4ed8;

}

/* =========================================
HIDE MODALS
========================================= */

#zw-edit-modal,
#zw-share-modal,
#zw-image-modal{

    display:none;

}

/* =========================================
COMMENT ACTION BUTTONS
========================================= */

.zw-comment-actions{

    display:flex;

    align-items:center;

    gap:10px;

    margin-top:12px;

}

.zw-edit-comment,
.zw-delete-comment,
.zw-hide-comment{

    height:34px;

    border:none;

    border-radius:12px;

    padding:0 14px;

    cursor:pointer;

    font-size:13px;

    font-weight:700;

    transition:.18s ease;

}

/* EDIT */

.zw-edit-comment{

    background:#eff6ff;

    color:#2563eb;

}

.zw-edit-comment:hover{

    background:#dbeafe;

    transform:translateY(-1px);

}

/* DELETE */

.zw-delete-comment{

    background:#fef2f2;

    color:#dc2626;

}

.zw-delete-comment:hover{

    background:#fee2e2;

    transform:translateY(-1px);

}

/* HIDE */

.zw-hide-comment{

    background:#fff7ed;

    color:#ea580c;

}

.zw-hide-comment:hover{

    background:#ffedd5;

    transform:translateY(-1px);

}

/* =========================================
HIDDEN COMMENT
========================================= */

.zw-comment-item.is-hidden{

    opacity:.45;

    border-style:dashed;

}

.zw-unhide-comment{

    height:34px;

    border:none;

    border-radius:12px;

    padding:0 14px;

    cursor:pointer;

    font-size:13px;

    font-weight:700;

    transition:.18s ease;

    background:#ecfeff;

    color:#0891b2;

}

.zw-unhide-comment:hover{

    background:#cffafe;

}

/* =========================================
POST VISIBILITY
========================================= */

.zw-post-visibility{

    display:inline-flex;

    align-items:center;

    gap:4px;

    margin-left:8px;

    padding:4px 10px;

    border-radius:999px;

    background:#f8fafc;

    font-size:12px;

    font-weight:700;

    color:#475569;

}

.zw-load-comments{

    border:none;

    background:none;

    padding:0;

    margin-top:6px;

    color:#2563eb;

    font-size:14px;

    font-weight:700;

    cursor:pointer;

}
/* =========================================
EDIT PRIVACY
========================================= */

.zw-edit-privacy{

    display:flex;

    gap:10px;

    margin:14px 0 18px;

}

.zw-edit-privacy-btn{

    flex:1;

    height:46px;

    border:none;

    border-radius:14px;

    background:#f1f5f9;

    color:#334155;

    font-size:14px;

    font-weight:700;

    cursor:pointer;

    transition:.18s ease;

}

.zw-edit-privacy-btn.active{

    background:#2563eb;

    color:#fff;

}

#zw-edit-modal{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,0.65);

    display:none;

    align-items:center;

    justify-content:center;

    z-index:999999;

    padding:20px;

}

.zw-edit-modal-box{

    width:100%;

    max-width:680px;

    background:#fff;

    border-radius:28px;

    padding:24px;

    box-shadow:
    0 20px 60px rgba(0,0,0,0.25);

    animation:zwModalIn .18s ease;

}

@keyframes zwModalIn{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

#zw-edit-text{

    width:100%;

    min-height:180px;

    border:1px solid #dbe3ef;

    border-radius:18px;

    padding:16px;

    resize:none;

    outline:none;

    font-size:16px;

    margin-bottom:18px;

}

.zw-edit-privacy{

    display:flex;

    gap:12px;

    margin-bottom:18px;

}

.zw-edit-privacy-btn{

    flex:1;

    height:52px;

    border:none;

    border-radius:16px;

    background:#eef2f7;

    cursor:pointer;

    font-weight:700;

    transition:.15s;

}

.zw-edit-privacy-btn.active{

    background:#2563eb;

    color:#fff;

}

#zw-save-edit{

    width:100%;

    height:54px;

    border:none;

    border-radius:18px;

    background:#2563eb;

    color:#fff;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

}

.zw-load-more-comments{

    width:100%;

    border:none;

    background:#f5f7fb;

    color:#4b5563;

    font-size:13px;

    font-weight:600;

    padding:10px 14px;

    border-radius:12px;

    margin-top:10px;

    cursor:pointer;

    transition:.2s;

}

.zw-load-more-comments:hover{

    background:#e9eef7;

    color:#111827;

}

.zw-edit-privacy{

    display:flex;

    gap:10px;

    margin-top:15px;

}

.zw-edit-privacy-btn{

    flex:1;

    border:none;

    background:#f3f4f6;

    padding:12px;

    border-radius:14px;

    font-size:14px;

    font-weight:600;

    cursor:pointer;

    transition:.2s;

}

.zw-edit-privacy-btn.active{

    background:#2563eb;

    color:#fff;

}

.zw-edit-privacy-btn{

    background:#f3f4f6;

    color:#111827;

    transition:.2s;

}

.zw-edit-privacy-btn.active{

    background:#2563eb;

    color:#fff;

}