.left {
padding:0;
}

.center {
padding:0;
padding-top:10px;
}

/* ==================================================== LEFT ==================================================== */

.left_menu_admin,.left_menu_default {
height:20px;
line-height:20px;
}

.left_menu_admin img,.left_menu_default img {
padding:2px;
}

.left_menu_default span {
margin-top:1px;
float:none;
}

.left_menu_nets {
text-align:left;
}

/* ==================================================== LOTTERY ==================================================== */

.lottery_show_winner_title {
font-size:14px;
}

.lottery_show_winner_title span {
font-size:12px;
}

.lottery_show_winner_sum_full {
font-size:12px;
}

.lottery_show_winner_sum_full span {
font-size:16px;
}

.lottery_choose_winner_div {
width:300px;
}

.lottery_choose_winner_bricket {
width:300px;
background:url('/images/pages/lottery/lottery_choose_winner_bricket_mobile.png');
}

.lottery_u_sum {
font-size:12px;
}

.lottery_u_percent {
font-size:12px;
}

.lottery_u_login {
font-size:12px;
}

.lottery_poop_button {
font-size:11px;
padding:0 6px !important;
border-radius:8px;
white-space:nowrap;
}

.lottery_u_card {
min-height:165px;
}

/* === lottery premium mobile frame === */
.lottery_spin_shell {
  padding-top: 12px;
}

.lottery_choose_winner {
  min-height: 194px;
}

