/* ===== Theme extras: sticky header ===== */

/* sticky header */
#header{position:sticky;top:0;z-index:999;box-shadow:0 2px 8px rgba(0,0,0,.12)}
body.admin-bar #header{top:32px}
@media(max-width:782px){body.admin-bar #header{top:46px}}


/* ===== header slider ===== */
#sh_slider{margin-bottom:15px;padding:0 10px}
.sh_slider_wrap{position:relative;width:100%}
.sh_slider_track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.sh_slider_track::-webkit-scrollbar{display:none}
.sh_slide{position:relative;flex:0 0 calc((100% - 28px)/3);height:230px;border-radius:16px;overflow:hidden;scroll-snap-align:start;display:block;background:#222}
.sh_slide:first-child{flex-basis:calc((100% - 28px)/2.2)}
.sh_slide img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.sh_slide:hover img{transform:scale(1.05)}
.sh_slide::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.85),rgba(0,0,0,0) 60%)}
.sh_slide_title{position:absolute;z-index:1;right:0;left:0;bottom:0;padding:14px 16px;color:#fff;font-weight:700;font-size:15px;line-height:26px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sh_slider_btn{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:36px;height:36px;border-radius:50%;border:0;background:rgba(0,0,0,.55);color:#fff;cursor:pointer}
.sh_slider_btn:hover{background:var(--brand)}
.sh_prev{right:8px}.sh_next{left:8px}
@media(max-width:900px){.sh_slide,.sh_slide:first-child{flex-basis:calc((100% - 14px)/1.6);height:190px}}
@media(max-width:500px){.sh_slide,.sh_slide:first-child{flex-basis:85%;height:170px}}

/* ===== modern polish v3 ===== */
#post_box_1 .post_box_content .post_inner,
#post_box_4 .post_box_content .post_inner{border-radius:14px !important;border-color:rgba(0,0,0,.08) !important;box-shadow:0 2px 10px rgba(0,0,0,.06);transition:transform .25s,box-shadow .25s}
#post_box_1 .post_box_content .post_inner:hover,
#post_box_4 .post_box_content .post_inner:hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(0,0,0,.14)}
#post_box_1 .post_box_content .post .post_description{display:none !important}
#post_box_1 .post_box_content .post .post_information{font-size:11px;opacity:.75}
#post_box_1 .post_box_content .post .post_information span:last-child{display:none}
.post_box .post_box_title h2{background:var(--brand) !important;border-radius:8px !important}
.post_box .post_box_title a{color:var(--brand) !important}
.post_box .post_box_title a::before{background:var(--brand) !important;opacity:.4}

/* ===== new badge v5 ===== */
.sh_new_label{display:inline-block;background:#22c55e;color:#fff;font-size:11px;line-height:18px;padding:0 6px;border-radius:6px;margin:2px}

/* ===== header nav: blue to brand red v6 ===== */
#header{border-top-color:var(--brand) !important;border-bottom-color:var(--brand) !important}
#header #top_header #main_navbar>ul li>a>i{color:var(--brand) !important}
#header #top_header #main_navbar>ul li>a:hover>span{color:var(--brand) !important}
#header #bottom_header #bottom_navbar ul li:hover>a,
#header #bottom_header #bottom_navbar ul li:hover>i{color:var(--brand) !important}

/* ===== header vertical alignment v7 ===== */
#header #top_header #top_header_inner{align-items:center !important}
#header #top_header #header_logo{align-self:center;display:flex;align-items:center;padding:0}
#header #top_header #main_navbar{align-self:center;flex:1 1 auto;padding:0}
#header #top_header #main_navbar>ul{align-items:center;justify-content:flex-end;margin:0}

/* ===== header search icon v8 ===== */
#sh_search_box{position:relative;display:flex;align-items:center;flex:0 0 auto;margin:0 10px;align-self:center}
#sh_search_toggle{width:44px;height:44px;border-radius:50%;border:0;background:var(--brand);color:#fff;font-size:18px;cursor:pointer;box-shadow:0 2px 8px rgba(var(--brand-rgb),.35)}
#sh_search_toggle:hover{background:#b0123a}
#sh_search_form{position:absolute;top:50%;right:0;left:auto;transform:translateY(-50%) scaleX(0);transform-origin:right center;display:flex;align-items:center;width:300px;max-width:80vw;background:#fff;border:1px solid var(--brand);border-radius:22px;overflow:hidden;opacity:0;pointer-events:none;transition:transform .25s,opacity .25s;z-index:10}
#sh_search_box.open #sh_search_form{transform:translateY(-50%) scaleX(1);opacity:1;pointer-events:auto}
#sh_search_form input{flex:1;border:0;outline:0;padding:9px 14px;font-size:13px;background:transparent;min-width:0}
#sh_search_form button{border:0;background:var(--brand);color:#fff;width:40px;height:38px;cursor:pointer}

/* ===== v9: nav alignment + search tweaks ===== */
#header #top_header #main_navbar{margin-top:0;position:relative;top:-8px}
#header #top_header #main_navbar>ul li>a{padding-top:0;padding-bottom:0}
#header #top_header #main_navbar>ul li>a>span{padding-top:2px}

/* ===== v10: archive/category list cards ===== */
#archive_post_list .post{padding:0 !important;margin-bottom:18px;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.06);transition:box-shadow .2s}
#archive_post_list .post:hover{box-shadow:0 6px 18px rgba(var(--brand-rgb),.15)}
#archive_post_list .post_title{padding:12px 16px;border-bottom:1px solid #f0f0f0}
#archive_post_list .post_title h2{font-size:15px;margin:0;line-height:1.7}
#archive_post_list .post_title h2 i{display:none}
#archive_post_list .post_title a{color:#222;text-decoration:none}
#archive_post_list .post_title a:hover h2 b{color:var(--brand)}
#archive_post_list .post_content{display:flex;gap:16px;padding:14px 16px;align-items:stretch}
#archive_post_list a.post_image_link{flex:0 0 340px;max-width:45%;display:block;border-radius:8px;overflow:hidden}
#archive_post_list .post_image{width:100%;height:auto !important;padding:0 !important;aspect-ratio:16/10;background-size:cover !important;background-position:center !important;background-repeat:no-repeat;border:0 !important;border-radius:8px;transition:transform .35s}
#archive_post_list a.post_image_link:hover .post_image{transform:scale(1.04)}
#archive_post_list .post_description{flex:1;min-width:0;display:flex;flex-direction:column}
#archive_post_list .post_description p{margin:0 0 10px;font-size:13.5px;line-height:2;color:#555}
#archive_post_list .post_footer{margin-top:auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
#archive_post_list .post_information{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:#888}
#archive_post_list .post_information i{color:var(--brand)}
#archive_post_list .post_link a{display:inline-block;padding:5px 14px;border:1px solid var(--brand);border-radius:20px;color:var(--brand);font-size:12px;text-decoration:none}
#archive_post_list .post_link a:hover{background:var(--brand);color:#fff}
@media (max-width:640px){
  #archive_post_list .post_content{flex-direction:column}
  #archive_post_list a.post_image_link{flex:none;max-width:100%}
}

/* ===== v10b: force image width in archive list ===== */
#archive_post_list .post_content>a.post_image_link{width:340px !important;min-width:340px !important;max-width:340px !important;flex:0 0 340px !important}
#archive_post_list .post_content>a.post_image_link>.post_image{width:340px !important;max-width:100% !important;min-width:0 !important;float:none !important;margin:0 !important}
#archive_post_list .post_content>.post_description{width:auto !important;float:none !important}
@media (max-width:640px){
  #archive_post_list .post_content>a.post_image_link{width:100% !important;min-width:0 !important;max-width:100% !important;flex:none !important}
}

/* ===== v10c: archive footer row ===== */
#archive_post_list .post_footer{flex-wrap:nowrap !important;align-items:center !important;justify-content:flex-start !important;gap:12px !important}
#archive_post_list .post_information{flex:1 1 auto;min-width:0}
#archive_post_list .post_link{flex:0 0 auto;margin-inline-start:auto !important;margin-right:0 !important;margin-left:0 !important;float:none !important}
#archive_post_list .post_link a{white-space:nowrap}
@media (max-width:640px){
  #archive_post_list .post_footer{flex-wrap:wrap !important}
}

/* ===== v11: main categories widget ===== */
.sh313_main_cats{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.sh313_main_cats li a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 14px;background:#fff;border:1px solid #eceef2;border-radius:12px;color:#1f2937;text-decoration:none;font-weight:600;font-size:14px;transition:border-color .2s,color .2s,transform .2s}
.sh313_main_cats li a:hover{border-color:var(--brand);color:var(--brand);transform:translateX(-3px)}
.sh313_main_cats_count{min-width:44px;text-align:center;background:#f3f4f6;color:#4b5563;border-radius:999px;padding:3px 10px;font-size:12px}
.sh313_main_cats li::before{content:none !important;display:none !important}
.sh313_main_cats li{margin:0 !important;padding:0 !important}
.sh313_main_cats li a{display:flex !important;align-items:center !important;gap:10px !important}
.sh313_main_cats_name{flex:1 1 auto;min-width:0}
.sh313_main_cats_count{margin-inline-start:auto !important;flex:0 0 auto}

/* ===== v12: main navbar dropdown ===== */
#header #top_header #main_navbar li{position:relative}
#header #bottom_header #bottom_navbar ul ul{width:230px;max-height:70vh;overflow-y:auto;padding:6px 0;background:#fff;border:1px solid #eceef2;border-top:3px solid var(--brand);border-radius:0 0 12px 12px;box-shadow:0 12px 30px rgba(0,0,0,.12)}
#header #bottom_header #bottom_navbar ul ul ul{border-top:1px solid #eceef2;border-radius:12px}
#header #bottom_header #bottom_navbar ul ul li a{display:block;width:100%;padding:3px 16px;line-height:36px;font-size:13px;font-weight:600;color:#333;border:0;border-bottom:1px solid #f4f5f7}
#header #bottom_header #bottom_navbar ul ul li:last-child>a{border-bottom:0}
#header #bottom_header #bottom_navbar ul ul li:hover{background:#fff5f7}
#header #bottom_header #bottom_navbar ul ul li:hover>a,#header #bottom_header #bottom_navbar ul ul li:hover>i{color:var(--brand)}
#header #bottom_header #bottom_navbar ul ul i.menu-item-has-children-icon{color:#9ca3af;font-size:11px}
/* v12 fix: flyout must not be clipped, no hover gap */
#header #bottom_header #bottom_navbar ul ul{overflow:visible;max-height:none}
#header #bottom_header #bottom_navbar ul ul ul{right:100%;top:0;max-height:70vh;overflow-y:auto;overflow-x:hidden}
#header #bottom_header #bottom_navbar ul ul li:hover>ul{right:100%;top:0}
#header #bottom_header #bottom_navbar ul ul ul::before{display:none}

/* v13: quick links between slider and PES edits */
#quick_links{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 16px}
#quick_links .quick_link_card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:18px 10px;background:#fff;border:1px solid #eceef2;border-radius:10px;color:#333;font-size:14px;font-weight:600;text-decoration:none;transition:all .2s ease}
#quick_links .quick_link_card i{font-size:26px;color:var(--brand)}
#quick_links .quick_link_card:hover{border-color:var(--brand);background:#fff5f7;color:var(--brand);transform:translateY(-2px)}
@media(max-width:650px){#quick_links{grid-template-columns:repeat(2,1fr)}}
#quick_links .quick_link_card img.quick_link_img{width:64px;height:64px;object-fit:contain}

/* ===== box_1 cards v14: version badge, 2-line title, button ===== */
#post_box_1 .post_image{position:relative}
#post_box_1 .sh_game_badge{position:absolute;top:8px;right:8px;z-index:3;background:var(--brand);color:#fff;font-size:11px;font-weight:bold;line-height:20px;padding:0 8px;border-radius:6px;box-shadow:0 2px 6px rgba(0,0,0,.3)}
#post_box_1 .post_box_content .post .post_title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:3.4em;line-height:1.7}
#post_box_1 .sh_card_btn{display:block;margin:4px 12px 12px;padding:7px 0;text-align:center;background:var(--brand);color:#fff;border-radius:8px;font-size:13px;transition:background .2s}
#post_box_1 .post_inner:hover .sh_card_btn{background:#a8113a}

/* ===== single v15: quick info bar + red download box ===== */
#sh_quick_info{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 14px}
#sh_quick_info .sh_qi_items{display:flex;flex-wrap:wrap;gap:8px;flex:1}
#sh_quick_info .sh_qi_item{display:flex;flex-direction:column;background:#fff;border:1px solid #eee;border-top:3px solid var(--brand);border-radius:8px;padding:6px 14px;min-width:110px;line-height:1.6}
#sh_quick_info .sh_qi_item i{display:none}
#sh_quick_info .sh_qi_item small{color:#888;font-size:11px}
#sh_quick_info .sh_qi_item b{color:#222;font-size:14px}
#sh_quick_info .sh_goto_dl{background:var(--brand);color:#fff;border-radius:10px;padding:12px 26px;font-weight:bold;font-size:15px;box-shadow:0 4px 12px rgba(var(--brand-rgb),.35);transition:background .2s}
#sh_quick_info .sh_goto_dl:hover{background:#a8113a;color:#fff}
@media(max-width:600px){#sh_quick_info .sh_goto_dl{width:100%;text-align:center}}
#single_page #post_box #post_content #post_dl_box{border:2px solid var(--brand);border-radius:12px;overflow:hidden;background:#fff}
#single_page #post_box #post_content #post_dl_box_title{background:#fff0f3}
#single_page #post_box #post_content #post_dl_box_title ul li{color:var(--brand)}
#single_page #post_box #post_content #post_dl_box_title ul li.active_item{background:var(--brand);color:#fff}
#single_page #post_box #post_content #post_dl_box_content{background:#fff}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link a{background:#fafafa;color:#222;border:1px solid #eee;border-radius:10px}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link a:hover{border-color:var(--brand);background:#fff0f3}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link a .dl_box_link_dl_text{background:var(--brand);color:#fff;border-radius:8px;padding:6px 18px}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link a .dl_box_link_dl_text b{color:#fff}

/* ===== single v16: fixes ===== */
#single_page #post_box #post_content #post_information{background:#fff;border:1px solid #eee;border-right:4px solid var(--brand);border-radius:8px;padding:8px 14px}
#single_page #post_box #post_content #post_information span{color:#333;font-size:13px;font-weight:bold}
#single_page #post_box #post_content #post_information span i{color:var(--brand);margin-left:5px}
#single_page #post_box #post_content #post_information span a{color:#333}
#single_page #post_box #post_content #post_dl_box_title{border-bottom:1px solid #f3c6d1}
#single_page #post_box #post_content #post_dl_box_title ul li{background:#fff;color:var(--brand);border:1px solid var(--brand)}
#single_page #post_box #post_content #post_dl_box_title ul li i{color:inherit}
#single_page #post_box #post_content #post_dl_box_title ul li.active_item{background:var(--brand);color:#fff}
#single_page #post_box #post_content #post_dl_box_content{background:#fff;color:#333;border-top:0;border-bottom:0}
#single_page #post_box #post_content #post_dl_box_content .dl_box_item_content,
#single_page #post_box #post_content #post_dl_box_content .dl_box_item_content *{color:#333}
#single_page #post_box #post_content #post_dl_box_content .dl_box_item_content a{color:var(--brand)}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link_desc p{color:#555}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link{margin-bottom:8px}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link a{overflow:hidden;align-items:stretch}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link a span{border:0}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link a .dl_box_link_size{color:#777}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link a .dl_box_link_dl_text{background:var(--brand)}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link a .dl_box_link_dl_text b{background:transparent;color:#fff;font-weight:bold;font-size:13px;padding:0}

/* ===== single v17: dl row with copy button ===== */
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link{display:block;border:1px solid #e5e5e5;border-radius:6px;overflow:hidden;background:#fafafa}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link .dl_box_link_row{display:flex;align-items:center;gap:8px;padding:8px 10px;flex-wrap:wrap}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link .dl_box_link_title{flex:1 1 200px;font-size:13px;color:#333;font-family:'wp_iransans_m','wp_iransans',IRANSans,sans-serif;border:0;padding:0;background:none}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link .dl_box_link_size{font-size:12px;color:#777;border:0;padding:0;background:none;width:auto}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link .dl_box_link_actions{display:flex;gap:6px;margin-right:auto}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link a.dl_box_dl_a{display:inline-flex;align-items:center;gap:5px;background:var(--brand);color:#fff;border-radius:20px;padding:4px 14px;font-size:13px;line-height:22px;text-decoration:none;width:auto;overflow:visible}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link a.dl_box_dl_a:hover{background:#a8123a;color:#fff}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link .dl_box_copy_btn{display:inline-flex;align-items:center;gap:5px;background:#fff;color:#333;border:1px solid #ccc;border-radius:20px;padding:4px 14px;font-size:13px;line-height:22px;cursor:pointer;font-family:inherit}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link .dl_box_copy_btn:hover{border-color:var(--brand);color:var(--brand)}

/* ===== v18: مطالب مرتبط + برچسب‌های عنوان پست ===== */
#post_title .special_post_label,
#post_title .updated_post_label{
    display:inline-block;vertical-align:middle;margin-right:8px;padding:0 8px;line-height:20px;
    font-size:11px;font-weight:bold;border-radius:6px;color:#fff;background:var(--brand);
}
#post_title .updated_post_label{background:#444}

#related_posts_box .post{border-radius:10px;overflow:hidden}
#related_posts_box .post .post_image{border:0;border-radius:10px;box-shadow:none;background-color:#f2f2f2}
#related_posts_box .post .post_title h4{
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
    font-size:13px;line-height:1.7;margin:8px 0 0;
}
#related_posts_box .post:hover .post_title h4{color:var(--brand)}

/* ===== v19: ردیف اطلاعات پست + ستون کناری ===== */
#sh_quick_info{align-items:stretch}
#sh_quick_info .sh_qi_items{align-items:stretch}
#sh_quick_info .sh_qi_item{justify-content:center}
#sh_quick_info .sh_goto_dl{display:flex;align-items:center;justify-content:center;gap:6px;padding:0 26px}
#sidebar .widget li a,#sidebar-single .widget li a{line-height:1.8}
#sidebar .widget li a:hover,#sidebar-single .widget li a:hover{color:var(--brand)}

/* ===== v20: قوی‌تر کردن انتخابگرها ===== */
#single_page #post_box #post_title h1 .special_post_label,
#single_page #post_box #post_title h1 .updated_post_label{
    background-image:none !important;background-color:var(--brand) !important;color:#fff !important;
    border-radius:6px !important;font-size:11px !important;line-height:22px !important;padding:0 9px !important;
}
#single_page #post_box #post_title h1 .updated_post_label{background-color:#444 !important}

#single_page #post_box #sh_quick_info{align-items:stretch !important}
#single_page #post_box #sh_quick_info .sh_goto_dl{
    display:flex !important;align-items:center;justify-content:center;
    margin:0 !important;padding:0 22px !important;font-size:14px !important;line-height:1.4 !important;
    height:auto !important;min-height:0 !important;border-radius:8px !important;box-shadow:none !important;
    align-self:stretch;
}

/* ===== v21: دکمه دانلود هم‌اندازه کارت‌ها ===== */
#single_page #post_box #sh_quick_info .sh_goto_dl{
    flex:0 0 auto !important;width:auto !important;min-width:110px !important;max-width:170px;
    padding:6px 14px !important;font-size:13px !important;white-space:nowrap;
    border:1px solid var(--brand) !important;border-top-width:3px !important;border-radius:8px !important;
}
#single_page #post_box #sh_quick_info .sh_goto_dl i{font-size:13px}
@media(max-width:600px){#single_page #post_box #sh_quick_info .sh_goto_dl{width:100% !important;max-width:none}}

/* ===== v22: کادر پسورد فایل ===== */
.sh_pass_box{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 10px;padding:10px 14px;border:1px dashed var(--brand);border-radius:8px;background:#fff;font-size:13px}
.sh_pass_label{color:#444;font-weight:bold}
.sh_pass_label i{color:var(--brand)}
.sh_pass_val{direction:ltr;background:#f4f4f4;border-radius:4px;padding:3px 8px;color:#222;font-size:13px}
.sh_pass_copy{margin-right:auto;background:#fff;border:1px solid var(--brand);color:var(--brand);border-radius:6px;padding:4px 12px;cursor:pointer;font-size:12px;font-family:inherit}
.sh_pass_copy:hover{background:var(--brand);color:#fff}

/* ===== v23: نوار دانلود چسبان موبایل ===== */
.sh_mobile_dl_bar{display:none !important}
@media (max-width:768px){
 .sh_mobile_dl_bar.show{display:flex !important;position:fixed;bottom:0;left:0;right:0;z-index:9990;align-items:center;justify-content:center;gap:8px;height:52px;background:var(--brand);color:#fff !important;font-weight:bold;font-size:15px;text-decoration:none;box-shadow:0 -2px 8px rgba(0,0,0,.2)}
}

/* ===== v22: سایدبار - آخرین مطالب، دیدگاه ها، دسته بندی ها ===== */
.latest_posts_widget ul,.latest_comments_widget ul{list-style:none;margin:0;padding:0}
.latest_posts_widget li,.latest_comments_widget li{border-bottom:1px solid #f0e4e8}
.latest_posts_widget li:last-child,.latest_comments_widget li:last-child{border-bottom:0}
.latest_posts_widget li a{display:flex !important;align-items:center;gap:10px;padding:8px 4px;text-decoration:none;color:#333 !important;transition:background .15s}
.latest_posts_widget li a:hover{background:#fdf1f4}
.lp_thumb{flex:0 0 52px;width:52px;height:40px;border-radius:6px;overflow:hidden;background:#f4f4f4;display:flex;align-items:center;justify-content:center}
.lp_thumb img{width:100%;height:100%;object-fit:cover;display:block}
.lp_thumb_empty i{color:var(--brand);font-size:18px;opacity:.6}
.lp_text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.lp_title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.6;font-weight:600}
.lp_text > span:not(.lp_title){font-size:11px;color:#888}
.latest_posts_widget .sticky_post_label{display:inline-block;background:var(--brand);color:#fff !important;border-radius:4px;padding:0 6px;font-size:10px;align-self:flex-start}
.latest_comments_widget li a{display:flex !important;flex-direction:column;gap:3px;padding:9px 4px;text-decoration:none;color:#333 !important}
.latest_comments_widget li a:hover{background:#fdf1f4}
.lc_head{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:12px}
.lc_head strong{color:var(--brand);font-weight:700}
.lc_time{font-size:11px;color:#999;white-space:nowrap}
.lc_title{font-size:12px;color:#666;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;line-height:1.6}
.sh313_main_cats{list-style:none;margin:0;padding:0}
.sh313_main_cats li{border-bottom:1px solid #f0e4e8}
.sh313_main_cats li:last-child{border-bottom:0}
.sh313_main_cats li a{display:flex !important;align-items:center;justify-content:space-between;padding:8px 6px;text-decoration:none;color:#333 !important;font-size:13px;transition:background .15s,color .15s}
.sh313_main_cats li a:hover{background:#fdf1f4;color:var(--brand) !important}
.sh313_main_cats li a::before{display:none !important}
.sh313_main_cats_count{min-width:30px;text-align:center;background:#fdeef2;color:var(--brand);border-radius:20px;padding:1px 8px;font-size:11px;font-weight:700}

/* ===== v25: دکمه گزارش لینک خراب ===== */
.dl_box_report_btn{background:#fff;color:var(--brand);border:1px solid var(--brand);border-radius:6px;padding:6px 12px;font-size:13px;cursor:pointer;margin-right:6px;transition:background .15s,color .15s}
.dl_box_report_btn:hover:not(:disabled){background:var(--brand);color:#fff}
.dl_box_report_btn:disabled{opacity:.7;cursor:default;border-color:#ccc;color:#666}

/* ===== v26: اشتراک‌گذاری ساده ===== */
.sh_share_bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0;padding:10px 12px;background:#fff;border:1px solid #eee;border-radius:8px}
.sh_share_label{font-size:14px;color:#333;margin-left:4px}
.sh_share_btn{display:inline-block;padding:6px 14px;border-radius:6px;font-size:13px;text-decoration:none;cursor:pointer;border:1px solid var(--brand);background:#fff;color:var(--brand);line-height:1.6}
.sh_share_btn:hover{background:var(--brand);color:#fff}

/* ===== v27: هدر موبایل - لوگو و جستجو در یک ردیف، منوی بالا یک ردیف با اسکرول افقی ===== */
@media (max-width:768px){
 #header #top_header #top_header_inner{flex-wrap:wrap !important;justify-content:space-between !important;align-items:center !important;padding:8px 10px 0 !important}
 #header #top_header #header_logo{flex:0 1 auto}
 #header #top_header #header_logo img{max-width:150px;max-height:56px;width:auto;height:auto}
 #header #top_header #sh_search_box{margin:0 0 0 auto}
 #header #top_header #sh_search_toggle{width:40px;height:40px}
 #header #top_header #main_navbar{order:3;flex:0 0 100% !important;max-width:100%;top:0 !important;margin:8px 0 0 !important;overflow:hidden}
 #header #top_header #main_navbar>ul{flex-wrap:nowrap !important;overflow-x:auto;overflow-y:hidden;justify-content:flex-start !important;gap:6px;padding:0 0 6px !important;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 #header #top_header #main_navbar>ul::-webkit-scrollbar{display:none}
 #header #top_header #main_navbar>ul>li{flex:0 0 auto}
 #header #top_header #main_navbar>ul>li>a{white-space:nowrap;display:inline-flex;align-items:center;gap:6px;background:#f5f6f8;border-radius:20px;padding:6px 12px !important;font-size:13px}
 #header #top_header #main_navbar>ul>li>a>span{padding-top:0}
}

/* ===== v28: بخش بازی‌ها (ترکیبی) ===== */
#post_box_games .post_box_content{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;padding:12px}
#post_box_games .sh_game_card{width:auto !important;margin:0 !important;padding:0 !important;float:none !important;background:#fff;border:1px solid #eee;border-radius:10px;overflow:hidden;transition:box-shadow .15s,transform .15s}
#post_box_games .sh_game_card:hover{box-shadow:0 4px 14px rgba(0,0,0,.12);transform:translateY(-2px)}
#post_box_games .sh_game_card a{display:block;text-decoration:none}
#post_box_games .sh_game_img{position:relative;aspect-ratio:3/4;background-size:cover;background-position:center top;background-color:#eee}
#post_box_games .sh_game_type{position:absolute;top:8px;right:8px;background:rgba(0,0,0,.7);color:#fff;font-size:11px;padding:2px 9px;border-radius:20px;line-height:1.7}
#post_box_games .sh_game_type.is_android{background:#2e9e5b}
#post_box_games .sh_game_title{margin:0;padding:8px 10px;font-size:13px;line-height:1.7;font-weight:600;color:#1D293D;height:3.5em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-align:right}
#post_box_games .sh_game_card:hover .sh_game_title{color:var(--brand)}
@media (max-width:768px){#post_box_games .post_box_content{grid-template-columns:repeat(2,1fr);gap:8px;padding:8px}}

/* v29: اصلاح عنوان و برچسب PC در بخش بازی‌ها */
#post_box_games .sh_game_title{height:auto !important;min-height:0;-webkit-line-clamp:3;line-clamp:3;box-sizing:border-box;padding:8px 10px 10px;line-height:1.8}
#post_box_games .sh_game_type{font-size:12px;font-weight:700;padding:3px 10px;box-shadow:0 1px 4px rgba(0,0,0,.35)}
#post_box_games .sh_game_type.is_pc{background:#1565c0;color:#fff}

/* v30: عنوان کوتاه ۲ خطی */
#post_box_games .sh_game_title{-webkit-line-clamp:2;line-clamp:2;font-size:13.5px;line-height:1.7;padding:8px 10px}

/* v31: برچسب PC و اندروید کوچک و بدون پرشدگی */
#post_box_games .sh_game_type{top:6px;right:6px;font-size:10px;font-weight:600;padding:1px 7px;line-height:1.6;border-radius:4px;background:rgba(255,255,255,.92);color:#333;border:1px solid rgba(0,0,0,.15);box-shadow:none}
#post_box_games .sh_game_type.is_android{background:rgba(255,255,255,.92);color:#2e9e5b;border-color:#2e9e5b}
#post_box_games .sh_game_type.is_pc{background:rgba(255,255,255,.92);color:#1565c0;border-color:#1565c0}

/* v32: سبک‌تر کردن کارت‌های پچ و دکمه */
#post_box_1 .post_box_content .post_inner{border:1px solid #ececec !important;box-shadow:0 1px 4px rgba(0,0,0,.05) !important;background:#fff}
#post_box_1 .post_box_content .post_inner:hover{border-color:var(--brand) !important;box-shadow:0 6px 16px rgba(0,0,0,.1) !important}
#post_box_1 .post_box_content .post .post_image{height:auto;aspect-ratio:16/9}
#post_box_1 .post_box_content .post .post_title{text-align:right;font-size:14px;color:#1D293D;padding:8px 12px 0}
#post_box_1 .sh_card_btn{background:#fff;color:var(--brand);border:1px solid var(--brand);margin:6px 12px 12px;padding:5px 0;font-size:12.5px}
#post_box_1 .post_inner:hover .sh_card_btn{background:var(--brand);color:#fff}
#post_box_1 .post_box_content .post .post_information{border-top:0;justify-content:flex-start;gap:8px}
@media(max-width:600px){#post_box_1 .sh_card_btn{margin:4px 8px 8px;font-size:12px}}

/* v34: هماهنگ کردن اندازه تصاویر بخش‌ها */
#post_box_games .sh_game_img{aspect-ratio:1/1;background-position:center center}
#post_box_6 .post_box_content .post .post_image{height:120px}
#post_box_6 .post_box_content .first_post_box .post .post_image{height:252px}
@media(max-width:480px){
#post_box_6 .post_box_content .post .post_image{height:105px}
}

/* v35: جدیدترین‌ها */
#post_box_latest .sh_plist{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;padding:0 5px 10px;box-sizing:border-box}
#post_box_latest .sh_prow{display:flex;align-items:center;gap:12px;padding:8px;background:#fff;border:1px solid #ececec;border-radius:12px;text-decoration:none;transition:border-color .2s,box-shadow .2s;min-width:0}
#post_box_latest .sh_prow:hover{border-color:var(--brand);box-shadow:0 4px 12px rgba(0,0,0,.08)}
#post_box_latest .sh_prow_img{flex:0 0 76px;width:76px;height:76px;border-radius:10px;overflow:hidden;background:#f1f1f1}
#post_box_latest .sh_prow_img img{width:100%;height:100%;object-fit:cover;display:block}
#post_box_latest .sh_prow_body{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
#post_box_latest .sh_prow_title{font-size:14px;line-height:1.7;color:#222;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#post_box_latest .sh_prow_meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:11px;color:#777}
#post_box_latest .sh_prow_meta .special_post_label,#post_box_latest .sh_prow_meta .updated_post_label,#post_box_latest .sh_prow_meta .sh_new_label{position:static;margin:0;font-size:10px;line-height:17px;padding:0 6px}
#post_box_latest .sh_prow_ver{color:var(--brand);border:1px solid var(--brand);border-radius:4px;padding:0 6px;font-size:10px;line-height:17px;font-weight:600}
#post_box_latest .sh_prow_date i{color:var(--brand);font-size:10px;margin-left:3px}
#post_box_latest .sh_prow_btn{flex:0 0 auto;color:var(--brand);border:1px solid var(--brand);border-radius:8px;padding:5px 10px;font-size:12px;white-space:nowrap;transition:background .2s,color .2s}
#post_box_latest .sh_prow:hover .sh_prow_btn{background:var(--brand);color:#fff}
@media(max-width:800px){#post_box_latest .sh_plist{grid-template-columns:1fr}}
@media(max-width:480px){#post_box_latest .sh_prow_btn span,#post_box_latest .sh_prow_btn{padding:5px 8px}#post_box_latest .sh_prow_img{flex-basis:64px;width:64px;height:64px}}

#post_box_latest .sh_prow_cat{background:var(--brand);color:#fff;border-radius:4px;padding:0 6px;font-size:10px;line-height:17px}
#post_box_latest .sh_prow_img{flex-basis:84px;width:84px;height:84px}

/* v36: تصاویر بزرگ‌تر در جدیدترین‌ها */
#post_box_latest .sh_prow_img{flex:0 0 130px;width:130px;height:100px}
#post_box_latest .sh_prow{padding:10px}
#post_box_latest .sh_prow_title{font-size:15px}
@media(max-width:480px){#post_box_latest .sh_prow_img{flex-basis:104px;width:104px;height:84px}}

/* v37: تصاویر بزرگ‌تر در جدیدترین‌ها (مرحله دوم) */
#post_box_latest .sh_prow_img{flex:0 0 160px;width:160px;height:120px}
@media(max-width:480px){#post_box_latest .sh_prow_img{flex-basis:124px;width:124px;height:96px}}

/* v38: ظاهر جدیدترین‌ها (فونت، دکمه، تصویر) */
#post_box_latest .sh_prow{border:1px solid #e5e5e5;border-radius:10px;align-items:center;transition:box-shadow .2s,border-color .2s}
#post_box_latest .sh_prow:hover{box-shadow:0 6px 18px rgba(var(--brand-rgb),.15);border-color:var(--brand)}
#post_box_latest .sh_prow_img{border-radius:8px;overflow:hidden}
#post_box_latest .sh_prow_img img{width:100%;height:100%;object-fit:cover;display:block}
#post_box_latest .sh_prow_title{font-size:14px;font-weight:600;line-height:1.6;color:#1D293D}
#post_box_latest .sh_prow_meta{margin-top:6px;gap:6px;align-items:center}
#post_box_latest .sh_prow_date{font-size:11px;color:#888}
#post_box_latest .sh_prow_ver,#post_box_latest .sh_prow_cat{font-size:11px;font-weight:700;padding:2px 8px;border-radius:4px;background:var(--brand);color:#fff}
#post_box_latest .sh_prow_btn{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;background:var(--brand);color:#fff;font-size:14px;font-weight:600;padding:3px 10px;border-radius:8px;border:none;white-space:nowrap}
#post_box_latest .sh_prow_btn i{font-size:13px;line-height:1}
#post_box_latest .sh_prow:hover .sh_prow_btn{background:#a8122f}
@media(max-width:480px){#post_box_latest .sh_prow_btn{padding:7px 10px;font-size:12px}#post_box_latest .sh_prow_title{font-size:14px}}

/* v39: جدیدترین‌ها - رنگ خنثی‌تر، دکمه «ادامه»، بازدید */
#post_box_latest .sh_prow_btn{background:#3a3f47}
#post_box_latest .sh_prow:hover .sh_prow_btn{background:#1f2328}
#post_box_latest .sh_prow:hover{border-color:#3a3f47;box-shadow:0 6px 18px rgba(0,0,0,.10)}
#post_box_latest .sh_prow_ver,#post_box_latest .sh_prow_cat{background:#5b6170}
#post_box_latest .sh_prow_views{font-size:12px;color:#888}

/* v40: دکمه ادامه پایین ردیف؛ برچسب دسته قرمز */
#post_box_latest .sh_prow{align-items:stretch}
#post_box_latest .sh_prow_btn{align-self:flex-end}
#post_box_latest .sh_prow_cat{background:var(--brand)}

/* v41: حذف موقت منوی آیکون‌دار در دسکتاپ + فونت منوی متنی */
@media(min-width:769px){
  #top_header #main_navbar{display:none !important}
}
#bottom_header #bottom_navbar > ul > li > a,
#bottom_header #bottom_navbar a{font-size:15px;font-weight:700;color:#222}
#bottom_header #bottom_navbar li > a:hover{color:var(--brand)}

/* v42: گروه آیکون‌های سمت چپ ردیف بالا */
#sh_hdr_actions{display:flex;align-items:center;gap:22px;margin-right:auto;margin-left:0}
#header #top_header #sh_hdr_actions #sh_search_box{margin:0}
#sh_hdr_actions .sh_hdr_btn,#sh_hdr_actions #sh_search_toggle{position:relative;display:inline-flex;align-items:center;justify-content:center;width:auto;height:auto;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#333;font-size:26px;line-height:1;cursor:pointer;text-decoration:none}
#sh_hdr_actions .sh_hdr_btn:hover,#sh_hdr_actions #sh_search_toggle:hover{background:none;color:var(--brand)}
#sh_hdr_actions .sh_bell{color:#e0553a}
#sh_hdr_actions .sh_bell i{animation:shbell 2.5s ease-in-out infinite;transform-origin:50% 0}
@keyframes shbell{0%,85%,100%{transform:rotate(0)}88%{transform:rotate(14deg)}92%{transform:rotate(-12deg)}96%{transform:rotate(8deg)}}
.sh_bell_tip{position:absolute;top:calc(100% + 12px);left:50%;transform:translateX(-50%);background:#111;color:#fff;font-size:13px;font-weight:700;white-space:nowrap;padding:10px 16px;border-radius:8px;opacity:0;visibility:hidden;transition:opacity .2s;z-index:60;pointer-events:none}
.sh_bell_tip:before{content:"";position:absolute;bottom:100%;left:50%;margin-left:-6px;border:6px solid transparent;border-bottom-color:#111}
.sh_bell:hover .sh_bell_tip,.sh_bell:focus .sh_bell_tip{opacity:1;visibility:visible}
@media(max-width:768px){#sh_hdr_actions{gap:16px}#sh_hdr_actions .sh_hdr_btn,#sh_hdr_actions #sh_search_toggle{font-size:22px}}

/* v43: کادر جستجو به سمت راست (فضای خالی) و بلندتر */
#sh_hdr_actions #sh_search_form{left:0;right:auto;transform-origin:left center;width:460px;max-width:70vw}
#sh_search_box.open #sh_search_form{transform:translateY(-50%) scaleX(1)}
@media(max-width:768px){#sh_hdr_actions #sh_search_form{width:80vw}}

/* v44: موبایل - لوگو راست، آیکون‌ها چپ در یک ردیف؛ جستجو تمام‌عرض */
@media(max-width:768px){
  #header #top_header #top_header_inner{position:relative;flex-wrap:wrap !important}
  #header #top_header #header_logo{flex:1 1 auto !important;width:auto !important;max-width:none !important;justify-content:flex-start;text-align:right}
  #header #top_header #header_logo figure{margin:0}
  #header #top_header #sh_hdr_actions{flex:0 0 auto;margin:0 !important;gap:18px;position:static}
  #header #top_header #sh_hdr_actions #sh_search_box{position:static}
  #sh_hdr_actions #sh_search_form,#sh_hdr_actions #sh_search_form{left:10px;right:10px;width:auto;max-width:none;top:28px;transform-origin:center}
  #sh_search_box.open #sh_search_form{z-index:70}
  .sh_bell_tip{left:auto;right:-10px;transform:none}
  .sh_bell_tip:before{left:auto;right:18px;margin-left:0}
}

/* v45: حذف منوی آیکون‌دار در همه اندازه‌ها، ردیف لوگو/آیکون در موبایل، رنگ همبرگری */
#top_header #main_navbar{display:none !important}
@media(max-width:768px){
  #header #top_header #top_header_inner{flex-direction:row !important;flex-wrap:nowrap !important;justify-content:space-between !important;align-items:center !important}
  #header #top_header #header_logo{padding:0 !important}
  #header #top_header #header_logo figure{text-align:right}
}
#header #bottom_header #bottom_navbar_r #show_bottom_navbar_r_btn>a i{color:var(--brand) !important}
#header #bottom_header #bottom_navbar_r #show_bottom_navbar_r_btn>a{background:#fff;border:1px solid var(--brand);color:var(--brand);border-radius:20px;padding:3px 18px;font-weight:700}
#header #bottom_header #bottom_navbar_r #show_bottom_navbar_r_btn>a:hover{background:var(--brand);color:#fff}
#header #bottom_header #bottom_navbar_r #show_bottom_navbar_r_btn>a:hover i{color:#fff !important}
#header #bottom_header #bottom_navbar_r #bottom_navbar_r_inner>ul li.menu-item-has-children>i.menu-item-has-children-icon,
#header #bottom_header #bottom_navbar_r #bottom_navbar_r_inner>ul i{color:var(--brand)}
#header #bottom_header #bottom_navbar_r #bottom_navbar_r_inner>ul li.menu-item-has-children>i{background:var(--brand) !important;color:#fff !important}

/* ===== v46: پنل کاربری ===== */
.sh_panel{max-width:760px;margin:20px auto;font-family:inherit;color:#222}
.sh_panel_msg{padding:10px 14px;border-radius:8px;margin-bottom:12px;font-size:14px}
.sh_panel_msg.ok{background:#eaf7ef;color:#1d6b3a;border:1px solid #bfe5cc}
.sh_panel_msg.err{background:#fdecef;color:#a1123a;border:1px solid #f5bcc9}
.sh_panel_head{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #eceef2;border-radius:14px;padding:16px 18px;margin-bottom:14px}
.sh_panel_head img{width:72px;height:72px;border-radius:50%;object-fit:cover;border:3px solid var(--brand)}
.sh_panel_head div{flex:1;display:flex;flex-direction:column}
.sh_panel_head strong{font-size:17px}
.sh_panel_head span{font-size:13px;color:#6b7280;direction:ltr;text-align:right}
.sh_panel_logout{margin:0}
.sh_panel_logout button{background:#fff;border:1px solid var(--brand);color:var(--brand);border-radius:20px;padding:6px 16px;cursor:pointer;font-weight:700}
.sh_panel_logout button:hover{background:var(--brand);color:#fff}
.sh_panel nav.sh_panel_tabs,.sh_panel_auth .sh_panel_tabs{display:flex;gap:6px;background:#f5f6f8;padding:5px;border-radius:12px;margin-bottom:14px}
.sh_panel_tabs a{flex:1;text-align:center;padding:9px 6px;border-radius:9px;color:#555;text-decoration:none;font-weight:600;font-size:14px}
.sh_panel_tabs a.on{background:#fff;color:var(--brand);box-shadow:0 1px 4px rgba(0,0,0,.08)}
.sh_panel_cols{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.sh_panel_form{background:#fff;border:1px solid #eceef2;border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:10px}
.sh_panel_form h3{margin:0 0 4px;font-size:15px;color:#222;border-right:3px solid var(--brand);padding-right:8px}
.sh_panel_form label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:#444}
.sh_panel_form label.sh_chk{flex-direction:row;align-items:center;gap:6px}
.sh_panel_form input[type=text],.sh_panel_form input[type=email],.sh_panel_form input[type=password]{border:1px solid #dcdfe5;border-radius:8px;padding:9px 11px;font-size:14px;font-family:inherit;width:100%;box-sizing:border-box}
.sh_panel_form input:focus{outline:none;border-color:var(--brand)}
.sh_panel_form button{align-self:flex-start;background:var(--brand);color:#fff;border:0;border-radius:8px;padding:9px 22px;font-weight:700;cursor:pointer;font-family:inherit}
.sh_panel_form button:hover{background:#b3163b}
.sh_panel_auth{max-width:420px;margin:0 auto}
.sh_panel_auth .sh_panel_form{padding:20px}
.sh_panel_list{display:flex;flex-direction:column;gap:8px}
.sh_panel_item{display:block;background:#fff;border:1px solid #eceef2;border-radius:10px;padding:12px 14px;color:#222;text-decoration:none;font-size:14px;line-height:1.9}
a.sh_panel_item:hover{border-color:var(--brand);color:var(--brand)}
.sh_panel_item.notice span{display:block;font-size:12px;color:#9ca3af}
.sh_panel_empty{color:#6b7280;text-align:center;padding:20px}
.sh_fav_wrap{margin:18px 0}
.sh_fav_btn{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--brand);color:var(--brand);border-radius:20px;padding:6px 16px;text-decoration:none;font-size:13px;font-weight:700}
.sh_fav_btn:hover,.sh_fav_btn.is_on{background:var(--brand);color:#fff}
@media(max-width:700px){.sh_panel_cols{grid-template-columns:1fr}.sh_panel_head{flex-wrap:wrap}}

/* ===== v47: برش آواتار ===== */
.sh_crop{display:flex;flex-direction:column;gap:8px;align-items:center}
.sh_crop[hidden]{display:none}
.sh_crop canvas{width:240px;height:240px;max-width:100%;border-radius:50%;border:1px solid #ddd;background:#f4f5f7;cursor:grab;touch-action:none}
.sh_crop label{font-size:13px;color:#555;display:flex;gap:8px;align-items:center;width:100%}
.sh_crop input[type=range]{flex:1}
.sh_crop p{margin:0;font-size:12px;color:#777}

/* ===== v48: آواتار در هدر و کامنت، مرتب‌سازی پنل ===== */
.sh_hdr_avatar{padding:0 !important;overflow:hidden}
.sh_hdr_avatar img{width:30px;height:30px;border-radius:50%;object-fit:cover;border:2px solid var(--brand);display:block}
#comment_form .logged-in-as img,#comment_form .logged-in-as .avatar{border-radius:50%;vertical-align:middle;margin-left:6px}
.sh_panel_cols{align-items:start}
.sh_panel_col{display:flex;flex-direction:column;gap:14px;min-width:0}
.sh_panel_cols>.sh_panel_form{height:auto}
.sh_panel_head{box-shadow:0 1px 3px rgba(0,0,0,.04)}
.sh_panel_head img.avatar{width:72px;height:72px;border-radius:50%;object-fit:cover;border:3px solid var(--brand)}
.sh_panel_form h3{font-size:14px}
.sh_panel_form label{font-weight:600}

/* ===== v49: پنل — پس‌زمینه، چیدمان تک‌ستونه، فراموشی رمز ===== */
.sh_panel{background:#f1f2f5;border-radius:16px;padding:14px;max-width:700px}
.sh_panel_form{box-shadow:0 1px 2px rgba(0,0,0,.05)}
.sh_panel_cols{grid-template-columns:1fr;gap:12px}
.sh_panel_col{gap:12px}
.sh_panel_form h3{font-size:15px}
.sh_lost_link{text-align:center;margin:12px 0 0;font-size:13px}
.sh_lost_link a{color:var(--brand);text-decoration:none;font-weight:600}

/* ===== v50: راهنمای حجم آواتار ===== */
.sh_upload_hint{font-size:12px;line-height:1.9;color:#7a8189;margin:8px 0 10px;background:#f7f8fa;border:1px solid #e8eaee;border-radius:8px;padding:8px 10px}
.sh_upload_hint b{color:#41474f}
.sh_upload_hint.sh_hint_err{color:#b3132f;background:#fdeef1;border-color:#f3c9d2}
.sh_upload_hint.sh_hint_err b{color:#b3132f}
.elementor-widget-container .sh_upload_hint,.sh_panel .sh_upload_hint{font-family:inherit}

/* v51: باکس تریلر (post_box_2 در صفحه اصلی) — تصویر ۱۶:۹ و عنوان هم‌ارتفاع */
#post_box_2 .post_box_content .post .post_image{height:auto;aspect-ratio:16/9}
#post_box_2 .post_box_content .post .post_title{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:21px;min-height:42px;padding:6px 3px 0}
/* v52: برچسب زمان کوچک‌تر و پایین تصویر */
#post_box_2 .post_box_content .post .post_date{top:auto;bottom:6px;left:6px;line-height:16px;padding:0 7px;font-size:9px}
#post_box_2 .post_box_content .post .post_date i{line-height:16px;margin-left:2px}
/* v53: حذف برچسب زمان از باکس تریلر */
#post_box_2 .post_box_content .post .post_date{display:none !important}
/* v54: حذف سایدبار صفحه اصلی (ظاهری) — محتوا تمام عرض */
#index_page_content_2{width:100%;padding-left:0}
#index_page_content_2 + .page_sidebar{display:none}
/* v55: چیپ دسته‌بندی */
#sh_chips{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 8px;margin:10px 0;-webkit-overflow-scrolling:touch;scrollbar-width:none}
#sh_chips::-webkit-scrollbar{display:none}
#sh_chips .sh_chip{flex:0 0 auto;padding:7px 16px;border-radius:20px;background:#3a3f47;color:#fff;font-size:13px;line-height:1.4;text-decoration:none;white-space:nowrap;transition:background .15s}
#sh_chips .sh_chip:hover{background:var(--brand);color:#fff}
/* v56: ردیف اطلاعات/دکمه دانلود در صفحه مطلب — جمع‌وجورتر */
#single_page #post_box #sh_quick_info{align-items:center !important;gap:8px;margin:0 0 10px}
#single_page #post_box #sh_quick_info .sh_qi_items{align-items:center;gap:6px}
#single_page #post_box #sh_quick_info .sh_qi_item{flex-direction:row;align-items:center;gap:8px;min-width:0;padding:3px 10px;line-height:1.5;border-top-width:2px;border-radius:6px}
#single_page #post_box #sh_quick_info .sh_qi_item small{font-size:11px}
#single_page #post_box #sh_quick_info .sh_qi_item small:after{content:":"}
#single_page #post_box #sh_quick_info .sh_qi_item b{font-size:12.5px}
#single_page #post_box #sh_quick_info .sh_goto_dl{align-self:center !important;min-width:0 !important;padding:4px 12px !important;font-size:12px !important;border-top-width:1px !important;border-radius:6px !important}
#single_page #post_box #sh_quick_info .sh_goto_dl i{font-size:12px}
@media(max-width:600px){#single_page #post_box #sh_quick_info .sh_goto_dl{width:100% !important;padding:7px 12px !important}}
/* v57: گزارش لینک خراب کم‌رنگ، دانلود متمایز */
.dl_box_report_btn{background:transparent !important;border:0 !important;color:#999 !important;padding:4px 6px !important;font-size:11.5px !important;border-radius:6px}
.dl_box_report_btn:hover:not(:disabled){background:#f3f3f3 !important;color:var(--brand) !important}
.dl_box_report_btn i{font-size:11px;color:inherit}
.dl_box_dl_a{padding:8px 20px !important;font-size:14px !important;font-weight:bold;box-shadow:0 3px 8px rgba(var(--brand-rgb),.3)}
/* v58: ویجت آخرین مطالب سایدبار — حذف پیل‌های صورتی از عنوان و متن، ظاهر تمیز لیست */
.page_sidebar .latest_posts_widget ul li a .lp_text,
.page_sidebar .latest_posts_widget ul li a .lp_title,
.page_sidebar .latest_posts_widget ul li a .lp_text > span:not(.sticky_post_label){
    background:none !important;border-radius:0 !important;padding:0 !important;margin:0 !important;
    display:block !important;color:inherit !important;font-size:inherit !important;line-height:inherit !important;
}
.page_sidebar .latest_posts_widget ul li a .lp_text > span:not(.lp_title){font-size:11px !important;color:#999 !important;line-height:1.4 !important}
.page_sidebar .latest_posts_widget ul li a .lp_text > span.sticky_post_label{display:inline-block !important;background:var(--brand) !important;color:#fff !important;border-radius:4px !important;padding:0 6px !important;font-size:10px !important;margin:0 !important}
.latest_posts_widget li a::before,.latest_posts_widget li a::after{content:none !important;display:none !important}
.page_sidebar .latest_posts_widget ul li a{padding:7px 6px !important;border-radius:8px;gap:10px !important}
.page_sidebar .latest_posts_widget ul li a:hover{background:#fbf3f5 !important}
.page_sidebar .latest_posts_widget .lp_thumb{flex:0 0 56px;width:56px;height:56px;border-radius:8px;border:1px solid #eee}
.page_sidebar .latest_posts_widget ul li{border-bottom:1px solid #f1f1f1}
.page_sidebar .latest_posts_widget .lp_title{font-size:13px !important;font-weight:600;color:#222 !important;-webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
/* v59: تصویر بندانگشتی ویجت — حذف قاب صورتی (همان قاعده span) و قاب مربعی ثابت */
.page_sidebar .latest_posts_widget ul li a .lp_thumb{
    background:#f4f4f4 !important;border-radius:8px !important;padding:0 !important;margin:0 !important;
    display:flex !important;align-items:center;justify-content:center;overflow:hidden;
    font-size:0 !important;line-height:0 !important;flex:0 0 56px !important;width:56px !important;height:56px !important;min-width:56px;
}
.page_sidebar .latest_posts_widget ul li a .lp_thumb img{width:100% !important;height:100% !important;object-fit:cover;display:block;border-radius:0 !important;margin:0 !important}
/* v60: ویدیوهای داخل متن پست وسط‌چین */
#single_page #post_box #post_description video,
#single_page #post_box #post_description iframe,
#single_page #post_box #post_description embed,
#single_page #post_box #post_description object{
    display:block !important;margin-left:auto !important;margin-right:auto !important;max-width:100% !important;float:none !important;
}
#single_page #post_box #post_description .wp-video,
#single_page #post_box #post_description .wp-block-video,
#single_page #post_box #post_description .wp-block-embed,
#single_page #post_box #post_description .wp-block-embed__wrapper,
#single_page #post_box #post_description .wp-video-shortcode,
#single_page #post_box #post_description [class*="aparat"]{
    margin-left:auto !important;margin-right:auto !important;max-width:100% !important;float:none !important;text-align:center;
}
#single_page #post_box #post_description .wp-video{width:auto !important}
#single_page #post_box #post_description video{height:auto}

/* ===== v61: footer 4 columns ===== */
#footer #middle_footer{background:#2b2d31}
#footer #middle_footer #footer_items{padding:30px 0 15px}
#footer #middle_footer #footer_items>.footer_item,#footer #middle_footer #footer_items>.sh_fcol{width:25%;padding:0 15px;box-sizing:border-box}
#footer #middle_footer #footer_items .sh_fwidgets .footer_item{width:100%;padding:0}
#footer #middle_footer #footer_items .footer_item_title h4{font-size:15px;font-weight:bold;margin-bottom:14px}
#footer #middle_footer #footer_items .footer_item_title h4::before{display:none}
#footer #middle_footer #footer_items .footer_item_title h4 a{background:none;padding:0 0 8px;border-bottom:2px solid var(--brand)}
#footer #middle_footer #footer_items .footer_item_content ul li{padding:0}
#footer #middle_footer #footer_items .footer_item_content ul li>a:hover,#footer #middle_footer #footer_items .footer_item_content ul li>a:hover::before{color:var(--brand)}
#footer .sh_fabout{color:#bbb;font-size:13px;line-height:1.9;margin:0;text-align:justify;text-justify:inter-character}
#footer #bottom_footer{background:#222428}
@media(max-width:800px){
  #footer #middle_footer #footer_items>.footer_item,#footer #middle_footer #footer_items>.sh_fcol{width:50%;margin-bottom:15px}
}
@media(max-width:520px){
  #footer #middle_footer #footer_items>.footer_item,#footer #middle_footer #footer_items>.sh_fcol{width:100%}
}

/* ===== accent colour (red default, blue / green by user choice) ===== */
:root{--brand:#d21844;--brand-rgb:210,24,68}
html[data-accent="blue"]{--brand:#1f6feb;--brand-rgb:31,111,235}
html[data-accent="green"]{--brand:#15803d;--brand-rgb:21,128,61}

/* accent switcher (header) */
#sh_accent_wrap{position:relative;display:inline-block}
#sh_accent_pop{display:none;position:absolute;top:calc(100% + 8px);left:0;z-index:1000;background:#fff;border:1px solid #ddd;border-radius:10px;padding:8px;gap:8px;box-shadow:0 6px 18px rgba(0,0,0,.15)}
#sh_accent_pop.open{display:flex}
.sh_accent_dot{width:26px;height:26px;border-radius:50%;border:2px solid transparent;cursor:pointer;padding:0}
.sh_accent_dot.active{border-color:#333}
.sh_accent_dot[data-set="red"]{background:#d21844}
.sh_accent_dot[data-set="blue"]{background:#1f6feb}
.sh_accent_dot[data-set="green"]{background:#15803d}


/* ===== menu readability v63 ===== */
#header #bottom_header #bottom_navbar>ul>li>a,
#header #bottom_header #bottom_navbar>ul>li>a span{color:#1D293D !important;opacity:1 !important;font-weight:600;text-shadow:none}
#header #bottom_header #bottom_navbar>ul>li>a:hover,
#header #bottom_header #bottom_navbar>ul>li:hover>a{color:var(--brand) !important}

/* v65: باکس بازی‌ها با تب (PC / پلی‌استیشن / اندروید) */
#post_box_games .sh_games_tabs{display:flex;flex-wrap:wrap;gap:8px;padding:12px 12px 0}
#post_box_games .sh_games_tab{font-family:inherit;font-size:13.5px;line-height:1.6;padding:7px 18px;border:1px solid #cfd4db;border-radius:999px;background:#f1f3f6;color:#333;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
#post_box_games .sh_games_tab:hover{border-color:var(--brand);color:var(--brand)}
#post_box_games .sh_games_all{border-bottom:0 !important;padding-bottom:0 !important;font-size:13px}
#post_box_games .sh_games_all::before{display:none !important}
#post_box_games .sh_games_tab.is_active{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:700}
#post_box_games .sh_games_panel{display:none !important}
#post_box_games .sh_games_panel.is_active{display:grid !important}
#post_box_games .sh_games_panel{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;padding:12px}
#post_box_games .sh_games_empty{grid-column:1/-1;margin:0;padding:20px;text-align:center;color:#888;font-size:13px}
#post_box_games .sh_game_type.is_ps{background:rgba(255,255,255,.92);color:#5b3fd1;border-color:#5b3fd1}
@media (max-width:768px){#post_box_games .sh_games_panel{grid-template-columns:repeat(2,1fr);gap:8px;padding:8px}#post_box_games .sh_games_tabs{padding:8px 8px 0}#post_box_games .sh_games_tab{padding:6px 13px;font-size:12.5px}}

/* v66 - intro section above footer */
#sh_intro_section{background:#f5f6f8;padding:40px 0 30px;margin-top:0}
#sh_intro_section .sh_intro_top{display:flex;align-items:center;gap:24px;padding-bottom:28px;margin-bottom:28px;border-bottom:1px solid #e1e4e8}
#sh_intro_section .sh_intro_logo{flex:0 0 auto;max-width:140px}
#sh_intro_section .sh_intro_logo img{display:block;max-width:140px;max-height:70px;width:auto;height:auto}
#sh_intro_section .sh_intro_text{margin:0;flex:1;font-size:14px;line-height:2;color:#444;text-align:justify}
#sh_intro_section .sh_intro_cards{display:flex;flex-wrap:wrap;gap:20px}
#sh_intro_section .sh_intro_card{flex:1 1 0;min-width:220px;background:#fff;border-radius:10px;box-shadow:0 2px 10px rgba(0,0,0,.06);padding:26px 22px;text-align:center;box-sizing:border-box}
#sh_intro_section .sh_intro_icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:var(--brand);color:#fff;margin-bottom:14px}
#sh_intro_section .sh_intro_icon i{font-size:22px}
#sh_intro_section .sh_intro_card h3{font-size:15px;font-weight:700;color:#222;margin:0 0 10px}
#sh_intro_section .sh_intro_card p{font-size:13px;line-height:1.9;color:#555;margin:0 0 12px}
#sh_intro_section .sh_intro_link{font-size:13px;font-weight:600;color:var(--brand);text-decoration:none}
#sh_intro_section .sh_intro_link:hover{text-decoration:underline}
@media (max-width:767px){
  #sh_intro_section .sh_intro_top{flex-direction:column;text-align:center}
  #sh_intro_section .sh_intro_text{text-align:center;font-size:13px}
  #sh_intro_section .sh_intro_card{flex:1 1 100%}
}

/* v67 - footer: beat style.css specificity (title bg, bullets, row spacing) */
#footer #middle_footer #footer_items .footer_item .footer_item_title h4::before{display:none}
#footer #middle_footer #footer_items .footer_item .footer_item_title h4 a{background:none;padding:0 0 8px;border-bottom:2px solid var(--brand)}
#footer #middle_footer #footer_items .footer_item .footer_item_content ul li{padding:0;line-height:1.6}
#footer #middle_footer #footer_items .footer_item .footer_item_content ul li>a{padding:6px 0;line-height:1.6}
#footer #middle_footer #footer_items .footer_item .footer_item_content ul li>a::before{content:'\f104';font-weight:900;font-size:12px;color:var(--brand);margin-left:8px}
#footer #middle_footer #footer_items .footer_item .footer_item_content ul li>a:hover,#footer #middle_footer #footer_items .footer_item .footer_item_content ul li>a:hover::before{color:var(--brand)}
@media(max-width:520px){
  #footer #middle_footer #footer_items{padding:20px 0 5px}
  #footer #middle_footer #footer_items>.footer_item,#footer #middle_footer #footer_items>.sh_fcol{margin-bottom:10px}
  #footer #middle_footer #footer_items .sh_fwidgets{text-align:center}
}

/* v68 - footer links in 2 columns on mobile */
@media(max-width:520px){
  #footer #middle_footer #footer_items .footer_item .footer_item_content ul{column-count:2;-webkit-column-count:2;column-gap:16px;margin:0;padding:0}
  #footer #middle_footer #footer_items .footer_item .footer_item_content ul li{break-inside:avoid;-webkit-column-break-inside:avoid}
  #footer #middle_footer #footer_items .footer_item .footer_item_content ul li>a{font-size:12.5px}
}

/* v69 - mobile footer: links as a 2-col grid (row order), copyright wraps inside box */
@media(max-width:520px){
  #footer #middle_footer #footer_items .footer_item .footer_item_content ul{column-count:auto;-webkit-column-count:auto;display:grid;grid-template-columns:1fr 1fr;column-gap:16px;row-gap:0}
  #footer #bottom_footer #footer_copyright{display:block;text-align:center;padding:10px 12px;line-height:1.9}
  #footer #bottom_footer #footer_copyright a{display:block;width:100%;white-space:normal;word-break:normal;line-height:1.9;padding:4px 0}
}

/* v71 - intro grey box only inside container; outside uses page bg (#e8e8e8 from body) */
#sh_intro_section{background:#e8e8e8}
#sh_intro_section>.container{background:#f5f6f8}

/* v72 - pull intro box closer to posts above and footer below */
#sh_intro_section{margin-top:-30px;margin-bottom:-25px}

/* v73 - move padding inside the grey box so text sits lower from its top edge */
#sh_intro_section{padding:0}
#sh_intro_section>.container{padding-top:35px;padding-bottom:30px}

/* v74 - more space between the 3 cards and the bottom edge of the grey box */
#sh_intro_section .sh_intro_cards{margin-bottom:25px}

/* v75 - negative top margin only on the homepage; elsewhere keep a normal gap */
#sh_intro_section{margin-top:20px}
#sh_intro_section.is_home{margin-top:-30px}

/* v76 - sticky sidebar (desktop only). Header is sticky too, so offset below it */
@media(min-width:901px){
.page_sidebar{align-self:flex-start;position:sticky;top:90px;max-height:calc(100vh - 100px);overflow-y:auto;scrollbar-width:thin}
}

/* v77 - section titles on single page and "view all" links follow the accent colour */
#single_page #related_posts_box #related_posts_box_title,
#post_comments_box #comment_form #comment_form_title,
#post_comments_box #comments_list_box #comments_list_title{color:var(--brand) !important}
#single_page #related_posts_box #related_posts_box_title::before,
#post_comments_box #comment_form #comment_form_title::before,
#post_comments_box #comments_list_box #comments_list_title::before{background-image:linear-gradient(-90deg,rgba(var(--brand-rgb),.9),rgba(var(--brand-rgb),.45)) !important}
#single_page #related_posts_box #related_posts_box_title a,
#post_comments_box #comment_form #comment_form_title a,
#post_comments_box #comments_list_box #comments_list_title a,
#post_box_games .sh_games_all,
.post_box .post_box_title a{color:var(--brand) !important}
#post_box_games .sh_games_all::before{background:var(--brand) !important}

/* v78 - post titles on single page header and archive/category lists follow the accent colour */
#single_page #post_box #post_title h1,
#archive_page #archive_page_content #archive_post_list .post .post_title h2{color:var(--brand) !important}
#single_page #post_box #post_title h1::before,
#archive_page #archive_page_content #archive_post_list .post .post_title h2::before{background-image:linear-gradient(-90deg,rgba(var(--brand-rgb),.9),rgba(var(--brand-rgb),.45)) !important}
#single_page #post_box #post_title h1 i,
#archive_page #archive_page_content #archive_post_list .post .post_title h2 i{color:var(--brand) !important}

/* v79 - comment submit buttons use the accent colour */
#post_comments_box #comment_form #comment_form_content .form-submit #submit,
#post_comments_box #comments_list_box #comments_list_content .comment-list #post_comment_form .form-submit #submit{background:var(--brand) !important;color:#fff !important}
#post_comments_box #comment_form #comment_form_content .form-submit #submit:hover,
#post_comments_box #comments_list_box #comments_list_content .comment-list #post_comment_form .form-submit #submit:hover{background:var(--brand) !important;filter:brightness(.88)}

/* v80 - live search suggestions */
#sh_search_suggest{position:absolute;top:calc(100% + 8px);left:0;right:auto;width:460px;max-width:70vw;background:#fff;border:1px solid #ddd;border-radius:6px;box-shadow:0 8px 24px rgba(0,0,0,.15);z-index:1000;max-height:70vh;overflow-y:auto;text-align:right}
#sh_search_suggest .sh_sg_item{display:flex;align-items:center;gap:10px;padding:8px 10px;border-bottom:1px solid #f0f0f0;color:#333;text-decoration:none}
#sh_search_suggest .sh_sg_item:hover{background:#f7f7f7}
#sh_search_suggest .sh_sg_item img,#sh_search_suggest .sh_sg_noimg{width:56px;height:40px;object-fit:cover;border-radius:4px;flex:0 0 56px;background:#eee}
#sh_search_suggest .sh_sg_text{display:flex;flex-direction:column;min-width:0}
#sh_search_suggest .sh_sg_title{font-size:13px;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#sh_search_suggest .sh_sg_date{font-size:11px;color:#888}
#sh_search_suggest .sh_sg_all{display:block;padding:10px;text-align:center;color:var(--brand);font-size:13px;font-weight:bold;text-decoration:none}
#sh_search_suggest .sh_sg_empty{padding:12px;text-align:center;font-size:13px;color:#888}

#sh_search_suggest .sh_sg_title{direction:rtl;text-align:right}
@media(max-width:768px){#sh_search_suggest{width:80vw;max-width:none}}
@media(max-width:600px){#sh_search_suggest{position:fixed;top:70px;left:10px;right:10px;width:auto}}

/* v81 - header action icons as uniform soft circles */
#sh_hdr_actions{gap:10px}
#sh_hdr_actions .sh_hdr_btn,#sh_hdr_actions #sh_search_toggle{width:40px;height:40px;border-radius:50%;background:#f3f4f6;color:#444;font-size:17px;transition:background .2s,color .2s,transform .2s}
#sh_hdr_actions .sh_hdr_btn:hover,#sh_hdr_actions #sh_search_toggle:hover{background:rgba(var(--brand-rgb),.12);color:var(--brand);transform:translateY(-1px)}
#sh_hdr_actions .sh_bell{color:var(--brand);background:rgba(var(--brand-rgb),.1)}
#sh_hdr_actions .sh_hdr_avatar{overflow:hidden;padding:0}
#sh_hdr_actions .sh_hdr_avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}
@media(max-width:768px){#sh_hdr_actions{gap:8px}#sh_hdr_actions .sh_hdr_btn,#sh_hdr_actions #sh_search_toggle{width:36px;height:36px;font-size:15px}}

/* v82 - bolder header action buttons */
#sh_hdr_actions{gap:12px}
#sh_hdr_actions .sh_hdr_btn,#sh_hdr_actions #sh_search_toggle{width:42px;height:42px;background:linear-gradient(145deg,#3a3f4b,#1f232b);color:#fff;font-size:18px;box-shadow:0 3px 10px rgba(0,0,0,.22)}
#sh_hdr_actions #sh_search_toggle,#sh_hdr_actions .sh_bell{background:linear-gradient(145deg,var(--brand),rgba(var(--brand-rgb),.75));color:#fff;box-shadow:0 3px 12px rgba(var(--brand-rgb),.45)}
#sh_hdr_actions .sh_hdr_btn:hover,#sh_hdr_actions #sh_search_toggle:hover{background:linear-gradient(145deg,var(--brand),rgba(var(--brand-rgb),.75));color:#fff;transform:translateY(-2px);box-shadow:0 6px 16px rgba(var(--brand-rgb),.5)}
#sh_hdr_actions .sh_hdr_avatar{border:2px solid var(--brand);box-shadow:0 3px 10px rgba(var(--brand-rgb),.35)}
@media(max-width:768px){#sh_hdr_actions{gap:8px}#sh_hdr_actions .sh_hdr_btn,#sh_hdr_actions #sh_search_toggle{width:38px;height:38px;font-size:16px}}

/* v83 - replace remaining hardcoded blue (#21618c) with brand colour */
.page_sidebar .sidebar_item .sidebar_item_content .latest_posts_widget ul li a span.sticky_post_label{color:var(--brand) !important}
#archive_page #archive_page_content #archive_post_list .post .post_title h2{color:var(--brand) !important}
#post_comments_box #comments_list_box #comments_list_title{color:var(--brand) !important}
#post_comments_box #comment_form #comment_form_content .form-submit #submit:hover,
#post_comments_box #comments_list_box #comments_list_content .comment-list #post_comment_form .form-submit #submit:hover{background:var(--brand) !important;filter:brightness(.88)}

/* v84 - align logo and header action icons on one vertical centre */
#header #top_header #top_header_inner{align-items:center !important}
#header #top_header #header_logo{align-self:center !important;margin:0 !important}
#header #top_header #header_logo figure{margin:0 !important;display:flex;align-items:center;height:100%}
#header #top_header #header_logo img{display:block}
#header #top_header #sh_hdr_actions{align-self:center !important;margin-top:0 !important;margin-bottom:0 !important;position:relative;top:0;height:auto;line-height:1}
#header #top_header #sh_hdr_actions .sh_hdr_btn,#header #top_header #sh_hdr_actions #sh_search_toggle{margin:0}


/* v85 - quick links cards: tinted background, brand icon circle, bold title */
#quick_links{gap:14px;margin:0 0 20px}
#quick_links .quick_link_card{background:linear-gradient(180deg,#fff 0%,#fdf4f6 100%);border:1px solid #f3dce3;border-radius:12px;padding:20px 12px;box-shadow:0 2px 8px rgba(0,0,0,.05);gap:10px;font-weight:700}
#quick_links .quick_link_card i{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;background:var(--brand);color:#fff;font-size:20px;box-shadow:0 4px 10px rgba(0,0,0,.15)}
#quick_links .quick_link_card span{font-size:14px;color:#1f2937}
#quick_links .quick_link_card:hover{box-shadow:0 6px 16px rgba(0,0,0,.1)}
#quick_links .quick_link_card img.quick_link_img{width:52px;height:52px;border-radius:50%;background:#fff;padding:6px;box-shadow:0 4px 10px rgba(0,0,0,.12)}
@media(max-width:650px){#quick_links{gap:10px}#quick_links .quick_link_card{padding:14px 8px}#quick_links .quick_link_card span{font-size:13px}}

/* v86 - header + menu bar: visual only, no structural change */
/* header: taller, logo larger, white band */
#header #top_header{background:#fff}
#header #top_header #header_logo img{max-height:72px;width:auto}
@media(max-width:768px){#header #top_header #header_logo img{max-height:56px}}

/* menu bar: dark band with white text, brand-coloured hover */
#header #bottom_header{background:#1f2937;border-top:1px solid #111827;border-bottom:3px solid var(--brand);padding:0 15px}
#header #bottom_header #bottom_navbar>ul>li>a,
#header #bottom_header #bottom_navbar a{color:#f9fafb !important;font-size:14px;font-weight:700}
#header #bottom_header #bottom_navbar>ul>li>a i{color:#f9fafb}
#header #bottom_header #bottom_navbar ul li:hover>a,
#header #bottom_header #bottom_navbar ul li:hover>i{color:#fff !important;background:var(--brand);border-radius:6px}
#header #bottom_header #bottom_navbar>ul>li>a{padding:12px 10px;display:inline-block;border-radius:6px}
/* submenus keep light background so text stays readable */
#header #bottom_header #bottom_navbar ul ul a,
#header #bottom_header #bottom_navbar ul ul li:hover>a{color:#333 !important;background:transparent}
#header #bottom_header #bottom_navbar ul ul li:hover>a{color:var(--brand) !important}
#header #bottom_header #bottom_navbar ul ul i{color:#333}
@media(max-width:768px){
  #header #bottom_header{padding:0 8px}
  #header #bottom_header #bottom_navbar>ul>li>a{font-size:13px;padding:10px 7px}
}

/* v87 - menu text/icons white on dark bar (overrides old span rule at ~652) */
#header #bottom_header #bottom_navbar>ul>li>a span,
#header #bottom_header #bottom_navbar a span,
#header #bottom_header #bottom_navbar>ul>li>a i,
#header #bottom_header #bottom_navbar>ul>li>a i.menu-item-has-children-icon{color:#f9fafb !important;opacity:1 !important;text-shadow:none}
#header #bottom_header #bottom_navbar ul ul a span,
#header #bottom_header #bottom_navbar ul ul a i{color:#333 !important}
#header #bottom_header #bottom_navbar ul ul li:hover>a span,
#header #bottom_header #bottom_navbar ul ul li:hover>a i{color:var(--brand) !important}

/* v88 - hover only on the link; arrow icon gets no background */
#header #bottom_header #bottom_navbar ul li:hover>i,
#header #bottom_header #bottom_navbar ul li>i{background:transparent !important;border-radius:0;color:#cbd5e1 !important}
#header #bottom_header #bottom_navbar>ul>li:hover>a{background:rgba(255,255,255,.14) !important;box-shadow:inset 0 -3px 0 var(--brand);border-radius:6px 6px 0 0}
#header #bottom_header #bottom_navbar ul ul li:hover>a{background:transparent !important;box-shadow:none;border-radius:0}

/* v89 - top-level arrow vertically centred next to link */
#header #bottom_header #bottom_navbar>ul>li{display:flex;align-items:center}
#header #bottom_header #bottom_navbar>ul>li>i.menu-item-has-children-icon{float:none;line-height:1;margin:0 2px}

/* v90 - even spacing around quick links + plain white cards */
#quick_links{margin:20px 0 !important}
#quick_links .quick_link_card{background:#fff !important;border-color:#ececec}
#quick_links .quick_link_card:hover{background:#fff !important;border-color:var(--brand)}

/* v91 - reduce gap between slider and quick links */
#sh_slider{margin-bottom:0 !important}
#quick_links{margin-top:0 !important}

/* v92 - header banner 468x60 (desktop only) + narrower live search */
#sh_hdr_banner{display:none}
@media(min-width:769px){
#sh_hdr_banner{display:block;flex:0 0 auto;align-self:center;margin:0 24px}
#sh_hdr_banner img{display:block;width:468px;max-width:100%;height:60px;border-radius:4px}
#header #top_header #sh_hdr_actions{margin-right:auto}
#sh_hdr_actions #sh_search_form,#sh_search_suggest{width:320px}
}

/* v93 - موبایل: کادر جستجو تمام‌عرض نسبت به ردیف هدر (هدر آیکن‌ها position:relative بود و کادر را کوچک می‌کرد) */
@media(max-width:768px){
#header #top_header #sh_hdr_actions{position:static !important}
#header #top_header #sh_hdr_actions #sh_search_box{position:static !important}
#header #top_header #sh_hdr_actions #sh_search_form{left:10px !important;right:10px !important;width:auto !important;max-width:none !important}
}

/* v94: باکس دانلود — دکمه دانلود اصلی، کپی ثانویه، گزارش فقط آیکن */
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link .dl_box_copy_btn{border-color:transparent;background:transparent;color:#666;padding:4px 8px;font-size:12px}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link .dl_box_copy_btn:hover{background:#f3f3f3;border-color:transparent}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link .dl_box_report_btn{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0 !important;margin:0;border-radius:50% !important;font-size:13px !important}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link .dl_box_report_btn i{font-size:13px}
@media (max-width:768px){
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link .dl_box_link_row{gap:4px 8px}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link .dl_box_link_title{flex:1 1 auto}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link .dl_box_link_size{flex:0 0 auto}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link .dl_box_link_actions{flex:0 0 100%;margin-right:0;gap:8px;align-items:center}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link a.dl_box_dl_a{flex:1 1 auto;justify-content:center}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link .dl_box_copy_btn{width:36px;height:36px;padding:0;justify-content:center;background:#fff;border:1px solid #ccc;border-radius:50%}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link .dl_box_copy_btn .dl_lbl{display:none}
#single_page #post_box #post_content #post_dl_box_content #dl_box_links_content .dl_box_link .dl_box_report_btn{width:36px;height:36px;border:1px solid #ccc !important}
}

/* v95: عنوان مطالب «جدیدترین‌ها» یک خط */
#post_box_latest .sh_prow_title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:unset}
/* v96: تریلر — عنوان یک‌خطی، آیکن پخش، خط زیر لینک؛ بازی‌ها — عنوان یک‌خطی و بدون برچسب پلتفرم در حالت تب‌دار */
#post_box_2 .post_box_content .post .post_title{-webkit-line-clamp:1;line-clamp:1;min-height:0;height:auto;text-overflow:ellipsis}
#post_box_2 .post_box_content .post .post_image{position:relative}
#post_box_2 .post_box_content .post .post_image::after{content:"";position:absolute;top:50%;left:50%;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;background-color:rgba(0,0,0,.65);box-shadow:0 0 0 2px #fff,0 2px 8px rgba(0,0,0,.4);pointer-events:none;transition:background-color .15s;z-index:2}
#post_box_2 .post_box_content .post .post_image::before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;margin:-9px 0 0 -6px;border-style:solid;border-width:9px 0 9px 15px;border-color:transparent transparent transparent #fff;pointer-events:none;z-index:3}
#post_box_2 .post_box_content .post:hover .post_image::after{background-color:var(--brand)}
#post_box_2 .post_box_title a::before{display:none !important}
#post_box_games.has_tabs .sh_game_type{display:none}
#post_box_games .sh_game_title{height:auto !important;-webkit-line-clamp:1 !important;line-clamp:1 !important;white-space:nowrap;text-overflow:ellipsis;display:block !important;overflow:hidden}

/* v97 - بنرهای تبلیغاتی بالای صفحه اصلی */
#ad_top{width:100%;margin:12px 0;padding:10px;box-sizing:border-box;background:#fff;border:1px solid #e5e5e5;border-radius:10px;text-align:center}
#ad_top:before{content:"تبلیغات";display:block;font-size:11px;color:#999;margin-bottom:4px}
#ad_top_small{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}
#ad_top_small .ad_top_item{flex:0 0 468px;max-width:100%}
#ad_top_large{margin-top:8px}
#ad_top_large .ad_top_item{width:940px;max-width:100%;margin:0 auto}
#ad_top .ad_top_item img{display:block;max-width:100%;height:auto;margin:0 auto;border-radius:4px}
@media (max-width:768px){
    #ad_top_large{display:none}
    #ad_top_small .ad_top_item{flex:0 0 100%}
}

/* ===== v98: پاپ‌آپ اطلاعیه (زنگ هدر) ===== */
.sh_nm{position:fixed;top:0;right:0;bottom:0;left:0;width:auto;max-width:100vw;overflow:hidden;background:rgba(0,0,0,.55);z-index:10000;display:flex;align-items:center;justify-content:center;padding:16px}
.sh_nm[hidden]{display:none}
.sh_nm_box{background:#fff;color:#222;width:100%;max-width:420px;border-radius:14px;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.3)}
.sh_nm_head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #eee;font-weight:700;font-size:16px}
.sh_nm_x{background:none;border:0;font-size:24px;line-height:1;cursor:pointer;color:#666;padding:0 4px}
.sh_nm_body{padding:18px;font-size:14px;line-height:1.9}
.sh_nm_body a{color:var(--brand)}
.sh_nm_foot{padding:0 18px 18px}
.sh_nm_ok{width:100%;background:var(--brand);color:#fff;border:0;border-radius:10px;padding:11px;font-family:inherit;font-size:14px;font-weight:700;cursor:pointer}

/* ===== v99: حذف تولتیپ زنگ (متن در پاپ‌آپ است) + جلوگیری از اسکرول افقی ===== */
.sh_bell_tip{display:none !important}
html,body{overflow-x:clip}

/* ===== v100: متن و پس‌زمینه پاپ‌آپ اطلاعیه ===== */
.sh_nm_body{margin:14px 18px 16px;padding:14px 16px;background:#fff6f8;border:1px solid #f3d3db;border-right:4px solid var(--brand);border-radius:10px;font-size:13px;line-height:2;text-align:justify;max-height:55vh;overflow-y:auto}
.sh_nm_body p{margin:8px 0 0;text-align:right}
.sh_nm_head{background:#f7f7f9}

/* v102: تصویر کل کارت دسترسی سریع (حالت بنری، عنوان روی تصویر) */
#quick_links .quick_link_card:has(img.quick_link_img){position:relative;overflow:hidden;min-height:120px;padding:0;justify-content:flex-end;align-items:stretch;border:1px solid #eceef2;color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.08)}
#quick_links .quick_link_card img.quick_link_img{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;max-width:none !important;border-radius:0 !important;padding:0 !important;background:none !important;box-shadow:none !important;object-fit:cover !important;z-index:0}
#quick_links .quick_link_card:has(img.quick_link_img)::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) var(--ql-shade-start,35%),rgba(0,0,0,var(--ql-shade-alpha,.75)) 100%);z-index:1;pointer-events:none}
#quick_links .quick_link_card:has(img.quick_link_img) span{position:relative;z-index:2;color:#fff;font-size:15px;font-weight:700;text-align:center;text-shadow:0 1px 4px rgba(0,0,0,.6);padding:12px 10px}
#quick_links .quick_link_card:has(img.quick_link_img):hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,0,0,.18);border-color:var(--brand);background:none !important}
@media(max-width:650px){#quick_links .quick_link_card:has(img.quick_link_img){min-height:104px}#quick_links .quick_link_card:has(img.quick_link_img) span{font-size:14px}}

/* v103b: شدت لایه تیره کارت‌های تصویری دسترسی سریع (قابل تغییر) */
#quick_links{--ql-shade-start:35%;--ql-shade-alpha:.75}

/* v104 - ظاهر بخش معرفی بالای فوتر (فقط CSS) */
#sh_intro_section .sh_intro_icon{background:linear-gradient(135deg,var(--brand),color-mix(in srgb,var(--brand) 70%,#000));box-shadow:0 0 0 5px color-mix(in srgb,var(--brand) 15%,transparent);color:#fff}
#sh_intro_section .sh_intro_card{position:relative;overflow:hidden;border:1px solid #ececf0;transition:transform .2s ease,box-shadow .2s ease}
#sh_intro_section .sh_intro_card::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--brand),transparent)}
#sh_intro_section .sh_intro_card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(0,0,0,.10)}
#sh_intro_section .sh_intro_card h3{font-size:16px;font-weight:800}
#sh_intro_section .sh_intro_card p{max-width:34ch}
#sh_intro_section .sh_intro_text strong,#sh_intro_section .sh_intro_text b{color:var(--brand)}
#sh_intro_section .sh_intro_top{border-bottom:1px solid transparent;border-image:linear-gradient(90deg,transparent,#d9d9e0 20%,#d9d9e0 80%,transparent) 1}
#sh_intro_section .sh_intro_logo img{filter:drop-shadow(0 2px 4px rgba(0,0,0,.08))}
@media (prefers-reduced-motion:reduce){#sh_intro_section .sh_intro_card{transition:none}}

/* v105 - عنوان مطلب و عنوان آیتم‌های آرشیو: رنگ ثابت #1D293D (خط زیر و آیکن همچنان رنگ قالب) */
#single_page #post_box #post_title h1,
#archive_page #archive_page_content #archive_post_list .post .post_title h2{color:#1D293D !important}

/* v106 - سایدبار دسته‌بندی مهم: حذف جابجایی هاور که اسکرول افقی می‌ساخت */
.sh313_main_cats li a:hover{transform:none !important}
