:root {
    --content-p-r: 0;
}

@font-face {
    font-family: "AmaticSC";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/AmaticSC-Regular.ttf");
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

@font-face {
    font-family: "AmaticSC";
    font-style: normal;
    font-weight: 800;
    src: url("../fonts/AmaticSC-Bold.ttf");
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

@font-face {
    font-family: "Geometria";
    font-style: normal;
    font-weight: 400;
    src: local(""), url("../fonts/Geometria.woff2") format("woff2"), url("../fonts/Geometria.woff") format("woff");
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
    font-display: swap;
}

@font-face {
    font-family: "Geometria";
    font-style: normal;
    font-weight: 500;
    src: local(""), url("../fonts/Geometria-Medium.woff2") format("woff2"), url("../fonts/Geometria-Medium.woff") format("woff");
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
    font-display: swap;
}

@font-face {
    font-family: "Geometria";
    font-style: normal;
    font-weight: 700;
    src: local(""), url("../fonts/Geometria-Bold.woff2") format("woff2"), url("../fonts/Geometria-Bold.woff") format("woff");
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
    font-display: swap;
}

@font-face {
    font-family: "Geometria";
    font-style: normal;
    font-weight: 800;
    src: local(""), url("../fonts/Geometria-ExtraBold.woff2") format("woff2"), url("../fonts/Geometria-ExtraBold.woff") format("woff");
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
    font-display: swap;
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
    line-height: 1.15;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}

/* Sections
     ========================================================================== */

/**
   * Remove the margin in all browsers.
   */

body {
    margin: 0;
}

/**
   * Render the `main` element consistently in IE.
   */

main {
    display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */

/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */

hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/* Text-level semantics
     ========================================================================== */

/**
   * Remove the gray background on active links in IE 10.
   */

a {
    background-color: transparent;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */

abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
    /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */

b, strong {
    font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

code, kbd, samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */

small {
    font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
     ========================================================================== */

/**
   * Remove the border on images inside links in IE 10.
   */

img {
    border-style: none;
}

/* Forms
     ========================================================================== */

/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */

button, input, optgroup, select, textarea {
    font-family: inherit;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */

button, input {
    /* 1 */
    overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */

button, select {
    /* 1 */
    text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */

button, [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */

button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */

button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */

legend {
    box-sizing: border-box;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: normal;
    /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */

progress {
    vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */

textarea {
    overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */

[type="checkbox"], [type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */

[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */

[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/* Interactive
     ========================================================================== */

/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */

details {
    display: block;
}

/*
   * Add the correct display in all browsers.
   */

summary {
    display: list-item;
}

/* Misc
     ========================================================================== */

/**
   * Add the correct display in IE 10+.
   */

template {
    display: none;
}

/**
   * Add the correct display in IE 10.
   */

[hidden] {
    display: none;
}

* {
    box-sizing: border-box;
    outline-offset: 4px;
}

body, html {
    overflow-x: hidden;
}

body {
    font-family: "Geometria", sans-serif;
}

body.scroll-hidden {
    overflow-y: hidden;
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    padding: 0;
    margin: 0;
    list-style: none;
}

input:not([type="checkbox"]):not([type="radio"]), textarea, select, button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.js-focus-visible :focus:not(.focus-visible) {
    outline: none;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

main {
    flex: 1;
}

.container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding-right: 15px;
    padding-left: 15px;
}

.container--acc {
    max-width: 1246px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    -webkit-clip-path: inset(100%);
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.btn--clip {
    position: relative;
    display: flex;
    font-weight: 800;
    font-size: 23px;
    line-height: 30px;
    color: #181836;
    text-transform: uppercase;
    text-decoration: none;
    background: none;
    border: none;
    padding: 15px 30px;
    z-index: 2;
    transition: color 150ms ease-in-out;
}

.btn--clip::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    transform: skew(-10deg);
    box-shadow: 4px 5px 10px rgba(0, 0, 0, 0.25);
    z-index: -1;
    transition: background 150ms ease-in-out;
}
.btn--clip:disabled{
    opacity: 0.5;
}

.btn--clip:hover {
    color: #ffffff;
}

.btn--clip:hover::before {
    background-color: #ff0301;
}

.header {
    background-color: #ff0301;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 21px;
    padding-bottom: 21px;
}

.header__left {
    display: flex;
    flex-direction: column;
}

.header__text-wrap {
    width: min-content;
    background-color: #ffffff;
    margin-top: 15px;
    padding: 10px 5px;
}

.header__title {
    font-size: 25px;
    color: #000000;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
}

.header__logo {
    max-width: 315px;
    display: flex;
    align-items: center;
}

.header__list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: -webkit-max-content;
    grid-auto-columns: max-content;
    -moz-column-gap: 35px;
    column-gap: 35px;
    align-items: center;
}

.header__item {
    position: relative;
    font-weight: 500;
    font-size: 24px;
    line-height: 30px;
    color: #ffffff;
    text-transform: uppercase;
}

.header__link {
    color: #ffffff;
    text-decoration: none;
}

.header__btn {
    position: relative;
    display: flex;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.header__noti {
    position: absolute;
    top: -12px;
    right: -12px;
    font-family: 'Geometria';
    font-weight: 800;
    font-size: 18px;
    line-height: 23px;
    color: #ffffff;
}

.header__drop {
    position: absolute;
    display: none;
    flex-direction: column;
    
    max-width: 91vw;

    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;

    top: 40px;
    /* left: -32px; */
            left: -362px;

    font-size: 18px;
    line-height: 23px;
    color: #000000;
    text-transform: initial;
    background-color: #ffffff;
    box-shadow: 0px 4px 35px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    padding: 23px;
    padding-right: 24px;
    z-index: 5;
    
        /* max-width: 316px; */
    
    
   
}





/* @media screen and (max-width: 450px) {
    .header_drop {
        max-width: 200px;
    }
}
 */
.header__drop.active {
    display: flex;
   
}

.header__drop::after {
    display: none;
    position: absolute;
    content: '';
    top: -25px;
    /* left: 44px; */
           right: 6px;
    transform: translateX(-50%);
    border: 13px solid transparent;
    border-bottom: 18px solid #ffffff;
}

/*  @media screen and (max-width: 767px) {
   .header__drop::after {
       display: none;
   } */

.header__drop-date {
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: #AFAFAF;
}

.header__drop-caption {
    font-weight: 900;
    margin: 7px 0;
}

.header__drop-text {
    font-weight: 500;
    margin: 0;
}

@media screen and (max-width: 1023px) {
    .header__container {
        flex-direction: column;
    }
    .header__nav {
        margin-top: 20px;
    }
}

@media screen and (max-width: 767px) {
    .header__container {
        align-items: stretch;
    }
    .header__logo {
        max-width: 100%;
        padding: 0px 10px;
    }
    .header__text-wrap {
        margin: 15px auto 0;
    }
    .header__list {
        display: flex;
        /* flex-direction: column-reverse; */
        justify-content: space-between;
        
        position: relative;
        
           
        
        background-color: #ff0301;
        
        
        column-gap: 10px;

       padding: 0px 100vw 0px 10px;
        margin: 13px 0px 15px -17px;
    }
    .header__item {
        margin-bottom: 2px;
        
    }
    .header__item:first-of-type {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 425px) {
    .header__list {
        column-gap: 10px;
        position: relative;
        z-index: 1;
    }
    
    .header__link {
        font-size: 14px;
    }
}

@media screen and (max-width: 425px) {
    .header__drop  {
        left: -260px;
    }
    .header__drop::after{
            right: 56px;

    }
   
}






    
    

    
    
    .header__list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: -webkit-max-content;
    grid-auto-columns: max-content;
    -moz-column-gap: 35px;
    align-items: center;
}
}

@media screen and (max-width: 359px) {
    .header__drop {
        /* width: -webkit-min-content;
        width: -moz-min-content; */
        width: 366px; 
        /* left: -96px; */
    }
    
    .header__drop::after{
        right: 58px;

    }}
    
    @media screen and (max-width: 340px) {
    .header__drop {
        /* width: -webkit-min-content;
        width: -moz-min-content; */
        width: 300px; 
        /* left: -96px; */
    }
    
    .header__drop::after{
    right: 5px;


    }}


@media screen and (max-width: 359px) {
    .header__title {
        font-size: 23px;
    }
    .header__list {
        column-gap: 13px;
    }
    
    .header__link {
        font-size: 14px;
    }
}

.map__wrap {
    height: 100vh;
    background: linear-gradient(110deg, #1E1E38 74%, #F40B06 22.71%);
}

.map__wrap .container {
    padding: 50px 20px;
}

.map__item a {
    color: #ffffff;
}

.authorization__wrap {
    height: 100vh;
    background: linear-gradient(110deg, #1E1E38 74%, #F40B06 22.71%);
}

.authorization__wrap .container {
    position: relative;
    height: 100%;
    padding-top: 126px;
    padding-bottom: 39px;
}

.authorization__img-card {
    position: absolute;
    z-index: 0;
}

.authorization__img-card--1 {
    top: 10px;
    left: -83px;
}

.authorization__img-card--2 {
    top: 103px;
    left: 35%;
}

.authorization__img-card--3 {
    top: 557px;
    left: 36%;
}

.authorization__content {
    position: relative;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr minmax(auto, 791px);
    align-content: center;
    align-items: flex-end;
    z-index: 1;
}

.authorization__title {
    font-weight: 500;
    font-size: 48px;
    line-height: 60px;
    color: #ffffff;
    margin: 0;
    margin-bottom: 20px;
}

.authorization__form-wrap {
    max-width: 363px;
}

.authorization__form-item {
    display: none;
}

.authorization__form-item.active {
    display: block;
}

.authorization__form {
    position: relative;
    display: flex;
    flex-direction: column;
}

.authorization__label {
    display: flex;
}

.authorization__form--registration .authorization__label {
    margin-bottom: 20px;
}

.authorization__form--registration .authorization__label:last-of-type {
    margin-bottom: 0;
}

.authorization__input {
    width: 100%;
    font-weight: 500;
    font-size: 18px;
    line-height: 23px;
    color: #181836;
    background-color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 19px 20px 18px;
}



/*  .authorization__input:focus{
   border: 2px solid red;
} */

.authorization__input::-moz-placeholder {
    color: #cacaca;
}

.authorization__input:-ms-input-placeholder {
    color: #cacaca;
}

.authorization__input::placeholder {
    color: #cacaca;
}

.authorization__input.error {
    color: #d30000;
}

.authorization__btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    line-height: 23px;
    color: #ffffff;
    background-color: #ff0301;
    border: none;
    border-radius: 5px;
    padding-top: 18px;
    padding-bottom: 19px;
    margin-top: 25px;
    cursor: pointer;
}

.authorization__btn[data-submit="authorization"] {
    text-transform: uppercase;
}

.authorization__reset-btn {
    position: absolute;
    display: flex;
    right: -85px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.authorization__warn {
    font-weight: 500;
    line-height: 130%;
    color: #ffffff;
    margin-top: 30px;
}

.authorization__link {
    font-weight: 400;
    color: #ff0301;
}

.authorization__text {
    font-size: 16px;
    line-height: 20px;
    color: #b3b3b3;
}

.authorization__text a {
    color: inherit;
    text-decoration: none;
}

.authorization__code-wrap {
    margin-top: 30px;
    margin-bottom: 20px;
}

.authorization__code-wrap input[type='number'] {
    -moz-appearance: textfield;
}

.authorization__code-wrap input::-webkit-outer-spin-button, .authorization__code-wrap input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.authorization__code-label {
    width: 230px;
    display: flex;
    flex-direction: column;
}

.authorization__code-input {
    max-width: 100%;
    font-weight: 500;
    font-size: 40px;
    line-height: 50px;
    color: #ffffff;
    background: none;
    border: none;
    word-spacing: 26px;
    padding-left: 15px;
    outline: none;
}

.authorization__inputs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: -webkit-max-content;
    grid-auto-columns: max-content;
    -moz-column-gap: 10px;
    column-gap: 10px;
}

.authorization__num {
    width: 50px;
    border-bottom: 3px solid #ffffff;
}

.authorization__code-wrap.active+button[data-submit="get-code"] {
    display: none;
}

.authorization__code-wrap.active~button.authorization__btn[data-submit="authorization"] {
    display: flex;
    text-transform: uppercase;
    margin-top: 0;
}

.authorization__code-warn {
    display: inline-block;
    font-size: 18px;
    line-height: 23px;
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 10px;
}

.authorization__img-wrap {
    grid-column: 2 / -1;
    grid-row: 1 / span 2;
}

.authorization__logo {
    max-width: 644px;
}

.authorization__logo img {
    max-width: 100%;
    margin-bottom: 17px;
}

@media screen and (max-height: 1000px) {
    .authorization__wrap {
        height: auto;
    }
}
#game{
    height: 100%;
    width: 100%;
}
@media screen and (max-height: 500px) {
    #game {
        height: 100%;
        width: 80%;
    }
}

@media screen and (max-width: 1023px) {
    .authorization__wrap .container {
        padding-top: 30px;
    }
    .authorization__img-cards {
        display: none;
    }
    .authorization__content {
        grid-template-columns: 100%;
        justify-items: center;
    }
    .authorization__title {
        font-size: 36px;
        line-height: 130%;
    }
    .authorization__logo {
        order: 1;
    }
    .authorization__img-wrap {
        height: 320px;
        grid-column: auto;
        grid-row: auto;
        order: 2;
    }
    .authorization__img-wrap img {
        height: 100%;
        -o-object-fit: contain;
        object-fit: contain;
    }
    .authorization__form-wrap {
        max-width: 100%;
        order: 3;
    }
    .authorization__code-wrap {
        max-width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .authorization__title {
        font-size: 30px;
    }
}

.account {
    background-color: #181836;
}

.account__wrap {
    height: 100%;
    padding-top: 50px;
    margin-bottom: 26px;
    /* overflow-x: hidden; */
}

.account__container {
    display: grid;
    grid-template-columns: minmax(auto, 342px) 1fr;
    -moz-column-gap: 89px;
    column-gap: 89px;
}


.game_block {
    position: absolute;
    width: 890px;
/* height: 500px; */
}

@media screen and (max-width: 1350px) {
    .game_block {
        width: 100%;
    }
}

@media screen and (max-width: 1200px) {
    .game_block {
        position: static;
    }
    .master-wrap .rotate-screen {
        position: static;
    }
    .master-wrap .game-wrap {
        position: static;
    } 
}

.game_block.master-wrap_fixed {
    position: fixed;
    width: 100%;
}


.account__right {
    display: flex;
    flex-direction: column;
    min-width: 0;
      
        /* max-width: 92.5vw; */
}

@media screen and (max-width: 767px) {
    .account__right {
         width: 100vw;
         padding-right: 30px; 
    }}


.account__user-img {
    position: relative;
    display: block;
    width: 140px;
    height: 140px;
    z-index: 3;
    overflow: hidden;
    margin-bottom: 30px;
    cursor: pointer;
}

.account__user-img:hover .account__ava-hover {
    opacity: 1;
}

.account__ava-hover {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    font-weight: 500;
    font-size: 13px;
    color: white;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 150ms ease-in-out;
}

.account__user-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background-color: #ffffff;
    
    border: 3px solid #000;
    padding: 10px 10px;
}

.account__user-name {
    font-weight: 500;
    font-size: 32px;
    line-height: 120%;
    color: #ffffff;
}

@media screen and (max-width: 1199px) {
    .account__container {
        grid-template-columns: 1fr;
    }
    
    .account__user-info {
        display: flex;
        align-items: center;
    }
    .account__user-img {
        margin-bottom: 0;
        margin-right: 20px;
    }
}

@media screen and (max-width: 767px) {
    .account__wrap {
        padding-top: 0px;
        
    }
    .account__user-img {
        width: 70px;
        height: 70px;
    }
    .account__user-name {
        font-size: 18px;
    }
}

.tab-nav {
    margin-top: 40px;
}

.tab-nav__wrap {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 20px;
    margin-bottom: 62px;
    z-index: 0;
}

.tab-nav__wrap:last-child {
    margin-bottom: 0;
}

.tab-nav__item {
    position: relative;
    width: 100%;
    cursor: pointer;
    text-decoration: none;
}

.tab-nav__item input:checked+.tab-nav__caption {
    color: #ffffff;
    transition: color background 150ms ease-in-out;
}
.tab-nav__item input:checked+.tab-nav__caption::before {
    background-color: #ff0301;
    transition: background 150ms ease-in-out;
}
.tab-nav__item input:checked~.tab-nav__num {
    color: #ff0301;
    background-color: #ffffff;
}

.tab-nav__item.active .tab-nav__caption {
    color: #ffffff;
    transition: color background 150ms ease-in-out;
}
.tab-nav__item.active .tab-nav__caption::before {
    background-color: #ff0301;
    transition: background 150ms ease-in-out;
}
.tab-nav__item.active .tab-nav__num {
    color: #ff0301;
    background-color: #ffffff;
}

.tab-nav__item:hover .tab-nav__num {
    color: #ff0301;
    background-color: #ffffff;
}

.tab-nav__item--mb {
    margin-bottom: 50px;
}

.tab-nav__num {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -10px;
    right: -16px;
    min-width: 30px;
    min-height: 30px;
    font-weight: 800;
    font-size: 16px;
    line-height: 125%;
    color: #ffffff;
    background-color: #ff0301;
    border-radius: 50%;
    z-index: 2;
    transition: 150ms ease-in-out;
    transition-property: color, background;
    padding: 1px;
}

.tab-nav__num::before {
    content: '';
    padding-bottom: 100%;
}

.tab-nav__btn {
    white-space: nowrap;
}

@media screen and (max-width: 1199px) {
    .tab-nav {
        display: grid;
        grid-auto-flow: column;
        -moz-column-gap: 15px;
        column-gap: 15px;
        margin: 0 -20px;
        

    }
    .tab-nav__wrap {
        position: relative;
        grid-auto-flow: column;
        -moz-column-gap: 15px;
        column-gap: 15px;
        overflow-x: scroll;
        padding: 0 20px;
        padding-top: 36px;
        padding-bottom: 20px;
    }
    .tab-nav__wrap::after {
        content: '';
        padding-right: 15px;
    }
    .tab-nav__caption {
        white-space: nowrap;
    }
    .tab-nav__item--mb {
        margin-bottom: 0;
    }
}

.tab-content__cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    -moz-column-gap: 20px;
    column-gap: 20px;
    row-gap: 20px;
    margin-top: 50px;
}

.tab-content__card-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 112px;
    background-color: #ffffff;
    border-radius: 15px;
}

.tab-content__card-item svg {
    filter: grayscale(1) brightness(3.5) contrast(0.5);
}

.tab-content__card-item.active svg {
    filter: none;
}

.tab-content__play-block {
    max-width: 540px;
    position: relative;
    display: flex;
    align-items: center;
    top: 84px;
    left: 43%;
    transform: translateX(-50%);
    background-color: #ffffff;
    border-radius: 30px;
    padding: 20px 30px;
    padding-left: 40px;
}

.tab-content__play-block::before {
    position: absolute;
    content: '';
    width: 92px;
    height: 155px;
    bottom: -111px;
    left: 172px;
    background-image: url("../images/svg/tail.svg");
    background-repeat: no-repeat;
}

.tab-content__play-text {
    font-weight: 500;
    font-size: 45px;
    line-height: 130%;
    margin: 0;
    margin-right: 15px;
}

.tab-content__play-btn {
    display: inline-flex;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    font-weight: 500;
    font-size: 45px;
    line-height: 100%;
    color: #ffffff;
    padding: 4px 20px 11px;
    text-transform: initial;
}

.tab-content__play-btn::before {
    background-color: #ff0301;
}

.tab-content__img-wrap {
    position: absolute;
    bottom: 144px;
    z-index: 1;
}

.tab-content.tab-content__steps--first {
    width: 100%;
}

.tab-content.tab-content__steps--first::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 200px;
    bottom: 0;
    left: 0;
    background-color: #ff0301;
    background-image: url("../images/svg/back-cards.svg");
    background-repeat: no-repeat;
    background-position: center;
}

.tab-content__steps {
    display: none;
}

.tab-content__steps.active {
    display: block;
}

.tab-content[data-tab-block="tab1"] {
    align-self: flex-end;
}

.tab-content--first {
    padding-top: 160px;
}

.tab-content--support {
    padding-top: 40px;
}

.tab-content--wall {
    width: 100%;
    padding-top: 98px;
    padding-bottom: 50px;
}

@media screen and (max-width: 1199px) {
    .tab-content__cards {
        grid-template-columns: repeat(4, 1fr);
    }
    .tab-content__logo {
        margin-top: 40px;
    }
}

@media screen and (max-width: 1199px) {
    .tab-content--support {
        width: 100%;
        padding-top: 20px;
    }
    .tab-content--wall {
        padding-top: 20px;
    }
    .tab-content--first {
        width: 100%;
        padding-top: 20px;
    }
}

@media screen and (max-width: 767px) {
    .tab-content__cards {
        grid-template-columns: repeat(3, 1fr);
            max-width: 94vw;
        
    }
}

/* @media screen and (max-width: 400px) {
    .tab-content__cards {
        grid-template-columns: repeat(3, 1fr);
        max-width: 54%;
        gap: 10px;
    }
} */
/* 
@media screen and (max-width: 362px) {
    .tab-content__cards {
        max-width: 52%;
    }
}

@media screen and (max-width: 340px) {
    .tab-content__cards {
        max-width: 49%;
    }
}

@media screen and (max-width: 350px) {
    .tab-content__cards {
        max-width: 49%;
    }
} */
.inner-tab__wrap {
    margin-top: 160px;
}

.inner-tab__wrap:last-child {
    margin-top: 20px;
}

.inner-tab__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    -moz-column-gap: 20px;
    column-gap: 20px;
    margin-bottom: 20px;
}

.inner-tab__rules-nav {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    -moz-column-gap: 20px;
    column-gap: 20px;
}

.inner-tab__btn {
    display: grid;
    grid-template-columns: -webkit-max-content -webkit-max-content;
    grid-template-columns: max-content max-content;
    -moz-column-gap: 20px;
    column-gap: 20px;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border: 5px solid #ffffff;
    border-radius: 15px;
    padding: 20px 47px;
    cursor: pointer;
}

.inner-tab__btn.active {
    border: 5px solid #FF1819;
}

.inner-tab__rules-btn {
    background-color: #ffffff;
    border: 5px solid #ffffff;
    border-radius: 20px;
    padding: 30px 5px 15px;
    cursor: pointer;
}

.inner-tab__rules-btn.active {
    border: 5px solid #FF1819;
}

.inner-tab__btn-text {
    font-weight: 700;
    font-size: 20px;
    line-height: 25px;
}

.inner-tab__btn-num {
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
    color: #ff0301;
}

.inner-tab__rules-content {
    margin-top: 80px;
}

.inner-tab__rules-text {
    font-size: 20px;
    line-height: 25px;
    color: #ffffff;
    margin: 0;
}

.inner-tab__rules-link {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    color: #ffffff;
    margin-top: 40px;
}

.inner-tab__rules-link::before {
    background-color: #ff0301;
}

@media screen and (max-width: 767px) {
    .inner-tab__nav {
        grid-template-columns: 1fr;
        row-gap: 20px;
        /* max-width: 96vw; */
    }
    .inner-tab__rules-wrap {
        margin: 0 -15px;
    }
    .inner-tab__rules-nav {
        position: relative;
        -moz-column-gap: 10px;
        column-gap: 10px;
        overflow-x: scroll;
        padding: 0 15px 10px;
        /* max-width: 101vw; */
    }
    .inner-tab__rules-nav::after {
        content: '';
        padding-right: 15px;
    }
    .inner-tab__rules-content {
        margin-top: 40px;
    }
    /* .inner-tab__rules-btn {
        min-width: 124px;
        padding-top: 17px;
    } */
    .inner-tab__rules-btn {
        padding: 10px 5px;
    }
    .inner-tab__btn {
        padding: 19px 0 18px;
    }
    .inner-tab__btn-text {
        font-size: 16px;
        line-height: 20px;
    }
    .inner-tab__btn-num {
        font-size: 18px;
        line-height: 23px;
    }
}

.score-list {
    margin-top: 105px;
}

.score-list__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
    padding: 15px 0;
    padding-left: 40px;
    padding-right: 30px;
}

.score-list__item--game {
    padding: 40px 30px 10px;
}

.score-list__num {
    min-width: 60px;
    font-weight: 500;
    font-size: 36px;
    line-height: 45px;
    color: #ffffff;
}

.score-list__user-info {
    display: flex;
    align-items: center;
}

.score-list__ava {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 25px;
}

.score-list__user-name {
    min-width: 200px;
    font-weight: 500;
    font-size: 24px;
    line-height: 30px;
}

.score-list__score-info {
    display: flex;
    font-size: 20px;
    line-height: 125%;
}

.score-list__score-num {
    min-width: 100px;
    display: block;
    font-weight: 700;
    color: #ff0301;
    text-align: right;
    margin-left: 20px;
}

.score-list__game {
    display: flex;
    align-items: center;
}

.score-list__pic {
    width: 86px;
    margin-right: 30px;
}

.score-list__game-name {
    font-weight: 500;
    font-size: 24px;
    line-height: 30px;
}

@media screen and (max-width: 1199px) {
    .score-list {
        margin-top: 50px;
    }
}

@media screen and (max-width: 767px) {
    .score-list {
        margin-top: 20px;
    }
    .score-list__item:not(.score-list__item--game) {
        display: grid;
        grid-template-columns: -webkit-max-content 1fr;
        grid-template-columns: max-content 1fr;
        -moz-column-gap: 10px;
        column-gap: 10px;
        row-gap: 5px;
        align-items: center;
        padding: 20px 0;
    }
    .score-list__item--game {
        flex-direction: column;
        align-items: stretch;
        padding: 20px 0;
    }
    .score-list__num {
        grid-column: 1 / 2;
        grid-row: 1 / span 2;
        font-size: 26px;
    }
    .score-list__pic {
        margin-right: 20px;
    }
    .score-list__game {
        justify-content: space-between;
        margin-bottom: 10px;
    }
    .score-list__game-name {
        font-size: 16px;
        line-height: 125%;
    }
    .score-list__score-info {
        justify-content: space-between;
        font-size: 16px;
    }
    .score-list__ava {
        width: 35px;
        height: 35px;
    }
    .score-list__user-name {
        min-width: auto;
        font-size: 18px;
        line-height: 125%;
    }
}

.cards-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    -moz-column-gap: 25px;
    column-gap: 25px;
    row-gap: 25px;
}

.cards-list__item {
    background-color: #ffffff;
    border-radius: 15px;
}

.cards-list__link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 240px;
    text-decoration: none;
}

.cards-list__link:hover .cards-list__hover {
    display: flex;
}

.cards-list__caption {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 42px;
    font-size: 14px;
    line-height: 120%;
    color: #ffffff;
    padding: 5px 11px;
}

.cards-list__caption::before {
    background-color: #181836;
    transform: skew(10deg);
}
.cards-list__caption:hover::before {
    background-color: #181836;
    transform: skew(10deg);
}

.cards-list__img-wrap {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
}
.cards-list__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-item__img-wrap canvas {
    width: 100%;
    border-radius: 20px;
    background-color: #fff;
}

.cards-list__hover {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    font-weight: 800;
    font-size: 18px;
    line-height: 23px;
    color: #ffffff;
    text-transform: uppercase;
    background-color: #FF1819;
    border-radius: 15px;
    z-index: 2;
    padding: 20px 10px;
}
.cards-list__pick {
    margin-top: 50px;
}

@media screen and (max-width: 1280px) {
    .cards-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 1199px) {
    .cards-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .cards-list {
        grid-template-columns: 1fr 1fr;
        column-gap: 15px;
        row-gap: 15px;
    }
    .cards-list__caption.btn--clip {
        font-size: 10px;
        padding: 5px 13px;
    }
    .cards-list__link {
        height: auto;
    }
}

/*postcard item*/

.card-item {
    max-width: 884px;
}

.card-item__link {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 18px;
    line-height: 120%;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    margin-bottom: 40px;
    cursor: pointer;
}

.card-item__link svg {
    margin-right: 5px;
}

.card-item__wrap {
    display: grid;
    grid-template-columns: 269px 1fr;
    -moz-column-gap: 30px;
    column-gap: 30px;
}

.card-item__img-wrap img {
    border-radius: 15px;
}

.card-item__wrap--first {
    grid-template-columns: 1fr;
}

.card-item__wrap--first .tab-content__play-block {
    max-width: 468px;
    display: block;
    top: 0;
    left: initial;
    right: 0;
    transform: none;
    margin-left: auto;
    padding: 30px;
    padding-right: 19px;
    padding-bottom: 35px;
}
.card-item__wrap--first .tab-content__play-block::before {
    bottom: -95px;
    width: 135px;
    height: 156px;
    background-image: url('../images/svg/tail-2.svg');
}
.card-item__wrap--first .tab-content__play-block svg {
    display: inline-block;
    width: 58px;
    height: 58px;
    vertical-align: middle;
    margin-left: 20px;
}
.card-item__wrap--first .tab-content__play-text {
    display: inline;
    font-size: 30px;
    line-height: 50px;
}
.card-item__wrap--first .tab-content__play-btn {
    font-size: 30px;
}
.card-item__first-cont {
    display: block;
    position: relative;
}
.card-item__wrap .tab-content__img-wrap {
    position: static;
}

.card-item__text-wrap {
    font-size: 20px;
    line-height: 125%;
    color: #ffffff;
}

.card-item__caption {
    font-weight: 700;
}

.card-item__text {
    margin: 20px 0 40px;
}

.card-item__form {
    max-width: 484px;
    display: flex;
    flex-direction: column;
}

.tab-content--support {
    width: 100%;
}

.card-item__comment {
    min-height: 100px;
    max-height: 200px;
    border-radius: 15px;
    resize: vertical;
    padding: 20px;
    padding-right: 30px;
    margin-bottom: 10px;
}

.card-item__comment::-moz-placeholder {
    color: #CECECE;
}

.card-item__comment:-ms-input-placeholder {
    color: #CECECE;
}

.card-item__comment::placeholder {
    color: #CECECE;
}

.card-item__num {
    font-size: 16px;
    line-height: 120%;
    color: #CECECE;
}

.card-item__btn {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    color: #ffffff;
    align-self: flex-end;
    margin-top: 10px;
    cursor: pointer;
}

.card-item__btn::before {
    background-color: #ff0301;
}

.card-item__success {
    color: #ffffff;
    margin-top: 54px;
    margin-bottom: 20px;
}

.card-item__success .card-item__caption {
    font-size: 40px;
    line-height: 50px;
    line-height: 120%;
}

.card-item__success .card-item__btn {
    text-transform: initial;
    color: #181836;
    margin-top: 40px;
}

.card-item__success .card-item__btn::before {
    background-color: #ffffff;
}

@media screen and (max-width: 1360px) {
    .card-item__wrap {
        grid-template-columns: 250px 1fr;
    }
    .card-item__wrap--first {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 1199px) {
    .card-item__wrap {
        grid-template-columns: 250px 1fr;
        row-gap: 20px;
    }
    .card-item__wrap--first {
        grid-template-columns: 1fr;
    }
    .card-item__form {
        width: 100%;
    }
    .card-item__success .card-item__caption {
        font-size: 32px;
    }
}

@media screen and (max-width: 767px) {
    .card-item__wrap {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }
    .card-item__img-wrap img {
        max-height: 300px;
    }
    .card-item__btn {
        justify-content: center;
        width: 100%;
        font-size: 14px;
        padding: 10px 20px;
        align-self: stretch;
    }
    .card-item__success .card-item__caption {
        font-size: 28px;
    }
    .card-item__success .card-item__btn {
        font-size: 14px;
        padding: 10px 20px;
    }
    .card-item__wrap--first .tab-content__play-block::before {
        width: 118px;
        height: 115px;
        left: 5px;
        bottom: -90px;
        background-size: contain;
        transform: scaleX(-1);
    }
    .card-item__wrap--first .tab-content__play-block {
        padding: 20px;
        padding-bottom: 25px;
        margin-bottom: 20px;
    }
    .card-item__wrap--first .tab-content__play-text {
        font-size: 18px;
        line-height: 32px;
    }
    .card-item__wrap--first .tab-content__play-btn {
        font-size: 22px;
    }
}

@media screen and (max-width: 359px) {
    .card-item__wrap--first .tab-content__play-text {
        font-size: 16px;
        line-height: 28px;
        margin-right: 10px;
    }
    .card-item__wrap--first .tab-content__play-block svg {
        width: 40px;
        height: 40px;
        margin-left: 10px;
    }
}

.wall {
    position: relative;
}

.wall__list {
    display: grid;
    grid-template-columns: repeat(5, 133px);
    justify-content: center;
    -moz-column-gap: 15px;
    column-gap: 15px;
    row-gap: 15px;
}

.wall__item {
    position: relative;
    cursor: pointer;
}

.wall__item:hover .wall__hover {
    opacity: 1;
}

.wall__img {
    width: 100%;
    border-radius: 20px;
}

.wall__img.medium-zoom-image--opened {
    max-height: 680px;
    border-radius: 15px;
}

.wall__hover {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(image.png);
    border-radius: 10px;
    z-index: 2;
    opacity: 0;
    transition: opacity 150ms ease-in-out;
    pointer-events: none;
}

.wall .swiper-button-prev, .wall .swiper-button-next {
    top: 49%;
    width: 56px;
    height: 56px;
    color: #000000;
    background-color: #ffffff;
    border-radius: 50%;
    z-index: 2;
}

.wall .swiper-button-prev::after, .wall .swiper-button-next::after {
    font-weight: 600;
    font-size: 18px;
}

.wall .swiper-button-prev.swiper-button-disabled, .wall .swiper-button-next.swiper-button-disabled {
    opacity: 1;
}

.wall .swiper-button-prev {
    left: -30px;
}

.wall .swiper-button-next {
    right: -30px;
}

.wall .swiper-pagination {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    position: static;
    bottom: -30px;
    color: #CECECE;
    text-align: right;
    margin-left: 5px;
}

.wall .swiper-pag-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
    margin-top: 30px;
}

.wall .swiper-pag-wrap span {
    font-size: 16px;
    line-height: 20px;
    color: #CECECE;
}

.medium-zoom-overlay {
    z-index: 2;
}

.medium-zoom-image--opened {
    z-index: 5;
}

@media screen and (max-width: 1300px) {
    .wall .swiper-button-prev {
        left: -20px;
    }
    
    .wall .swiper-button-next {
        right: -20px;
    }

}

@media screen and (max-width: 1199px) {
    .wall__list {
        grid-template-columns: repeat(4, 1fr);
    }
    .wall .swiper-button-next {
        right: -10px;
    }
}

@media screen and (max-width: 767px) {
    .wall__list {
        grid-template-columns: repeat(3, 1fr);
    }
    .wall .swiper-button-next, .wall .swiper-button-prev {
        display: none;
    }
}

@media screen and (max-width: 400px) {
    .wall__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.popup {
    display: none;
}

.popup.active {
    display: block;
}

.popup-fade::before {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 15;
}

.popup-success {
    position: fixed;
    max-width: 800px;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #181836;
    border-radius: 20px;
    margin: auto;
    padding: 20px 30px;
    z-index: 20;
}

.popup-success__container {
    display: grid;
    grid-template-columns: minmax(auto, 293px) 1fr;
    -moz-column-gap: 50px;
    column-gap: 50px;
    align-items: center;
}

.popup-success__img-wrap img {
    width: 100%;
}

.popup-success__text-wrap {
    display: flex;
    flex-direction: column;
}

.popup-success__text {
    display: block;
    font-weight: 700;
    font-size: 36px;
    line-height: 125%;
    color: #ffffff;
    margin-bottom: 40px;
}

.popup-success__btn {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: #ffffff;
    background-color: #ff0301;
    border-radius: 10px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 50px 15px;
}

@media screen and (max-width: 1023px) {
    .popup-success {
        margin: auto 20px;
    }
}

@media screen and (max-width: 767px) {
    .popup-success {
        margin: auto 20px;
    }
    .popup-success__container {
        grid-template-columns: 1fr;
        justify-items: center;
        row-gap: 20px;
    }
    .popup-success__img-wrap {
        width: 160px;
    }
    .popup-success__text {
        font-size: 26px;
        text-align: center;
        margin-bottom: 30px;
    }
    .popup-success__btn {
        padding: 15px 20px;
    }
}

@media screen and (max-width: 767px) {
    .btn--clip {
        font-size: 18px;
        
    }
}

.account__supp-tab {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    column-gap: 21px;
}

.account__supp-btn {
    grid-template-columns: 1fr;
    font-weight: 700;
    font-size: 20px;
    line-height: 25px;
    text-align: center;
    text-decoration: none;
    color: #181836;
}

.account__right > .master-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.account__right > .master-wrap.master-wrap_fixed {
    position: fixed;
    align-items: center;
}


/* .master-wrap {
    margin-top: 120px;
} */
.tribune__plase {
    filter: saturate(1.6);
}
body, html {
    background-color: #181836 !important;
}
.pop-up {
    top: -2px !important;
    left: -2px !important;
    width: 102% !important;
    height: 102% !important;
}

@media screen and (max-width: 767px) {
    .account__supp-tab {
        grid-auto-flow: row;
        row-gap: 10px;
    }
}


.rotate-screen {
       /*  position: absolute; */
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }
    
    .rotate-screen p {
        font-style: normal;
        font-weight: 700;
        font-size: 24px;
        line-height: 100%;
        text-align: center;
        letter-spacing: -.015em;
        color: #fff;
        margin: 0 0 50px;
        width: 100%
    }
    
    .rotate-screen svg {
        display: block
    }
    
     .rotate-screen {
        display: none;
    }
    @media screen and (orientation: portrait) and (max-width: 500px) {
        .game_block {
            display: none;
        }
        .rotate-screen {
            display: flex;
        }
}

/* Правки - начало - */

.tanuki-message.pop-up__tanuki-message {
    width: 445px;
}

.tanuki-message.pop-up__tanuki-message .tanuki-message__message {
    font-size: 15px;
    padding: 30px 12px 5px;
}

/* Правки - конец - */

@media screen and (max-width: 767px) {
    .account__user-info {
       margin-top: -18px;
    }
}

@media screen and (max-width: 767px) {
    .btn-lc {
           margin-right: 279px;
               /* margin-right: 171px; */
    }
}


@media screen and (max-width: 450px) {
    .btn-lc {
           margin-right: 165px;

               /* margin-right: 171px; */
    }
}



@media screen and (max-width: 390px) {
    .btn-lc {
       margin-right: 186px;
    }}


  .header__btn::after{
      display: none;
           position: absolute;
            content: '';
            top: 15px;
            right: -14px;
            transform: translateX(-50%);
            border: 13px solid transparent;
            border-bottom: 18px solid #ffffff;
      }


         .header__btn{
             position: relative;
         }
        .header__btn::after {
       
        display: block;
        visibility: hidden;
        position: absolute;
        content: '';
        top: 15px;
        left: 11px;
        transform: translateX(-50%);
        border: 13px solid transparent;
        border-bottom: 18px solid #ffffff;
            z-index: 9;
        }
        
        .header__btn.active::after {
            visibility: visible;
        }
            
        
         
    .header__title-test{
        text-align: center;
    }
    .header__text-wrap {
    background-color: #ffffff;
    margin-top: 15px;
    
    padding: 10px 5px 20px 5px;
    }
    
    .header-mob{
        padding: 20px 0px 0px 0px;
         display: none;
    }
    
    @media (max-width: 767px) {
   .account__user-name {
    display: none;
  }
  
   @media (max-width: 767px) {
   .account__user-img {
    margin-right: 5px;
  }
  
   @media (max-width: 767px) {
   .tab-content__logo {
    display: none;
  }
  
    @media (max-width: 767px) {
   .tab-content__cards {
    margin-top: 0px;
  }
  
  
  
  .tab-content__logo {
    margin-top: 40px;
}
  
    @media screen and (max-width: 767px) {
    .header__noti {
       top: 0px;
    right: 9px;
    
    position: absolute;
    font-family: 'Geometria';
    font-weight: 800;
    font-size: 18px;
    line-height: 23px;
    color: #ff0301;
}}


  @media screen and (max-width: 399px) {
    .header__noti {
       top: 0px;
    right: 9px;
    
    position: absolute;
    font-family: 'Geometria';
    font-weight: 800;
    font-size: 18px;
    line-height: 23px;
    color: #ff0301;
}}


@media (max-width: 767px) {
   .header-running-string {
   height: 30px;
    min-width: 109%;
    object-fit: cover;
    animation: animPicture 6s linear infinite;
  }
  
  @keyframes animPicture{
  0%{
    margin-left: -90%;
  }
 
  50%{
     margin-left: 50%; 
  }

 
 
  100%{
     margin-left: 190%;
  }
  
}
  
  
  
    @media (max-width: 767px) {
       .header-mob {
       display: block;
      }}
  
  
    @media (max-width: 767px) {
       .header-desc {
    display: none;
  }}
  
    @media (max-width: 767px) {
       .tab-nav__wrap {
            padding-top: 10px;
  }}
  
 
  .my-test-wrap{
    width: auto;
        margin-top: 15px;
    background-color: #ffffff;
    padding: 10px 5px 0px 5px;
  }
  
  
    @media (max-width: 767px) {
       .header__text-wrap {
            margin-top: 0px;
  }}
  
 