.lottery_choose_winner_div {
  position: relative;
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.lottery_choose_winner_bricket {
  width: calc(100% - 24px);
  left: 12px;
  top: 12px;
  background: linear-gradient(135deg, rgba(255,246,210,.96) 0%, rgba(220,168,67,.95) 16%, rgba(116,70,15,.98) 36%, rgba(247,220,137,.97) 58%, rgba(116,70,15,.98) 80%, rgba(255,243,201,.95) 100%);
}

.lottery_choose_winner_window {
will-change:transform;
transform:translate3d(0,0,0);

  height: 120px;
  padding-top: 20px;
  white-space: nowrap;
  font-size: 0;
  line-height: 0;
}


.lottery_choose_winner{margin-left:auto !important; margin-right:auto !important; left:0 !important; right:0 !important;}
.lottery_choose_winner > .lottery_choose_winner_div{margin-left:auto !important; margin-right:auto !important; left:0 !important; right:0 !important;}
.lottery_choose_winner_window img.lottery_winner_glow{position:relative; z-index:6; border-color:rgba(255,247,196,.98) !important; box-shadow:0 0 0 2px rgba(255,235,170,.68), 0 0 16px rgba(255,220,118,.88), 0 0 34px rgba(255,194,71,.72), 0 8px 18px rgba(0,0,0,.42) !important; transform:translateY(-1px) scale(1.06); transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;}


/* === forced phone-style rendering for mobile mode on desktop === */
html {
  background:#141518 url('/images/bg.jpg') center top;
}

body.mobile-mode {
  width:100%;
  max-width:430px;
  margin:0 auto;
  min-height:100vh;
  overflow-x:hidden;
  box-sizing:border-box;
  position:relative;
}

body.mobile-mode .common,
body.mobile-mode .main_menu table,
body.mobile-mode .main_hero_shell,
body.mobile-mode .main_common_sub,
body.mobile-mode .main_hello table {
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

body.mobile-mode .main_menu {
  padding:12px !important;
}

body.mobile-mode .main_menu table,
body.mobile-mode .main_menu tbody,
body.mobile-mode .main_menu tr,
body.mobile-mode .main_menu td {
  display:block;
  width:100%;
}

body.mobile-mode .main_menu_logo {
  display:none !important;
}

body.mobile-mode .main_menu a {
  width:100%;
  min-height:58px;
  margin:0 0 10px 0 !important;
  padding:14px 16px !important;
  justify-content:center !important;
  text-align:center !important;
  box-sizing:border-box;
}

body.mobile-mode .main_hero_shell,
body.mobile-mode .main_landing_section {
  padding:16px;
  border-radius:14px;
}

body.mobile-mode .main_hero_grid,
body.mobile-mode .main_landing_cards,
body.mobile-mode .main_landing_steps_grid,
body.mobile-mode .main_landing_info {
  grid-template-columns:1fr;
}

body.mobile-mode .main_hero_content h1 {
  font-size:29px;
}

body.mobile-mode .main_hero_lead,
body.mobile-mode .main_landing_subtitle,
body.mobile-mode .main_landing_card_text,
body.mobile-mode .main_landing_step p,
body.mobile-mode .main_landing_notice,
body.mobile-mode .main_hero_panel_text {
  font-size:15px;
  line-height:1.6;
}

body.mobile-mode .main_landing_title {
  font-size:25px;
}

body.mobile-mode .main_hero_button {
  flex:1 1 100%;
}

body.mobile-mode .main_hero_points span,
body.mobile-mode .main_landing_tags span {
  width:100%;
  justify-content:center;
  text-align:center;
  box-sizing:border-box;
}

body.mobile-mode .main_hero_panel_list li {
  flex-direction:column;
}

body.mobile-mode .main_hero_panel_list b {
  text-align:left;
}

body.mobile-mode .main_stat_table,
body.mobile-mode .main_up_w_deps_table,
body.mobile-mode .main_reviews_table,
body.mobile-mode table {
  max-width:100%;
}

/* === desktop mobile-mode fixes: keep lottery controls inline and center game areas === */
body.mobile-mode .lottery_bet_td {
  height: auto !important;
}

body.mobile-mode .lottery_bet_div {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 12px 10px 16px !important;
}

body.mobile-mode .lottery_bet_sum_word,
body.mobile-mode .lottery_bet_sum_input,
body.mobile-mode .lottery_bet_button,
body.mobile-mode .lottery_poop_button {
  width: calc(25% - 6px) !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

body.mobile-mode .lottery_bet_sum_word,
body.mobile-mode .lottery_bet_button,
body.mobile-mode .lottery_poop_button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 42px !important;
  min-height: 42px !important;
  line-height: 1 !important;
  padding: 0 10px !important;
}

body.mobile-mode .lottery_bet_sum_input {
  height: 42px !important;
}


body.mobile-mode .lottery_poop_button {
flex-direction:column !important;
text-align:center !important;
line-height:1.05 !important;
font-size:13px !important;
padding:4px 6px !important;
}

body.mobile-mode .lottery_poop_button .lottery_poop_button_pick {
display:block !important;
font-size:11px !important;
line-height:1.05 !important;
white-space:normal !important;
}

body.mobile-mode .lottery_message_success {
font-size:11px !important;
line-height:1.15 !important;
padding:0 6px !important;
}

body.mobile-mode .lottery_poop_button[hidden],
body.mobile-mode .lottery_poop_button[style*="display:none"] {
  display: none !important;
}

body.mobile-mode .game_branch_common,
body.mobile-mode .game_bubbles_common {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

body.mobile-mode .game_branch_stat,
body.mobile-mode .game_branch_table,
body.mobile-mode .game_branch_tostart_table,
body.mobile-mode .game_branch_rates_table,
body.mobile-mode .game_branch_rate_div,
body.mobile-mode .game_bubbles_table,
body.mobile-mode .game_bubbles_tostart_table,
body.mobile-mode .game_bubbles_tostart_record_table,
body.mobile-mode .game_bubbles_rates_table,
body.mobile-mode .game_bubbles_rate_div,
body.mobile-mode .game_bubbles_tops_table,
body.mobile-mode .game_bubbles_tops_div {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  left: auto !important;
  right: auto !important;
  box-sizing: border-box !important;
}

body.mobile-mode .game_branch_stat,
body.mobile-mode .game_branch_table,
body.mobile-mode .game_branch_tostart_table,
body.mobile-mode .game_bubbles_table {
  background-size: 100% 100% !important;
  background-position: center top !important;
}

body.mobile-mode .game_branch_rates_table,
body.mobile-mode .game_branch_rate_div,
body.mobile-mode .game_bubbles_rates_table,
body.mobile-mode .game_bubbles_rate_div,
body.mobile-mode .game_bubbles_tops_table,
body.mobile-mode .game_bubbles_tops_div {
  overflow-x: hidden !important;
}

body.mobile-mode .game_bubbles_rates_table tbody,
body.mobile-mode .game_bubbles_rate_table,
body.mobile-mode .game_bubbles_tops_table tbody,
body.mobile-mode .game_bubbles_tops_table {
  left: 0 !important;
}


.lottery_spin_item {
display:inline-flex;
position:relative;
flex-direction:column;
align-items:center;
justify-content:flex-start;
width:80px;
height:80px;
margin:0;
vertical-align:top;
overflow:visible;
contain:layout paint style;
backface-visibility:hidden;
transform:translateZ(0);
}

.lottery_spin_item img {
width:80px;
height:80px;
vertical-align:top;
display:block;
backface-visibility:hidden;
transform:translateZ(0);
will-change:transform, box-shadow;
}

.lottery_spin_item_login {
position:absolute;
left:4px;
right:4px;
bottom:4px;
max-width:72px;
padding:2px 6px;
font-size:11px;
line-height:12px;
text-align:center;
color:#fff7da;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
text-shadow:0 1px 2px rgba(0,0,0,.9);
background:linear-gradient(180deg, rgba(8,13,28,.18), rgba(8,13,28,.86));
border:1px solid rgba(255,214,122,.38);
border-radius:10px;
box-sizing:border-box;
pointer-events:none;
z-index:8;
}

.lottery_spin_item.lottery_winner_glow img{position:relative; z-index:3; border-color:rgba(255,247,196,.98) !important; box-shadow:0 0 0 2px rgba(255,235,170,.62), 0 0 12px rgba(255,220,118,.72), 0 0 24px rgba(255,194,71,.56), 0 7px 16px rgba(0,0,0,.38) !important; transform:translateY(-1px) scale(1.05) translateZ(0); transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;}
.lottery_spin_item.lottery_pointer_hover img{position:relative; z-index:3; border-color:rgba(255,244,198,.96) !important; box-shadow:0 0 0 2px rgba(255,231,164,.52), 0 0 10px rgba(255,214,103,.56), 0 5px 14px rgba(0,0,0,.32) !important; transform:translateY(-1px) scale(1.035) translateZ(0);}
.lottery_spin_item.lottery_winner_glow .lottery_spin_item_login{z-index:9; border-color:rgba(255,236,170,.96); box-shadow:0 0 0 1px rgba(255,219,122,.42), 0 4px 14px rgba(0,0,0,.34); background:linear-gradient(180deg, rgba(18,26,48,.30), rgba(10,15,30,.94));}
.lottery_spin_item.lottery_pointer_hover .lottery_spin_item_login{z-index:9; border-color:rgba(255,228,154,.90); box-shadow:0 0 0 1px rgba(255,211,114,.36), 0 3px 12px rgba(0,0,0,.30); background:linear-gradient(180deg, rgba(18,26,48,.26), rgba(10,15,30,.90));}


.left_menu_bonus_ready {
position: relative;
color: #eefaff !important;
background: linear-gradient(90deg, rgba(28,44,73,0.98) 0%, rgba(34,85,120,0.98) 50%, rgba(28,44,73,0.98) 100%) !important;
background-size: 220% 220% !important;
box-shadow: inset 0 0 0 1px rgba(113,214,255,0.28), 0 0 14px rgba(49,165,255,0.14);
animation: left_menu_bonus_ready_wave 3.2s ease-in-out infinite;
}
.left_menu_bonus_ready:hover {
color: #ffffff !important;
box-shadow: inset 0 0 0 1px rgba(149,226,255,0.40), 0 0 18px rgba(74,183,255,0.20);
}
.left_menu_bonus_ready img {
background: rgba(17,28,46,0.92) !important;
}
@keyframes left_menu_bonus_ready_wave {
0% { background-position: 0% 50%; filter: brightness(1); }
50% { background-position: 100% 50%; filter: brightness(1.07); }
100% { background-position: 0% 50%; filter: brightness(1); }
}


body.mobile-mode .lottery_u_poop_target_button {
left:50%;
bottom:6px;
transform:translateX(-50%);
width:34px;
height:34px;
font-size:18px;
line-height:34px;
}

body.mobile-mode .lottery_poop_target_mode .lottery_u_card {
padding-bottom:46px;
}


/* === branch + kamikadze mobile centering hard-fix === */
body.mobile-mode .game_branch_board_shell {
  width: 100% !important;
  max-width: 360px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: hidden !important;
}

body.mobile-mode .game_branch_board_scale {
  transform-origin: top center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.mobile-mode #kamikadze_game_box,
body.mobile-mode #kamikadze_stage_wrap,
body.mobile-mode #kamikadze_wins_box {
  margin-left: auto !important;
  margin-right: auto !important;
}

body.mobile-mode #kamikadze_wins_box {
  max-width: 100% !important;
  overflow: hidden !important;
}

body.mobile-mode #kamikadze_wins_box table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
}

body.mobile-mode #kamikadze_wins_box td,
body.mobile-mode #kamikadze_wins_box th {
  overflow-wrap: anywhere !important;
}


