/* Responsive */
.ch_gamebar {
  box-sizing: border-box;
}

.ch_user_menu {
  box-sizing: border-box;
}

.ch_infobar .ch_user_block ul.ch_user_menu li.link a.fullwidth {
  box-sizing: border-box;
}

.ch_blog-comments {
  box-sizing: border-box;
}

nav[role="navigation"] {
  box-sizing: border-box;
}

footer {
  box-sizing: border-box;
}

span.badge {
  -moz-border-radius: 9px;
  -webkit-border-radius: 9px;
  border-radius: 9px;
  background-color: #999999;
  color: white;
  display: inline-block;
  font-size: 11px;
  font-weight: normal;
  line-height: 14px;
  margin-left: 2px;
  min-width: 10px;
  padding: 2px 4px;
  text-align: center;
  text-shadow: none;
  vertical-align: baseline;
  white-space: nowrap;
}
span.badge .caret-up {
  border-color: transparent transparent white transparent;
}
span.badge .caret-down {
  border-color: white transparent transparent transparent;
}

span.badge-holder {
  -moz-border-radius: 9px;
  -webkit-border-radius: 9px;
  border-radius: 9px;
  display: inline-block;
  margin-left: 2px;
  min-width: 10px;
  vertical-align: baseline;
  white-space: nowrap;
}
span.badge-holder .badge {
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  margin: 0 -4px 0 0;
  padding: 2px;
}
span.badge-holder .badge:first-of-type {
  -moz-border-radius: 9px 0 0 9px;
  -webkit-border-radius: 9px;
  border-radius: 9px 0 0 9px;
  padding-left: 3px;
}
span.badge-holder .badge:last-of-type {
  -moz-border-radius: 0 9px 9px 0;
  -webkit-border-radius: 0;
  border-radius: 0 9px 9px 0;
  margin-right: 0;
  padding-right: 5px;
}
span.badge-holder .badge .caret-up {
  border-color: transparent transparent white transparent;
}
span.badge-holder .badge .caret-down {
  border-color: white transparent transparent transparent;
}

/* Ссылки на юридические документы и cookie-баннер в подвале */
footer p.legal-links {
    float: right;
}
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
    max-width: 720px;
    margin: 0 auto;
    padding: 14px 18px;
    background: #fffdf3;
    border: 2px solid #ede2b8;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    font-size: 13px;
    line-height: 18px;
}
.cookie-banner[hidden] {
    display: none;
}
.cookie-banner p {
    float: none;
    margin: 0 0 10px;
}
.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Уведомления для игрока под навигацией: удаление аккаунта, подтверждение почты, подписка */
.site-notices {
    box-sizing: border-box;
    max-width: 960px;
    margin: 20px auto 0;
}
.site-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin: 0 0 10px;
    padding: 14px 20px;
    background: #fffbed;
    border: 1px solid #ffeca9;
    border-radius: 4px;
}
.site-notice-warning {
    background: #fff4f0;
    border-color: #f5c6b8;
}
.site-notice-text {
    flex: 1 1 360px;
    margin: 0;
    font-size: 14px;
    line-height: 20px;
}
.site-notice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.site-notice-actions .button {
    margin: 0;
    white-space: nowrap;
}
@media (max-width: 992px) {
    .site-notices {
        margin: 12px 16px 0;
    }
}
