.header {
  display: flex;
  align-items: center;
  padding: 19px 20px;
  margin-top: 25px;
  background: var(--card);
  border-radius: 10px;
  box-shadow: 0px 4px 18px rgb(0 56 255 / 5%);
  gap: 20px;
}

.logo {
  width: 200px;
  height: 40px;
  background: var(--logo);
  flex-shrink: 0;
}

.header_right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header_search_btn,
.switch-theme {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  color: var(--title-card);
  background: var(--light-gr);
  border: none;
  min-width: 40px;
  height: 36px;
  box-sizing: border-box;
}

.header_search_btn:hover,
.switch-theme:hover {
  background: var(--hover);
  color: var(--hover-accent);
  box-shadow: 0 2px 8px rgb(0 56 255 / 15%);
}

.header_search_btn > span,
.switch-theme > span {
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}



.header_login {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  padding: 3px 8px;
  border-radius: 8px;
  background-color: var(--light-gr);
  transition: background-color 0.25s ease;
}

.header_login:hover {
  background-color: var(--hover);
}

.header_nick {
  font-weight: 600;
  font-size: 16px;
  color: var(--title-card);
  user-select: text;
  transition: color 0.25s ease;
}

.header_photo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background-color: var(--login-photo-bg);
}

.header_login_guest {
  display: flex;
    align-items: center;
    gap: 8px;
    background: var(--btn-bg);
    border-radius: 10px;
    padding: 8px 14px;
    color: var(--btn-color);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: background-color 0.25s ease;
    user-select: none;
    height: 44px;
    position: relative;
    z-index: 10;
}

.header_login_guest:hover,
.header_login_guest:focus {
  background: var(--btn-bg-hover, #2563eb);
  box-shadow: 0 4px 12px rgb(37 99 235 / 0.6);
  outline: none;
}

.login_icon {
  font-size: 20px;
  line-height: 1;
  color: inherit;
  transition: color 0.25s ease;
}

.login_text {
  font-size: 16px;
  line-height: 1;
}
.mob_menu {width: 30px; height: 30px; line-height: 30px; font-size: 13px; text-align: center; background: var(--light-gr); border-radius: 8px; cursor: pointer;}
.header_nav {display: flex; margin-top: -13px; justify-content: center; padding: 0 30px; z-index: 999;}
.nav_list {display: flex; flex-wrap: wrap; padding: 0 15px;  background: var(--nav); border-radius: 10px;}
.nav_list_item {margin-right: 15px; flex-grow: 1; text-align: center; font-size: 15px; line-height: 40px; font-weight: 600; color: var(--nav-link); text-transform: uppercase;}
.nav_list_item:hover {color: var(--nav-hover);}
.nav_list_item i {margin-right: 5px; font-size: 13px;}
.submenu {position: relative;}
.submenu_list {flex-direction: column; z-index: 900; display: none;}
.submenu:hover .submenu_list {display: flex;}
header.header-sportchat {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header-bg);
    box-shadow: 0 2px 10px var(--header-shadow);
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 12px;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }
  .header-sportchat-inner {
    max-width: 100%;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

.header-sportchat-logo {
    height: 70px;
    width: calc(70px * 3.316); 
    background-image: var(--logo);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
    cursor: pointer;
    flex-shrink: 0;
}
.header-sportchat-logo:hover {
    filter: brightness(0.97);
}





  .header-sportchat-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative; 
  }


  .header-sportchat-search-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--btn-bg);
    border-radius: 10px;
    color: var(--btn-color);
    font-size: 20px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.25s ease;
    user-select: none;
  }
  .header-sportchat-search-link:hover {
    background: var(--btn-bg-hover);
  }
.header-sportchat-search-link.telegram {font-size: 25px;}

  .header-sportchat-theme-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--btn-bg);
    border-radius: 10px;
    color: var(--btn-color);
    font-size: 18px;
    cursor: pointer;
    border: none;
    transition: background-color 0.25s ease;
    user-select: none;
  }
  .header-sportchat-theme-toggle-btn:hover {
    background: var(--btn-bg-hover);
  }


  .header-sportchat-btn-user {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--btn-bg);
    border-radius: 10px;
    padding: 8px 14px;
    color: var(--btn-color);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: background-color 0.25s ease;
    user-select: none;
    height: 44px;
    position: relative;
    z-index: 10;
  }
  .header-sportchat-btn-user:hover {
    background: var(--btn-bg-hover);
  }


  .header-sportchat-btn-user img.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2.5px solid var(--btn-color);
    object-fit: cover;
    user-select: none;
  }


  .header-sportchat-search-link i,
  .header-sportchat-theme-toggle-btn i,
  .header-sportchat-btn-user i {
    pointer-events: none;
  }


  .header-sportchat-btn-user span.username {
    white-space: nowrap;
  }




  .user-menu {
    position: absolute;
    top: 56px; 
    right: 0;
    background: var(--menu-bg);
    box-shadow: 0 8px 16px var(--menu-shadow);
    border-radius: 12px;
    width: 220px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    font-size: 15px;
    user-select: none;
  }
  .user-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .user-menu ul {
    list-style: none;
  }
  .user-menu li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    color: var(--menu-item-color);
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  .user-menu li:hover {
    background: var(--menu-item-hover-bg);
  }
  .user-menu li i {
    font-size: 18px;
    width: 24px;
    text-align: center;
    color: var(--menu-item-color);
  }

  .user-menu hr {
    margin: 0;
    border: none;
    border-top: 1px solid var(--menu-item-hover-bg);
  }