/* === kamikadze last games mobile table card layout === */
body.mobile-mode #kamikadze_wins_box table,
body.mobile-mode #kamikadze_wins_box tbody,
body.mobile-mode #kamikadze_wins_box tr,
body.mobile-mode #kamikadze_wins_box td {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body.mobile-mode #kamikadze_wins_box table {
  border-collapse: separate !important;
}

body.mobile-mode #kamikadze_wins_box tr:first-child {
  display: none !important;
}


body.mobile-mode #kamikadze_wins_box thead,
body.mobile-mode #kamikadze_wins_box thead tr,
body.mobile-mode #kamikadze_wins_box thead th,
body.mobile-mode #kamikadze_wins_box tr:first-child th,
body.mobile-mode #kamikadze_wins_box tr:first-child td {
  display: none !important;
}

body.mobile-mode #kamikadze_wins_box tr {
  margin: 0 0 12px 0 !important;
  padding: 12px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 14px !important;
  background: rgba(8,18,44,.32) !important;
}

body.mobile-mode #kamikadze_wins_box tr:last-child {
  margin-bottom: 0 !important;
}

body.mobile-mode #kamikadze_wins_box td {
  border: 0 !important;
  padding: 8px 0 8px 112px !important;
  min-height: 36px !important;
  position: relative !important;
  text-align: left !important;
  overflow: visible !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  white-space: normal !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
}

