/*
 * cs27Reg for GameCMS
 * Lightweight visual layer: no JS, no remote assets, no continuous animation.
 */

body[data-template="cs27Reg"] {
  --cs-bg: #090b10;
  --cs-bg-soft: #10131a;
  --cs-panel: rgba(20, 23, 31, .94);
  --cs-panel-2: #171b24;
  --cs-border: rgba(255, 255, 255, .085);
  --cs-border-hot: rgba(255, 122, 42, .42);
  --cs-text: #f4f6fa;
  --cs-muted: #9299a8;
  --cs-orange: #ff7a2a;
  --cs-orange-2: #ff4d24;
  --cs-green: #40d58c;
  --cs-red: #ff5263;
  --cs-blue: #62a5ff;
  --cs-radius: 18px;
  --cs-radius-sm: 12px;
  --cs-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  min-height: 100vh;
  color: var(--cs-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 10% -5%, rgba(255, 91, 35, .12), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(255, 145, 38, .07), transparent 34rem),
    linear-gradient(180deg, #0d1016 0, var(--cs-bg) 55%, #08090d 100%);
  background-attachment: scroll;
}

body[data-template="cs27Reg"] *,
body[data-template="cs27Reg"] *::before,
body[data-template="cs27Reg"] *::after { box-sizing: border-box; }

body[data-template="cs27Reg"] a { color: inherit; transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease; }
body[data-template="cs27Reg"] a:hover { color: var(--cs-orange); text-decoration: none; }
body[data-template="cs27Reg"] ::selection { color: #fff; background: var(--cs-orange-2); }
body[data-template="cs27Reg"] .container { width: min(1320px, calc(100% - 40px)); max-width: 1320px; }
body[data-template="cs27Reg"] .version_fixed { display: none !important; }
body[data-template="cs27Reg"] .preloader { display: none !important; }

/* Header */
body[data-template="cs27Reg"] .wapper { padding: 0; }
body[data-template="cs27Reg"] .header {
  height: 84px;
  display: flex;
  align-items: center;
  background: rgba(9, 11, 16, .92);
  border-bottom: 1px solid var(--cs-border);
  backdrop-filter: blur(14px);
}
body[data-template="cs27Reg"] .header > .container { min-height: 84px; display: flex; align-items: center; gap: 28px; }
body[data-template="cs27Reg"] .logol { display: inline-flex; align-items: center; margin: 0 auto 0 0; }
body[data-template="cs27Reg"] .logol a { display: inline-flex; align-items: center; }
body[data-template="cs27Reg"] .logo { width: 220px; height: auto; max-height: 46px; object-fit: contain; }
body[data-template="cs27Reg"] .search_user {
  width: 250px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  color: var(--cs-muted);
  background: #12151c;
  border: 1px solid var(--cs-border);
  border-radius: 999px;
}
body[data-template="cs27Reg"] .search_user:hover { color: var(--cs-text); border-color: var(--cs-border-hot); }
body[data-template="cs27Reg"] .search_user .svg_sdg svg { fill: currentColor; }
body[data-template="cs27Reg"] .log_in_buton {
  min-height: 42px;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 0 18px !important;
  color: #fff !important;
  font-weight: 750;
  background: linear-gradient(135deg, var(--cs-orange), var(--cs-orange-2));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(255, 91, 35, .2);
}
body[data-template="cs27Reg"] .log_in_buton:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(255, 91, 35, .3); }

body[data-template="cs27Reg"] .menu_top_container {
  position: sticky;
  top: 0;
  z-index: 990;
  min-height: 60px;
  display: flex;
  align-items: center;
  background: rgba(13, 16, 22, .94);
  border-bottom: 1px solid var(--cs-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
  backdrop-filter: blur(14px);
}
body[data-template="cs27Reg"] .two_top_menu,
body[data-template="cs27Reg"] .menu_top_left { display: flex; align-items: center; }
body[data-template="cs27Reg"] .two_top_menu { justify-content: space-between; min-height: 60px; }
body[data-template="cs27Reg"] .menu_top_push_active {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--cs-orange), var(--cs-orange-2));
  border-radius: 12px;
}
body[data-template="cs27Reg"] .header-menu,
body[data-template="cs27Reg"] .header-menu .container { width: auto; max-width: none; margin: 0; padding: 0; }
body[data-template="cs27Reg"] .header-menu ul { display: flex; align-items: center; gap: 4px; margin: 0 0 0 12px; padding: 0; }
body[data-template="cs27Reg"] .header-menu li { list-style: none; }
body[data-template="cs27Reg"] .header-menu li > a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #c6cad4;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
}
body[data-template="cs27Reg"] .header-menu li > a:hover,
body[data-template="cs27Reg"] .header-menu li.active > a { color: #fff; background: rgba(255, 122, 42, .12); }
body[data-template="cs27Reg"] .button_menu_collapse { color: #fff; background: var(--cs-panel-2); border: 1px solid var(--cs-border); border-radius: 10px; }
body[data-template="cs27Reg"] .language_block .select {
  min-height: 40px;
  padding: 0 12px;
  color: var(--cs-muted);
  background: #12151c;
  border: 1px solid var(--cs-border);
  border-radius: 10px;
}
body[data-template="cs27Reg"] .language_block img { width: 22px !important; height: 22px !important; object-fit: cover; border-radius: 50%; }

/* Hero */
body[data-template="cs27Reg"] .cs27-hero {
  position: relative;
  min-height: 470px;
  margin: 28px 0 30px;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(8, 10, 15, .98) 0%, rgba(8, 10, 15, .80) 42%, rgba(8, 10, 15, .18) 76%, rgba(8, 10, 15, .5) 100%),
    url(../img/hero-desktop.webp);
  background-position: center;
  background-size: cover;
  border: 1px solid var(--cs-border);
  border-radius: 26px;
  box-shadow: var(--cs-shadow);
}
body[data-template="cs27Reg"] .cs27-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 122, 42, .08), transparent 38%);
}
body[data-template="cs27Reg"] .sortion_block_head { width: 58%; min-height: 470px; padding: 56px; position: relative; z-index: 1; }
body[data-template="cs27Reg"] .head_top_info { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
body[data-template="cs27Reg"] .stable,
body[data-template="cs27Reg"] .point {
  width: auto;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  color: #d6d9e1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
}
body[data-template="cs27Reg"] .stable i,
body[data-template="cs27Reg"] .point i { color: var(--cs-orange); }
body[data-template="cs27Reg"] .title_head {
  max-width: 720px;
  margin: 0 0 18px;
  color: #fff;
  font-family: "Uni Sans Heavy CAPS", Inter, sans-serif;
  font-size: clamp(34px, 4.1vw, 64px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
body[data-template="cs27Reg"] .title_head__line { display: block; }
body[data-template="cs27Reg"] .title_head__line:last-child { color: var(--cs-orange); }
body[data-template="cs27Reg"] .text_head { display: block; max-width: 560px; color: #b5bbc7; font-size: 16px; line-height: 1.65; }
body[data-template="cs27Reg"] .cs27-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
body[data-template="cs27Reg"] .cs27-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 12px;
}
body[data-template="cs27Reg"] .cs27-btn-primary { background: linear-gradient(135deg, var(--cs-orange), var(--cs-orange-2)); box-shadow: 0 12px 28px rgba(255, 91, 35, .22); }
body[data-template="cs27Reg"] .cs27-btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .13); backdrop-filter: blur(8px); }
body[data-template="cs27Reg"] .cs27-btn:hover { transform: translateY(-2px); }
body[data-template="cs27Reg"] .head_rside { position: absolute; right: 26px; top: 26px; bottom: 26px; width: 330px; z-index: 2; }

/* Panels and headings */
body[data-template="cs27Reg"] .block,
body[data-template="cs27Reg"] .block_solution,
body[data-template="cs27Reg"] .chat_block,
body[data-template="cs27Reg"] .block_servers,
body[data-template="cs27Reg"] .block_t_u,
body[data-template="cs27Reg"] .navigation_profile,
body[data-template="cs27Reg"] .last_activity_info,
body[data-template="cs27Reg"] .news_block,
body[data-template="cs27Reg"] .modal-content {
  color: var(--cs-text);
  background: var(--cs-panel);
  border: 1px solid var(--cs-border);
  border-radius: var(--cs-radius);
  box-shadow: 0 15px 42px rgba(0, 0, 0, .18);
}
body[data-template="cs27Reg"] .block_solution { padding: 26px; margin-bottom: 26px; }
body[data-template="cs27Reg"] .heading_block,
body[data-template="cs27Reg"] .heading_block_chat,
body[data-template="cs27Reg"] .block_head {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 16px;
  padding: 0 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid var(--cs-border);
  border-radius: var(--cs-radius-sm);
}
body[data-template="cs27Reg"] .double_heading,
body[data-template="cs27Reg"] .flex_heading_chat,
body[data-template="cs27Reg"] .flex_top_usr_i { display: flex; align-items: center; gap: 12px; }
body[data-template="cs27Reg"] .double_heading > i,
body[data-template="cs27Reg"] .flex_heading_chat > i,
body[data-template="cs27Reg"] .flex_top_usr_i > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--cs-orange) !important;
  font-size: 20px;
  background: rgba(255, 122, 42, .11) !important;
  border: 1px solid rgba(255, 122, 42, .2);
  border-radius: 11px;
}
body[data-template="cs27Reg"] .heading,
body[data-template="cs27Reg"] .content-page-title,
body[data-template="cs27Reg"] .name_top_usr,
body[data-template="cs27Reg"] .heading_chat_info > span { color: #fff; font-weight: 850; letter-spacing: -.01em; }
body[data-template="cs27Reg"] .second_heading,
body[data-template="cs27Reg"] .desp_top_usr,
body[data-template="cs27Reg"] .heading_chat_info text { color: var(--cs-muted); }

/* Server monitoring */
body[data-template="cs27Reg"] .block_servers { padding: 18px; margin-bottom: 18px; scroll-margin-top: 80px; }
body[data-template="cs27Reg"] .block_servers > .flex_top_usr_i { margin-bottom: 15px; }
body[data-template="cs27Reg"] .servers-info-block {
  position: relative;
  min-height: 112px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #11151d;
  border: 1px solid var(--cs-border);
  border-radius: 14px;
}
body[data-template="cs27Reg"] .servers-info-block:hover { border-color: var(--cs-border-hot); transform: translateY(-1px); }
body[data-template="cs27Reg"] .map_back_server { opacity: .30; filter: saturate(.75) contrast(1.05); }
body[data-template="cs27Reg"] .servers-info-block::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(12,15,21,.98), rgba(12,15,21,.58)); }
body[data-template="cs27Reg"] .servers-info-span { position: relative; z-index: 1; }
body[data-template="cs27Reg"] .game_name_server,
body[data-template="cs27Reg"] .server_info_monitoring { color: var(--cs-muted); }
body[data-template="cs27Reg"] .progress { height: 5px; overflow: hidden; background: rgba(255,255,255,.09); border-radius: 99px; }
body[data-template="cs27Reg"] .progress-bar { background: linear-gradient(90deg, var(--cs-orange-2), var(--cs-orange)) !important; }
body[data-template="cs27Reg"] .play-servers,
body[data-template="cs27Reg"] .copy_adress { background: rgba(255,122,42,.12); border: 1px solid rgba(255,122,42,.2); color: var(--cs-orange); }
body[data-template="cs27Reg"] .play-servers:hover,
body[data-template="cs27Reg"] .copy_adress:hover { color: #fff; background: var(--cs-orange); }
body[data-template="cs27Reg"] .general_online_block { background: rgba(64,213,140,.07); border: 1px solid rgba(64,213,140,.16); border-radius: 12px; }
body[data-template="cs27Reg"] .online_number { color: var(--cs-green); }

/* Chat, news, events */
body[data-template="cs27Reg"] .chat_block { padding: 0; margin-bottom: 24px; overflow: hidden; }
body[data-template="cs27Reg"] .chat_block .block { border: 0; box-shadow: none; background: transparent; }
body[data-template="cs27Reg"] .heading_block_chat { margin: 0; border: 0; border-bottom: 1px solid var(--cs-border); border-radius: 0; }
body[data-template="cs27Reg"] #chat_messages { background: #0f1218; }
body[data-template="cs27Reg"] #chat_message_input,
body[data-template="cs27Reg"] input,
body[data-template="cs27Reg"] textarea,
body[data-template="cs27Reg"] select,
body[data-template="cs27Reg"] .form-control {
  color: var(--cs-text);
  background-color: #0e1117;
  border: 1px solid var(--cs-border);
  border-radius: 11px;
}
body[data-template="cs27Reg"] input:focus,
body[data-template="cs27Reg"] textarea:focus,
body[data-template="cs27Reg"] select:focus,
body[data-template="cs27Reg"] .form-control:focus { border-color: var(--cs-orange); box-shadow: 0 0 0 3px rgba(255,122,42,.12); }
body[data-template="cs27Reg"] .btn_message,
body[data-template="cs27Reg"] .btn_heading,
body[data-template="cs27Reg"] .succesy_button,
body[data-template="cs27Reg"] .btn-primary { color: #fff !important; background: linear-gradient(135deg, var(--cs-orange), var(--cs-orange-2)); border-color: transparent; }
body[data-template="cs27Reg"] .btn_heading_rules,
body[data-template="cs27Reg"] .btn-outline-primary { color: var(--cs-orange); background: rgba(255,122,42,.08); border-color: rgba(255,122,42,.25); }
body[data-template="cs27Reg"] .online_now_head { color: var(--cs-green); background: rgba(64,213,140,.08); border-color: rgba(64,213,140,.2); }
body[data-template="cs27Reg"] .news_block { overflow: hidden; margin-bottom: 18px; }
body[data-template="cs27Reg"] .news-block-img { min-height: 190px; background-position: center; }
body[data-template="cs27Reg"] .name_news { color: #fff; font-size: 19px; font-weight: 800; }
body[data-template="cs27Reg"] .short_news { color: var(--cs-muted); }
body[data-template="cs27Reg"] .news-button-bottom,
body[data-template="cs27Reg"] .news-button-vk { color: var(--cs-orange); }
body[data-template="cs27Reg"] .new_news { color: #fff; background: var(--cs-orange-2); }
body[data-template="cs27Reg"] .row_events { gap: 18px; }
body[data-template="cs27Reg"] .left_events,
body[data-template="cs27Reg"] .right_events { min-width: 0; }

/* Sidebars, account and widgets */
body[data-template="cs27Reg"] .block_t_u,
body[data-template="cs27Reg"] .navigation_profile { padding: 18px; margin-bottom: 18px; }
body[data-template="cs27Reg"] .tabs__controls { border-bottom: 0; }
body[data-template="cs27Reg"] [role="tab"] { color: var(--cs-muted); background: transparent; border: 0; border-bottom: 2px solid transparent; }
body[data-template="cs27Reg"] [role="tab"][aria-selected="true"] { color: #fff; border-color: var(--cs-orange); }
body[data-template="cs27Reg"] .img_navigation { border: 2px solid rgba(255,122,42,.55); }
body[data-template="cs27Reg"] .balance_mini_profile { background: #10141b; border: 1px solid var(--cs-border); border-radius: 12px; }
body[data-template="cs27Reg"] .button_plus_purse { color: #fff; background: var(--cs-orange); border-radius: 9px; }
body[data-template="cs27Reg"] .slider_menu,
body[data-template="cs27Reg"] .block_open_cases { border: 1px solid var(--cs-border); border-radius: 14px; overflow: hidden; }
body[data-template="cs27Reg"] .block_open_cases { filter: saturate(.75); }
body[data-template="cs27Reg"] .block_open_cases:hover { filter: saturate(1); border-color: var(--cs-border-hot); }

/* Tables, forum and profile */
body[data-template="cs27Reg"] table { color: var(--cs-text); background: transparent; }
body[data-template="cs27Reg"] .table,
body[data-template="cs27Reg"] .table-adaptive { border-color: var(--cs-border); }
body[data-template="cs27Reg"] .table thead th { color: #aeb4c1; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; background: rgba(255,255,255,.035); border-color: var(--cs-border); }
body[data-template="cs27Reg"] .table td,
body[data-template="cs27Reg"] .table th { border-color: var(--cs-border); }
body[data-template="cs27Reg"] .table tbody tr:hover { background: rgba(255,122,42,.045); }
body[data-template="cs27Reg"] .pagination a,
body[data-template="cs27Reg"] .pagination span { color: var(--cs-muted); background: var(--cs-panel-2); border-color: var(--cs-border); }
body[data-template="cs27Reg"] .pagination .active a,
body[data-template="cs27Reg"] .pagination a:hover { color: #fff; background: var(--cs-orange); border-color: var(--cs-orange); }
body[data-template="cs27Reg"] .forum-section,
body[data-template="cs27Reg"] .topic,
body[data-template="cs27Reg"] .forum_message,
body[data-template="cs27Reg"] .user-block,
body[data-template="cs27Reg"] .service { background: var(--cs-panel); border-color: var(--cs-border); border-radius: var(--cs-radius-sm); }

/* Modal and notifications */
body[data-template="cs27Reg"] .modal { background: rgba(0,0,0,.64); backdrop-filter: blur(5px); }
body[data-template="cs27Reg"] .modal-content { overflow: hidden; }
body[data-template="cs27Reg"] .modal-header { border-bottom: 1px solid var(--cs-border); }
body[data-template="cs27Reg"] .modal-footer { border-top: 1px solid var(--cs-border); }
body[data-template="cs27Reg"] .close { color: #fff; text-shadow: none; opacity: .75; }
body[data-template="cs27Reg"] .tabes { background: #0e1117; border: 1px solid var(--cs-border); border-radius: 12px; }
body[data-template="cs27Reg"] .tabes .tab.active { color: #fff; background: var(--cs-orange); border-radius: 9px; }
body[data-template="cs27Reg"] .cookies_noty { color: var(--cs-text); background: #151922; border: 1px solid var(--cs-border-hot); border-radius: 16px; box-shadow: var(--cs-shadow); }

/* Footer */
body[data-template="cs27Reg"] .bottom_under { margin-top: 34px; background: #080a0e; border-top: 1px solid var(--cs-border); }
body[data-template="cs27Reg"] .bottom_head {
  margin-top: 0;
  padding-top: 52px;
  border-radius: 0;
}
body[data-template="cs27Reg"] .bottom_nav_title { color: #fff; }
body[data-template="cs27Reg"] .href_bottom,
body[data-template="cs27Reg"] .footer_description,
body[data-template="cs27Reg"] .bottom_info { color: var(--cs-muted); }
body[data-template="cs27Reg"] .line_purse1 { background: var(--cs-orange); }
body[data-template="cs27Reg"] .bottom_info { border-top-color: var(--cs-border); }
body[data-template="cs27Reg"] .logo_button { width: 170px; height: auto; }
body[data-template="cs27Reg"] .center_sub .sub_menu { background: #171b24; border: 1px solid var(--cs-border); box-shadow: var(--cs-shadow); }

/* Responsive */
@media (max-width: 1199px) {
  body[data-template="cs27Reg"] .container { width: min(calc(100% - 28px), 1080px); }
  body[data-template="cs27Reg"] .search_user { display: none; }
  body[data-template="cs27Reg"] .sortion_block_head { width: 64%; padding: 44px; }
  body[data-template="cs27Reg"] .head_rside { width: 295px; }
  body[data-template="cs27Reg"] .header-menu li > a { padding-inline: 10px; font-size: 12px; }
}

@media (max-width: 991px) {
  body[data-template="cs27Reg"] .header { height: 70px; }
  body[data-template="cs27Reg"] .header > .container { min-height: 70px; }
  body[data-template="cs27Reg"] .logo { width: 180px; }
  body[data-template="cs27Reg"] .header-menu { position: absolute; left: 14px; right: 14px; top: 60px; padding: 10px; background: #12151d; border: 1px solid var(--cs-border); border-radius: 14px; box-shadow: var(--cs-shadow); }
  body[data-template="cs27Reg"] .header-menu.show { display: block !important; }
  body[data-template="cs27Reg"] .header-menu ul { display: block; margin: 0; }
  body[data-template="cs27Reg"] .header-menu li > a { min-height: 44px; }
  body[data-template="cs27Reg"] .cs27-hero { min-height: 600px; }
  body[data-template="cs27Reg"] .sortion_block_head { width: 100%; min-height: 370px; padding: 42px; }
  body[data-template="cs27Reg"] .head_rside { position: relative; inset: auto; width: auto; margin: 0 24px 24px; }
  body[data-template="cs27Reg"] .slider_menu { display: none; }
  body[data-template="cs27Reg"] .flex_modules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  body[data-template="cs27Reg"] .block_open_cases { min-height: 120px; }
  body[data-template="cs27Reg"] .order-is-first,
  body[data-template="cs27Reg"] .order-is-last { max-width: 100%; flex: 0 0 100%; }
}

@media (max-width: 767px) {
  body[data-template="cs27Reg"] .container { width: calc(100% - 20px); padding-inline: 0; }
  body[data-template="cs27Reg"] .header .container { gap: 10px; }
  body[data-template="cs27Reg"] .logo { width: 148px; }
  body[data-template="cs27Reg"] .log_in_buton { width: 42px; padding: 0 !important; justify-content: center; font-size: 0; }
  body[data-template="cs27Reg"] .log_in_buton i { font-size: 21px; }
  body[data-template="cs27Reg"] .language_block .select span { display: none; }
  body[data-template="cs27Reg"] .cs27-hero {
    min-height: 620px;
    margin: 16px 0 20px;
    background-image:
      linear-gradient(180deg, rgba(8,10,15,.93) 0%, rgba(8,10,15,.72) 48%, rgba(8,10,15,.95) 100%),
      url(../img/hero-mobile.webp);
    background-position: center top;
    border-radius: 20px;
  }
  body[data-template="cs27Reg"] .sortion_block_head { min-height: 415px; padding: 30px 22px; }
  body[data-template="cs27Reg"] .head_top_info { margin-bottom: 20px; }
  body[data-template="cs27Reg"] .stable,
  body[data-template="cs27Reg"] .point { font-size: 8px; }
  body[data-template="cs27Reg"] .title_head { font-size: clamp(31px, 10vw, 45px); }
  body[data-template="cs27Reg"] .text_head { font-size: 14px; }
  body[data-template="cs27Reg"] .cs27-hero-actions { display: grid; grid-template-columns: 1fr; }
  body[data-template="cs27Reg"] .head_rside { margin: 0 14px 14px; }
  body[data-template="cs27Reg"] .flex_modules { grid-template-columns: 1fr; }
  body[data-template="cs27Reg"] .block_open_cases { min-height: 88px; }
  body[data-template="cs27Reg"] .heading_block,
  body[data-template="cs27Reg"] .heading_block_chat { min-height: 60px; padding: 10px 12px; }
  body[data-template="cs27Reg"] .double_btns_chat { gap: 6px; }
  body[data-template="cs27Reg"] .btn_heading_rules { display: none; }
  body[data-template="cs27Reg"] .block_solution { padding: 18px 14px; }
  body[data-template="cs27Reg"] .row_events { display: block; }
  body[data-template="cs27Reg"] .right_events { margin-top: 18px; }
  body[data-template="cs27Reg"] .flex_new_new { display: block; }
  body[data-template="cs27Reg"] .news-block-img { width: 100%; min-height: 170px; }
  body[data-template="cs27Reg"] .news_info { flex-wrap: wrap; gap: 10px; }
  body[data-template="cs27Reg"] .bottom_footer { display: block; }
  body[data-template="cs27Reg"] .bottom_footer > [class*="col-"] { width: 100%; max-width: 100%; }
  body[data-template="cs27Reg"] .bottom_info { display: block; padding-block: 24px; }
  body[data-template="cs27Reg"] .bottom_info_right { margin-top: 18px; }
  body[data-template="cs27Reg"] .table-adaptive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  body[data-template="cs27Reg"] .modal-dialog { margin: 10px; }
}

@media (max-width: 420px) {
  body[data-template="cs27Reg"] .logo { width: 128px; }
  body[data-template="cs27Reg"] .title_head { font-size: 31px; }
  body[data-template="cs27Reg"] .head_top_info { gap: 6px; }
  body[data-template="cs27Reg"] .point { display: none; }
  body[data-template="cs27Reg"] .servers-info-block { min-height: 124px; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-template="cs27Reg"] *,
  body[data-template="cs27Reg"] *::before,
  body[data-template="cs27Reg"] *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (prefers-reduced-data: reduce) {
  body[data-template="cs27Reg"] .cs27-hero { background-image: linear-gradient(135deg, #111722, #090b10); }
  body[data-template="cs27Reg"] .bottom_head { background-image: linear-gradient(135deg, #0d1016, #080a0e) !important; }
}

/* v1.1 — desktop scale and legacy SolutionPink reset */
@media (min-width: 1200px) {
  body[data-template="cs27Reg"] { font-size: 15px; line-height: 1.55; }
  body[data-template="cs27Reg"] .container,
  body[data-template="cs27Reg"] .wapper .container {
    width: min(1480px, calc(100% - 56px));
    max-width: 1480px;
  }

  body[data-template="cs27Reg"] .header,
  body[data-template="cs27Reg"] .wapper .header { height: 92px; padding: 0; }
  body[data-template="cs27Reg"] .header > .container {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 20px;
  }
  body[data-template="cs27Reg"] .logo {
    position: static;
    float: none;
    width: 230px;
    height: auto;
    max-height: 50px;
    margin: 0;
    border-radius: 0;
  }
  body[data-template="cs27Reg"] .logo:hover { opacity: 1; transform: none; }
  body[data-template="cs27Reg"] .search_user { width: 270px; font-size: 13px; }

  body[data-template="cs27Reg"] .pro {
    position: relative;
    inset: auto;
    width: auto;
    height: 42px;
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 7px;
    float: none;
    margin: 0;
    padding: 0 14px;
    color: #d5d9e2;
    background: #12151c;
    border: 1px solid var(--cs-border);
    border-radius: 999px;
  }
  body[data-template="cs27Reg"] .pro .line_promo_up,
  body[data-template="cs27Reg"] .pro .striped-circle { display: none; }
  body[data-template="cs27Reg"] .pro .flex_promo_text { position: static; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
  body[data-template="cs27Reg"] .pro .prcr { top: 50px; right: 0; left: auto; margin: 0; background: #171b24; border: 1px solid var(--cs-border-hot); }

  body[data-template="cs27Reg"] .wapper .header ul.user-menu,
  body[data-template="cs27Reg"] .header ul.user-menu {
    position: relative;
    inset: auto;
    width: auto;
    height: 48px;
    display: flex !important;
    align-items: center;
    gap: 7px;
    float: none;
    margin: 0;
    padding: 0;
    background: transparent;
  }
  body[data-template="cs27Reg"] .wapper .header ul.user-menu > li {
    position: relative;
    inset: auto;
    float: none;
    margin: 0;
  }
  body[data-template="cs27Reg"] .wapper .header ul.user-menu > li.balance {
    position: relative;
    inset: auto;
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0 7px 0 44px;
    color: #fff;
    font-size: 13px;
    line-height: 42px;
    background: #12151c;
    border: 1px solid var(--cs-border);
    border-radius: 999px;
  }
  body[data-template="cs27Reg"] .wapper .header ul.user-menu > li.balance > i { top: 5px; left: 6px; }
  body[data-template="cs27Reg"] .wapper .header ul.user-menu > li.balance .pursee-button {
    width: auto;
    height: 30px;
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0 12px;
    color: #fff;
    font-size: 11px;
    line-height: 30px;
    background: var(--cs-orange);
    border-radius: 999px;
  }
  body[data-template="cs27Reg"] .wapper .header ul.user-menu > li > a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #bdc3cf;
    background: #12151c;
    border: 1px solid var(--cs-border);
    border-radius: 50%;
  }
  body[data-template="cs27Reg"] .wapper .header ul.user-menu > li.collapsible { width: 42px; height: 42px; margin: 0; }
  body[data-template="cs27Reg"] .wapper .header ul.user-menu > li.collapsible > a,
  body[data-template="cs27Reg"] .wapper .header ul.user-menu > li.collapsible > a img {
    position: static;
    width: 42px;
    height: 42px;
    margin: 0;
    border-radius: 50%;
  }
  body[data-template="cs27Reg"] .show_user { position: relative; inset: auto; width: 40px; height: 40px; color: #bdc3cf; background: #12151c; border: 1px solid var(--cs-border); border-radius: 50%; }

  body[data-template="cs27Reg"] .menu_top_container { min-height: 66px; }
  body[data-template="cs27Reg"] .two_top_menu { min-height: 66px; }
  body[data-template="cs27Reg"] .header-menu li > a { min-height: 44px; padding: 0 15px; font-size: 14px; }
  body[data-template="cs27Reg"] .language_block .select { min-height: 42px; font-size: 13px; }

  body[data-template="cs27Reg"] .cs27-hero { min-height: 540px; margin-top: 32px; }
  body[data-template="cs27Reg"] .sortion_block_head { min-height: 540px; width: calc(100% - 390px); padding: 66px 60px; }
  body[data-template="cs27Reg"] .title_head { max-width: 800px; font-size: clamp(50px, 3.5vw, 68px); }
  body[data-template="cs27Reg"] .text_head { max-width: 620px; font-size: 17px; }
  body[data-template="cs27Reg"] .head_rside { top: auto; right: 34px; bottom: 34px; width: 340px; height: auto; }
  body[data-template="cs27Reg"] .head_rside .slider_menu { display: none; }
  body[data-template="cs27Reg"] .head_rside .flex_modules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  body[data-template="cs27Reg"] .head_rside .block_open_cases { min-height: 142px; margin: 0; padding: 18px; background-position: center; }

  body[data-template="cs27Reg"] .col-lg-3 { flex: 0 0 29%; max-width: 29%; }
  body[data-template="cs27Reg"] .col-lg-9 { flex: 0 0 71%; max-width: 71%; }
  body[data-template="cs27Reg"] .row { margin-right: -12px; margin-left: -12px; }
  body[data-template="cs27Reg"] [class*="col-lg-"] { padding-right: 12px; padding-left: 12px; }
}

body[data-template="cs27Reg"] .flex_online_users,
body[data-template="cs27Reg"] .users_online_chat,
body[data-template="cs27Reg"] .online_scroll,
body[data-template="cs27Reg"] .online_us_all,
body[data-template="cs27Reg"] .visit_users_online,
body[data-template="cs27Reg"] .top_user,
body[data-template="cs27Reg"] .row_events,
body[data-template="cs27Reg"] .right_events,
body[data-template="cs27Reg"] .event,
body[data-template="cs27Reg"] .lst_activity_block,
body[data-template="cs27Reg"] .news_info {
  color: var(--cs-text);
  background-color: #12161e;
  border-color: var(--cs-border);
}
body[data-template="cs27Reg"] .flex_online_users,
body[data-template="cs27Reg"] .row_events { background: var(--cs-panel); border: 1px solid var(--cs-border); }
body[data-template="cs27Reg"] .visit_users_online,
body[data-template="cs27Reg"] .event,
body[data-template="cs27Reg"] .lst_activity_block { border: 1px solid var(--cs-border); border-radius: 12px; }
body[data-template="cs27Reg"] .top_user { background-image: linear-gradient(135deg, #171b24, #11151c) !important; border: 1px solid var(--cs-border); }
body[data-template="cs27Reg"] .online_second,
body[data-template="cs27Reg"] .name_top_usr,
body[data-template="cs27Reg"] .text_top_users,
body[data-template="cs27Reg"] .last_activity_theme { color: #fff; }
body[data-template="cs27Reg"] .gp_visit,
body[data-template="cs27Reg"] .desp_top_users,
body[data-template="cs27Reg"] .event_date,
body[data-template="cs27Reg"] .description_activity { color: var(--cs-muted); }
body[data-template="cs27Reg"] .chat_message { min-height: 56px; }
body[data-template="cs27Reg"] .text_chat { color: #d8dce5; font-size: 14px; line-height: 1.55; }
body[data-template="cs27Reg"] .author { font-size: 13px !important; }
body[data-template="cs27Reg"] .chat_date { font-size: 11px; }
body[data-template="cs27Reg"] .name_news { font-size: 20px; line-height: 1.3; }
body[data-template="cs27Reg"] .short_news { font-size: 14px; line-height: 1.55; }
body[data-template="cs27Reg"] .event_content,
body[data-template="cs27Reg"] .last_activity_theme { font-size: 13px; line-height: 1.4; }
body[data-template="cs27Reg"] .footer_description,
body[data-template="cs27Reg"] .href_bottom,
body[data-template="cs27Reg"] .bottom_info { font-size: 13px; line-height: 1.65; }

/* v1.2 — final composition pass */
body[data-template="cs27Reg"] .menu_top_left { flex: 1 1 auto; min-width: 0; }
body[data-template="cs27Reg"] .menu_top_rigth { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
body[data-template="cs27Reg"] .header-menu { flex: 1 1 auto; min-width: 0; }
body[data-template="cs27Reg"] .header-menu .collapsible-menu {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  white-space: nowrap;
}
body[data-template="cs27Reg"] .header-menu .collapsible-menu > li {
  float: none !important;
  flex: 0 0 auto;
  margin: 0 !important;
}
body[data-template="cs27Reg"] .flex_online_block { flex: 0 0 auto; }

body[data-template="cs27Reg"] .cs27-hero {
  background-image:
    linear-gradient(90deg, rgba(8,10,15,.98) 0%, rgba(8,10,15,.82) 43%, rgba(8,10,15,.58) 69%, rgba(8,10,15,.86) 100%),
    radial-gradient(circle at 86% 42%, rgba(255,122,42,.15), transparent 28%),
    url(../img/hero-desktop.webp);
  border-color: rgba(255,122,42,.18);
}
body[data-template="cs27Reg"] .head_rside .flex_modules { padding: 12px; background: rgba(13,16,22,.78); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; backdrop-filter: blur(10px); }
body[data-template="cs27Reg"] .head_rside .block_open_cases {
  position: relative;
  isolation: isolate;
  color: #fff;
  background-color: #171b24;
  border-color: rgba(255,255,255,.12);
}
body[data-template="cs27Reg"] .head_rside .block_open_cases::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10,12,17,.12), rgba(10,12,17,.82));
}

body[data-template="cs27Reg"] .flex_online_users { height: auto !important; min-height: 0; padding: 16px; margin-bottom: 18px; }
body[data-template="cs27Reg"] .users_online_chat { height: auto !important; min-height: 0; }
body[data-template="cs27Reg"] .online_scroll { height: auto; min-height: 0; max-height: 208px; margin: 10px 0; overflow-y: auto; }
body[data-template="cs27Reg"] .online_us_all { position: static; min-height: 58px; margin-top: 10px; }
body[data-template="cs27Reg"] .visit_users_online { min-height: 54px; margin-bottom: 7px; padding: 8px 10px; background: #171b24; }
body[data-template="cs27Reg"] .visit_users_online:hover { border-color: var(--cs-border-hot); background: #1a1f29; }

body[data-template="cs27Reg"] .block_top_user { margin-bottom: 10px; overflow: hidden; border: 1px solid var(--cs-border); border-radius: 14px; }
body[data-template="cs27Reg"] .top_user { padding: 15px; background: linear-gradient(135deg, #171b24, #11151c) !important; border: 0; border-radius: 0; }
body[data-template="cs27Reg"] .bottom_top_user { height: 12px; padding: 0; background: #11151c; border: 0; border-radius: 0; }
body[data-template="cs27Reg"] .img_top_user { border-color: #242a36; }
body[data-template="cs27Reg"] .rait_top { color: #dfe3eb; background: #202632; border-color: rgba(255,255,255,.1); }
body[data-template="cs27Reg"] .rait_top .bx-trophy { color: var(--cs-orange); }

body[data-template="cs27Reg"] .row_events { background: var(--cs-panel); }
body[data-template="cs27Reg"] .left_events,
body[data-template="cs27Reg"] .right_events { background: transparent; }
body[data-template="cs27Reg"] .event,
body[data-template="cs27Reg"] .lst_activity_block { min-height: 68px; padding: 11px 13px; background: #171b24; }
body[data-template="cs27Reg"] .event:hover,
body[data-template="cs27Reg"] .lst_activity_block:hover { border-color: var(--cs-border-hot); background: #1a1f29; }
body[data-template="cs27Reg"] .last_activity_info { background: #11151c; border-color: var(--cs-border); }

body[data-template="cs27Reg"] .news_block { background: #12161e; }
body[data-template="cs27Reg"] .news_info { background: #171b24; }
body[data-template="cs27Reg"] .news_info_set { color: var(--cs-muted); }
body[data-template="cs27Reg"] .second_text_news { color: #fff; }

body[data-template="cs27Reg"] .bottom_under { margin-top: 42px; padding-top: 0; }
body[data-template="cs27Reg"] .bottom_head { margin-top: 0; padding: 34px 32px; background-color: #0b0e13; border-color: var(--cs-border); border-radius: 18px; }
body[data-template="cs27Reg"] .bottom_footer { align-items: flex-start; }
body[data-template="cs27Reg"] .bottom_info { min-height: 76px; margin-top: 0; padding: 20px 8px; align-items: center; }
body[data-template="cs27Reg"] .footer_description { max-width: 470px; }

@media (min-width: 1200px) {
  body[data-template="cs27Reg"] .header-menu li > a { min-height: 44px; padding: 0 11px; font-size: 12.5px; }
  body[data-template="cs27Reg"] .menu_top_push_active { flex: 0 0 42px; }
  body[data-template="cs27Reg"] .language_block .select { padding: 0 10px; }
  body[data-template="cs27Reg"] .flex_online_block { max-width: 96px; overflow: hidden; }
  body[data-template="cs27Reg"] .online_pro { margin-left: 4px; }
  body[data-template="cs27Reg"] .name_top_usr { font-size: 14px; }
  body[data-template="cs27Reg"] .desp_top_usr { font-size: 11px; }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  body[data-template="cs27Reg"] .header-menu li > a { padding: 0 8px; font-size: 11.5px; }
  body[data-template="cs27Reg"] .language_block .select span { display: none; }
  body[data-template="cs27Reg"] .flex_online_block { display: none; }
}

@media (max-width: 991px) {
  body[data-template="cs27Reg"] .header-menu .collapsible-menu { display: block !important; white-space: normal; }
  body[data-template="cs27Reg"] .cs27-hero {
    background-image:
      linear-gradient(180deg, rgba(8,10,15,.94), rgba(8,10,15,.76) 48%, rgba(8,10,15,.97)),
      url(../img/hero-mobile.webp);
  }
  body[data-template="cs27Reg"] .bottom_head { padding: 26px 20px; }
}