:root {
    --bg: #e6eaf0; 
    --card: #fff;
    --card-header: #0f80da;
      --header-bg: #0f80da;
  --header-shadow: rgba(0, 0, 0, 0.15);
  --btn-bg: rgba(255 255 255 / 0.15);
  --btn-bg-hover: rgba(255 255 255 / 0.3);
  --btn-color: #fff;
  --text-color: #333;
  --body-bg: #fff;
  --menu-bg: #fff;
  --menu-shadow: rgba(0, 0, 0, 0.15);
  --menu-item-color: #333;
  --menu-item-hover-bg: #f0f0f0;
    --tt: #000;
    --tt-light: #696981;
    --nav: #e5ebfb;
    --nav-link: #447bba;
    --nav-hover: #7c8fac;
    --light-gr: #f5f6fa;
    --logo: url(../images/logo-k.webp);
    --soc-logo: url(../images/soc-logo.png) 0 0 / 100% no-repeat;
    --input: #f5f5f5;
    --input-border: #00000008;
    --link: #517ae7;
    --title-card: #696981;
    --hover: #e5ebfb;
    --hover-accent: #66819f;
    --border: #efefef;
    --icon-short-color: rgba(59, 130, 246, 0.6);  
    --icon-short-color-hover: #2563eb;  
     --cat-bg: #e6f0ff;
  --cat-color: #3b82f6;
  --cat-bg-hover: #c3d6ff;
  --cat-color-hover: #1e40af;
    --login-bg: #e6f0ff;
  --login-bg-hover: #c3d6ff;
  --login-text: #2563eb;
  --login-photo-bg: #dbe9ff;
   --login-btn-bg: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
  --login-btn-shadow: 0 8px 15px rgba(255, 75, 43, 0.4);
  --login-btn-hover-bg: linear-gradient(135deg, #ff4b2b 0%, #ff416c 100%);
  --login-btn-color: #fff;

  --modal-bg: #1c1c29;
  --modal-shadow: 0 15px 40px rgba(255, 75, 43, 0.6);
  --modal-border-radius: 20px;

  --input-bg: #2b2b3c;
 
  --input-color: #fff;
  --input-placeholder: #bb8899;

  --link-color: #ff4b2b;
  --link-hover-color: #ff7c64;

  --close-btn-color: #ff4b2b;
  --close-btn-hover-color: #ff7c64;
  
   --login-btn-bg: #007bff;
  --login-btn-bg-hover: #0069d9;
  --User-info-btns: #fe7202;
  --User-info-btns-hover: #f37408;
  --User-info-bg: #f3f4f6;
  --User-info-bg-links: #f9fafb;
  --User-info-bg-links-hover:#f3f4f6;
   --User-info-primary: #2563eb;
   --User-info-bg-links-border: 1px solid #e5e7eb;
   --User-info-links-a: #2563eb;
     --userinfo-sportchat-editpage-bg: #ffffff;
  --userinfo-sportchat-editpage-text: #111827;
  --userinfo-sportchat-editpage-label: #374151;
  --userinfo-sportchat-editpage-input-bg: #f9fafb;
  --userinfo-sportchat-editpage-input-border: #d1d5db;
  --userinfo-sportchat-editpage-input-text: #111827;
  --userinfo-sportchat-editpage-helper: #6b7280;
  --userinfo-sportchat-editpage-button-bg: linear-gradient(90deg, #2563eb, #4f46e5);
  --userinfo-sportchat-editpage-button-bg-hover: linear-gradient(90deg, #1e40af, #4338ca);
  --userinfo-sportchat-editpage-button-shadow: rgba(59,130,246,0.3);
}
.theme-dark {
       --User-info-btns: #fe7202;
  --User-info-btns-hover: #f37408;
     --User-info-bg-links-border: 1px solid #252932;
  --User-info-bg: #242a37;
  --User-info-bg-links: #242a37;
  --User-info-bg-links-hover:#2c3445;
  --User-info-links-a: #2563eb;
    --bg: #242a37;
    --card: #2c3443;
    --card-header: #2c3443;
      --header-bg: #12355b;
  --header-shadow: rgba(0, 0, 0, 0.6);
  --btn-bg: rgba(255 255 255 / 0.1);
  --btn-bg-hover: rgba(255 255 255 / 0.25);
  --btn-color: #eee;
  --text-color: #eee;
  --body-bg: #121212;
  --menu-bg: #1f2a44;
  --menu-shadow: rgba(0, 0, 0, 0.6);
  --menu-item-color: #fff;
  --menu-item-hover-bg: #2a3a62;
    --tt: #e1e3e6;
    --tt-light: #7C8FAC;
    --nav: #98acd1;
    --nav-link: #000;
    --nav-hover: #5c6573;
    --light-gr: #6691ff10;
    --logo: url(../images/logo-k.webp);
    --soc-logo: url(../images/soc-logo-dark.png) 0 0 / 100% no-repeat;
    --input: #333f55;
    --input-border: #363738;
    --link: #71aaeb;
    --title-card: #98acd1;
    --hover: #475579;
    --hover-accent: #87b5e9;
    --border: #434b59;
    --icon-short-color: rgba(146, 166, 195, 0.7);   
     --icon-short-color-hover: #aad4ff; 
     --cat-bg: #3a475a;       
  --cat-color: #a5c8ff;     
  --cat-bg-hover: #2f3b50; 
  --cat-color-hover: #dbe9ff; 
    --login-bg: #3a4257;
  --login-bg-hover: #2e3550;
  --login-text: #9bb1ff;
  --login-photo-bg: #495270;
  
   --login-btn-bg: #2196f3;
  --login-btn-bg-hover: #1976d2;
  --userinfo-sportchat-editpage-bg: #111827;
  --userinfo-sportchat-editpage-text: #f9fafb;
  --userinfo-sportchat-editpage-label: #9ca3af;
  --userinfo-sportchat-editpage-input-bg: #1f2937;
  --userinfo-sportchat-editpage-input-border: #374151;
  --userinfo-sportchat-editpage-input-text: #f9fafb;
  --userinfo-sportchat-editpage-helper: #9ca3af;
  --userinfo-sportchat-editpage-button-bg: linear-gradient(90deg, #3b82f6, #6366f1);
  --userinfo-sportchat-editpage-button-bg-hover: linear-gradient(90deg, #2563eb, #4f46e5);
  --userinfo-sportchat-editpage-button-shadow: rgba(59,130,246,0.5);
}
.switch-theme {
  position: relative;
  width: 40px; 
  height: 36px;
}

.switch-theme:after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  content: "\f672";
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  font-size: 18px;  
  width: auto;  
  pointer-events: none;
}
.theme-dark .switch-theme:after {
  content: "\f0eb";
}


.age-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;              
  height:24px;              
  border-radius: 50%;        
  background: #e53935;       
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  line-height: 1;
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  vertical-align: middle;
  transform: translateY(-1px);
  user-select: none;
}



.age-icon.small{
  min-width:20px;
  height:20px;
  font-size:10px;
  border-width:1px;
  padding:0 4px;
}


.age-icon:focus{
  outline: 3px solid rgba(0,0,0,0.12);
  outline-offset: 2px;
}

/* ---main--- */
.wrapper {flex: 1; width:100%; max-width: 2000px; margin: 0 auto;}
.wrapper_container {margin: 0 15px; }
.cols {display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 30px; margin-top: 30px;}
.cols2 {gap: 30px; margin-top: 30px;}
.main_grid {   display: grid; grid-gap: 25px 25px; grid-auto-flow: row dense; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
     background: var(--card); padding: 20px; box-shadow: 0px 4px 18px rgb(0 56 255 / 5%); border-radius: 10px;}
.main_grid > *:not(.shortstory) {grid-column: 1 / -1;}
.main_grid2 {display: grid; grid-gap: 25px 25px; grid-auto-flow: row dense; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
   padding-bottom:40px;  }
.main_grid2 > *:not(.shortstory) {grid-column: 1 / -1;}

.speedbar {margin-bottom: 15px; font-size: 13px; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.speedbar a {display: inline-block; padding: 4px 10px; color: #757f99; background: var(--card); border-radius: 6px; font-weight: 500;}

.top_grid_line {display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 15px;}
.top_grid_big {display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 15px;}
.card {
  background-color: var(--card);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 18px rgba(0, 56, 255, 0.05);
}


.card_title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--title-card);
  border-bottom: 2px solid rgba(15,128,218,0.6);
  padding-bottom: 6px;
}


/* ---sidebar--- */
.side_tags {display: flex; flex-wrap: wrap; gap: 10px; padding: 20px; background: var(--card);
    border-radius: 10px; box-shadow: 0px 4px 18px rgb(0 56 255 / 5%);}
.side_comment_item {display: flex; gap: 10px; margin-bottom: 10px;}
.side_post_block {display: flex; flex-direction: column; gap: 20px;}
.social_block {padding: 20px; margin-bottom: 30px; background: var(--card); border-radius: 10px; box-shadow: 0px 4px 18px rgb(0 56 255 / 5%);
    position: relative; overflow: hidden;}
.social_title {margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.5px; color: var(--title-card); text-transform: uppercase;}
.social_area {display: flex; gap: 6px;}
.social_logo {background: var(--soc-logo); position: absolute; bottom: -21px; right: 0; transform: rotate(60deg);
    width: 95px; height: 95px;}
.social_vk i, .social_tg i, .social_discord i, .social_youtube i, .social_insta i {border-radius: 8px; padding: 8px 9px; color: #fff;
    min-width: 36px; text-align: center;}
.social_vk i {background: #45668e;}
.social_tg i {background: #0088cc;}
.social_discord i {background: #7289da;}
.social_youtube i {background: #ff0000;}
.social_insta i {background: #c13584;}
.side_nav_block {background: var(--card); padding: 10px 20px; border-radius: 10px; box-shadow: 0px 4px 18px rgb(0 56 255 / 5%); margin-bottom: 30px;}
.side_nav {display: flex; flex-direction: column;width: 100%;}
.side_nav_item {flex-grow: 1; text-align: center; font-size: 15px; line-height: 40px; font-weight: 600; color: var(--nav-link);}


/* ---custom--- */
.short_line {display: flex; align-items: center;}
.short_line_img {width: 100px; margin-right: 15px;}
.short_line_img img {display: block; width: 100px; aspect-ratio: 14 / 9; border-radius: 10px;}
.short_line_title {font-size: 15px; color: var(--tt); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;}
.short_line_text {font-size: 14px; color: var(--tt-light); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;}
.short_big_title {margin: 10px 0 3px 0; color: var(--tt); font-size: 16px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;}

.shortstory {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--sportchat-radius, 12px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer; 
}

.shortstory:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.short_img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  width: 100%;
}

.short_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.short_meta_cat a, .short_meta_cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 128, 218, 0.95);
  color: #fff;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-decoration: none;
}

.short_body {
  padding: 16px 18px 10px;
}

.short_content {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shortstory:hover .short_title {
  color: var(--hover-accent); 
}

.short_title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  transition: color 0.3s ease;
}

.short_text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--title-card);
  max-height: 3.6em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.short_meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px 16px;
  font-size: 14px;
  color: var(--sportchat-muted, #6b7280);
}

.short_meta_items {
  display: flex;
  gap: 16px;
}

.short_meta_item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.short_meta_item i {
  font-size: 15px;
  opacity: 0.9;
}


.shortstory[data-link] {
  position: relative;
}

.shortstory[data-link]::after {
  content: '';
  position: absolute;
  inset: 0;
}




/* ---full--- */
.fullstory {max-width: 1000px; margin: 0 auto; padding: 20px; background: var(--card); border-radius: 10px; box-shadow: 0px 4px 18px rgb(0 56 255 / 5%);}
.fullstory_meta {display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 10px 0; align-items: center;}
.fullstory_meta_item {font-size: 14px; padding: 4px 9px; background: var(--light-gr); color: #8498cf; border-radius: 8px;}
.fullstory_meta_left {display: flex; gap: 10px; flex: 1 1 0; white-space: nowrap;}
.fullstory_meta_right {display: flex; flex-wrap: wrap; gap: 10px;}
.entry_meta_item {font-size: 14px; color: var(--tt-light);}
.entry_meta_item a {color: var(--tt-light);}
.entry_meta_item.author {
  background: rgba(15, 128, 218, 0.1); 
  color: #0f80da; 
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.comments_fulls {width: 100%;}

.full_rating {display: flex; gap: 9px; font-size: 14px; padding: 4px 9px; background: var(--light-gr); color: #8498cf; border-radius: 8px;}
.full_rating a {color: #8498cf;}
.full_img {border-radius: 10px;}
.full_img_poster img {width: 100% ; height: 100%; max-height: 500px; object-fit: cover;}
.full_text {margin-top: 15px;}
.full_text p, .full_text pre {margin-bottom: 20px;}
.full_text h1, .full_text h2, .full_text h3, .full_text h4, .full_text h5, .full_text h6 {margin-bottom: 5px;}
.full_text .quote_block {margin-bottom: 20px;}
.full_text ol {padding: 0 24px; list-style: decimal outside; margin-bottom: 20px;}
.full_text ul {padding: 0 24px; list-style: outside; margin-bottom: 20px;}
.full_text a {color: var(--link);}
.full_text a:hover {color: #87b5e9;}
.full_text img { width: 100%;}
.title_spoiler, .text_spoiler {background: rgb(184 182 223 / 15%); border-radius: 10px; padding: 3px 10px; margin-bottom: 20px;}
.title_spoiler svg {vertical-align: middle; margin-top: -4px; margin-right: 7px; height: 16px; width: 16px;}
.title_spoiler img {width: auto;}
.quote {padding: 15px 15px 15px 50px; position: relative; background-color: var(--light-gr); color: var(--tt); border-radius: 10px;}
.quote::before {content: "\f10e"; font-family: 'Font Awesome 5 Pro'; font-weight: 400; position: absolute; left: 15px; top: 19px;
    color: var(--link); font-size: 15px;}
.attachment {border: 1px solid var(--input-border); background-color: var(--input); border-radius: 10px; padding: 10px; margin-bottom: 20px;}
.attachment i {margin-right: 10px;}
.full_tags {display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 20px;}
.full_tags a {padding: 3px 10px; background: var(--light-gr); font-size: 14px; color: #8498cf; border-radius: 7px;}
.full_tags a:hover {background: var(--hover); color: var(--hover-accent);}

.full_comments {margin: 20px 0;}
.related_news {display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 15px;}

/* ---login--- */
.login_panel {
  position: fixed;
  z-index: 999999;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: var(--card);
  border-radius: 16px;
  padding: 28px 32px;
  width: 400px;
  max-width: 90%;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  display: none;
  animation: modalFade 0.25s ease forwards;
}

@keyframes modalFade {
  from {opacity: 0; transform: translate(-50%, -50%) scale(0.9);}
  to {opacity: 1; transform: translate(-50%, -50%) scale(1);}
}

.login_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--tt);
  margin-bottom: 20px;
}

.login_close {
  width: 32px;
  height: 32px;
  font-size: 14px;
  text-align: center;
  line-height: 32px !important;
  border-radius: 50%;
  background: var(--light-gr);
  color: var(--tt);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.login_close:hover {
  background: var(--hover);
  transform: rotate(90deg);
}


.user_menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}
.user_menu input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--light-gr);
  background: var(--bg);
  color: var(--tt);
  font-size: 14px;
  transition: border 0.2s, box-shadow 0.2s;
}
.user_menu input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,123,255,0.15);
  outline: none;
}


.user_menu button {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 12px;
  width: 100%;

  background: var(--login-btn-bg);
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.user_menu button:hover {
  background: var(--login-btn-bg-hover);
  transform: translateY(-1px);
}
.user_menu button:active {
  transform: translateY(1px);
}


.login_bottom {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.login_bottom a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
.login_bottom a:hover {
  color: var(--accent-hover);
}

.overlay {position: fixed; z-index: 998; left: 0; top: 0; width: 100%; height: 100%; background-color: rgb(0 0 0 / 40%);
    backdrop-filter: blur(6px); display: none;}

/* ---comments--- */
.comment_item {display: flex; gap: 10px; margin-bottom: 20px;}
.comments-tree-list .comments-tree-list {padding-left: 20px; position: relative;}
.comment {width: 100%; padding: 10px; background-color: var(--light-gr); border-radius: 10px; word-break: break-all;}
.comment_avatar {width: 40px; height: 40px; border-radius: 10px;}
.comment_header {display: flex; gap: 10px; font-size: 13px; margin-bottom: 3px;}
.comment_header_meta {display: flex; flex-wrap: wrap; gap: 3px 10px;}
.comment_header_right {display: flex; flex-wrap: nowrap; align-items: center; gap: 3px 10px;}
.comment_header_right a {color: var(--tt-light);}
.comment_login a {font-weight: 600; color: var(--tt-light);}
.comment_date {color: var(--tt-light);}
.comment_rating {display: flex; flex-wrap: wrap; gap: 3px 15px; font-size: 15px; margin-top: 8px;}
.comment_rating a {color: var(--tt-light);}
.comment_rating i {margin-right: 5px; color: #9AA0AC;}
.comment_rating a:hover, .comment_rating i:hover {color: var(--hover-accent)}
.comment_rating span {font-size: 15px;}
.side_comment_avatar {width: 20px; height: 20px; border-radius: 5px;}
.side_comment_meta {display: flex; gap: 10px; font-size: 15px; margin-top: 5px;}
.side_comment_meta i {margin-right: 5px; color: #9AA0AC; transform: rotate(90deg);}
.side_comment_title a {font-weight: 500; font-size: 14px; color: var(--link); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;}
.side_comment_title a:hover {color: #87b5e9;}
.side_comment_text {font-size: 15px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;}

/* ---userinfo--- */
.userinfo_grid {display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 15px;}
.userinfo_img {width: 200px; height: 200px; border-radius: 10px;}
.user_info_item {padding: 2px 0;}
.user_btns {display: flex; gap: 3px; justify-content: center;}
.userinfo_meta {display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; margin: 20px 0; padding: 20px;
    background: var(--card); border-radius: 10px;}
.userinfo_meta_item {display: flex; gap: 10px;}
.userinfo_meta_item i {font-size: 14px; padding: 14px; background: var(--light-gr); color: #8498cf; border-radius: 8px;}
.userinfo_meta_value {display: flex; flex-direction: column;}
 .userinfo-sportchat-card {
      background: var(--card);
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0,0,0,.08);
      overflow: hidden;
      display: grid;
      grid-template-columns: 260px 1fr;
      max-width: 1000px;
      width: 100%;
      margin: 0 auto;
    }

    @media (max-width: 768px) {
      .userinfo-sportchat-card {
        grid-template-columns: 1fr;
      }
    }

   
    .userinfo-sportchat-sidebar {
      background: var(--card);
      color: var(--text);
      padding: 24px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
    }

    @media (max-width: 768px) {
      .userinfo-sportchat-sidebar {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
      }
    }

    .userinfo-sportchat-avatar {
      width: 220px;
      height: 220px;
      border-radius: 20px;
      object-fit: cover;
     
      box-shadow: var(--shadow);
    }

    .userinfo-sportchat-role {
      background: #f3f4f6;
      color: var(--light-gr);
      padding: 4px 10px;
      border-radius: 8px;
      font-size: 13px;
      font-weight: 600;
      text-transform: uppercase;
    }

    .userinfo-sportchat-side-btn {
      width: 100%;
      padding: 8px 10px;
      border: none;
      border-radius: 8px;
      background: var(--User-info-btns);
      color: #fff;
      font-weight: 700;
      font-size: 14px;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(0,0,0,.08);
      transition: 0.2s;
      text-transform: uppercase;
      text-align: center;

    }

    .userinfo-sportchat-side-btn:hover {
      background: var(--User-info-btns-hover);
      transform: translateY(-1px);
    }

  
    .userinfo-sportchat-main {
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .userinfo-sportchat-header {
      display: flex;
      align-items: center;
        justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }

    .userinfo-sportchat-username {
      font-size: 24px;
      font-weight: 700;
    }

    .userinfo-sportchat-status {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .userinfo-sportchat-badge {
      font-size: 12px;
      font-weight: 700;
      padding: 2px 6px;
      border-radius: 5px;
      display: inline-block;
       text-transform: uppercase;
    }

    .userinfo-sportchat-badge-online {
      background: #22c55e;
      color: #fff;
    }

    .userinfo-sportchat-badge-offline {
      background: #e5e7eb;
      color: var(--text-light);
    }

    .userinfo-sportchat-section-title {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .userinfo-sportchat-info {
      background: var(--User-info-bg);
      border-radius: 12px;
      padding: 16px;
      display: grid;
      gap: 10px;
    }

    .userinfo-sportchat-info-row {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 15px;
    }

    .userinfo-sportchat-info-row i {
      color: var(--User-info-primary);
      width: 20px;
    }

    .userinfo-sportchat-label {
      font-weight: 600;
      color: var(--text);
    }

    .userinfo-sportchat-value {
      color: var(--text-light);
    }

    .userinfo-sportchat-links {
      display: grid;
      gap: 12px;
    }
    
    .userinfo-sportchat-link {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 16px;
      border-radius: 12px;
      background: var(--User-info-bg-links);
      border: var(--User-info-bg-links-border);
      font-weight: 500;
      cursor: pointer;
      transition: 0.2s;
      color: var(--text-color);
    }

    .userinfo-sportchat-link:hover {
      background: var(--User-info-bg-links-hover);
      transform: translateX(4px);
    }

    .userinfo-sportchat-link-left {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .userinfo-sportchat-link i {
      color: var(--User-info-primary);
      font-size: 16px;
    }

    .userinfo-sportchat-count {
      background: var(--User-info-primary);
      color: #fff;
      font-size: 12px;
      font-weight: 600;
      border-radius: 999px;
      padding: 4px 10px;
      box-shadow: var(--shadow);
    }

.userinfo-sportchat-editpage-wrapper {
  max-width: 1000px;
  margin: 40px auto;
  padding: 35px;
  background: var(--userinfo-sportchat-editpage-bg);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  font-family: "Inter", sans-serif;
  color: var(--userinfo-sportchat-editpage-text);
  transition: background 0.3s, color 0.3s;
}


.userinfo-sportchat-editpage-row {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
}

.userinfo-sportchat-editpage-label {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--userinfo-sportchat-editpage-label);
}


.userinfo-sportchat-editpage-input,
.userinfo-sportchat-editpage-file,
.userinfo-sportchat-editpage-textarea,
.userinfo-sportchat-editpage-select select {
  width: 100%;
  padding: 12px 15px;
  font-size: 15px;
  border-radius: 12px;
  border: 1px solid var(--userinfo-sportchat-editpage-input-border);
  background: var(--userinfo-sportchat-editpage-input-bg);
  color: var(--userinfo-sportchat-editpage-input-text);
  outline: none;
  transition: all 0.3s;
}

.userinfo-sportchat-editpage-input:focus,
.userinfo-sportchat-editpage-textarea:focus,
.userinfo-sportchat-editpage-select select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px var(--userinfo-sportchat-editpage-button-shadow);
}


.userinfo-sportchat-editpage-checkbox {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--userinfo-sportchat-editpage-text);
}
.userinfo-sportchat-editpage-checkbox input[type="checkbox"] {
  transform: scale(1.2);
  accent-color: #3b82f6;
}


.userinfo-sportchat-editpage-textarea {
  resize: vertical;
  min-height: 100px;
}


.userinfo-sportchat-editpage-helper {
  font-size: 13px;
  color: var(--userinfo-sportchat-editpage-helper);
}


.userinfo-sportchat-editpage-button {
  display: inline-block;
  padding: 14px 28px;
  background: var(--userinfo-sportchat-editpage-button-bg);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.userinfo-sportchat-editpage-button:hover {
  background: var(--userinfo-sportchat-editpage-button-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--userinfo-sportchat-editpage-button-shadow);
}





/* ---pm--- */
.pm_buttons {display: flex; flex-wrap: wrap; margin: 15px 0; gap: 10px 20px;}
.pm_buttons a {flex-grow: 1; text-align: center; background-color: var(--light-gr); padding: 6px 10px; border-radius: 8px; color: var(--tt);}
.pm_buttons a:hover {background: var(--hover); color: var(--hover-accent)}
.pm_stats {background: var(--light-gr); padding: 10px 12px; margin: 15px 0; border-radius: 10px;}
.pm_progress_bar {background-color: var(--nav); margin-bottom: 10px; border-radius: 8px;}
.pm_progress_bar span {background: #447bba; font-size: 0; height: 20px; border-radius: 8px; display: block; overflow: hidden;}

/* ---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: var(--light-gr); border-radius: 15px; flex-grow: 1;}
.stats_item span {display: block;}
.stats_itema {flex-grow: 1;}
.stats_item a {color: var(--link);}

/* ---other--- */
#searchsuggestions {max-width: 450px; padding: 15px; border-radius: 10px; z-index: 1000; background: var(--card); box-shadow: 0px 4px 18px rgb(0 56 255 / 5%);}
.fast_search_item {display: block; margin-bottom: 10px;}
.fast_search_title {font-size: 15px; color: var(--tt); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;}
.fast_search_text {font-size: 14px; color: var(--tt-light); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;}
.seperator a {color: var(--tt);}
.navigation {display: flex; flex-wrap: wrap; justify-content: center; gap: 7px;}
.navigation a, .navigation span {display: inline-block; min-width: 30px; height: 30px; line-height: 30px; text-align: center;
    background: var(--light-gr); color: var(--tt); border-radius: 10px;}
.navigation a:hover {background: var(--hover); color: var(--hover-accent);}
.navigation span {background: var(--link); color: var(--card);}
.info_message {padding: 10px;}
.footer {

   
   width:100%;    
  flex-shrink: 0;     
   margin: 10px auto 10px; 
  width: calc(100% - 40px); 
  max-width: 2000px;
  box-sizing: border-box;

 
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: var(--card);
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0px 4px 18px rgba(0,56,255,0.05);
  font-size: 14px;
}




  .footer-left {
    color: var(--tt);
    font-weight: 500;
  }

  .footer-right {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
  }

  .footer a {
    color: var(--tt);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .footer a:hover {
    color: var(--accent-color, #007bff); /* fallback color */
    text-decoration: underline;
  }
     .sportchat-footer { margin-top:auto; background: var(--sportchat-surface); border-top:1px solid var(--sportchat-border); color: var(--sportchat-muted); }
    .sportchat-footer-inner { min-height:82px; display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
    .sportchat-footer-links { display:flex; gap: 12px 18px; flex-wrap:wrap; }
    .sportchat-footer-links a { color: var(--sportchat-muted); }
.poll_block {padding: 15px 20px; margin-bottom: 20px; background-color: var(--light-gr); border-radius: 10px;}
.addvote {margin-top: 15px;}
.vote_list {margin: 5px 0;}
.voteprogress, .pollprogress {overflow: hidden; height: 6px; margin-bottom: 10px; background-color: var(--nav); border-radius: 3px; margin-top: 6px;}
.voteprogress span, .pollprogress span {text-indent: -9999px; height: 6px; display: block; overflow: hidden; background: #447bba;}
.mr_5 {margin-right: 5px;}
.active {display: block !important;}
.mb_30 {margin-bottom: 30px;}
.mb_5 {margin-bottom: 5px;}
.mt_5 {margin-top: 5px;}
.mt_20 {margin-top: 20px;}
.mtb_30 {margin: 30px 0;}
.dle-captcha {display: flex; gap: 10px;}
.searchtable {display: flex; gap: 10px;}
.form_group {display: flex; gap: 10px;}
.form_row {margin-bottom: 10px;}
.form_row_title {font-weight: 600;}
.form_col {display: flex; gap: 10px; align-items: center;}
.tags_list {display: flex; flex-wrap: wrap; gap: 10px;}
#dlefastreplycomments {margin: 5px 0;}
button, .btn, input[type="submit"], input[type="button"], input[type="reset"], .user_btn a {display: inline-flex; align-items: center;
    min-height: 30px; background: #4570EA; color: #fff; border-radius: 10px; padding: 0 20px; cursor: pointer;}
button:hover, .btn:hover, input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover, .user_btn a:hover {background: #5D87FF;}
.mrg_left {margin-left: auto;}
.clouds_xsmall a, .clouds_xlarge a, .clouds_medium a, .clouds_small a {font-weight: 500; background: var(--light-gr);
    border-radius: 7px; padding: 2px 10px; color: #8498cf;}
.clouds_xsmall a:hover, .clouds_xlarge a:hover, .clouds_medium a:hover, .clouds_small a:hover {background: var(--hover); color: var(--hover-accent);}

/* ---adaptive--- */
@media screen and (min-width: 660px) {
    .nav_list .header_search {display: none;}

}
@media screen and (min-width: 887px) {
    .mob_menu {display: none;}
    .submenu_list {position: absolute; transform: translateX(-50%); left: 50%; min-width: 150px; width: max-content;
    background: var(--nav); border-radius: 10px; padding: 0 15px;}
    .nav_list {gap: 20px;}
    .nav_list .side_nav {display: none;}
    .side_nav_item {text-align: left; color: #8498cf;}
    .side_nav .side_nav_item:not(:last-child) {border-bottom: 1px solid var(--border);}
    .side_nav_item:hover {color: var(--hover-accent);}
   
}
@media screen and (max-width: 900px) {
    .cols {grid-template-columns: minmax(0, 1fr);}
    .side_nav_block {display: none;}
         .mobile {display:none;}
    
}
@media screen and (max-width: 887px) {
    .header_nav {position: absolute; left: 0; right: 0; display: none;}
    .nav_list {flex-direction: column; width: 100%;}
    .header {position: relative;}  
}
@media screen and (max-width: 660px) {
    .header .header_search {display: none;}
    .header_search {order: -1; width: 100%; margin-top: 15px;}
    .header_right {margin-left: auto;}
}


@media screen and (max-width: 500px) {
    .comments-tree-list .comments-tree-list {padding-left: 0;}
    .wrapper_container {margin: 0 5px;}
    .header {margin-top: 5px;}
    .userinfo_grid {grid-template-columns: minmax(0, 1fr); justify-items: center;}
}

.header-sportchat-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-sportchat-menu a,
.header-sportchat-menu .dropbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  height: 44px;
  background: var(--btn-bg);
  color: var(--btn-color);
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.header-sportchat-menu a:hover,
.header-sportchat-menu .dropbtn:hover {
  background: var(--btn-bg-hover);
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--menu-bg);
  box-shadow: 0 8px 16px var(--menu-shadow);
  border-radius: 10px;
  overflow: hidden;
  z-index: 100;
  flex-direction: column;
  align-items: flex-start; 
}

.dropdown-content a {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--menu-item-color);
  text-decoration: none;
  justify-content: flex-start;
   width:100%;
   border-radius: 0;
}

.dropdown-content a:hover {
  background: var(--menu-item-hover-bg);
 
}

.dropdown:hover .dropdown-content {
  display: flex;
}
.dropdown-content .from-dropdown {
  display: none;
}

@media (max-width: 1024px) {
  .header-sportchat-menu a.to-dropdown {
    display: none; 
  }
  .dropdown-content .from-dropdown {
    display: flex;
}

@media (max-width: 900px) {
  .header-sportchat-menu, .header-sportchat-btn-user, .header_login_guest {
    display: none; 
  }
.footer {font-size: 9px;}
  .header-sportchat-logo {
        height: 50px;
        width: calc(50px * 3.316); 
    }
}

   