body.mobile-mode #kamikadze_wins_box td::before {
  position: absolute !important;
  left: 0 !important;
  top: 8px !important;
  width: 98px !important;
  color: #90a0c0 !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  content: '' !important;
}

body.mobile-mode #kamikadze_wins_box td:nth-child(1)::before { content: 'Дата' !important; }
body.mobile-mode #kamikadze_wins_box td:nth-child(2)::before { content: 'Пользователь' !important; }
body.mobile-mode #kamikadze_wins_box td:nth-child(3)::before { content: 'Ставка' !important; }
body.mobile-mode #kamikadze_wins_box td:nth-child(4)::before { content: 'Результат' !important; }
body.mobile-mode #kamikadze_wins_box td:nth-child(5)::before { content: 'Сумма' !important; }
body.mobile-mode #kamikadze_wins_box td:nth-child(6)::before { content: 'Этап' !important; }

body.mobile-mode #kamikadze_wins_box td:nth-child(4) span {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  white-space: nowrap !important;
  max-width: 100% !important;
}


/* === promocode mobile compact table === */
body.mobile-mode .promocode_stat_table {
  table-layout: fixed !important;
}

body.mobile-mode .promocode_stat_table td {
  padding: 4px 3px !important;
  font-size: 11px !important;
  white-space: normal !important;
  word-break: break-word !important;
  box-sizing: border-box !important;
}

