* {background: none; margin: 0; padding: 0; outline: none; border: 0; box-sizing: border-box;}
body {font-family: Montserrat, sans-serif; font-size: 15px; font-weight: 500;}
img {width: 100%; height: 100%; object-fit: cover;}
h1 {font-size: 28px;}
h2 {font-size: 23px;}
h3 {font-size: 14px;}
a {color: #000; text-decoration: none;}
ol, ul {list-style: none;}
:root {
    --btn-blue: #006ae4;
}
.search_page_header input[type="text"] {background-color: #fff;}
.btn, .bbcodes, input[type="submit"] {background-color: var(--btn-blue); line-height: 34px; padding: 0 14px; font-size: 15px; border-radius: 13px; color: #fff;
    cursor: pointer; border: none;}
.btn:hover, .bbcodes:hover, .pm_box a:hover, input[type="submit"]:hover {background-color:#0373f2;}

/* main------ */
.wrapper {max-width: 1160px; margin: 0 auto;}
.col_main {max-width: 1000px; margin: 40px auto; min-height: 100vh;}
.main_grid {display: grid; grid-gap: 20px; grid-template-columns: repeat(6, minmax(0, 1fr));}
.tile_list {display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 20px;}
.tile1 img, .tile2 img, .tile3 img, .tile4 img, .tile5 img {border-radius: 20px;}
.tile1, .tile3 {grid-column: span 1; grid-row: span 2;}
.tile2 {grid-column: span 2; grid-row: span 1;}
.tile4, .tile5 {grid-column: span 1;}
.tile1:hover, .tile2:hover, .tile3:hover, .tile4:hover, .tile5:hover {transform: scale(1.02, 1.02); transition: transform 0.5s;}
.main_title {margin: 40px 0 20px 0;}
.popular_title {margin: 40px 0 20px 0;}
.navigation {grid-column: 1 / -1; text-align: center;}
.navigation a, .navigation span {display: inline-block; line-height: 38px; padding: 0 10px; min-width: 40px; font-size: 16px; border-radius: 10px; background: #e6e6e6;}
.navigation span {background: #000; color: #fff;}
.main_grid > *:not(.short_story), #dle-content > *:not(.short_story), #dle-content {grid-column: 1 / -1;}

/* header------ */
.header_sticky {position: sticky; top: 0; z-index: 10; background: #fff}
.header {display: flex; align-items: center; height: 60px; justify-content: space-between; margin: 0 10px; gap: 15px;}
.header_logo {display: flex; align-items: center;}
.header_logo span {margin-left: 7px; font-weight: 800; font-size: 16px;}
.header_logo img {height: 30px; width: 54px;}
.header_search {position: relative;}
.header_nav {display: flex; grid-gap: 40px; margin: 0 auto; font-weight: 600; font-size: 15px;}
.sheader_search_btn {position: absolute; right: 0; top: 0; width: 50px; font-size: 16px; line-height: 41px; cursor: pointer;}
.login_header_photo {width: 40px; height: 40px; border-radius: 15px; overflow: hidden; display: block; cursor: pointer;}
.login_menu_item {display: block; padding: 11px 8px; margin-bottom: 3px; border-radius: 12px;}
.login_menu_item:hover {background: #f6f6f6;}
.header_right {display: flex; align-items: center; gap: 7px;}
.mob_menu {padding: 9px 11px; font-size: 18px; background-color: #f6f6f6; border-radius: 12px; cursor: pointer; font-weight: 600;}
.mob_active {display: flex !important;}

/* short------ */
.short_story {}
.short_story:hover .short_img {transform: scale(1.02, 1.02); transition: transform .5s ease;}
.short_story img {aspect-ratio: 1 / 1; border-radius: 20px;}
.short_header {overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;}
.short_story span {font-size: 13px; color: #4a4949;}

/* full------ */
.app_info {display: grid; grid-template-columns: 240px minmax(0, 1fr); margin: 20px 0; gap: 30px;}
.app_foto {width: 240px; height: 240px;}
.app_foto img {border-radius: 20px;}
.meta_area {display: flex; flex-direction: column; justify-content: space-around; gap: 10px;}
.app_meta_info {display: flex; flex-wrap: wrap;}
.meta_item {display: flex; flex-direction: column; min-width: 150px; gap: 5px; margin: 7px 10px 7px 0; padding-left: 12px; border-left: 1px solid #e1e3e6; font-size: 14px;}
.app_btn_box {display: flex; flex-wrap: wrap; gap: 10px 20px;}
.app_rate {display: flex; gap: 7px;}
.app_rate a {min-width: 100px; padding: 10px 12px; background: #f0f0f0; border-radius: 15px; flex-grow: 1; text-align: center;}
.app_rate a:hover {background: #ededed}
.plus_icon {color: #0080007d;}
.minus_icon {color: #8b00006b;}
.download_btn {flex-grow: 1; background: var(--btn-blue); text-align: center; border-radius: 15px; padding: 10px; color: #fff; font-weight: 600;}
.download_btn:hover {background-color:#0373f2;}
.full_app_info, .form {max-width: 850px; margin: 0 auto;}

/* catmenu------ */
.catmenu {display: flex; flex-wrap: wrap; margin: 20px 0; gap: 7px;}
.catmenu_item a {display: block; padding: 4px 10px; background-color: #f6f6f6; border-radius: 12px;}
.cat_active a {background-color: #1c30ff; color: #fff;}

/* comment------ */
.comment_item {padding: 20px; margin-top: 10px; background-color: #f6f6f6; border-radius: 12px;}
.comment_header {display: flex; gap: 10px; margin-bottom: 10px;}
.comment_foto {width: 38px; height: 38px; border-radius: 15px;}
.comment_author {font-weight: 600;}
.comment_date {font-size: 13px; color: #797979;}
.comment_rate {margin-left: auto; display: flex; gap: 10px;}
.comment_rate span {font-size: 12px;}
.comment_rate a {color: #797979;}
.mass_comments_action {text-align: right; margin: 10px 0;}
.comment_footer {display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; font-size: 13px;}
.comment_footer a {color: #797979;}
.comments_num {padding: 3px 8px; background-color: #f6f6f6; border-radius: 12px;}
.dle-comments-navigation {margin: 10px 0;}
.mass_comments_action {display: none;}

/* speedbar------ */
.speedbar {margin-bottom: 10px; font-size: 14px;}
.speedbar a {display: inline-block; color: #1c30ff;}
.ws-nowrap {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}

/* user------ */
.profile_btn_box {display: flex; flex-wrap: wrap; gap: 10px 20px;}
.profile_btn_box a {flex-grow: 1; background: var(--btn-blue); text-align: center; border-radius: 15px; padding: 10px; color: #fff; font-weight: 600;}

/* footer------ */
.footer {background: #1c30ff; border-radius: 25px 25px 0 0; padding: 30px 50px;}
.footer_box {display: flex; flex-wrap: wrap; justify-content: space-between; color: #fff; font-size: 14px; gap: 10px;}
.footer_right {display: flex; gap: 7px;}
.footer_box a {color: #fff;}

/* stats------ */
.stats {display: flex; flex-direction: column; gap: 20px;}
.stats_box {display: flex; flex-wrap: wrap; grid-gap: 12px 14px; margin-bottom: 12px;}
.stats_item {padding: 10px 20px; background: #f5f5f5; border-radius: 15px; flex-grow: 1;}
.stats_item span {display: block;}
.stats_itema {flex-grow: 1;}
.fs_24 {font-size: 24px;}

/* other------ */
.search_page_box {padding: 10px; border: 1px solid #00000008; background-color: #f5f5f5; border-radius: 12px;}
.search_page_header {display: flex; gap: 15px; margin-bottom: 10px;}
.lost_pass {margin: 5px 0; color: #797979; font-size: 13px;}
.reg_title {display: block; margin-bottom: 10px;}
.form_area {margin: 15px 0; align-items: center;}
.info {padding: 10px; border: 1px solid #00000008; background-color: #f5f5f5; border-radius: 12px; margin-top: 10px;}
.form_group {display: flex; gap: 15px; margin-bottom: 7px;}
.user_btns {display: flex; gap: 10px;}
.user_btns a {flex-grow: 1; background: var(--btn-blue); text-align: center; padding: 10px; border-radius: 15px; color: #fff;}
.user_btns a:hover {background-color: #0373f2;}
.settings_btn a, .settings_btn span {display: inline-flex; height: 39px; align-items: center; border-radius: 15px; background-color: #F0F0F0; padding: 0 14px; color: #000;}
.settings_btn a:hover {background-color: #ededed;}
.description {margin-top: 50px; display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; gap: 10px; background: #e6e6e6; border-radius: 25px; padding: 15px 25px;}
.description_title {font-size: 25px; font-weight: 800; margin-bottom: 7px;}

/* dropdown------ */
.dropdown { position: relative; }
.dropdown-menu, .dropdown-form {
		width: 240px; right: 0; padding: 16px 8px 10px; border-radius: 15px; margin-top: 5px !important; display: none; z-index: 99; position: absolute;
		box-shadow: 0 4px 20px rgba(0, 0, 0, .08), 0 0 1px rgba(0, 0, 0, .16); border: 2px solid #00000008; background-color: #fff;}
.dropdown-menu { list-style: none; margin: 0; }
.dropdown-menu.dot:before, .dropdown-form.dot:before {content: ""; position: absolute; top: 0; left: 50%; margin: -11px 0 0 -11px; width: 22px; height: 22px;
		border-radius: 50%; background-color: #fff;}
.dropdown-menu li a { height: 1%; padding: 5px 20px; border: 0 none; display: block; white-space: nowrap; text-decoration: none; color: inherit; }
.dropdown-menu li a:hover { background-color: #e05b37; color: #fff; }
.open .dropdown-menu, .open .dropdown-form { display: block; }

/* adaptive------ */
@media screen and (min-width: 1100px) {
    .popular_title {margin: 40px -30px 20px -30px;}
    .tile_list {margin: 0 -30px;}
    .description {margin: 50px -30px 0;}
}
@media screen and (min-width: 1200px) {
    .tile_list {margin: 0 -60px;}
    .description {margin: 50px -60px 0;}
    .popular_title {margin: 40px -60px 20px -60px;}
}
@media screen and (max-width: 1040px) {
    .main_grid {grid-template-columns: repeat(4, minmax(0, 1fr));}
    .col_main {margin: 15px;}
}
@media screen and (max-width: 875px) {
    .header span, .login {display: none;}
}
@media screen and (max-width: 855px) {
    .app_info {grid-template-columns: 1fr;}
    .app_foto {margin: 0 auto;}

}
@media screen and (max-width: 791px) {
    .description {text-align: center;}
}
@media screen and (max-width: 730px) {
    .header_nav {position: fixed; left: 0; top: 0; background-color: #fff; z-index: 999; width: 280px; height: 100%; flex-direction: column; padding: 20px; display: none;
    box-shadow: 4px 0px 20px rgba(0, 0, 0, .08), 0 0 1px rgba(0, 0, 0, .16); border-right: 2px solid #00000008;}
    .tile2 {order: 3; grid-column: span 4;}
    .tile4 {order: 1; grid-column: span 2;}
    .tile5 {order: 2; grid-column: span 2;}
    .tile1 {order: 4; grid-column: span 2;}
    .tile3 {order: 5; grid-column: span 2;}
}
@media screen and (min-width: 730px) {
    .mob_menu {display: none;}
    .form_area {display: grid; grid-template-columns: 200px minmax(200px, 1fr);}
}
@media screen and (max-width: 655px) {
    .app_meta_info {justify-content: space-between;}
    .app_btn_box {flex-direction: column;}
}
@media screen and (max-width: 580px) {
    .main_grid {grid-template-columns: repeat(2, minmax(0, 1fr));}
    .tile_list {grid-gap: 15px;}
    .main_grid {grid-gap: 15px;}
}