body.mobile-mode .promocode_stat_table tr:first-child td {
  font-size: 10px !important;
  line-height: 1.15 !important;
}

body.mobile-mode .promocode_stat_table .promocode_s_num {
  width: 30px !important;
  min-width: 30px !important;
}

body.mobile-mode .promocode_stat_table .stat_avatar {
  width: 36px !important;
  min-width: 36px !important;
  padding-right: 1px !important;
}

body.mobile-mode .promocode_stat_table .stat_avatar img {
  width: 28px !important;
  height: 28px !important;
  border-width: 1px !important;
  border-radius: 8px !important;
}


body.mobile-mode .bonus_gift_stat_table .stat_avatar {
  width: 42px !important;
  min-width: 42px !important;
  padding-right: 2px !important;
}

body.mobile-mode .bonus_gift_stat_table .stat_avatar img {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 auto !important;
}

body.mobile-mode .promocode_stat_table .promocode_s_login {
  min-width: 0 !important;
  overflow: hidden !important;
  padding-left: 1px !important;
}

body.mobile-mode .promocode_stat_table .promocode_s_login a,
body.mobile-mode .promocode_stat_table .promocode_s_login {
  font-size: 11px !important;
  line-height: 1.15 !important;
}

body.mobile-mode .promocode_stat_table .promocode_s_sum {
  width: 72px !important;
  min-width: 72px !important;
  text-align: right !important;
  padding-right: 6px !important;
}

body.mobile-mode .promocode_stat_table .promocode_s_sum span {
  display: inline-block !important;
  padding-left: 18px !important;
  background-size: 13px auto !important;
  background-position: left center !important;
}

body.mobile-mode .promocode_stat_table .promocode_s_date {
  width: 52px !important;
  min-width: 52px !important;
  text-align: center !important;
  line-height: 1.05 !important;
}

body.mobile-mode .promocode_stat_table .promocode_s_date_day,
body.mobile-mode .promocode_stat_table .promocode_s_date_time {
  display: block !important;
  white-space: nowrap !important;
}

body.mobile-mode .promocode_table {
  padding: 14px 10px !important;
}

body.mobile-mode .promocode_table td {
  padding: 0 !important;
}

body.mobile-mode .promocode_input input,
body.mobile-mode .promocode_button div {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.mobile-mode .promocode_button div {
  margin-top: 10px !important;
}

body.mobile-mode .promocode_stat_table .promocode_stat_head td {
  text-align:center !important;
  padding-left:3px !important;
  padding-right:3px !important;
}

body.mobile-mode .promocode_stat_table .promocode_head_user {
  text-align:left !important;
  padding-left:1px !important;
}

body.mobile-mode .promocode_stat_table .promocode_head_sum,
body.mobile-mode .promocode_stat_table .promocode_s_sum {
  width:72px !important;
  min-width:72px !important;
  text-align:right !important;
  padding-right:6px !important;
}

body.mobile-mode .promocode_stat_table .promocode_head_date,
body.mobile-mode .promocode_stat_table .promocode_s_date {
  width:52px !important;
  min-width:52px !important;
  text-align:center !important;
}


body.mobile-mode .cabinet_notice_popup {
position:sticky !important;
top:6px !important;
margin:0 0 12px 0 !important;
padding:10px 12px !important;
line-height:1.35 !important;
font-size:13px !important;
}


body.mobile-mode .header_message {
padding:8px !important;
box-sizing:border-box !important;
align-items:flex-start !important;
justify-content:center !important;
}

body.mobile-mode .header_message_common {
top:0 !important;
margin:10px auto 0 auto !important;
width:min(100%,320px) !important;
height:auto !important;
max-height:calc(100vh - 20px) !important;
}

body.mobile-mode .header_message table {
width:100% !important;
height:auto !important;
}

body.mobile-mode .header_message_text div {
height:auto !important;
max-height:calc(100vh - 120px) !important;
overflow:auto !important;
padding:8px 10px !important;
box-sizing:border-box !important;
}
