:root {
  --font-family: "Nunito Sans", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.hidden {
  display: none;
}

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

.error-text {
  color: red;
  display: block;
  line-height: 1.3;
  word-break: break-word;
}


html[lang="he"] .rating_profile .rating__caption.is-rtl .rating__caption_accent ,
html[lang="ar"] .rating_profile .rating__caption.is-rtl .rating__caption_accent {
  margin-inline-start: 8px;
  margin-inline-end: 0;
}

.rating_profile .rating__caption_accent {
  display: inline-block;
  margin-inline-start: 8px;
  direction: ltr;
  unicode-bidi: plaintext;
}

.debug-block {
  display: none;
}

a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  transition: .3s;
  color: #fff;
}

a:hover {
  color: #fff;
}

img {
  vertical-align: top;
  max-width: 100%;
}

p {
  margin-bottom: 0;
}

::-webkit-scrollbar {
    width: 5px;
    background: transparent;
}

::-webkit-scrollbar-thumb {
    width: 4px;
    background-color: #04101d;
    border-radius: 2px;
}

.btn {
  line-height: 48px;
  min-width: 220px;
  width: auto;
  letter-spacing: 1px;
  border: solid 1px #2e1a55;
  background-color: #2e1a55;
  color: #d8d8d8;
  display: block;
  text-transform: uppercase;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  border-radius: 100px;
  overflow: hidden;
  cursor: pointer;
  padding: 0 20px;
  transition: .5s;
}

.btn:hover {
  color: #fff;
}

.btn.parnter-btn {
  display: block;
  margin: 40px auto 20px;
  max-width: 400px;
  white-space: normal;
}

.btn.mini {
  min-width: 65px;
  display: inline-block;
  padding: 0 10px;
  background-color: #271447;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 400;
  line-height: 40px;
  border-radius: 20px;
  text-decoration: none;
  text-align: center;
  text-transform: capitalize;
}

.btn.yellow {
  border: solid 1px #f8e71c;
  background-color: #f8e71c;
  color: #382853;
}

.btn.green {
  border: solid 1px #45cb00;
  background-color: #45cb00;
}

.btn.green:hover {
  background-color: #369c01;
  border-color: #369c01;
}

.bg2 {
  padding: 20px 0;
  margin-bottom: 10px;
  background-color: #120725;
}

.white-bg {
  background-color: #fefeff;
  color: #270a36;
}

body {
  color: #fff;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  background-color: #190a31;
  box-sizing: border-box;
  padding-top: 110px;
  overflow-x: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

body.faq-page,
body.game-page {
  padding-top: 60px;
}

.modal_open body {
  overflow: hidden;
}

.modal_open .popup.reg.active,
.modal_open .popup.auth.active,
.modal_open .popup.remind.active {
  z-index: 60;
}

.modal_open .popup.reg.active {
  background: rgba(10, 14, 34, .79) !important;
}

/* Keep the login and registration backdrops visually identical. */
.modal_open .popup.auth.active,
.modal_open .popup.remind.active {
  background: rgba(10, 14, 34, .79) !important;
}

/* .popup already provides the backdrop; suppress the legacy second layer. */
html.modal_open::after {
  display: none !important;
}

header {
  background-image: linear-gradient(270deg, #421f87 0%, #7810af 100%);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
}

header .hide {
  display: none;
}

header .col-5:first-child {
  display: flex;
  align-items: stretch;
}

header .col-5:last-child {
  display: flex;
  align-items: center;
}

header .col-5:last-child .auth:not(.summ),
header .col-5:last-child .btn {
    min-height: 42px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    margin-left: 10px;
}

header .search {
  height: 60px;
  width: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}

header .search img,
header .home img {
  height: 17px;
  width: 17px;
}

header .search:hover,
header .home:hover {
  background-color: rgba(48, 17, 104, 0.35);
  cursor: pointer;
}

header .home {
  height: 60px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

header nav {
  display: flex;
}

header .logo img {
  max-height: 42px;
}

header .list {
  position: relative;
  cursor: pointer;
}

header .list .title {
  display: flex;
  align-items: center;
}

header .list .title img {
  margin-left: 10px;
  height: 7px;
}

header .list ul {
  display: none;
}

header .list ul.active {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  background: #3e187d;
  min-width: 260px;
  padding: 12px 0;
}

header .list li a {
  font-size: 14px;
  text-transform: none;
  padding: 0 10px;
  min-height: 40px;
  display: flex;
  align-items: center;
}

header .list li a:hover {
  background-color: rgba(111, 173, 214, .18);
}

header nav .link {
  display: flex;
  align-items: center;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 13px;
  padding: 0 10px;
}

header nav .link:hover {
  background-color: rgba(48, 17, 104, 0.35);
}

header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

header .download {
  height: 37px;
  border-radius: 21px;
  background: rgba(0, 0, 0, 0.2);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 20px;
  max-width: 171px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-left: auto;
}

header .download:hover {
  background: rgba(0, 0, 0, 0.4);
}

header .language {
  display: flex;
  align-items: center;
  padding: 0 10px;
  cursor: pointer;
  position: relative;
  height: 60px;
  margin-left: 20px;
}

header .language .lang-img {
  width: 25px;
  height: 25px;
  margin-right: 10px;
  border-radius: 50%;
}

header .language .arrow {
  height: 7px;
}

header .language .list {
  position: absolute;
  min-width: 75px;
  top: 100%;
  left: 0;
  background: #fff;
  display: none;
}

header .language .list.active {
  display: block;
}

header .language .list li {
  height: 40px;
  padding: 0 10px;
  color: #270a36;
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 14px;
}

header .language .list li:hover {
  background: rgba(218, 224, 238, 0.3);
}

header .auth:not(.summ) {
  line-height: 39px;
  padding: 0 6px;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
    background: #ef22af;
    border: 1px solid #ef22af;
    border-radius: 100px;
}

header .reg {
  line-height: 37px;
  padding: 0 20px;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 13px;
  border: 1px solid #45cb00;
  margin-left: 5px;
  background-color: #45cb00;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
}

header .reg:hover {
  background-color: #45cb00;
}

.sub-header {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: linear-gradient(to right, #0d1b2a, #13263f) !important;;
  
  z-index: 29;
}

.sub-header .swiper-wrapper {
  justify-content: space-between;
}

.sub-header .swiper-slide {
  width: auto;
}

.sub-header .swiper-slide a {
  display: flex;
  align-items: center;
  padding: 0 15px;
  line-height: 50px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
}

.sub-header .swiper-slide img {
  height: 20px;
  margin-right: 10px;
}

.sub-header .swiper-slide a:hover {
  background-color: #380a73;
}

.sub-header .swiper {
  width: calc(100% - 100px);
}

.sub-header .swiper-button-next.swiper-button-disabled,
.sub-header .swiper-button-prev.swiper-button-disabled {
  display: none;
}

.sub-header .swiper-button-prev:after,
.sub-header .swiper-button-next:after {
  content: none
}

.sub-header .swiper-button-next,
.sub-header .swiper-button-prev {
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
}

.sub-header .swiper-button-next {
  background-image: url(../img/arrow-right.svg);
}

.sub-header .swiper-button-prev {
  background-image: url(../img/arrow-left.svg);
}

.mobile-block-menu {
  display: none;
}

.banner {
  background-image: url(../img/banner.png);
  background-size: cover;
  text-align: center;
  padding: 15px 0;
}

.banner .text {
  margin: 5px 0 10px;
  font-size: 18px;
  font-weight: 500;
}

.banner .title {
  font-size: 38px;
  font-weight: 700;
  color: #f8e71c;
  line-height: 1.2;
  margin-bottom: 10px;
}

.banner .banner-btn {
  border: solid 1px #45cb00;
  background-color: #45cb00;
  line-height: 48px;
  min-width: 310px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  padding: 0 20px;
  border-radius: 100px;
  margin-bottom: 35px;
}

.banner .terms {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  max-width: 540px;
  margin: 0 auto;
}

.banner .terms a {
  text-decoration: underline;
  color: rgba(255, 255, 255, 0.5);
}

.banner .terms a:hover {
  text-decoration: none;
}

.nominations {
  margin-bottom: 20px;
}

.nominations .nominations-wrap {
  padding: 20px 15px;
  background-color: rgba(46, 26, 85, 0.3);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nominations .text,
.nominations .title {
  font-size: 18px;
  font-weight: 500;
}

.nominations .title {}

.nominations .text {
  color: #eedf2a;
}

.nominations .coin img {
  height: 42px;
  width: 42px;
}

.nominations .coin img+img {
  margin-left: 15px;
}

.nominations .row {
  align-items: center;
}

.nominations .medals {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-radius: 13px;
  background-color: #321159;
  padding: 5px;
}

.nominations .medals img {
  max-width: 50px;
  margin: 0 15px;
}

.nominations .medals img.var2 {
  max-width: 80px;
}

.banners-slider {
  margin-bottom: 20px;
}

.banners-slider .swiper-slide {
  position: relative;
}

.banners-slider .swiper-slide .slide-text {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 10px;
  font-size: 14px;
  font-weight: 500;
}

.banners-slider .swiper-slide .slide-text .title {
  color: #f8e71c;
  font-weight: 700;
  font-size: 17px;
  display: block;
}

.products {
  padding-bottom: 20px;
  margin-top: 30px;
}

.main-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.main-title .text {
  color: #f8e71c;
  font-size: 17px;
  font-weight: 500;
}

.products .product {
  cursor: pointer;
  margin-bottom: 20px;
}

.products .product .preview {
  position: relative;
  overflow: hidden;
}

.products .product .preview>img {
  transition: .3s;
  width: 100%;
  object-fit: cover;
}

.products .product .preview>picture {
  display: block;
  width: 100%;
  height: 100%;
}

.products .product .preview>picture>img {
  transition: .3s;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products .product:hover .preview>img {
  transform: scale(1.2);
}

.products .product:hover .preview>picture>img {
  transform: scale(1.2);
}

.products .product:hover .locked-game-slide {
    z-index: 1;
}

.products .product .status {
  display: flex;
  position: absolute;
  top: 5px;
  left: 5px;
}

.products .product .status-item {
  padding: 0 8px;
  font-size: 9px;
  color: #000;
  line-height: 15px;
  background-color: #7ed321;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 8px;
}

.products .product .status-item+.status-item {
  margin-left: 5px;
}

.products .product .status-item.hot {
  background-color: #ef23af;
  color: #fff;
}

.products .product .coin {
  display: flex;
  position: absolute;
  bottom: 5px;
  right: 5px;
}

.products .product .title {
  padding-top: 6px;
  color: #fff;
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: .3px;
}

.products .product .text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: .3px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
}

.products .product .demo a:hover {
  text-decoration: underline;
}

.products .product .demo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  background-color: rgba(29, 15, 52, 0.87);
  opacity: 0;
  z-index: -1;
  transition: all .3s;
}

.products .product .demo .star {
  position: absolute;
  top: 5px;
  right: 5px;
}

.products .product:hover .demo {
  opacity: 1;
  z-index: 4;
}

.products .product .demo img {
  margin-bottom: 12px;
  transition: .5s;
}

.products .product .demo img:hover {
  transform: scale(1.05);
}

.products .product .demo .btn {
  font-size: 10px;
  min-width: 50px;
  padding: 5px 10px;
  line-height: inherit;
  margin: 10px 0;
}

.show-more {
  display: flex;
  align-items: center;
  justify-content: center;
}

.jackpot-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 23px 0;
  margin-bottom: 20px;
  border: 1px solid #f8e71c;
  border-radius: 4px;
  background-image: url(../img/jackpot.svg);
  background-position: center;
  background-repeat: no-repeat;
}

.jackpot-block .title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 25px;
  text-transform: uppercase;
}

.jackpot-block .summ {
  color: #f8e71c;
  font-size: 76px;
  font-weight: 700;
  letter-spacing: 5px;
}

.providers .providers-arrows {
  display: flex;
  width: 90px;
  justify-content: space-between;
}

.providers .swiper-button-next,
.providers .swiper-button-prev {
  position: static;
  width: 40px;
  height: 40px;
  background-image: url(../img/arrow.svg);
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #271447;
  border-radius: 50%;
  margin-top: 0;
}

.providers {
  padding: 5px 0;
  margin-bottom: 20px;
}

.providers .swiper-button-next {
  transform: rotate(180deg)
}

.providers .swiper-button-next::after,
.providers .swiper-button-prev::after {
  content: none;
}

.providers .swiper-button-next::after,
.providers .swiper-button-prev::after {
  content: none;
}

.providers a {
  padding-top: 10px;
  border-radius: 4px;
  background-image: linear-gradient(180deg, #2e1553 0%, #251142 100%);
}

.providers a img {
  display: block;
  height: 30px;
  margin: 0 auto 20px;
}

.bottom-form {
  min-height: calc(100vh - 60px);
  background: linear-gradient(to top, rgba(0, 0, 0, 0), #190a31 99%), url(../img/bottom-form.png) center no-repeat;
  background-size: cover;
}

.form-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 60px);
  justify-content: center;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.form-block .title {
  text-align: center;
}

.form-block .title .text.lg {
  font-size: 38px;
  font-weight: 800;
  color: #f8e71c;
  line-height: 1.2;
  margin-bottom: 10px;
}

.form-block .title .text {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}

.form-block .title .text span {
  color: #f8e71c;
  font-weight: 700;
}

.form-block .title .text.sm {
  color: #f8e71c;
  font-weight: 700;
}

.form-block .title .sub-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  margin-bottom: 15px;
}

.form-block .title .sub-text span {
  color: #f8e71c;
  text-decoration: underline;
  cursor: pointer;
}

.form-block .title .sub-text span:hover {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.form-block .field-block {
  width: 100%;
  margin-bottom: 10px;
}

.form-block .field-block.hidden {
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}

.form-block .field-block.error {
  width: 100%;
  color: #ef23af;
}

.form-block .field-block.error .field {
  border-color: #ef23af;
  color: #ef23af;
}

.form-block .field-block .field {
  width: 100%;
  padding: 6px 18px;
  height: 50px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 400;
  box-shadow: none;
  outline: none;
  text-align: left;
  border: 1px solid transparent;
  background: #251146;
  color: rgba(255, 255, 255, 0.5);
  transition: border .2s ease;
}

.form-block .field-block .field:focus {
  border: 1px solid #f8e71c;
}

.form-block .field-block .error-text {
  margin-top: 5px;
  color: #ef23af;
  font-size: 14px;
  text-align: left;
  margin-left: 20px;
  display: none;
  line-height: 1.3;
  word-break: break-word;
}

.form-block .field-block .help-block,
.profile-details .help-block,
.profile-contacts .help-block {
  display: block;
  margin-top: 6px;
  margin-left: 20px;
  margin-right: 20px;
  line-height: 1.3;
  word-break: break-word;
}

.form-block .field-block.error .error-text {
  display: block;
}

.form-block .phone-field_with-prefix.error {
  padding-bottom: 0;
}

.form-block .check-block {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}

.form-block .checkbox-style {
  width: 19px;
  height: 19px;
  font-size: 9px;
  line-height: 16px;
  text-align: center;
  border: 1px solid #382853;
  border-radius: 2px;
  position: relative;
  margin-right: 15px;
  cursor: pointer;
}

.form-block .check-input input[type="checkbox"]:checked+.checkbox-style {
  background-image: url(../img/checkmark.svg);
  background-size: 18px;
  background-position: center;
}

.form-block .check-input input[type="checkbox"] {
  height: 0;
  width: 0;
  overflow: hidden;
  position: absolute;
}

.form-block .check-block a {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  text-decoration: underline;
}

.form-block .check-block a:hover {
  text-decoration: none;
}


.form-block .btn {
  width: 100%;
}

.form-block .reg-soc {
  line-height: 1;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .3px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  padding: 10px;
  margin-top: 5px;
}

.form-block a.reg-soc {
  text-decoration: underline;
}

.form-block a.reg-soc:hover {
  text-decoration: none;
}

.form-block a.reg-soc::after,
.form-block a.reg-soc::before {
  content: none;
}

.form-block .reg-soc::after,
.form-block .reg-soc::before {
  content: '';
  display: inline-block;
  margin: 0 10px;
  width: 48px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.2);
  vertical-align: middle;
}

.footer-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

footer.bg2 {
  padding-bottom: 0;
}

footer .language {
  display: flex;
  align-items: center;
  padding: 0 10px;
  cursor: pointer;
  position: relative;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  min-width: 185px;
  width: 100%;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 400;
}

footer .language .lang-img {
  width: 25px;
  height: 25px;
  margin-right: 10px;
}

footer .language .arrow {
  height: 7px;
  margin-left: auto;
}

footer .language .list {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background: #fff;
  display: none;
  border-radius: 4px;
}

footer .language .list.active {
  display: block;
}

footer .language .list li {
  height: 40px;
  padding: 0 10px;
  color: #270a36;
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 14px;
}

footer .language .list li:hover {
  background: rgba(218, 224, 238, 0.3);
}

footer nav {
  padding-bottom: 20px;
}

.footer-list li:first-child img {
  max-width: 70px;
}

.footer-list>li:nth-child(1) {
  margin-bottom: 25px;
  color: #f8e71c;
  font-size: 14px;
  line-height: 32px;
  font-weight: 700;
}

.footer-list>li a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: .5s;
  margin-bottom: 5px;
}

.footer-list>li a + a {
    margin-bottom: 0;
    margin-left: 10px;
}

.footer-list>li a:hover {
  color: #f8e71c;
}

.footer-list>li a img {
  height: 36px;
}

.footer-list>li a:hover img {
  opacity: .5;
}

.footer-list li {
  display: flex;
  justify-content: space-between;
}

.footer-links {
  padding: 40px 0;
}

.footer-links-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.footer-links-block a {
  margin: 10px 20px;
}

.footer-links-block img {
  height: 22px;
  opacity: 1;
  transition: .5s;
}

.footer-links-block a:hover img {
  opacity: .5;
}

.copyright {
  padding: 30px 0 15px;
}

.copyright .text {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.3)
}

.copyright img {
  width: 60px;
}

.copyright .text img+p {
  margin-left: 10px;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  display: none;
}

.popup.active {
  display: flex;
}

.popup::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  /* background-image: linear-gradient(180deg, #210459 0%, rgba(59, 0, 90, 0.85) 100%); */
  opacity: .9;
}

.popup-block {
  border: 1px solid #f8e71c;
  background-color: #4b2587;
  margin: 0 auto;
  position: relative;
  max-width: 420px;
  padding: 20px;
}

.popup.search {
  align-items: flex-start;
  overflow: auto;
  background: rgba(0, 0, 0, .5) !important;
  z-index: 100;
}

/* Defeat the broad legacy .auth button rule outside an active modal too. */
.popup.auth.active,
.popup.remind.active {
  background: rgba(10, 14, 34, .79) !important;
}

.popup.search::after {
  background-image: none;
}

.popup.search .popup-block {
  margin-top: 10vh;
  border: none;
  background-color: rgba(0, 0, 0, .0);
  max-width: 820px;
}

.popup.search .search-field {
  width: 100%;
  border: 1px solid #f8e71c;
  border-radius: 30px;
  font-size: 16px;
  line-height: 1.4;
  outline: none;
  overflow: hidden;
  position: relative;
}

.popup.search .search-field input {
  height: 50px;
  width: 100%;
  background-color: rgba(0, 0, 0, .0);
  background-image: url(../img/search-yellow.svg);
  background-repeat: no-repeat;
  background-position: center left 20px;
  background-size: 20px;
  padding: 0 60px;
  color: rgba(255, 255, 255, 0.45);
  outline: none;
}

.popup.search .search-field input:hover {
  color: #fff;
}

.popup.search .search-field .close {
  position: absolute;
  height: 20px;
  top: calc(50% - 10px);
  right: 20px;
  cursor: pointer;
  opacity: 1;
}

.popup.search .search-field .close:hover {
  opacity: .7;
}

.popup.search .error-text {
  margin-top: 25px;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: red;
}

.popup.search .error-text.hidden {
  display: none;
}

.popup.search ul {
  background-color: #190441;
  margin-top: 15px;
  padding: 22px 0;
  max-height: 70vh;
  overflow: auto;
}

.popup.search .preview-games {
  background-color: #0E182CF0;
  margin-top: 15px;
  padding: 22px 0;
}

.popup.search .preview-games.hide {
  display: none;
}

.popup.search ul.empty {
  padding: 0;
}

.popup.search li {
  display: flex;
  align-items: center;
  padding: 8px 20px;
  cursor: pointer;
}

.popup.search li .locked-game-slide {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    margin-left: auto;
    background: none;
}

.popup.search li .locked-game-slide svg {
    margin-bottom: 0;
    margin-left: 10px;
}

.popup.search li:hover {
  background-color: #130134;
}

.popup.search li img {
  margin-right: 15px;
  max-width: 90px;
  max-height: 90px;
}

.popup.search li .search-result-name .name {
  color: #f8e71c;
  font-size: 16px;
  font-weight: 700;
}

.popup.search li .search-result-name .provider {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
  text-transform: capitalize;
}

.popup.search li .search-result-btns {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.popup.search li .search-result-btns .play {
  border: solid 1px #00fdfc;
  color: #00fdfc;
  line-height: 33px;
  text-transform: uppercase;
  text-align: center;
  font-size: 13px;
  line-height: 35px;
  font-weight: 700;
  border-radius: 100px;
  cursor: pointer;
  padding: 0 20px;
  transition: .5s;
}

.popup.search li .search-result-btns .play:hover {
  border: solid 1px #00fdfc;
  color: #382853;
  background-color: #00fdfc;
}

.popup.search li .search-result-btns .demo {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 5px;
}

.popup.search li .search-result-btns .demo:hover {
  text-decoration: underline;
}

.reg .popup-block {
  max-width: 880px;
}

.auth .form-block {
  padding: 20px;
}

.popup .close {
  position: absolute;
  top: 0;
  right: -30px;
  opacity: .5;
  cursor: pointer;
}

html[lang="he"] .popup .close, html[lang="ar"] .popup .close {
  right: auto;
  left: -30px;
}

.reg .popup-block .bonuses-groop {
  display: flex;
  align-items: flex-start;
}

.reg .popup-block .bonuses-groop.mobile {
  display: none;
}

.reg .popup-block .bonus {
  width: 33.33%;
  position: relative;
}

.reg .popup-block .bonus img {
  width: 100%;
}

.reg .popup-block .bonus span {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  line-height: 15px;
  font-weight: 700;
  color: #9287a5;
  white-space: nowrap;
}

.reg .popup-block .l-col {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.reg .popup-block .l-col.mobile {
  display: none;
}

.reg .popup-block .r-col,
.reg .popup-block .l-col {
  padding: 20px 0;
}

.reg .popup-block .l-col .title {
  font-size: 34px;
  line-height: 42px;
  font-weight: 700;
  color: #f8e71c;
  text-align: center;
  letter-spacing: 0.6px;
  width: 100%;
}

.reg .popup-block .l-col .text {
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  margin-right: 3px;
}

.reg .popup-block .l-col .text span {
  font-size: 20px;
  line-height: 32px;
  font-weight: 700;
  color: #f8e71c;
}

.popup-block .form-block {
  min-height: auto;
}

.reg .popup-block .form-block .check-block a,
.reg .popup-block .form-block .check-block {
  color: #fff;
}

.reg .popup-block .form-block .checkbox-style {
  border: 1px solid #fff;
}

.providers-dropdown {
  position: relative;
}

.providers-title {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  height: 40px;
  padding: 0 10px;
}

.providers-title.active {
  background-color: #fff;
  border-radius: 4px 4px 0 0;
  color: #fff;
}

.providers-title img {
  margin-left: 20px;
}

.providers-dropdown .icon {
  width: 13px;
  height: 2px;
  background-color: #f8e71c;
  position: relative;
  border-radius: 3px;
  margin-right: 10px;
  margin-left: 5px;
}

.providers-dropdown .icon::after {
  content: '';
  position: absolute;
  top: -5px;
  right: 0;
  width: 18px;
  height: 2px;
  background-color: #f8e71c;
  border-radius: 3px;
}

.providers-dropdown .icon::before {
  content: '';
  position: absolute;
  top: 5px;
  right: 0;
  width: 8px;
  height: 2px;
  background-color: #f8e71c;
  border-radius: 3px;
}

.providers-dropdown .providers-title.active .icon {
  background-color: #382853;
}

.providers-dropdown .providers-title.active .icon::after {
  background-color: #382853;
}

.providers-dropdown .providers-title.active .icon::before {
  background-color: #382853;
}

.providers-dropdown .arrow {
  position: relative;
  height: 7px;
  width: 13px;
  margin-left: 10px;
}

.providers-dropdown .arrow::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  transform: rotate(40deg);
  background-color: #fff;
  width: 8px;
  height: 2px;
}

.providers-dropdown .arrow::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 2px;
  transform: rotate(-40deg);
  background-color: #fff;
  width: 8px;
  height: 2px;
}

.providers-title .remove-selected {
  width: 15px;
  height: 15px;
  fill: #fff;
  cursor: pointer;
  margin-left: 10px;
}

.providers-title.active.active .remove-selected {
  fill: #000;
}

.providers-dropdown .providers-title.active .arrow::before {
  background-color: #382853;
}

.providers-dropdown .providers-title.active .arrow::after {
  background-color: #382853;
}

.providers-dropdown-block {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 1;
}

.providers-dropdown-block.active {
  display: block;
  max-height: 700px;
  overflow: auto;
}

.providers-dropdown-block .check-text__summ {
  margin-left: auto;
}

.providers-dropdown .check-text__provider {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.providers-dropdown .check-text__provider img {
  max-height: 20px;
  max-width: 20px;
  margin-right: 5px;
  vertical-align: middle !important;
}

.providers-dropdown-block {
  background-color: #fff;
  padding: 10px 0;
  min-width: 320px;
  border-radius: 0 4px 4px 4px;
}

.providers-dropdown-block .check-text,
.providers-dropdown-block .provmain-text {
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 16px;
  line-height: 30px;
  color: #1d0f34;
  font-weight: 700;
  cursor: pointer;
}

.providers-dropdown-block .check-text.active {
  background-color: #45cb00;
}

.providers-dropdown-block .checkbox-style {
  width: 19px;
  height: 19px;
  font-size: 9px;
  line-height: 16px;
  text-align: center;
  border: 1px solid #c8cfdb;
  border-radius: 2px;
  position: relative;
  margin-right: 15px;
  cursor: pointer;
}

.providers-dropdown-block .check-input input[type="checkbox"]:checked+.checkbox-style {
  background-image: url(../img/checkmark-pink.svg);
  background-size: 18px;
  background-position: center;
}

.providers-dropdown-block .check-input input[type="checkbox"] {
  height: 0;
  width: 0;
  overflow: hidden;
  position: absolute;
}

.providers-add {
  margin-left: 20px;
  margin-right: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.provider-item {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.provider-item .remove-provider {
  height: 20px;
  width: 20px;
  background-color: #f8e71c;
  border-radius: 50px;
  margin-left: 10px;
  background-image: url(../img/close-dark.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 8px;
  cursor: pointer;
}

.top-pannel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  position: relative;
  margin: 20px 0;
  z-index: 3;
}

.top-pannel>span {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 3;
  background: #4a1d8d;
  padding: 10px 20px;
  border-radius: 50px;
}

.top-pannel a {
  display: flex;
  align-items: center;
}

.top-pannel .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
  margin-right: 10px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.top-pannel .name {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.top-pannel.hide>* {
  display: none;
}

.game-modal {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  border: none;
  background-color: #190a31;
  transition: padding .3s ease;
  margin: 0 auto;
  padding-top: 40.5%;
  width: 72%;
  z-index: 2;
}

.game-modal.full-screen,
.game-modal.full-sc {
  position: fixed;
  z-index: 29;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
}

.side-pannel .fullsc.block img {
  display: none;
}

.side-pannel .fullsc.block img.active {
  display: block;
}

.game-modal .game {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2d1552;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
  padding: 4px;
}

.game-modal.full-sc .game {
  padding: 0;
}

.game-modal.full-sc .side-pannel {
  right: 0;
}

.game-modal iframe {
  width: 100%;
  height: 100%;
}

.game-modal .game:not(:first-child) {
  display: none;
}

.game-modal.multi .game {
  display: flex;
}

.game-modal.multi .game:first-child {
  top: 0;
  left: 0;
  right: 50%;
  bottom: 50%;
  border-right: 1px solid rgba(255, 255, 255, .5);
}

.game-modal.multi iframe {
  height: calc(100% - 26px);
}

.game-modal.multi .game:nth-child(2) {
  top: 0;
  left: 50%;
  right: 0;
  bottom: 50%;

}

.game-modal.multi .game:nth-child(3) {
  top: 50%;
  left: 0;
  right: 50%;
  bottom: 0;
  border-right: 1px solid rgba(255, 255, 255, .5);
  border-top: 1px solid rgba(255, 255, 255, .5);

}

.game-modal.multi .game:nth-child(4) {
  top: 50%;
  left: 50%;
  right: 0;
  bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, .5);
}

.game-modal .game .search {
  display: flex;
  align-items: center;
  height: 35px;
  width: calc(100% - 100px);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  border-radius: 19px;
  border: 1px solid #fff;
  background-color: #190a31;
  overflow: hidden;
  margin: 10px 0;
}

.game-modal .game .search input {
  display: flex;
  align-items: center;
  height: 100%;
  width: calc(100% - 100px);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  outline: none;
  border: none;
  background-color: #190a31;
  background-image: url(../img/search.svg);
  background-repeat: no-repeat;
  background-size: 14px;
  background-position: left 10px center;
  width: calc(100% - 37px);
  padding-left: 40px;
}

.game-modal .game .search input::placeholder {
  color: #fff;
}

.game-modal .game .search .close {
  margin-left: auto;
  margin-right: 10px;
  width: 14px;
  opacity: .7;
  cursor: pointer;
  transition: .5s;
}

.game-modal .game .search .close:hover {
  opacity: 1;
}

.game-modal .modal-game-name {
  display: none;
}

.game-modal.multi .modal-game-name {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 0;
  height: 26px;
  overflow: hidden;
  background-color: #2d1552;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 4px 4px 0 0;
  padding: 0 10px;
}

.modal-game-name .close {
  margin-left: auto;
  cursor: pointer;
}

.side-pannel {
  position: absolute;
  top: 0;
  right: -37px;
}

.side-pannel .block {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 37px;
  height: 37px;
  margin-bottom: 2px;
  border-radius: 0 4px 4px 0;
  background-color: #4a1d8d;
  transition: background-color .3s ease, color .3s ease;
  font-weight: 400;
  cursor: pointer;
}

.side-pannel .block img {
  opacity: .7;
  width: 17px;
  height: 17px;
}

.side-pannel .screen {
  margin-top: 10px;
}

.side-pannel .block.active {
  background-color: #ef22af;
}

.side-pannel .block:hover {
  background-color: #ef22af;
}

.side-pannel .block.active img {
  opacity: 1;
}

.side-pannel .block:hover img {
  opacity: 1;
}

.side-pannel .browser-size img:not(.active) {
  display: none;
}

.button-scroll-top {
  position: fixed;
  z-index: 40;
  bottom: 100px;
  right: 60px;
  height: 60px;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8e71c;
  border-radius: 50%;
  cursor: pointer;
}

.game-page-width {
  max-width: 78%;
}

.summary__title {
  font-size: 18px;
}

.tab__head {
  background: #fff;
}

.payment__close {
  padding: 10px 10px 0 0;
  text-align: right;
}

.payment__close svg {
  cursor: pointer;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  padding: 18px 20px 0;
  box-sizing: border-box;
}

.mobile-menu__arrow {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  cursor: pointer;
}

.mobile-menu__arrow img {
  width: clamp(1.5rem, 7vw, 2rem);
  height: auto;
}

.mobile-menu__logo {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 67px;
  height: 25px;
  pointer-events: none;
}

.mobile-menu__logo img,
.mobile-menu__logo svg {
  display: block;
  width: 67px;
  height: 25px;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.deactivate-bonus {
  height: 49px;
  margin-top: 10px;
}

.main-title {
  font-size: 26px;
  font-weight: 700;
}

.faq-block {
  padding-bottom: 100px;
}

.faq-title {
  display: flex;
  align-items: center;
  padding: 15px;
  color: #270a36;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  box-shadow: 0 0 15px 0 rgb(227 233 242 / 60%);
  cursor: pointer;
}

.faq-section {
  max-height: 0px;
  overflow: hidden;
  margin-bottom: 10px;
  transition: .3s;
  padding: 0;
}

.faq-section.active {
  max-height: 2000px;
  overflow: hidden;
  margin-bottom: 10px;
  padding: 30px 0 20px;
}

.faq-title img:first-child {
  width: 17px;
  margin-right: 10px;
}

.faq-title img:last-child {
  width: 17px;
  margin-left: auto;
  transform: rotate(-180deg);
  height: 20px;
  transition: .3s;
}

.faq-title.active img:last-child {
  transform: rotate(-90deg);
}

.faq-item {
  border-top: 1px solid #e5e9f1;
  width: 100%;
  max-height: 50px;
  overflow: hidden;
  transition: .3s;
}

.faq-item.active {
  max-height: 420px;
}

.faq-item:last-child {
  border-bottom: 1px solid #e5e9f1;
}

.faq-item b {
  display: flex;
  align-items: center;
  padding: 15px;
  font-weight: 700;
  line-height: 20px;
  width: 100%;
  cursor: pointer;
}

.faq-item b::after {
  content: '+';
  margin-left: auto;
  font-weight: 400;
  font-size: 32px;
  color: #ef23af;
}

.faq-item.active b::after {
  content: '-';
  font-size: 50px;
  margin-right: 2px;
}

.faq-item p {
  line-height: 20px;
  font-weight: 400;
  padding: 0 50px 0 16px;
  margin-bottom: 15px;
}

.payments-block .tabs {
  margin: 20px 0;
  display: flex;
  align-items: center;
}

.payments-block .page-text {
  font-size: 14px;
}

.pay-tooltip {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pay-tooltip__number,
.pay-tooltip__input,
.pay-tooltip__system {
  display: flex;
  /* justify-content: space-between; */
}

.pay-tooltip__system label {
  text-transform: capitalize;
}

.payment-select {
  box-shadow: inset 1px 1px 2px 0 rgba(0, 0, 0, .3);
  padding: 9px 18px 8px 12px;
  width: 130px;
  border-radius: 2px;
  border: 1px solid #bababa;
  color: #968686;
  font-size: 16px;
  font-weight: 700;
}

.payments-block .tabs .tab {
  min-width: 110px;
  margin-right: 10px;
  background-color: transparent;
  border: 1px solid #f8e71c;
  border-radius: 25px;
  text-align: center;
  color: #270a36;
  font-weight: 700;
  font-size: 14px;
  padding: 10px;
  cursor: pointer;
}

.payments-block .tabs .tab.active {
  background-color: #f8e71c;
}

.payments-block .tab-conts .tab-cont {
  display: none;
}

.payments-block .tab-conts .tab-cont.active {
  display: block;
}

.payments-heading {
  display: flex;
  align-items: center;
  color: #b7c1d7;
  height: 50px;
}

.payments-heading .payments-col:nth-child(1) {
  justify-content: flex-start;
}

.payments-table {
  box-shadow: 0 0 15px rgb(227 233 242 / 60%);
  border-radius: 8px;
  margin-bottom: 30px;
}

.payments-row {
  display: flex;
  align-items: center;
  height: 55px;
}

.payments-row+.payments-row {
  border-top: solid 1px #f1f4fa;
}

.payments-col {
  font-size: 13px;
}

.payments-col:nth-child(1) {
  max-width: 190px;
  width: 14.39%;
  display: flex;
  align-items: center;
  justify-content: center;

}

.payments-col:nth-child(1) img {
  width: 65px;
}

.payments-col:nth-child(2) {
  max-width: 140px;
  width: 10.6%;
}

.payments-col:nth-child(3) {
  max-width: 370px;
  width: 28.03%;
}

.payments-col:nth-child(4) {
  max-width: 180px;
  width: 13.63%;
}

.payments-col:nth-child(5) {
  max-width: 280px;
  width: 21.21%;
}

.payments-col:nth-child(6) {
  width: 160px;
}

.payments-col:nth-child(6) .btn {
  min-width: 130px;
  max-width: 130px;
  height: 37px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin: 0 auto;
}

.popup2.popup_tabs {
  top: 10px;
  max-height: calc(100vh - 10px);
  overflow: auto;
}

.products .support-content {
  background-color: #190a31;
}

.products .support-content.user-support-block h1.page-title {
  color: #fff;
}

.products form#add-support-reply {
  background: linear-gradient(to right, #0d1b2a, #13263f);
}

.products .support-content .block-submit-btn-win {
  justify-content: flex-end;
}

.products .support-content.user-support-block form#add-support-reply textarea[name=message] {
  resize: none;
  border: 1px solid rgb(48, 94, 103);
}

.products .support-content .content-one-message {
  width: auto;
}

.products .support-content .one-message.User .content-one-message {
  width: auto;
}

.products .support-content .meta-one-message {
  justify-content: flex-start
}

.products .support-content .author-one-message {
  width: auto;
}

.products .support-content .info-one-message {
  width: auto;
  margin: 0 10px;
}

body .products {
  background: none;
}

body .white-bg {
  background: none;
  color: inherit;
}

body .faq-title {
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px solid #fff;
  color: inherit;
}

body .faq-item,
body .faq-item p {
  color: inherit !important;
}

body .payments-block {
  color: inherit;
}

body .payments-table {
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px solid #fff;
}

body .payments-block .tabs .tab {
  color: inherit;
}

body .payments-block .tabs .tab.active {
  color: #333;
}

.mobile-menu .user-toppanel__item {
  justify-content: flex-start;
  font-size: 15px;
}

.mobile-menu .auth {
  background: transparent !important;
  border: 0 !important;
  display: block;
  margin: 0;
  padding: 0;
  text-align: left;
  color: #fff;
}

  .mobile-menu .auth--profile {
  display: flex;
  align-items: center;
  gap: 4px;
  align-self: center;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    box-sizing: border-box;
  margin: 0;
  padding-top: 10px;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 700;
  color: #adc0c6;
}

  .mobile-menu .auth--profile .user-toppanel__item {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  padding: 0 0 0 .5px !important;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: #adc0c6 !important;
}

.mobile-menu .auth--profile .user-toppanel__item::before,
.mobile-menu .auth--profile .user-toppanel__item::after {
  display: none;
}

.mobile-menu .auth__icon {
  display: block;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  object-fit: contain;
}

.mobile-menu .auth--balance {
  align-self: center;
  width: fit-content;
  max-width: calc(100% - 40px);
  margin: 0;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: none;
}

.mobile-menu .auth__amount {
  color: #23c566;
  font-weight: 700;
}

/* Keep the LTR amount on the left side of the Hebrew balance label. */
.mobile-menu .auth--balance--rtl {
  direction: rtl;
  unicode-bidi: plaintext;
}

.mobile-menu .auth--balance--rtl .auth__amount {
  direction: ltr;
  unicode-bidi: isolate;
}

.mobile-menu .auth--balance-buffer .auth__amount {
  color: #36c7ef;
}

.wager-scale {
  margin: 0 10px;
}

.wager-scale__title {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.wager-scale__wrap {
  width: 100%;
  height: 6px;
  background-color: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.wager-scale__inner {
  height: 100%;
  background: #45cb00;
}

.wager-scale__percent {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.profile .wager-scale {
  margin: 0;
  display: flex;
  align-items: center;
  max-width: 400px;
  width: 100%;
  padding: 0 25px 10px;
}

.profile .wager-scale__title,
.profile .wager-scale__percent {
  color: inherit;
  font-size: 16px;
}

.profile .wager-scale__wrap {
  height: 8px;
  margin: 0 12px;
}

.mobile-menu .wager-scale {
  display: flex;
  align-items: center;
  width: 100%;
  margin-left: 0;
  padding: 0 15px;
  margin-bottom: 10px;
}

.mobile-menu .wager-scale__wrap {
  height: 8px;
  margin: 0 12px;
}

.load-more,
.load-more-category {
  margin: 15px auto 0;
  background-color: #ef22af;
}

.game-modal .game.open-one {
  display: none;
}

.game-modal .game.open-this,
.game-modal.multi .game.open-this {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  border: none;
}

.game-modal.full-sc .modal-game-name .open-fullsc {
  display: block;
}

.game-modal.multi .modal-game-name img {
  width: 17px;
  cursor: pointer;
}



/* JACKPOT CONFETTI */
#canvasConfetti {
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 199;
  pointer-events: none;
  opacity: 0;
  transform: scale(0);
  transition: opacity .3s, transform .3s;
}

#canvasConfetti.active {
  opacity: 1;
  transform: scale(1);
}

/* JACKPOT CONFETTI */

.popup2.jackpot-modal {
  transform: scale(0) translate(-50%, -49%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  width: 100%;
  max-width: 80%;
  text-transform: uppercase;
  font-weight: 700;
  background-color: #1e0b3f;
  box-shadow: none;
  font-size: 26px;
  overflow: hidden;
}

.popup2.jackpot-modal::after {
  content: '';
  position: absolute;
  top: 20px;
  bottom: 20px;
  right: 20px;
  left: 20px;
  border: 2px solid #f8e71c;
  pointer-events: none;
  z-index: 1;
}

.popup2.jackpot-modal::before {
  content: 'YOU WIN';
  position: absolute;
  z-index: -1;
  top: 20px;
  bottom: 20px;
  right: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5b20b2;
  opacity: .2;
  z-index: 0;
  pointer-events: none;
  font-size: 255px;
  line-height: 200px;
  font-weight: 900;
  animation-name: bg-animation;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
    text-align: center;
}

@keyframes bg-animation {
  0% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.2)
  }

  100% {
    transform: scale(1)
  }
}

.popup2.jackpot-modal.active {
  transform: scale(1) translate(-50%, -49%);
}

.jackpot-modal__summ {
  font-size: 128px;
  line-height: 145px;
  display: flex;
  align-items: flex-end;
  font-weight: 700;
  color: #f8e71c;
  position: relative;
  z-index: 2;
}

.jackpot-modal__value {
  margin-right: 10px;
}

.popup2.jackpot-modal .popup__close {
  background-color: #180932;
  box-shadow: none;
}

#canvasFireworks {
  position: absolute;
  opacity: .2;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
}

.popup2.cashback-modal {
  padding: 40px 20px;
  background: linear-gradient(270deg, #421f87 0%, #7810af 100%);
  display: flex;
  align-items: center;
}

.popup2.cashback-modal svg {
  width: 60px;
  height: 60px;
  margin-right: 15px;
}

.popup2.cashback-modal>span {
  position: relative;
  z-index: 4;
}

.popup2.cashback-modal::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 200px;
  top: 0;
  right: 0;
  background-image: url(../img/small-confetti.svg);
  background-size: cover;
  pointer-events: none;
  opacity: .7;
}

.popup2.cashback-modal .chasback-summ {
  margin-right: 5px;
}

.enter-pin {
  padding: 2px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}

.form-pin {
  display: flex;
  align-items: center;
}

.form-pin input {
  background-color: #141320;
}

.form-pin input:focus-vesible {
  outline: none;
  border: none;
}

.h-pin {
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
}

.send-pin {
  padding: 16px 20px;
  margin: 0 20px;
  border-radius: 4px;
}

.the-content h1 {
  margin: 20px 0;
}

.bonus-panel {
  overflow: hidden;
    padding: 10px 5px;
}

.bonus-panel__action {
  width: auto;
  padding-top: 20px;
}

.bonus-panel__action.activated {
  display: none;
}

.bonus-panel__action.activated.active {
  display: table-cell;
}

.bonus-panel__action.deactivated {
  display: none;
}

.bonus-popup {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgb(0, 0, 0, .8);
}

.bonus-popup.active {
  display: flex;
}

.bonus-popup__title {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
}

.bonus-popup__btns {
  margin-top: 12px;
  display: flex;
}

.bonus-popup__btns .btn+.btn {
  margin-left: 12px;
}

.bonus-panel__desc {
  display: flex;
  justify-content: space-between;
  height: calc(100% - 228px);
  gap: 20px;
}

#have_active_bonus.popup2 {
  position: fixed;
  z-index: 992;
  background: #202a39;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
}

.bonus-panel__informer {
  font-size: 16px;
  margin-bottom: 15px;
}

.bonus-panel__title {
  margin-top: 0;
}

.main-providers {
  padding: 0 !important;
  font-size: 20px !important;
}

.main-providers .providers-title {
  padding: 0 5px;
}

/* SUPPORT */

.support-content__block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 66vh;
  background: linear-gradient(to right, #0d1b2a, #13263f);
}

.form-add-support {
  margin-top: 50px;
}

.message-history {
  display: flex;
  flex-direction: column;
  max-height: 500px;
  overflow: auto;
  background: linear-gradient(to right, #0d1b2a, #13263f);
}

.one-message {
  display: flex;
  flex-direction: column;
  margin: 10px;
  padding: 10px;
  border-radius: 10px;
  background-color: linear-gradient(to right, #0d1b2a, #13263f);
  max-width: 300px;
  border: 1px solid #305E67;
}

.right-side-message {
  align-self: flex-end;
}

.left-side-message {
  align-self: flex-start;
}

.meta-one-message {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.author-one-message {
  display: flex;
  align-items: center;
}

.login-message {
  color: #fff;
  font-weight: bold;
}

.support-content .info-one-message {
  color: #fff;
  font-size: 12px;
}

.support-content .container-btn-more {
  display: none;
}

.text-one-message {
  color: #fff;
  font-weight: 500;
  text-align: justify;
}

.chat_textarea {
  font-size: 16px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(to right, #0d1b2a, #13263f);
  color: #fff;
  flex-grow: 1;
  border: none;
}

:focus-visible {
  outline: 0px;
}

.chat_textarea::placeholder {
  font-size: 16px;
  color: #fff;
}

.file_chat_left {
  height: 35px;
  max-width: 40px;
}

.file_chat_attachment {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  background: linear-gradient(to right, #0d1b2a, #13263f);
  border-radius: 20px;
}

.message_reply {
  margin-top: 30px;
}

.file_chat_attachment input {
  order: 0;
  margin-bottom: 0;
  box-shadow: none;
  pointer-events: none;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
}

.file_chat_attachment input:hover {
  box-shadow: none;
}

.file_chat_btn {
  font-size: 16px;
}
  
.file_chat_btn svg {
  display: none;
}

.file_chat_attachment input[type="file"]::file-selector-button {
  display: none;
}

.file_chat_attachment_icon {
  cursor: pointer;
  fill: #fff;
}

.file_chat_p {
  margin: 0 !important;
}

.popup2.jackpot-modal .popup__close svg {
  fill: white !important;
}

.bonuses-page {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
}

.bonuses-page .reg-btn {
  margin-left: 0;
}

.bonuses-page .bonus-panel__info {
  width: 100%;
}

.bonuses-page .bonus-panel__action {
  width: 100%;
  margin-left: 16px;
}

.alert-success {
  display: none;
}

.file_chat_btn {
  padding: 20px;
  border-radius: 20px;
}

/* SUPPORT */

.game-page-width+.container {
  margin-top: 35px !important;
}



/* HISTORY: see redesigned rules appended at end of file */


.another-win-jackpot {
  position: fixed;
  top: -60px;
  right: 0;
  width: 100%;
  background-color: #ef21af;
  padding: 20px 30px;
  transition: top .3s;
  z-index: 9;
  text-align: right;
}

.another-win-jackpot.active {
  top: 110px;
}

.another-win-jackpot span {
  font-weight: 700;
  font-size: 17px;
}

.another-win-jackpot br {
  display: none;
}

.game-page__footer {
  display: flex;
  align-items: center;
}

.game-page__footer .btn+.btn {
  margin-left: 15px;
}

.game-preview__btn-star.star.favorite.in_favorites svg {
  fill: #ffb319;
}

.payment__select_block__item label {
    margin-bottom: 10px;
}

.payment__select_block__item .payment__select {
    background-image: url(../img/svg/arrow-down-black1.svg);
    background-repeat: no-repeat;
    background-position: center right 15px;
}

.form-pin input:focus {
     border: 1px solid #ff6032;
}

.games-block {
    display: flex;
    flex-wrap: wrap;
}


@media only screen and (min-width: 1921px) {
  .game-page-width {
    max-width: 80%;
  }
}

@media only screen and (min-width: 3400px) {
  .game-page-width {
    max-width: 60%;
  }
}

@media only screen and (min-width: 1199px) {
  header .mobile {
    display: none;
  }
}

@media only screen and (max-width: 1199px) {
  header .desctop {
    display: none;
  }

  header .mobile {
    display: flex;
    align-items: center;
  }

  header .menu {
    width: 55px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  header .menu img {
    height: 30px;
  }

  header .auth:not(.summ) {
    margin-left: auto;
  }

  .button-scroll-top {
    bottom: 45px;
    right: 15px;
  }

  header .mobile .dep,
  header .mobile .reg {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 34px;
    padding: 0 10px;
    text-transform: uppercase;
    font-weight: 500 !important;
    font-size: 12px;
    border-radius: 100px;
    cursor: pointer;
    margin-left: 8px;
    white-space: nowrap;
    min-width: 0;
    flex: 0 1 auto;
  }

  header .mobile .dep {
    border: 1px solid rgba(111, 214, 157, .67) !important;
    background: linear-gradient(88.78deg, #25d366 -13.15%, #198d66 113.06%) !important;
  }

  header .mobile .reg {
    border: 1px solid #45cb00;
    background-color: #45cb00;
  }
  .mobile-block-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background-color: rgba(0, 0, 0, 0.7);
  }

  .mobile-block-menu.active {
    display: block;
  }

  .mobile-menu {
    background-color: #0e182cf0;
    width: min(320px, 100vw);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    max-height: 100vh;
    overflow: hidden;
  }

  .mobile-menu .buttons {
    width: 100%;
    padding: 14px 20px 6px;
    background: transparent;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .mobile-menu .buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 65%;
    min-width: 0;
    max-width: 100%;
    height: 40px;
    box-sizing: border-box;
    line-height: 1.1;
    padding-inline: clamp(.5rem, 4vw, 1.5rem);
    color: #fff !important;
    border: 1px solid rgba(111, 214, 157, .67);
    background: linear-gradient(88.78deg, #25d366 -13.15%, #198d66 113.06%);
    border-radius: 27px;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.03em;
    text-transform: uppercase;
  }

  .mobile-menu .buttons .btn.green {
    border: 1px solid rgba(111, 214, 157, .67) !important;
    background: linear-gradient(88.78deg, #25d366 -13.15%, #198d66 113.06%);
  }

  .mobile-menu .buttons .btn+.btn {
    margin-top: 0;
  }

  .mobile-menu__navigation {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .mobile-menu .link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    margin: 0;
    min-height: 33px;
    padding: .25rem 1rem;
    width: 100%;
    line-height: 1.2;
    border: 1px solid rgba(111, 173, 214, .35);
    border-radius: 1.25rem;
    background: linear-gradient(248.82deg, rgba(43, 95, 123, .28), rgba(21, 46, 65, .38));
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    font-family: var(--font-family);
    font-weight: 500 !important;
    letter-spacing: -.05em;
  }

  .mobile-menu .link:hover {
    border-color: #3a7581;
    background: linear-gradient(248.82deg, rgba(43, 95, 123, .4), rgba(21, 46, 65, .5));
  }

  .mobile-menu .link > img {
    display: none;
    width: 20px;
    margin-right: 15px;
  }

  .mobile-menu .link.list {
    flex-direction: column;
    padding: 0;
    margin-bottom: 20px;
  }

  .mobile-menu .link.list .title {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
  }

  .mobile-menu .link.list .title img {
    height: 20px;
  }

  .mobile-menu .link.list .title .arrow {
    margin-left: auto;
    margin-right: 0;
    height: 7px;
  }

  .mobile-menu .link.list ul {
    width: 100%;
    height: 0;
    overflow: hidden;
    margin: 0;
    background-color: rgba(25, 9, 49, 0.4);
  }

  .mobile-menu .link.list ul a {
    padding-left: 50px;
  }

  .mobile-menu .link.list ul.active {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .mobile-menu .download {
    line-height: 40px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-size: 13px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    width: 100%;
  }

  .mobile-menu .download:hover {
    background-color: #2e1a55;
  }

  .mobile-menu .download img {
    width: 20px;
    margin-right: 15px;
  }

  .mobile-menu .chat {
    line-height: 40px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-size: 13px;
    color: #00fdfc;
    text-transform: uppercase;
    font-weight: 700;
    width: 100%;
  }

  .mobile-menu .chat:hover {
    background-color: #2e1a55;
  }

  .mobile-menu .chat img {
    width: 20px;
    margin-right: 15px;
  }

  .mobile-menu .language {
    display: flex;
    align-items: center;
    padding: 0 16px;
    cursor: pointer;
    position: relative;
    min-height: 0;
    padding-block: .5rem;
    border: 1px solid rgba(111, 173, 214, .35);
    border-radius: 1.25rem;
    background: linear-gradient(248.82deg, rgba(43, 95, 123, .28), rgba(21, 46, 65, .38));
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin: 0;
  }

  .mobile-menu .language .lang-img {
    width: 22px;
    height: 22px;
    margin-right: 8px;
  }
  .mobile-menu .language .arrow {
    height: 7px;
    margin-left: auto;
    transform: rotate(-90deg);
  }

  .mobile-menu .language-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: inherit;
    bottom: 0;
    background-color: #0e182c;
      width: min(320px, 100vw);
      overflow: auto;
  }

  .mobile-menu .language-popup.active {
    display: flex;
  }

  .mobile-menu .language-popup ul {
    width: 100%;
  }

  .mobile-menu .language-popup li {
    display: flex;
    align-items: center;
    padding: 0 20px;
    line-height: 40px;
    cursor: pointer;
  }

  .mobile-menu .language-popup li a {
    width: 100%;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu .language-popup li {
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu .language-popup li.back {
    font-size: 14px;
    font-weight: 700;
    line-height: 40px;
    padding: 0 20px;
    color: #fff;
    cursor: pointer;
    line-height: 50px;
    background: linear-gradient(to right, #0d1b2a, #13263f);  
  }

  .mobile-menu .language-popup li:not(.back):hover {
    background-color: rgba(111, 173, 214, .18);
  }

  .mobile-menu .language-popup li img {
    margin-right: 15px;
    width: 23px;
    border-radius: 50%;
    margin-top: 8px;
  }

  .mobile-menu__spacer {
    flex: 1 1 auto;
    min-height: 0;
  }

  .mobile-menu__footer {
    width: 100%;
    padding: 0 20px 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .mobile-menu__support {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin: 0;
  }

  .mobile-menu__support a {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    background: transparent;
  }

  .mobile-menu__support img {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }

  @media only screen and (max-height: 700px) {
    .mobile-menu__top {
      padding-top: 12px;
    }

    .mobile-menu__logo {
      top: 12px;
    }

    .mobile-menu .buttons {
      padding-top: 8px;
    }

    .mobile-menu .buttons .btn {
      padding-block: .6rem;
    }

    .mobile-menu .auth--profile {
      padding-top: 4px;
    }

    .mobile-menu .auth--balance {
      margin: 0;
    }

    .mobile-menu .link {
      padding-block: .42rem;
    }
  }
}

@media only screen and (max-width: 991px) {

  .game-modal {
    width: 100%;
    padding-top: 56%;
  }


    .form-block {
      max-width: 100%;
    }
    
  .jackpot-modal__summ {
    font-size: 92px;
  }

  .nominations-wrap {
    flex-direction: column;
    text-align: center;
  }

  .nominations .coin {
    margin: 20px 0;
  }

  .nominations .medals {
    width: 100%;
    flex-wrap: wrap;
      padding: 10px 5px 5px;
  }

  .nominations .medals img {
      margin-bottom: 5px;
  }

  .footer-block {
    /* flex-wrap: wrap; */
    justify-content: space-around;
  }

  .footer-list {
    width: 40%;
  }

  .popup .close {
    top: 15px;
    right: 15px;
    width: 17px;
    height: 17px;
    padding: 0;
    z-index: 2;
  }

  html[lang="he"] .popup .close, html[lang="ar"] .popup .close {
    right: auto;
    left: 15px;
  }

  .popup-block {
    width: calc(100% - 30px);
  }

  .popup-block .form-block {
    padding: 15px 0;
  }

  .popup-block .form-block .check-block {
    font-size: 12px;
  }

  .reg .popup-block .r-col {
    padding: 20px 15px;
    overflow-y: auto;
    max-height: 80vh;
    justify-content: flex-start;
  }

  .reg .popup-block .l-col {
    display: none;
  }

  .reg .popup-block .l-col.mobile {
    display: flex;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }

  .reg .popup-block .l-col.mobile .text-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .reg .popup-block .l-col.mobile .text-block .block {
    text-align: left;
  }

  .reg .popup-block .l-col.mobile img {
    width: 40%;
  }

  .reg .popup-block .l-col.mobile .text {
    font-size: 18px;
  }

  .reg .popup-block .l-col.mobile .text span {
    font-size: 26px;
  }

  .reg .popup-block .l-col.mobile .title {
    font-size: 26px;
    line-height: 32px;
    margin-bottom: 15px;
  }

  .reg .popup-block .bonuses-groop.mobile {
    display: flex;
  }

  .reg .popup-block .bonuses-groop.mobile span {
    font-size: 8px;
    bottom: 0;
  }

  .faq-item {
    max-height: 70px;
  }

  .faq-item b {
    height: 70px;
    font-size: 14px;
  }
}

@media (max-width: 828px) {

  .sub-header .swiper-button-next.swiper-button-disabled,
  .sub-header .swiper-button-prev.swiper-button-disabled {
    display: block;
  }
}

@media only screen and (max-width: 767px) {

    .pay-tooltip__number,
    .pay-tooltip__input,
    .pay-tooltip__system {
        flex-wrap: wrap;
    }
    
    .pay-tooltip__input .input__inner {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }

  .another-win-jackpot br {
    display: block;
  }

  .chat_textarea {
    width: 40%;
  }

  .file_chat_left {
    margin-left: auto;
  }
  
  .file_chat_btn.btn.btn-success {
    font-size: 0;
    color: rgba(0,0,0,0);
    background: none;
    border: none;
    min-width: inherit;
    padding: 0;
    margin-right: 20px;
    line-height: normal;
    border-radius: 0;
  }
  
  .file_chat_btn svg {
    display: block;
    width: 30px;
    height: 30px;
    fill: #fff;
  }
  
  .file_chat_btn path {
    fill: #fff;
  }

  .bonus-panel__desc {
    flex-direction: column;
  }

  .bonus-popup__btns {
    flex-direction: column;
  }

  .bonus-popup__btns .btn+.btn {
    margin-left: 0;
    margin-top: 15px;
  }

  .bonus-panel__action {
    padding-right: 0;
  }

  .enter-pin {
    padding: 2px 15px;
  }

  .form-pin {
    flex-direction: column;
    width: 100%;
  }

  .form-pin input {
    width: 100%;
  }

  .reply-pin-block {
    width: 100%;
  }

  .send-pin {
    width: 100%;
    margin: 15px 0;
  }

  #canvasConfetti.active {
    opacity: 0;
  }

  .popup2.jackpot-modal.active {
    transform: scale(1) translate(0, 0);
    right: 0;
    bottom: 0;
    max-width: 100%;
    background-color: rgba(18, 7, 37, .6);
    padding: 30px;
    text-align: center;
  }

  .popup2.jackpot-modal .popup__close {
    background-color: #231143;
  }

  .popup2.jackpot-modal::before {
    opacity: .2;
    line-height: 197px;
  }

  .jackpot-modal__summ {
    font-size: 45px;
    line-height: 90px;
  }

  .profile-info__title {
    padding: 27px 74px 21px 25px;
    text-align: left;
  }

  .profile-info__action {
    top: 14px;
  }

  .profile-info__icon {
    top: 10px;
  }


  .rating__caption_value {
    display: inline-block;
    margin-inline-start: 6px;
    direction: ltr;
    unicode-bidi: plaintext;
  }

  html[lang="he"] .rating__caption.is-rtl .rating__caption_value ,
  html[lang="ar"] .rating__caption.is-rtl .rating__caption_value {
    margin-inline-start: 8px;
    margin-inline-end: 0;
  }

  .popup2.popup_tabs {
    max-height: 100%;
    height: 100%;
    top: 0;
  }

  .popup.search .container {
    max-width: 100%;
  }

  .popup.search .popup-block {
    margin-top: 0;
    padding: 0;
  }

  .popup.search .popup-block {
    width: 100%;
  }

  .popup.search .search-field {
    background: #0E182CF0;
    border: 0;
    border-radius: 0;
    padding: 0 65px 0 20px;
  }

  .popup.search .search-field input {
    border: none;
    padding: 0;
    background-image: none;
    height: 60px;
  }

  .popup.search ul {
    background-color: inherit;
    margin-top: 0;
  }

  .popup.search li img {
    max-width: 60px;
    max-height: 60px;
  }

  .payments-heading {
    display: none;
  }

  .mobile-payments {
    max-width: 100%;
  }

  .payments-table {
    box-shadow: none;

  }

  .payments-row {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    box-shadow: 0 0 15px rgb(227 233 242 / 60%);
    border-radius: 8px;
    margin-bottom: 30px;
  }

  .payments-row+.payments-row {
    border-top: none;
  }

  .payments-col:nth-child(1),
  .payments-col:nth-child(2),
  .payments-col:nth-child(3),
  .payments-col:nth-child(4),
  .payments-col:nth-child(5),
  .payments-col:nth-child(6) {
    max-width: 100%;
    width: 100%;
  }

  .payments-col {
    text-align: right;
    height: 41px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 15px;
  }

  .payments-col+.payments-col {
    border-top: solid 1px #f1f4fa;
  }

  .payments-col:nth-child(1) {
    justify-content: flex-end;
    height: 56px;
  }

  .payments-col:nth-child(1)::before,
  .payments-col:nth-child(3)::before,
  .payments-col:nth-child(4)::before,
  .payments-col:nth-child(5)::before {
    content: attr(data-title);
    margin-right: auto;
    color: #91a0b8;
    width: 45%;
    font-weight: 700;
    text-align: left;
  }

  .payments-col:nth-child(2) {
    display: none;
  }

  .payments-col:nth-child(3) {}

  .payments-col:nth-child(4) {}

  .payments-col:nth-child(5) {}

  .payments-col:nth-child(6) {
    height: 86px;
    display: flex;
    -ms-align-items: center;
    align-items: center;
  }

  .payments-col:nth-child(6) .btn {}
}

@media only screen and (max-width: 660px) {
  .statstable tbody {
    display: flex;
    justify-content: center;
  }

  .statstable tbody tr {
    flex-direction: column;
    align-items: flex-start;
  }

  .statstable th+th {
    border-left: none;
    font-size: 12px;
  }

  .statstable th {
    font-size: 12px;
  }

  .statstable td {
    flex: none;
    font-size: 12px;
  }
}

@media only screen and (max-width: 575px) {
    .jackpot-modal__summ {
        font-size: 60px;
        line-height: 65px;
        display: inline-block;
    }
    .popup2.jackpot-modal {
        padding: 0px 30px;
        text-align: center;
    }
    .payitem {
        width: calc((100% / 2) - 8px);
    }
    
  .jackpot-block .summ {
    font-size: 40px;
  }

  .footer-list {
    width: 100%;
  }

  .footer-list li {
    justify-content: flex-start;
  }

  .footer-list>li:nth-child(1) {
    line-height: 48px;
    position: relative;
  }

  .footer-list:not(:first-child):not(:last-child)>li:nth-child(1)::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 26px;
    font-weight: 300;
  }

  .footer-list:not(:first-child):not(:last-child).active>li:nth-child(1)::after {
    content: '-';
    font-size: 48px;
  }

  .footer-list:not(:first-child):not(:last-child) {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    max-height: 48px;
    overflow: hidden;
    padding: 0 10px;
    margin-bottom: 0;
    transition: .5s;
  }

  .footer-list:not(:first-child):not(:last-child).active {
    max-height: 350px;
  }

  .footer-list>li a img {
    margin-right: 30px;
  }

  .providers-block {
    flex-direction: column;
    -ms-align-items: flex-start;
    align-items: flex-start;
  }

  .providers-add {
    padding-top: 20px;
  }

  .side-pannel {
    display: none;
  }

  .game-modal {
    padding-top: 56%;
    height: auto;
  }

  .chat_textarea::placeholder {
    font-size: 12px;
  }

  .file_chat_btn {
    padding: 27px 8px;
    font-size: 13px;
  }
}

@media screen and (max-width: 510px) {
  .chat_textarea {
    width: 40%;
  }

  .file_chat_attachment_icon {
    width: 24px;
  }
}

@media (max-width: 480px) {
  header .mobile .auth.summ {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    margin-left: 6px;
    min-width: 0;
    max-width: 84px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    line-height: 30px;
    flex: 0 1 auto;
  }

  header .mobile .dep,
  header .mobile .reg {
    padding: 0 8px;
    margin-left: 6px;
    font-size: 11px;
    line-height: 30px;
  }

    header a.logo img,
    header .logo img,
    a.logo img {
        height: 30px !important;
        max-height: 30px !important;
        width: auto !important;
        max-width: 140px !important;
    }
}


/* remake */

.banner-remake {
  padding: 0 12%;
}

@media (max-width: 480px) {
  .banner-remake {
    padding: 0;
  }
}


.popup__advice.js-phone-confirmation-resend-wrap {
  width: 100%;
}
    
.phone-field_with-prefix .phone-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 6px 18px;
  border-radius: 25px;
  border: 1px solid transparent;
  background: #fff;
  transition: border .2s ease;
}

.phone-field_with-prefix .phone-prefix {
  flex: 0 0 auto;
  color: #8f96a3;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.form-block .phone-field_with-prefix .field.phone {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  padding: 0;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.phone-field_with-prefix .phone-example {
  display: none;
  margin-top: 6px;
  margin-inline-start: 20px;
  color: #ef23af;
  font-size: 12px;
  line-height: 1.3;
  text-align: start;
}

.phone-field_with-prefix .error-text {
  display: none;
  margin-top: 8px;
  margin-inline-start: 20px;
  margin-inline-end: 20px;
  color: #ef23af;
  font-size: 12px;
  line-height: 1.3;
  text-align: start;
  word-break: break-word;
}

.form-block .field-block.error .phone-example,
.form-block .field-block.error .phone-field_with-prefix .error-text,
.form-block .phone-field_with-prefix.error .error-text {
  display: block;
}

.form-block .phone-field_with-prefix.error .phone-input-wrap {
  border-color: #ef23af;
}

.phone-field_with-prefix .phone-input-wrap:focus-within {
  border-color: #f8e71c;
}

@media only screen and (max-width:767px) {
  .phone-field_with-prefix .phone-input-wrap {
    gap: 8px;
    padding: 6px 14px;
  }

  .phone-field_with-prefix .phone-prefix {
    font-size: 16px;
  }
}

/* Hebrew-only cashier RTL fixes (test/staging) */
html[lang="he"] #cabinet-modal .tab__close ,
html[lang="ar"] #cabinet-modal .tab__close {
  left: 26px;
  right: auto;
}

html[lang="he"] #cabinet-modal #payment-tab .payment__row-inner,
html[lang="ar"] #cabinet-modal #payment-tab .payment__row-inner,
html[lang="he"] #cabinet-modal #withdraw-tab .payment__row-inner ,
html[lang="ar"] #cabinet-modal #withdraw-tab .payment__row-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  text-align: right;
}

html[lang="he"] #cabinet-modal #payment-tab .payment__item,
html[lang="ar"] #cabinet-modal #payment-tab .payment__item,
html[lang="he"] #cabinet-modal #withdraw-tab .payment__item ,
html[lang="ar"] #cabinet-modal #withdraw-tab .payment__item {
  margin: 8px 0 8px 15px;
}

html[lang="he"] #cabinet-modal #payment-tab .payment__tooltip,
html[lang="ar"] #cabinet-modal #payment-tab .payment__tooltip,
html[lang="he"] #cabinet-modal #withdraw-tab .payment__tooltip ,
html[lang="ar"] #cabinet-modal #withdraw-tab .payment__tooltip {
  margin: 4px 0 30px auto;
}

html[lang="he"] #cabinet-modal #payment-tab .payment__tooltip_inner,
html[lang="ar"] #cabinet-modal #payment-tab .payment__tooltip_inner,
html[lang="he"] #cabinet-modal #withdraw-tab .payment__tooltip_inner,
html[lang="ar"] #cabinet-modal #withdraw-tab .payment__tooltip_inner,
html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip,
html[lang="ar"] #cabinet-modal #payment-tab .pay-tooltip,
html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip ,
html[lang="ar"] #cabinet-modal #withdraw-tab .pay-tooltip {
  direction: rtl;
  text-align: right;
}

html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip:after,
html[lang="ar"] #cabinet-modal #payment-tab .pay-tooltip:after,
html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip:after,
html[lang="ar"] #cabinet-modal #withdraw-tab .pay-tooltip:after,
html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip.left:after,
html[lang="ar"] #cabinet-modal #payment-tab .pay-tooltip.left:after,
html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip.right:after,
html[lang="ar"] #cabinet-modal #payment-tab .pay-tooltip.right:after,
html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip.left:after,
html[lang="ar"] #cabinet-modal #withdraw-tab .pay-tooltip.left:after,
html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip.right:after ,
html[lang="ar"] #cabinet-modal #withdraw-tab .pay-tooltip.right:after {
  left: 84%;
  right: auto;
  margin-left: -24px;
}

html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip__number,
html[lang="ar"] #cabinet-modal #payment-tab .pay-tooltip__number,
html[lang="he"] #cabinet-modal #payment-tab > .pay-tooltip > .pay-tooltip__input,
html[lang="ar"] #cabinet-modal #payment-tab > .pay-tooltip > .pay-tooltip__input,
html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip__number,
html[lang="ar"] #cabinet-modal #withdraw-tab .pay-tooltip__number,
html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip > .pay-tooltip__input ,
html[lang="ar"] #cabinet-modal #withdraw-tab .pay-tooltip > .pay-tooltip__input {
  text-align: right;
}

html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip__input .input__inner,
html[lang="ar"] #cabinet-modal #payment-tab .pay-tooltip__input .input__inner,
html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip__number_inner,
html[lang="ar"] #cabinet-modal #payment-tab .pay-tooltip__number_inner,
html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip__phone_inner,
html[lang="ar"] #cabinet-modal #payment-tab .pay-tooltip__phone_inner,
html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip__input .input__inner,
html[lang="ar"] #cabinet-modal #withdraw-tab .pay-tooltip__input .input__inner,
html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip__number_inner,
html[lang="ar"] #cabinet-modal #withdraw-tab .pay-tooltip__number_inner,
html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip__phone_inner ,
html[lang="ar"] #cabinet-modal #withdraw-tab .pay-tooltip__phone_inner {
  margin-left: 0;
  margin-right: 12px;
  text-align: right;
}

html[lang="he"] #cabinet-modal #payment-tab .enter-pin ,
html[lang="ar"] #cabinet-modal #payment-tab .enter-pin {
  justify-content: flex-end;
  text-align: right;
}

html[lang="he"] #cabinet-modal #payment-tab .h-pin ,
html[lang="ar"] #cabinet-modal #payment-tab .h-pin {
  display: flex;
  direction: rtl;
  justify-content: flex-start;
  text-align: right;
}

html[lang="he"] #cabinet-modal .cash-support-links1 ,
html[lang="ar"] #cabinet-modal .cash-support-links1 {
  justify-content: center;
}
html[lang="he"] #cabinet-modal .payment__select_block__item .payment__select ,
html[lang="ar"] #cabinet-modal .payment__select_block__item .payment__select {
  background-position: center left 15px;
  padding-left: 40px;
  padding-right: 12px;
}


@media only screen and (max-width:767px) {
  html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip:after,
  html[lang="ar"] #cabinet-modal #payment-tab .pay-tooltip:after,
  html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip:after,
  html[lang="ar"] #cabinet-modal #withdraw-tab .pay-tooltip:after,
  html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip.left:after,
  html[lang="ar"] #cabinet-modal #payment-tab .pay-tooltip.left:after,
  html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip.right:after,
  html[lang="ar"] #cabinet-modal #payment-tab .pay-tooltip.right:after,
  html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip.left:after,
  html[lang="ar"] #cabinet-modal #withdraw-tab .pay-tooltip.left:after,
  html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip.right:after ,
  html[lang="ar"] #cabinet-modal #withdraw-tab .pay-tooltip.right:after {
    left: 82%;
    right: auto;
    margin-left: -18px;
  }
}

/* Hebrew-only cashier RTL layout refinement (test/staging) */
html[lang="he"] #cabinet-modal > .tab > .tab__action ,
html[lang="ar"] #cabinet-modal > .tab > .tab__action {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
}

html[lang="he"] #cabinet-modal .tab_style_button > .tab__action ,
html[lang="ar"] #cabinet-modal .tab_style_button > .tab__action {
  display: flex;
  justify-content: flex-end;
}

html[lang="he"] #cabinet-modal #payment-tab .payment__tooltip_inner,
html[lang="ar"] #cabinet-modal #payment-tab .payment__tooltip_inner,
html[lang="he"] #cabinet-modal #withdraw-tab .payment__tooltip_inner ,
html[lang="ar"] #cabinet-modal #withdraw-tab .payment__tooltip_inner {
  display: flex;
  justify-content: flex-end;
}

html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip,
html[lang="ar"] #cabinet-modal #payment-tab .pay-tooltip,
html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip ,
html[lang="ar"] #cabinet-modal #withdraw-tab .pay-tooltip {
  margin-left: auto;
  margin-right: 0;
}

.payitem__bonus-badge {
    display: flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    margin: 6px auto 4px 0;
    margin-left: 0;
    margin-right: auto;
    padding: 4px 10px;
    border-radius: 999px;
    background: #3fcf4c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

html[lang="he"] #cabinet-modal #cashier .payment__item.payitem .payitem__note,
html[lang="ar"] #cabinet-modal #cashier .payment__item.payitem .payitem__note {
  text-align: right !important;
}

html[lang="he"] #cabinet-modal .payment__item.payitem .payitem__bonus-badge,
html[lang="ar"] #cabinet-modal .payment__item.payitem .payitem__bonus-badge {
  align-self: flex-end !important;
}

html[lang="he"] #cabinet-modal .payitem__bonus-badge ,
html[lang="ar"] #cabinet-modal .payitem__bonus-badge {
    text-transform: none;
}

html[lang="he"] #cabinet-modal .pay-limits ,
html[lang="ar"] #cabinet-modal .pay-limits {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.payitem_static {
  cursor: pointer;
}

.payitem_support:focus-visible {
  outline: 3px solid #68b8e8;
  outline-offset: 3px;
}

.payitem_static .payitem__img img {
  max-width: calc(100% - 20px);
  max-height: 72px;
  object-fit: contain;
}

.payitem__placeholder {
  display: inline-block;
  color: #0f6f93;
  font-size: 32px;
  line-height: .92;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: center;
}

.popup2.support-deposit-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 160;
  width: min(520px, calc(100% - 32px));
  min-height: 0;
  max-height: calc(100vh - 32px);
  padding: 28px 24px 30px;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  overflow-y: auto;
  border: none !important;
  border-radius: 20px !important;
  background: #0a0e22 !important;
  color: #fff;
  box-shadow: none;
}

.support-deposit-modal__close {
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  color: #fff;
  opacity: .8;
  cursor: pointer;
  transition: opacity .2s ease;
}

.support-deposit-modal__close:hover,
.support-deposit-modal__close:focus-visible {
  opacity: 1;
}

.support-deposit-modal__close span {
  display: block;
  color: inherit;
  font-size: 32px;
  font-weight: 300;
  line-height: 30px;
}

html[lang="he"] .support-deposit-modal__close,
html[lang="ar"] .support-deposit-modal__close {
  right: auto;
  left: 16px;
}

.support-deposit-modal__content {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.support-deposit-modal__logo {
  width: 100%;
  max-width: 170px;
  height: auto;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-deposit-modal__logo img,
.support-deposit-modal__logo svg {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.support-deposit-modal__message {
  max-width: 690px;
  min-height: 70px;
  margin: 0;
  color: #f8fbff;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
}

html[lang="he"] .support-deposit-modal__message ,
html[lang="ar"] .support-deposit-modal__message {
  direction: rtl;
  unicode-bidi: plaintext;
}

.support-deposit-modal__contacts {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.support-deposit-modal__contact {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #071024;
  font-size: 27px;
  text-decoration: none;
}

.support-deposit-modal__contact svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}

.support-deposit-modal__contact_telegram {
  background: #2ca6e8;
}

.support-deposit-modal__contact_whatsapp {
  background: #25d366;
}

.support-deposit-modal__support-link {
  min-width: 300px;
  margin-top: 24px;
  padding: 17px 30px;
  border: 1px solid rgba(103, 174, 220, .78);
  border-radius: 28px;
  background: rgba(33, 75, 103, .72);
  color: #f8fbff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease;
}

.support-deposit-modal__support-link:hover,
.support-deposit-modal__support-link:focus {
  border-color: #8cd3ff;
  background: rgba(45, 108, 145, .92);
}

.p2p-modal__title {
  width: 100%;
  margin: 0 0 20px;
  color: #fff;
  text-align: center;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.p2p-modal__error {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 105, 120, .35);
  border-radius: 14px;
  background: rgba(255, 105, 120, .12);
  color: #ff6978;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.p2p-modal__order,
.p2p-modal__review {
  width: 100%;
  box-sizing: border-box;
}

.p2p-modal__headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid #305e67;
  border-radius: 16px;
  background: linear-gradient(248.82deg, rgba(43, 95, 123, .2) -17.47%, rgba(25, 56, 69, .2) 50.64%, rgba(33, 94, 109, .2) 118.58%);
  color: #adc0c6;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.p2p-modal__headline strong {
  color: #fff;
  font-weight: 700;
}

.p2p-modal__summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 10px 0 0;
}

.p2p-modal__review-summary {
  grid-template-columns: repeat(2, 1fr);
}

.p2p-modal__summary div,
.p2p-modal__requisites {
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #305e67;
  border-radius: 16px;
  background: linear-gradient(248.82deg, rgba(43, 95, 123, .2) -17.47%, rgba(25, 56, 69, .2) 50.64%, rgba(33, 94, 109, .2) 118.58%);
}

.p2p-modal__summary dt {
  margin: 0;
  color: #adc0c6;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.p2p-modal__summary dd {
  margin: 4px 0 0;
  color: #fff;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.p2p-modal__help {
  width: 16px !important;
  height: 16px !important;
  padding: 0 !important;
  border: 1px solid #598aaa !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #adc0c6 !important;
  font-size: 10px !important;
  line-height: 14px !important;
  cursor: help;
}

/* The native "Choose file" button's own text is the BROWSER's UI
   language, not the page's -- unfixable via ::file-selector-button (it
   only restyles the button's look). Hide the real <input> accessibly and
   render our own translated browse-button + filename in its place; the
   surrounding <label> still forwards clicks to the real input. */
.p2p-modal__receipt-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.p2p-modal__receipt-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  cursor: pointer;
}

.p2p-modal__receipt-browse {
  flex: 0 0 auto;
  padding: 6px 12px;
  border: 1px solid #305e67;
  border-radius: 14px;
  background: rgba(48, 94, 103, .35);
  color: #fff;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  transition: background .2s ease;
}

.p2p-modal__receipt-label:hover .p2p-modal__receipt-browse {
  background: rgba(48, 94, 103, .55);
}

.p2p-modal__receipt-filename {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: #adc0c6;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p2p-modal__requisites {
  margin-top: 10px;
  text-align: left;
}

html[lang="he"] .p2p-modal__requisites,
html[lang="ar"] .p2p-modal__requisites {
  text-align: right;
}

.p2p-modal__requisites h4 {
  margin: 0 0 8px;
  color: #fff;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.p2p-modal__requisites div div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  color: #adc0c6;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
}

.p2p-modal__requisites strong {
  color: #fff;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.p2p-modal__status {
  margin: 14px 0 0;
  color: #ffd34d;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.p2p-modal__support {
  width: 100%;
  margin-top: 16px;
  color: #adc0c6;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
  text-align: center;
}

.p2p-modal__support p {
  margin: 0 0 12px;
}

.p2p-modal__support-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.p2p-modal__support-actions a {
  min-width: 120px;
  padding: 10px 18px;
  border: 1px solid #305e67;
  border-radius: 24px;
  background: linear-gradient(248.82deg, rgba(43, 95, 123, .2) -17.47%, rgba(25, 56, 69, .2) 50.64%, rgba(33, 94, 109, .2) 118.58%);
  color: #fff;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .2s ease, filter .2s ease;
}

.p2p-modal__support-actions a:hover,
.p2p-modal__support-actions a:focus-visible {
  border-color: #67aedc;
  filter: brightness(1.1);
}

.p2p-modal__receipt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #305e67;
  border-radius: 16px;
  background: linear-gradient(248.82deg, rgba(43, 95, 123, .2) -17.47%, rgba(25, 56, 69, .2) 50.64%, rgba(33, 94, 109, .2) 118.58%);
}

.p2p-modal__receipt-label {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  color: #adc0c6;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
}

html[lang="he"] .p2p-modal__receipt-label,
html[lang="ar"] .p2p-modal__receipt-label {
  text-align: right;
}

html[lang="he"] .p2p-modal__receipt-control,
html[lang="ar"] .p2p-modal__receipt-control {
  flex-direction: row-reverse;
}

.p2p-modal__receipt .button {
  flex: 0 0 auto !important;
  height: 44px !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 22px !important;
  background: linear-gradient(88.78deg, #25d366 -13.15%, #198d66 113.06%) !important;
  color: #fff !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
}

html[lang="he"] .p2p-modal__order,
html[lang="ar"] .p2p-modal__order {
  direction: rtl;
}

@media (max-width: 640px) {
  .p2p-modal__headline,
  .p2p-modal__receipt {
    flex-direction: column;
    align-items: stretch;
  }

  .p2p-modal__summary {
    grid-template-columns: 1fr;
  }

  .p2p-modal__receipt .button {
    width: 100%;
  }
}

@media only screen and (max-width: 767px) {
  .popup2.support-deposit-modal {
    width: calc(100% - 16px);
    min-height: min(340px, calc(100vh - 16px));
    padding: 22px 18px 24px;
  }

  .support-deposit-modal__content {
    min-height: 294px;
  }

  .support-deposit-modal__logo {
    width: 145px;
    height: 55px;
    margin-bottom: 32px;
  }

  .support-deposit-modal__message {
    min-height: 88px;
    font-size: 20px;
  }

  .support-deposit-modal__contacts {
    margin-top: 24px;
  }

  .support-deposit-modal__support-link {
    min-width: 260px;
    margin-top: 18px;
    padding: 16px 24px;
    font-size: 17px;
  }
}

@media only screen and (max-width: 767px) {
  .payitem__placeholder {
    font-size: 24px;
  }
}

.payitem__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffb14b 0%, #ff6b2c 100%);
  color: #fff;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: .01em;
  text-align: center;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  margin-top: 4px;
}
html[lang="he"] #cabinet-modal .payitem__badge ,
html[lang="ar"] #cabinet-modal .payitem__badge {
  direction: rtl;
  unicode-bidi: plaintext;
  text-align: right;
}

@media only screen and (max-width: 767px) {
  .payitem__badge {
    display: flex;
    width: 100%;
    font-size: 10px;
    padding: 4px 8px;
  }
}

.pay-tooltip__summ_exchange {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 620px;
}

.pay-tooltip__exchange {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(160px, auto);
  gap: 10px 14px;
  align-items: center;
}

.pay-tooltip__exchange-field {
  display: contents;
  margin: 0;
}

.pay-tooltip__exchange-field .pay-tooltip__title {
  max-width: 320px;
  color: #4a4a4a;
  font-size: 13px;
  line-height: 1.3;
}

.pay-tooltip__exchange-input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.pay-tooltip__exchange-field .input__inner {
  width: 136px;
  min-width: 136px;
}

.pay-tooltip__currency-note {
  color: #777;
  font-size: 12px;
  line-height: 1.2;
}

.pay-tooltip__currency-text {
  color: black;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
}

.pay-tooltip__exchange-note {
  max-width: 560px;
  color: #666;
  font-size: 12px;
  line-height: 1.35;
}

@media only screen and (min-width: 768px) {
  html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip__exchange ,
  html[lang="ar"] #cabinet-modal #payment-tab .pay-tooltip__exchange {
    grid-template-columns: minmax(130px, auto) minmax(160px, auto);
  }
}

@media only screen and (max-width: 767px) {
  .pay-tooltip__summ_exchange {
    max-width: 100%;
    width: 100%;
  }

  .pay-tooltip__exchange {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .pay-tooltip__exchange-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
  }

  .pay-tooltip__exchange-field .pay-tooltip__title,
  .pay-tooltip__exchange-note {
    max-width: 100%;
  }

  .pay-tooltip__exchange-input {
    width: 100%;
    flex-wrap: wrap;
    margin: 0;
  }

  .pay-tooltip__exchange-field .input__inner {
    width: 100%;
    min-width: 0;
  }
}



.pay-in-button {
  position: static!important;
  margin: 0 auto;
}

@media only screen and (max-width: 575px) {
  #cabinet-modal .payment__row-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
  }

  #cabinet-modal .payment__item.payitem {
    width: auto;
    margin: 0;
    min-width: 0;
  }

  #cabinet-modal .payment__item.payitem .payitem__img {
    height: 86px;
  }

  #cabinet-modal .payment__item.payitem .payitem__footer {
    padding: 8px 6px 7px;
  }

  #cabinet-modal .payment__item.payitem .payitem__note {
    font-size: 10px;
    line-height: 12px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  #cabinet-modal .payment__item.payitem .payitem__note_small {
    font-size: 11px;
    line-height: 13px;
  }

  #cabinet-modal .payment__item.payitem .payitem__badge {
    font-size: 8px;
    padding: 3px 5px;
    line-height: 1.05;
    white-space: normal;
  }
}
@media only screen and (max-width: 575px) {
  #cabinet-modal .payment__row-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
  }

  #cabinet-modal .payment__item.payitem {
    width: auto;
    margin: 0;
    min-width: 0;
  }

  #cabinet-modal .payment__item.payitem .payitem__img {
    height: 86px;
  }

  #cabinet-modal .payment__item.payitem .payitem__footer {
    padding: 8px 6px 7px;
  }

  #cabinet-modal .payment__item.payitem .payitem__note {
    font-size: 10px;
    line-height: 12px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  #cabinet-modal .payment__item.payitem .payitem__note_small {
    font-size: 11px;
    line-height: 13px;
  }

  #cabinet-modal .payment__item.payitem .payitem__badge {
    font-size: 8px;
    padding: 3px 5px;
    line-height: 1.05;
    white-space: normal;
  }
}

/* Cabinet redesign bridge: keep production payment data and handlers, replace legacy card presentation. */
#cabinet-modal .tab-remake__content,
#cabinet-modal .tab-remake__items {
  box-sizing: border-box !important;
  width: 100% !important;
}

#cabinet-modal .tab-remake__items {
  max-width: 315px !important;
}

#cabinet-modal .payment__gallery,
#cabinet-modal .payment-form,
#cabinet-modal .payment__row,
#cabinet-modal .payment__row-inner {
  width: 100% !important;
  max-width: 315px !important;
  box-sizing: border-box !important;
}

#cabinet-modal .payment__row-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 0 auto !important;
}

#cabinet-modal .payment__item.payitem {
  position: relative !important;
  display: flex !important;
  flex: 0 0 50px !important;
  align-items: stretch !important;
  width: min(100%, 315px) !important;
  height: 50px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #305e67 !important;
  border-radius: 20px !important;
  background: linear-gradient(249deg, rgba(43, 95, 123, .2) -18.83%, rgba(25, 56, 69, .2) 50.82%, rgba(33, 94, 109, .2) 120.31%) !important;
  box-shadow: none !important;
}

#cabinet-modal .payment__item.payitem:hover,
#cabinet-modal .payment__item.payitem.active {
  border-color: #fff !important;
}

#cabinet-modal .payment__item.payitem > svg {
  display: none !important;
}

#cabinet-modal .payment__item.payitem .payitem__img {
  display: flex !important;
  flex: 0 0 108px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 108px !important;
  height: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

#cabinet-modal .payment__item.payitem .payitem__img_inner {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

#cabinet-modal .payment__item.payitem .payitem__img img {
  width: auto !important;
  max-width: 92px !important;
  height: auto !important;
  max-height: 32px !important;
  object-fit: contain !important;
}

#cabinet-modal .payment__item.payitem .payitem__footer {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  min-width: 0 !important;
  height: 100% !important;
  padding: 3px 10px !important;
  border-left: 2px solid rgba(111, 173, 214, .36) !important;
  background: transparent !important;
  box-shadow: none !important;
}

#cabinet-modal .payment__item.payitem .payitem__note {
  max-width: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 15px !important;
  text-align: left !important;
  text-shadow: none !important;
  white-space: normal !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

#cabinet-modal .payment__item.payitem .payitem__note_small {
  color: var(--text-grey-color, #a9b9c6) !important;
  font-size: 11px !important;
  line-height: 12px !important;
}

#cabinet-modal .payment__item.payitem .payitem__bonus-badge,
#cabinet-modal .payment__item.payitem .payitem__badge {
  max-width: 100% !important;
  margin: 2px 0 0 !important;
  padding: 1px 7px !important;
  border-radius: 999px !important;
  font-size: 9px !important;
  line-height: 12px !important;
  white-space: nowrap !important;
}

#cabinet-modal .payment__item.payitem .payitem__placeholder {
  max-width: 100% !important;
  color: #1680a5 !important;
  font-size: 28px !important;
  line-height: .84 !important;
}

#cabinet-modal .enter-pin {
  width: 100% !important;
  max-width: 315px !important;
  margin: 12px auto 0 !important;
}

#cabinet-modal .enter-pin .h-pin {
  display: block !important;
  margin: 0 0 4px 5px !important;
  color: var(--text-grey-color, #a9b9c6) !important;
  font-size: 14px !important;
  text-align: left !important;
}

#cabinet-modal .enter-pin .form-pin {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  width: 100% !important;
}

#cabinet-modal .enter-pin #form-pin {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 40px !important;
  border: 1px solid #305e67 !important;
  border-radius: 20px !important;
  background: rgba(43, 95, 123, .2) !important;
}

#cabinet-modal .enter-pin .send-pin {
  flex: 0 0 112px !important;
  min-width: 0 !important;
  height: 40px !important;
  padding: 10px 8px !important;
  border-radius: 20px !important;
  background: linear-gradient(83deg, #174242 -29.6%, #1e3257 130.73%) !important;
  color: #fff !important;
  text-align: center !important;
}

#cabinet-modal .cash-support-links1 {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 315px !important;
  margin: 21px auto 0 !important;
}

@media (max-width: 575px) {
  #cabinet-modal .tab-remake__items,
  #cabinet-modal .payment__gallery,
  #cabinet-modal .payment-form,
  #cabinet-modal .payment__row,
  #cabinet-modal .payment__row-inner,
  #cabinet-modal .enter-pin,
  #cabinet-modal .cash-support-links1 {
    max-width: min(315px, calc(100vw - 32px)) !important;
  }

  #cabinet-modal .payment__item.payitem {
    width: 100% !important;
  }

  #cabinet-modal .payment__item.payitem .payitem__img {
    flex-basis: 108px !important;
  }

  #cabinet-modal .payment__item.payitem .payitem__note {
    font-size: 15px !important;
    line-height: 17px !important;
  }
}

/* Cabinet redesign shell: keep the production DOM and handlers inside the main-branch geometry. */
#cabinet-modal.popup_tabs {
  box-sizing: border-box !important;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  z-index: 220 !important;
  width: min(480px, calc(100vw - 24px)) !important;
  max-width: none !important;
  height: auto !important;
  max-height: calc(100vh - 24px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  transform: translate(-50%, -50%) !important;
  border-radius: 15px !important;
  background: #0a0e22 !important;
}

#cabinet-modal > .tab.tab-remake {
  position: relative !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 0 16px 24px !important;
  background: #0a0e22 !important;
}

#cabinet-modal > .tab.tab-remake > .tab__content {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  background: transparent !important;
}

#cabinet-modal .tab-remake__action {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 3px !important;
  border: 2px solid rgba(111, 173, 214, .36) !important;
  border-radius: 22px !important;
  background: #0d1b2a !important;
  box-shadow: inset 0 1px 0 rgba(61, 68, 75, .35) !important;
}

#cabinet-modal > .tab.tab-remake > .tab-remake__action {
  width: min(450px, 100%) !important;
}

#cabinet-modal .tab-remake__item {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  height: 42px !important;
  padding: 0 18px !important;
  border: 2px solid transparent !important;
  border-radius: 18px !important;
  color: #a9b9c6 !important;
  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

#cabinet-modal .tab-remake__item_active_blue-gradient,
#cabinet-modal .tab-remake__item.tab__item_active {
  color: #fff !important;
  background: linear-gradient(90deg, #3c79a0, #6fadd6) !important;
  border-color: rgba(111, 173, 214, .36) !important;
}

#cabinet-modal .tab-remake__action_small {
  width: fit-content !important;
  margin: 17px auto 0 !important;
}

#cabinet-modal .tab-remake__action_small .tab-remake__item {
  height: 34px !important;
  padding: 0 14px !important;
  font-size: 13px !important;
}

#cabinet-modal .tab-remake-cashier,
#cabinet-modal .tab-remake-cashier__content,
#cabinet-modal .tab_style_button,
#cabinet-modal .tab_style_button > .tab__content {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  background: transparent !important;
}

#cabinet-modal .tab-remake-cashier .tab-remake {
  position: static !important;
}

#cabinet-modal .tab-remake__logo-container {
  display: block !important;
  max-width: 101px !important;
  margin: 14px auto 18px !important;
}

#cabinet-modal .tab-remake__logo-container img,
#cabinet-modal .tab-remake__logo-container svg {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 52px !important;
  object-fit: contain !important;
}

#cabinet-modal .tab-remake__close {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  z-index: 5 !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  cursor: pointer !important;
}

#cabinet-modal .tab-remake__close::before,
#cabinet-modal .tab-remake__close::after {
  background: #a9b9c6 !important;
}

@media (max-width: 575px) {
  #cabinet-modal.popup_tabs {
    top: 8px !important;
    bottom: 8px !important;
    width: calc(100vw - 16px) !important;
    max-height: none !important;
    transform: translateX(-50%) !important;
    border-radius: 15px !important;
  }

  #cabinet-modal > .tab.tab-remake {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  #cabinet-modal .tab-remake__item {
    padding-right: 12px !important;
    padding-left: 12px !important;
    font-size: 14px !important;
  }
}

/* Keep the existing tab controller in charge of cashier/profile/history visibility. */
#cabinet-modal > .tab > .tab__content > #cashier {
  height: 0 !important;
  overflow: hidden !important;
}

#cabinet-modal > .tab > .tab__content > #cashier.active {
  height: auto !important;
  overflow: visible !important;
}

#cabinet-modal > .tab > .tab__content > #profile,
#cabinet-modal > .tab > .tab__content > #history {
  overflow: auto !important;
}

#cabinet-modal > .tab > .tab__content > #profile:not(.active),
#cabinet-modal > .tab > .tab__content > #history:not(.active) {
  height: 0 !important;
  overflow: hidden !important;
}

/* Keep outer cabinet tabs mutually exclusive. */
#cabinet-modal > .tab > .tab__content > #cashier:not(.active),
#cabinet-modal > .tab > .tab__content > #profile:not(.active),
#cabinet-modal > .tab > .tab__content > #history:not(.active) {
  display: none !important;
}

#cabinet-modal > .tab > .tab__content > #cashier.active,
#cabinet-modal > .tab > .tab__content > #profile.active,
#cabinet-modal > .tab > .tab__content > #history.active {
  display: block !important;
  height: auto !important;
  overflow: visible !important;
}

/* Final cashier alignment: neutralize legacy RTL offsets without changing handlers. */
#cabinet-modal .payment__row,
#cabinet-modal .payment__row-inner {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 315px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

#cabinet-modal .payment__row-inner {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
}

#cabinet-modal .payment__item.payitem {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 315px !important;
  margin: 0 !important;
}

@media (max-width: 575px) {
  #cabinet-modal .payment__row,
  #cabinet-modal .payment__row-inner,
  #cabinet-modal .payment__item.payitem {
    max-width: min(315px, calc(100vw - 32px)) !important;
  }
}

/* Figma tab geometry: fixed design size with responsive mobile cap. */
#cabinet-modal .tab-remake__action:not(.tab-remake__action_small) {
  box-sizing: border-box !important;
  display: flex !important;
  width: 315px !important;
  max-width: 100% !important;
  height: 45px !important;
  padding: 3px !important;
  border: 2px solid rgba(111, 173, 214, .36) !important;
  border-radius: 22px !important;
  background: linear-gradient(248.82deg, rgba(43, 95, 123, .2) -17.68%, rgba(25, 56, 69, .2) 50.66%, rgba(33, 94, 109, .2) 118.85%) !important;
}

#cabinet-modal .tab-remake__action:not(.tab-remake__action_small) > .tab-remake__item {
  flex: 1 1 0 !important;
  width: auto !important;
  height: 37px !important;
  padding: 0 8px !important;
  border: 1px solid transparent !important;
  border-radius: 18px !important;
}

#cabinet-modal .tab-remake__action_small {
  box-sizing: border-box !important;
  display: flex !important;
  width: 185px !important;
  max-width: 100% !important;
  height: 40px !important;
  padding: 3px !important;
  border: 2px solid rgba(111, 173, 214, .36) !important;
  border-radius: 20px !important;
  background: linear-gradient(248.82deg, rgba(43, 95, 123, .2) -17.68%, rgba(25, 56, 69, .2) 50.66%, rgba(33, 94, 109, .2) 118.85%) !important;
}

#cabinet-modal .tab-remake__action_small > .tab-remake__item {
  flex: 1 1 0 !important;
  width: auto !important;
  height: 32px !important;
  padding: 0 8px !important;
  border: 1px solid transparent !important;
  border-radius: 16px !important;
}

#cabinet-modal .tab-remake__action .tab-remake__item_active,
#cabinet-modal .tab-remake__action .tab-remake__item_active_blue-gradient {
  border-color: rgba(111, 173, 214, .36) !important;
}

@media (max-width: 575px) {
  #cabinet-modal .tab-remake__action:not(.tab-remake__action_small) {
    width: min(315px, calc(100vw - 32px)) !important;
  }

  #cabinet-modal .tab-remake__action_small {
    width: min(185px, calc(100vw - 80px)) !important;
  }
}

/* Figma lower switch: stable common track and active item colors. */
#cabinet-modal #cashier .tab_style_button > .tab__action,
#cabinet-modal #cashier .tab_style_button > .tab__action.tab-remake__action_small {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 185px !important;
  min-width: 185px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 3px !important;
  gap: 0 !important;
  overflow: hidden !important;
  border: 2px solid rgba(111, 173, 214, 0.36) !important;
  border-radius: 20px !important;
  background: linear-gradient(248.82deg, rgba(43, 95, 123, 0.2) -17.68%, rgba(25, 56, 69, 0.2) 50.66%, rgba(33, 94, 109, 0.2) 118.85%) !important;
  box-shadow: none !important;
}
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item {
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  width: 88px !important;
  height: 31px !important;
  min-height: 31px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid transparent !important;
  border-radius: 16px !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:hover,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:focus,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:active,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item.active,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item.tab__item_active,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:hover,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:focus,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:active,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item.active,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item.tab-remake__item_active,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item.tab__item_active {
  background: #15263e !important;
  border: 1px solid rgba(111, 173, 214, 0.36) !important;
  box-shadow: none !important;
  outline: none !important;
}
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item::before,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item::after,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item::before,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item::after {
  content: none !important;
  display: none !important;
}

/* Keep both cashier panes in one stable flow and use icon-only support links. */
#cabinet-modal .tab-remake-cashier__content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 420px !important;
  padding: 0 24px 24px !important;
  gap: 18px !important;
}

#cabinet-modal .tab_style_button {
  flex: 0 0 auto !important;
  height: 40px !important;
  min-height: 40px !important;
}

#cabinet-modal .tab-remake__content {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: start !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 330px !important;
}

#cabinet-modal .tab-remake__content > .payment {
  grid-area: 1 / 1 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 330px !important;
  padding: 0 !important;
  margin: 0 !important;
}

#cabinet-modal .cash-support-links1 {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
  min-height: 24px !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
}

#cabinet-modal .cash-support-link1 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 24px !important;
  height: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  text-decoration: none !important;
}

#cabinet-modal .cash-support-link1 svg {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  flex: 0 0 24px !important;
}

#cabinet-modal .cash-support-link1 span {
  display: none !important;
}

#cabinet-modal .tab-remake__content > #withdraw-tab > br {
  display: none !important;
}

@media (max-width: 575px) {
  #cabinet-modal .tab-remake-cashier__content {
    min-height: 390px !important;
    padding: 0 16px 18px !important;
  }

  #cabinet-modal .tab-remake__content,
  #cabinet-modal .tab-remake__content > .payment {
    min-height: 300px !important;
  }
}

/* Only the selected cashier pane may render; the shared grid reserves its space. */
#cabinet-modal #cashier .tab-remake__content > .payment {
  display: none !important;
  visibility: hidden !important;
}

#cabinet-modal #cashier .tab-remake__content > .payment.active {
  display: block !important;
  visibility: visible !important;
}
/* VPS test: keep the active payment flow centered and prevent legacy pane clipping. */
#cabinet-modal #cashier .tab-remake__content,
#cabinet-modal #cashier .tab-remake__content > .payment.active,
#cabinet-modal #cashier .payment__gallery,
#cabinet-modal #cashier .payment-form,
#cabinet-modal #cashier .payment__row,
#cabinet-modal #cashier .payment__row-inner {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 315px !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  overflow: visible !important;
  direction: ltr !important;
}

#cabinet-modal #cashier .tab-remake__content > .payment.active {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
}

#cabinet-modal #cashier .payment__row-inner {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}

#cabinet-modal #cashier .payment__item.payitem {
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 315px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

#cabinet-modal #cashier .payment__item.payitem img {
  max-width: 84px !important;
  max-height: 32px !important;
  height: auto !important;
  object-fit: contain !important;
}

html[lang=he] #cabinet-modal #cashier .payitem__footer {
  direction: rtl !important;
  text-align: right !important;
}

@media (max-width: 575px) {
  #cabinet-modal #cashier .tab-remake__content,
  #cabinet-modal #cashier .tab-remake__content > .payment.active,
  #cabinet-modal #cashier .payment__gallery,
  #cabinet-modal #cashier .payment-form,
  #cabinet-modal #cashier .payment__row,
  #cabinet-modal #cashier .payment__row-inner,
  #cabinet-modal #cashier .payment__item.payitem {
    max-width: min(315px, calc(100vw - 32px)) !important;
  }
}

/* VPS test: define one stable 315px cashier content column. */
#cabinet-modal #cashier > .tab-remake-cashier__content {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: min(315px, calc(100vw - 32px)) !important;
  max-width: 315px !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  padding: 0 0 24px !important;
  gap: 18px !important;
}

#cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake,
#cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake > .tab-remake__content,
#cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake > .tab-remake__content > .payment,
#cabinet-modal #cashier .tab-remake__content > .payment.active,
#cabinet-modal #cashier .payment__gallery,
#cabinet-modal #cashier .payment-form,
#cabinet-modal #cashier .payment__row,
#cabinet-modal #cashier .payment__row-inner,
#cabinet-modal #cashier .enter-pin {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
}

#cabinet-modal #cashier .payment__row-inner {
  display: flex !important;
  flex: 0 0 auto !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}

#cabinet-modal #cashier .payment__item.payitem {
  box-sizing: border-box !important;
  flex: 0 0 50px !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 50px !important;
  min-height: 50px !important;
  margin: 0 !important;
  overflow: hidden !important;
}

#cabinet-modal #cashier .enter-pin {
  flex: 0 0 auto !important;
}

#cabinet-modal #cashier .enter-pin .form-pin,
#cabinet-modal #cashier .enter-pin input,
#cabinet-modal #cashier .enter-pin .send-pin {
  box-sizing: border-box !important;
}

@media (max-width: 575px) {
  #cabinet-modal #cashier > .tab-remake-cashier__content {
    width: calc(100vw - 32px) !important;
    max-width: 315px !important;
  }
}

/* VPS test: keep the cashier cards and promo field at the design width. */
#cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake,
#cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake > .tab-remake__content,
#cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake > .tab-remake__content > .payment,
#cabinet-modal #cashier .payment__gallery,
#cabinet-modal #cashier .payment__row,
#cabinet-modal #cashier .payment__row-inner,
#cabinet-modal #cashier .enter-pin {
  box-sizing: border-box !important;
  width: 315px !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-inline: auto !important;
}

#cabinet-modal #cashier .payment__row-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
}

#cabinet-modal #cashier .payment__item.payitem {
  box-sizing: border-box !important;
  flex: 0 0 50px !important;
  width: 315px !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 50px !important;
  min-height: 50px !important;
  margin: 0 !important;
}

#cabinet-modal #cashier .enter-pin {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  margin-top: 12px !important;
  padding: 0 !important;
}

#cabinet-modal #cashier .enter-pin .h-pin {
  margin: 0 !important;
}

html[lang="he"] #cabinet-modal .enter-pin .h-pin,
html[lang="ar"] #cabinet-modal .enter-pin .h-pin {
  text-align: right !important;
}

#cabinet-modal #cashier .enter-pin .form-pin {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  margin: 0 !important;
}

#cabinet-modal #cashier .enter-pin #form-pin {
  box-sizing: border-box !important;
  flex: 0 0 58px !important;
  width: 315px !important;
  max-width: 100% !important;
  height: 58px !important;
}

#cabinet-modal #cashier .enter-pin .send-pin {
  box-sizing: border-box !important;
  flex: 0 0 40px !important;
  width: 150px !important;
  height: 40px !important;
  margin: 0 auto !important;
}

@media (max-width: 575px) {
  #cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake,
  #cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake > .tab-remake__content,
  #cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake > .tab-remake__content > .payment,
  #cabinet-modal #cashier .payment__gallery,
  #cabinet-modal #cashier .payment__row,
  #cabinet-modal #cashier .payment__row-inner,
  #cabinet-modal #cashier .enter-pin {
    width: min(315px, calc(100vw - 32px)) !important;
  }

  #cabinet-modal #cashier .payment__item.payitem,
  #cabinet-modal #cashier .enter-pin #form-pin {
    width: min(315px, calc(100vw - 32px)) !important;
  }
}

/* VPS test: override the legacy 450px rule for the top cashier tabs. */
#cabinet-modal > .tab.tab-remake > .tab__action.tab-remake__action:not(.tab-remake__action_small) {
  box-sizing: border-box !important;
  width: 315px !important;
  min-width: 315px !important;
  max-width: 315px !important;
  height: 45px !important;
  min-height: 45px !important;
  max-height: 45px !important;
  margin-inline: auto !important;
}

/* VPS test: force the payment row to the Figma width without flex shrink. */
#cabinet-modal #cashier .payment__row,
#cabinet-modal #cashier .payment__row-inner {
  box-sizing: border-box !important;
  flex: 0 0 315px !important;
  width: 315px !important;
  min-width: 315px !important;
  max-width: 315px !important;
  margin-inline: auto !important;
}

/* "Choose a payment method for deposit/withdrawal" hint above the list. */
#cabinet-modal #cashier .payment__gallery-label {
  width: 100% !important;
  max-width: 315px !important;
  margin: 0 auto 10px !important;
  color: var(--text-grey-color, #a9b9c6) !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-align: center !important;
}

@media (max-width: 575px) {
  #cabinet-modal #cashier .payment__row,
  #cabinet-modal #cashier .payment__row-inner {
    flex: 0 1 min(315px, calc(100vw - 32px)) !important;
    width: min(315px, calc(100vw - 32px)) !important;
    min-width: 0 !important;
    max-width: min(315px, calc(100vw - 32px)) !important;
  }
}

/* VPS test: payment card content must wrap instead of being clipped or scrolled. */
#cabinet-modal #cashier .payment__item.payitem {
  height: auto !important;
  min-height: 50px !important;
  overflow: hidden !important;
}

#cabinet-modal #cashier .payment__item.payitem .payitem__img,
#cabinet-modal #cashier .payment__item.payitem .payitem__img_inner {
  align-self: stretch !important;
  height: auto !important;
  min-height: 50px !important;
}

#cabinet-modal #cashier .payment__item.payitem .payitem__footer {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  height: auto !important;
  min-height: 50px !important;
  overflow: hidden !important;
  padding-top: 3px !important;
  padding-bottom: 3px !important;
}

#cabinet-modal #cashier .payment__item.payitem .payitem__note {
  display: block !important;
  max-width: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #fff !important;
  font-size: 18px !important;
  line-height: 78% !important;
  font-weight: 400 !important;
  line-height: 16px !important;
  text-align: left !important;
  white-space: normal !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

/* VPS test: only the selected cashier tab may use active styling. */
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:not(.active):not(.tab__item_active):not(.tab-remake__item_active):not(.tab-remake__item_active_blue-gradient),
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:not(.active):not(.tab__item_active):not(.tab-remake__item_active):not(.tab-remake__item_active_blue-gradient) {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

#cabinet-modal > .tab.tab-remake > .tab__action:not(.tab-remake__action_small) > .tab__item:not(.active):not(.tab__item_active):not(.tab-remake__item_active):not(.tab-remake__item_active_blue-gradient),
#cabinet-modal > .tab.tab-remake > .tab__action:not(.tab-remake__action_small) > .tab-remake__item:not(.active):not(.tab__item_active):not(.tab-remake__item_active):not(.tab-remake__item_active_blue-gradient) {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* VPS test: only the selected lower cashier tab may use active styling. */
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:not(.active):not(.tab__item_active):not(.tab-remake__item_active):hover,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:not(.active):not(.tab__item_active):not(.tab-remake__item_active):focus,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:not(.active):not(.tab__item_active):not(.tab-remake__item_active):active,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:not(.active):not(.tab__item_active):not(.tab-remake__item_active):hover,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:not(.active):not(.tab__item_active):not(.tab-remake__item_active):focus,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:not(.active):not(.tab__item_active):not(.tab-remake__item_active):active {
  background: transparent !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* VPS test: match the Figma promo field and confirmation button layout. */
#cabinet-modal #cashier .enter-pin {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
  width: 315px !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

#cabinet-modal #cashier .enter-pin .form-pin {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

#cabinet-modal #cashier .enter-pin #form-pin,
#cabinet-modal #cashier .enter-pin .send-pin {
  display: block !important;
  box-sizing: border-box !important;
  width: 315px !important;
  max-width: 315px !important;
  min-width: 0 !important;
  margin-inline: auto !important;
}

#cabinet-modal #cashier .enter-pin #form-pin {
  height: 35px !important;
  min-height: 35px !important;
  max-height: 35px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 35px !important;
  border-radius: 18px !important;
}

#cabinet-modal #cashier .enter-pin .send-pin {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 150px !important;
  max-width: 150px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  margin-top: 0 !important;
  margin-inline: auto !important;
  padding: 0 18px !important;
  border-radius: 20px !important;
  line-height: 1 !important;
}

@media (max-width: 575px) {
  #cabinet-modal #cashier .enter-pin,
  #cabinet-modal #cashier .enter-pin .form-pin {
    width: min(315px, calc(100vw - 32px)) !important;
  }

  #cabinet-modal #cashier .enter-pin #form-pin,
  #cabinet-modal #cashier .enter-pin .send-pin {
    width: 100% !important;
    max-width: 315px !important;
  }
}



/* Narrow mobile cashier fix: keep the layout stable below 375px. */
@media (max-width: 374px) {
  #cabinet-modal #cashier > .tab-remake-cashier__content {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    padding: 0 8px 18px !important;
    gap: 14px !important;
  }

  #cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake,
  #cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake > .tab-remake__content,
  #cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake > .tab-remake__content > .payment,
  #cabinet-modal #cashier .payment__gallery,
  #cabinet-modal #cashier .payment__row,
  #cabinet-modal #cashier .payment__row-inner,
  #cabinet-modal #cashier .enter-pin {
    width: 100% !important;
    max-width: none !important;
  }

  #cabinet-modal #cashier .payment__row-inner {
    gap: 6px !important;
  }

  #cabinet-modal #cashier .payment__item.payitem {
    height: auto !important;
    min-height: 46px !important;
  }

  #cabinet-modal #cashier .payment__item.payitem .payitem__img {
    flex: 0 0 92px !important;
    width: 92px !important;
  }

  #cabinet-modal #cashier .payment__item.payitem .payitem__img img {
    max-width: 72px !important;
    max-height: 32px !important;
  }

  #cabinet-modal #cashier .payment__item.payitem .payitem__footer {
    padding: 2px 8px !important;
  }

  #cabinet-modal #cashier .payment__item.payitem .payitem__note {
    font-size: 12px !important;
    line-height: 13px !important;
  }

  #cabinet-modal #cashier .payment__item.payitem .payitem__note_small {
    font-size: 10px !important;
    line-height: 11px !important;
  }

  #cabinet-modal #cashier .payment__item.payitem .payitem__bonus-badge,
  #cabinet-modal #cashier .payment__item.payitem .payitem__badge {
    font-size: 8px !important;
    line-height: 10px !important;
    padding: 1px 5px !important;
  }

  #cabinet-modal #cashier .payment__item.payitem .payitem__placeholder {
    font-size: 22px !important;
  }

  #cabinet-modal #cashier .enter-pin {
    gap: 8px !important;
  }

  #cabinet-modal #cashier .enter-pin .form-pin {
    gap: 10px !important;
  }

  #cabinet-modal #cashier .enter-pin #form-pin,
  #cabinet-modal #cashier .enter-pin .send-pin {
    width: 100% !important;
    max-width: none !important;
  }

  #cabinet-modal #cashier .tab_style_button > .tab__action,
  #cabinet-modal #cashier .tab_style_button > .tab__action.tab-remake__action_small {
    width: min(185px, calc(100vw - 24px)) !important;
    min-width: 0 !important;
  }
}

/* Keep the cabinet shell fixed while switching between Cash and Profile. */
#cabinet-modal.popup_tabs {
  height: min(820px, calc(100vh - 24px)) !important;
  max-height: calc(100vh - 24px) !important;
  overflow: hidden !important;
}

#cabinet-modal > .tab.tab-remake {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
}

#cabinet-modal > .tab.tab-remake > .tab__content {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

@media (max-width: 575px) {
  #cabinet-modal.popup_tabs {
    top: 50% !important;
    bottom: auto !important;
    height: calc(100vh - 16px) !important;
    max-height: calc(100vh - 16px) !important;
    transform: translate(-50%, -50%) !important;
  }
}
/* VPS test: lower cashier switch follows the JS-selected tab only. */
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:not(.tab__item_active),
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:not(.tab__item_active) {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item.tab__item_active,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item.tab__item_active {
  background: #15263e !important;
  border: 1px solid rgba(111, 173, 214, 0.36) !important;
  box-shadow: none !important;
  outline: none !important;
}

#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:not(.tab__item_active):hover,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:not(.tab__item_active):focus,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:not(.tab__item_active):active,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:not(.tab__item_active):hover,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:not(.tab__item_active):focus,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:not(.tab__item_active):active {
  background: transparent !important;
  border-color: transparent !important;
}

/* VPS test: clear the stale top-tab state after switching away from Cash. */
#cabinet-modal > .tab.tab-remake:has(.tab__content > #cashier:not(.active)) > .tab__action.tab-remake__action:not(.tab-remake__action_small) > .tab__item:not(.tab__item_active),
#cabinet-modal > .tab.tab-remake:has(.tab__content > #cashier:not(.active)) > .tab__action.tab-remake__action:not(.tab-remake__action_small) > .tab-remake__item:not(.tab__item_active) {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Test cashier alignment: keep deposit and withdraw card stacks anchored to the same top edge. */
#cabinet-modal #cashier #payment-tab .payment__row-inner,
#cabinet-modal #cashier #withdraw-tab .payment__row-inner {
  align-items: stretch !important;
  justify-content: flex-start !important;
}


/* Narrow mobile static cashier cards: keep support text on one line. */
@media (max-width: 374px) {
  #cabinet-modal #cashier .payitem_static .payitem__footer {
    padding: 2px 8px !important;
    gap: 0 !important;
  }

  #cabinet-modal #cashier .payitem_static .payitem__note {
    font-size: 11px !important;
    line-height: 12px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #cabinet-modal #cashier .payitem_static .payitem__note_small {
    font-size: 9px !important;
    line-height: 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}


/* Strong override for static cashier cards on very small screens. */
@media (max-width: 374px) {
  #cabinet-modal #cashier .payment__item.payitem.payitem_static .payitem__footer {
    gap: 0 !important;
    padding-top: 1px !important;
    padding-bottom: 1px !important;
  }

  #cabinet-modal #cashier .payment__item.payitem.payitem_static .payitem__note {
    font-size: 11px !important;
    line-height: 12px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #cabinet-modal #cashier .payment__item.payitem.payitem_static .payitem__note_small {
    font-size: 9px !important;
    line-height: 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}


/* Deposit method detail view: replace the popup with a responsive subtab. */
#cabinet-modal #cashier.payment-detail-open .tab-remake__action,
#cabinet-modal #cashier:has(#payment-tab.payment__detail-open) .tab-remake__action,
#cabinet-modal #cashier:has(#payment-tab .payment__detail-panel.payment__tooltip_open) .tab-remake__action,
#cabinet-modal #cashier.payment-detail-open .tab_style_button,
#cabinet-modal #cashier:has(#payment-tab.payment__detail-open) .tab_style_button,
#cabinet-modal #cashier:has(#payment-tab .payment__detail-panel.payment__tooltip_open) .tab_style_button,
#cabinet-modal #cashier.payment-detail-open .tab-remake__action_small,
#cabinet-modal #cashier:has(#payment-tab.payment__detail-open) .tab-remake__action_small,
#cabinet-modal #cashier:has(#payment-tab .payment__detail-panel.payment__tooltip_open) .tab-remake__action_small {
  display: none !important;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__row,
#cabinet-modal #cashier:has(#payment-tab.payment__detail-open) #payment-tab .payment__row,
#cabinet-modal #cashier:has(#payment-tab .payment__detail-panel.payment__tooltip_open) #payment-tab .payment__row,
#cabinet-modal #cashier.payment-detail-open #payment-tab .enter-pin,
#cabinet-modal #cashier:has(#payment-tab.payment__detail-open) #payment-tab .enter-pin,
#cabinet-modal #cashier:has(#payment-tab .payment__detail-panel.payment__tooltip_open) #payment-tab .enter-pin,
#cabinet-modal #cashier.payment-detail-open #payment-tab .cash-support-links1,
#cabinet-modal #cashier:has(#payment-tab.payment__detail-open) #payment-tab .cash-support-links1,
#cabinet-modal #cashier:has(#payment-tab .payment__detail-panel.payment__tooltip_open) #payment-tab .cash-support-links1,
#cabinet-modal #cashier.payment-detail-open #payment-tab .tabErrorMessage,
#cabinet-modal #cashier:has(#payment-tab.payment__detail-open) #payment-tab .tabErrorMessage,
#cabinet-modal #cashier:has(#payment-tab .payment__detail-panel.payment__tooltip_open) #payment-tab .tabErrorMessage {
  display: none !important;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__tooltip,
#cabinet-modal #cashier:has(#payment-tab.payment__detail-open) #payment-tab .payment__tooltip,
#cabinet-modal #cashier:has(#payment-tab .payment__detail-panel.payment__tooltip_open) #payment-tab .payment__tooltip {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__tooltip_inner,
#cabinet-modal #cashier:has(#payment-tab.payment__detail-open) #payment-tab .payment__tooltip_inner,
#cabinet-modal #cashier:has(#payment-tab .payment__detail-panel.payment__tooltip_open) #payment-tab .payment__tooltip_inner {
  width: 100% !important;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-panel,
#cabinet-modal #cashier:has(#payment-tab.payment__detail-open) #payment-tab .payment__detail-panel,
#cabinet-modal #cashier:has(#payment-tab .payment__detail-panel.payment__tooltip_open) #payment-tab .payment__detail-panel {
  display: flex !important;
  justify-content: center;
}

/* Mirror the deposit payment-method detail panel for RTL. */
html[lang="he"] #cabinet-modal .payment__detail-shell,
html[lang="ar"] #cabinet-modal .payment__detail-shell {
  direction: rtl !important;
}

html[lang="he"] #cabinet-modal .payment__detail-back,
html[lang="ar"] #cabinet-modal .payment__detail-back {
  direction: ltr !important;
}

html[lang="he"] #cabinet-modal .payment__detail-balance-value,
html[lang="ar"] #cabinet-modal .payment__detail-balance-value {
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

html[lang="he"] #cabinet-modal .payment__detail-input,
html[lang="ar"] #cabinet-modal .payment__detail-input {
  padding-right: 10px !important;
  padding-left: 14px !important;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-shell {
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 2px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 10px 0 7px;
  border: 1px solid #305e67;
  border-radius: 999px;
  background: rgba(43, 95, 123, 0.12);
  color: #adc0c6;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-back svg {
  flex: 0 0 auto;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-user {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #adc0c6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-user-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid #305e67;
  border-radius: 50%;
  color: #adc0c6;
  flex: 0 0 auto;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-user-name {
  text-transform: uppercase;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-balance {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-balance-value {
  color: #25d366;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-title {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  color: #adc0c6;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-title-prefix {
  color: #adc0c6;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .js-payment-method-title {
  color: #fff;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-logo img {
  display: block;
  max-width: 150px;
  max-height: 56px;
  object-fit: contain;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-label {
  color: #adc1c6;
  font-size: 11px;
  line-height: 1.2;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-input-wrap {
  display: flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid #305e67;
  border-radius: 20px;
  background-image: linear-gradient(198.14092953143455deg, rgba(43, 95, 123, 0.2) 18.829%, rgba(25, 56, 69, 0.2) 50.822%, rgba(33, 94, 109, 0.2) 120.31%);
  overflow: hidden;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-input-wrap_iconless {
  padding-left: 0;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-icon {
  width: 34px;
  height: 34px;
  margin-left: 10px;
  border: 1px solid rgba(48, 94, 103, 0.95);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #adc0c6;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  flex: 0 0 auto;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-icon_svg {
  font-size: 0;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-input {
  width: 100%;
  min-width: 0;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  margin: 0;
  padding: 0 14px 0 10px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 40px !important;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-input::placeholder {
  color: #646768;
  opacity: 1;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-input_readonly {
  cursor: default;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 40px;
  margin: 12px auto 0;
  padding: 0 18px;
  border-radius: 27px;
  font-size: 12px;
  line-height: 1;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .pay-tooltip__note {
  margin: 0 0 2px;
}

#cabinet-modal #cashier.payment-method-open .tab-remake__action,
#cabinet-modal #cashier.payment-method-open .tab-remake__action_small {
  display: none !important;
}

#cabinet-modal #cashier .payment-method-view {
  display: none;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__row,
#cabinet-modal #cashier.payment-method-open #payment-tab .enter-pin,
#cabinet-modal #cashier.payment-method-open #payment-tab .cash-support-links1,
#cabinet-modal #cashier.payment-method-open #payment-tab .tabErrorMessage {
  display: none !important;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment-method-view {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

@keyframes xplayPaymentDetailIn {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.xplay-animate-in {
  animation: xplayPaymentDetailIn .28s ease;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment-method-view__inner {
  width: 100% !important;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-shell {
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 2px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 10px 0 7px;
  border: 1px solid #305e67;
  border-radius: 999px;
  background: rgba(43, 95, 123, 0.12);
  color: #adc0c6;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-user {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #adc0c6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-user-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid #305e67;
  border-radius: 50%;
  color: #adc0c6;
  flex: 0 0 auto;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-user-name {
  text-transform: uppercase;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-balance {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-balance-value {
  color: #25d366;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-title {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  color: #adc0c6;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-title-prefix {
  color: #adc0c6;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .js-payment-method-title {
  color: #fff;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-logo img {
  display: block;
  max-width: 150px;
  max-height: 56px;
  object-fit: contain;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-label {
  color: #adc1c6;
  font-size: 11px;
  line-height: 1.2;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-input-wrap {
  display: flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid #305e67;
  border-radius: 20px;
  background-image: linear-gradient(198.14092953143455deg, rgba(43, 95, 123, 0.2) 18.829%, rgba(25, 56, 69, 0.2) 50.822%, rgba(33, 94, 109, 0.2) 120.31%);
  overflow: hidden;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-input-wrap_iconless {
  padding-left: 0;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-icon {
  width: 34px;
  height: 34px;
  margin-left: 10px;
  border: 1px solid rgba(48, 94, 103, 0.95);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #adc0c6;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  flex: 0 0 auto;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-icon_svg {
  font-size: 0;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-input {
  width: 100%;
  min-width: 0;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  margin: 0;
  padding: 0 14px 0 10px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 40px !important;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-input::placeholder {
  color: #646768;
  opacity: 1;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-input_readonly {
  cursor: default;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 40px;
  margin: 12px auto 0;
  padding: 0 18px;
  border-radius: 27px;
  font-size: 12px;
  line-height: 1;
}

@media (max-width: 575px) {
  #cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-shell {
    width: calc(100vw - 24px);
  }

  #cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-grid {
    gap: 10px;
  }
}

@media (max-width: 374px) {
  #cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-shell {
    width: calc(100vw - 18px);
  }

  #cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Payment detail subtab: keep the existing payment flow, match the redesign geometry. */
#cabinet-modal:has(#cashier.payment-method-open) > .tab.tab-remake > .tab-remake__action,
#cabinet-modal #cashier.payment-method-open .tab_style_button > .tab__action {
  display: none !important;
}

#cabinet-modal:has(#cashier.payment-method-open) .tab-remake__logo-container,
#cabinet-modal:has(#cashier.withdraw-method-open) .tab-remake__logo-container {
  width: 136px !important;
  max-width: 136px !important;
  margin: 20px auto 24px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) .tab-remake__logo-container img,
#cabinet-modal:has(#cashier.payment-method-open) .tab-remake__logo-container svg,
#cabinet-modal:has(#cashier.withdraw-method-open) .tab-remake__logo-container img,
#cabinet-modal:has(#cashier.withdraw-method-open) .tab-remake__logo-container svg {
  max-height: 54px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier > .tab-remake-cashier__content,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .tab_style_button,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .tab-remake__content,
#cabinet-modal:has(#cashier.payment-method-open) #cashier #payment-tab,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__gallery,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment-form {
  width: min(492px, calc(100vw - 80px)) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-inline: auto !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier > .tab-remake-cashier__content {
  padding: 0 0 32px !important;
  gap: 0 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .tab_style_button {
  height: auto !important;
  min-height: 0 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment-method-view,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment-method-view__inner {
  width: 100% !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-shell {
  width: 100% !important;
  padding: 0 !important;
  gap: 16px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-back {
  height: 33px !important;
  padding: 0 14px 0 10px !important;
  gap: 7px !important;
  border-color: #2e6974 !important;
  border-radius: 18px !important;
  background: rgba(15, 35, 54, .72) !important;
  color: #b7c6d0 !important;
  font-size: 16px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-user {
  gap: 10px !important;
  color: #bac7d0 !important;
  font-size: 20px !important;
  line-height: 1.1 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-user-icon {
  width: 30px !important;
  height: 30px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-balance {
  font-size: 20px !important;
  line-height: 1.15 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-title {
  margin-top: 10px !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-logo {
  min-height: 56px !important;
  margin: -4px 0 2px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-logo img {
  max-width: 150px !important;
  max-height: 56px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-fields {
  gap: 14px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-field {
  gap: 8px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-label {
  font-size: 16px !important;
  line-height: 1.1 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input-wrap {
  min-height: 64px !important;
  border: 2px solid #2e6974 !important;
  border-radius: 32px !important;
  background: linear-gradient(101deg, #0f2532 0%, #0d1d31 100%) !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-icon {
  width: 34px !important;
  height: 34px !important;
  margin-left: 14px !important;
  border-color: #2e6974 !important;
  font-size: 16px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input {
  height: 60px !important;
  min-height: 60px !important;
  max-height: 60px !important;
  padding: 0 20px 0 14px !important;
  font-size: 20px !important;
  line-height: 60px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-grid {
  gap: 20px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-submit {
  width: 236px !important;
  height: 63px !important;
  margin: 28px auto 0 !important;
  border: 1px solid rgba(111, 173, 214, .7) !important;
  border-radius: 32px !important;
  background: linear-gradient(90deg, #1b555d 0%, #213e63 100%) !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 400 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .cash-support-links1 {
  display: flex !important;
  width: 100% !important;
  margin: 32px 0 0 !important;
  justify-content: flex-end !important;
}

@media (max-width: 420px) {
  #cabinet-modal:has(#cashier.payment-method-open) #cashier > .tab-remake-cashier__content,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .tab_style_button,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .tab-remake__content,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier #payment-tab,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__gallery,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment-form {
    width: calc(100vw - 40px) !important;
  }

  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-grid {
    gap: 12px !important;
  }
}

@media (max-width: 420px) {
  #cabinet-modal:has(#cashier.payment-method-open) .tab-remake__logo-container,
  #cabinet-modal:has(#cashier.withdraw-method-open) .tab-remake__logo-container {
    width: 112px !important;
    max-width: 112px !important;
    margin: 14px auto 18px !important;
  }

  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-shell {
    gap: 11px !important;
  }

  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-back {
    height: 29px !important;
    font-size: 13px !important;
  }

  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-user,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-balance,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-title {
    font-size: 16px !important;
  }

  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-fields {
    gap: 10px !important;
  }

  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-label {
    font-size: 13px !important;
  }

  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input-wrap {
    min-height: 50px !important;
  }

  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input {
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    font-size: 16px !important;
    line-height: 46px !important;
  }

  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-submit {
    width: 180px !important;
    height: 50px !important;
    margin-top: 18px !important;
    font-size: 15px !important;
  }
}

/* Exact payment-detail controls from the cashier redesign. */
#cabinet-modal:has(#cashier.payment-method-open) #cashier > .tab-remake-cashier__content,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .tab_style_button,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .tab-remake__content,
#cabinet-modal:has(#cashier.payment-method-open) #cashier #payment-tab,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__gallery,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment-form {
  width: min(315px, calc(100vw - 40px)) !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-shell {
  gap: 12px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-back {
  width: 66px !important;
  height: 20px !important;
  min-height: 20px !important;
  padding: 0 !important;
  justify-content: center !important;
  gap: 5px !important;
  border: 1px solid #305e67 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #b7c6d0 !important;
  font-size: 11px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-fields {
  gap: 12px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-field {
  gap: 5px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-label {
  color: #adc0c6 !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input-wrap {
  width: 100% !important;
  min-height: 40px !important;
  height: 40px !important;
  border: 1px solid #305e67 !important;
  border-radius: 20px !important;
  background: linear-gradient(100deg, #0d1c2e 0%, #101d31 100%) !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-icon {
  width: 30px !important;
  height: 30px !important;
  margin-left: 10px !important;
  border-color: #305e67 !important;
  color: #305e67 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-icon_svg {
  font-size: 0 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-icon svg {
  display: block !important;
  color: #305e67 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input {
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding: 0 14px 0 10px !important;
  color: #fff !important;
  font-size: 16px !important;
  line-height: 38px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input::placeholder {
  color: #777a7f !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-grid {
  grid-template-columns: repeat(2, minmax(0, 150px)) !important;
  gap: 15px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-grid .payment__detail-input-wrap {
  height: 31.91px !important;
  min-height: 31.91px !important;
  border-radius: 16px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-grid .payment__detail-input {
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  line-height: 30px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-submit {
  width: 150px !important;
  height: 40px !important;
}

/* Payment detail: adaptive proportions from the redesign frame. */
#cabinet-modal:has(#cashier.payment-method-open) .tab-remake__logo-container,
#cabinet-modal:has(#cashier.withdraw-method-open) .tab-remake__logo-container {
  width: 120px !important;
  max-width: 120px !important;
  margin: 18px auto 20px !important;
  transform: none !important;
}

#cabinet-modal:has(#cashier.payment-method-open) .tab-remake__logo-container img,
#cabinet-modal:has(#cashier.payment-method-open) .tab-remake__logo-container svg,
#cabinet-modal:has(#cashier.withdraw-method-open) .tab-remake__logo-container img,
#cabinet-modal:has(#cashier.withdraw-method-open) .tab-remake__logo-container svg {
  width: 120px !important;
  max-width: 120px !important;
  height: auto !important;
  max-height: none !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier > .tab-remake-cashier__content,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .tab_style_button,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .tab-remake__content,
#cabinet-modal:has(#cashier.payment-method-open) #cashier #payment-tab,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__gallery,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment-form {
  width: min(432px, calc(100vw - 72px)) !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-shell {
  gap: 14px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-back {
  width: 90px !important;
  height: 29px !important;
  min-height: 29px !important;
  border-radius: 15px !important;
  font-size: 16px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-user {
  gap: 8px !important;
  font-size: 18px !important;
  font-weight: 500 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-user-icon {
  width: 27px !important;
  height: 27px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-balance {
  font-size: 18px !important;
  font-weight: 500 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-title {
  margin-top: 8px !important;
  gap: 3px !important;
  color: #b7c6d0 !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-title-prefix,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .js-payment-method-title {
  font-weight: 400 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-logo {
  min-height: 55px !important;
  margin: -4px 0 0 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-fields {
  gap: 11px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-field {
  gap: 6px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-label {
  font-size: 14px !important;
  font-weight: 400 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input-wrap {
  height: 54px !important;
  min-height: 54px !important;
  border: 1px solid #305e67 !important;
  border-radius: 27px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-icon {
  width: 30px !important;
  height: 30px !important;
  margin-left: 14px !important;
}

html[lang="he"] #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-icon,
html[lang="ar"] #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-icon {
  margin-left: 0 !important;
  margin-right: 14px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input {
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  font-size: 18px !important;
  line-height: 52px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-grid .payment__detail-input-wrap {
  height: 42px !important;
  min-height: 42px !important;
  border-radius: 21px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-grid .payment__detail-input {
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  font-size: 18px !important;
  line-height: 40px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-submit {
  width: 205px !important;
  height: 56px !important;
  min-height: 56px !important;
  margin-top: 20px !important;
  border-radius: 28px !important;
  font-size: 16px !important;
}

@media (max-width: 460px) {
  #cabinet-modal:has(#cashier.payment-method-open) #cashier > .tab-remake-cashier__content,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .tab_style_button,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .tab-remake__content,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier #payment-tab,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__gallery,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment-form {
    width: calc(100vw - 40px) !important;
  }

}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-grid .payment__detail-icon {
  width: 25px !important;
  height: 26px !important;
  border: 0 !important;
  border-radius: 0 !important;
}

/* The email SVG also contains its own outline. */
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-fields > .payment__detail-field:nth-child(3) .payment__detail-icon {
  width: 23px !important;
  height: 23px !important;
  border: 0 !important;
  border-radius: 0 !important;
}

/* The account SVG contains its own 19px ring. */
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-user-icon {
  width: 19px !important;
  height: 19px !important;
  border: 0 !important;
  border-radius: 0 !important;
}

/* The transformed modal is the fixed containing block for support messengers. */
#cabinet-modal:has(#cashier.payment-method-open) #cashier .cash-support-links1 {
  position: fixed !important;
  right: 32px !important;
  bottom: 28px !important;
  z-index: 2 !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  gap: 16px !important;
}

@media (max-width: 460px) {
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .cash-support-links1 {
    right: 20px !important;
    bottom: 20px !important;
  }
}

/* Match the redesign's larger dollar glyph without changing the input ring. */
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-fields > .payment__detail-field:nth-child(-n+2) .payment__detail-icon svg {
  width: 12px !important;
  height: 20px !important;
  max-width: none !important;
}

/* The payment gateway collects only amount data; account fields are not part of this step. */
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-fields > .payment__detail-field:nth-child(3),
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-grid {
  display: none !important;
}

/* Let payment-card text shrink and wrap inside the available footer width. */
#cabinet-modal #cashier .payment__item.payitem,
#cabinet-modal #cashier .payment__item.payitem .payitem__footer,
#cabinet-modal #cashier .payment__item.payitem .payitem__note {
  min-width: 0 !important;
}

#cabinet-modal #cashier .payment__item.payitem {
  flex: 0 0 auto !important;
  height: auto !important;
}

#cabinet-modal #cashier .payment__item.payitem .payitem__footer {
  flex: 1 1 0 !important;
  width: 0 !important;
  max-width: none !important;
  overflow: visible !important;
}

#cabinet-modal #cashier .payment__item.payitem .payitem__note {
  width: 100% !important;
  box-sizing: border-box !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

/* Responsive cashier layer: preserve the 315px design frame without fixed overflow. */
#cabinet-modal.popup_tabs {
  --cashier-frame: min(100%, 315px);
  --cashier-card-height: clamp(50px, 15vw, 58px);
  --cashier-control-height: clamp(35px, 11vw, 58px);
}

#cabinet-modal > .tab.tab-remake > .tab__action.tab-remake__action:not(.tab-remake__action_small),
#cabinet-modal #cashier > .tab-remake-cashier__content,
#cabinet-modal #cashier .payment__row,
#cabinet-modal #cashier .payment__row-inner,
#cabinet-modal #cashier .payment__gallery,
#cabinet-modal #cashier .payment-form,
#cabinet-modal #cashier .enter-pin {
  width: var(--cashier-frame) !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

#cabinet-modal > .tab.tab-remake > .tab__action.tab-remake__action:not(.tab-remake__action_small) {
  height: clamp(40px, 12vw, 45px) !important;
  min-height: 0 !important;
  max-height: none !important;
}

#cabinet-modal #cashier .payment__item.payitem {
  display: grid !important;
  grid-template-columns: clamp(82px, 34%, 110px) minmax(0, 1fr) !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: var(--cashier-card-height) !important;
  height: auto !important;
}

#cabinet-modal #cashier .payment__item.payitem .payitem__img,
#cabinet-modal #cashier .payment__item.payitem .payitem__img_inner {
  width: auto !important;
  min-width: 0 !important;
  min-height: var(--cashier-card-height) !important;
}

#cabinet-modal #cashier .payment__item.payitem .payitem__footer {
  width: auto !important;
  min-width: 0 !important;
  min-height: var(--cashier-card-height) !important;
  padding-inline: clamp(8px, 3vw, 12px) !important;
}

#cabinet-modal #cashier .enter-pin #form-pin {
  flex: 0 0 auto !important;
  width: 100% !important;
  height: var(--cashier-control-height) !important;
  min-height: var(--cashier-control-height) !important;
}

#cabinet-modal #cashier .enter-pin .send-pin {
  flex: 0 0 auto !important;
  width: clamp(150px, 52%, 205px) !important;
  max-width: 100% !important;
  height: clamp(40px, 11vw, 56px) !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier > .tab-remake-cashier__content,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .tab_style_button,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .tab-remake__content,
#cabinet-modal:has(#cashier.payment-method-open) #cashier #payment-tab,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__gallery,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment-form {
  width: min(100%, 432px) !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input-wrap {
  height: clamp(40px, 11vw, 54px) !important;
  min-height: clamp(40px, 11vw, 54px) !important;
  border-radius: clamp(20px, 5.5vw, 27px) !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input {
  height: calc(clamp(40px, 11vw, 54px) - 2px) !important;
  min-height: calc(clamp(40px, 11vw, 54px) - 2px) !important;
  max-height: none !important;
  line-height: calc(clamp(40px, 11vw, 54px) - 2px) !important;
  font-size: clamp(16px, 4vw, 18px) !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-submit {
  width: clamp(150px, 48%, 205px) !important;
  height: clamp(40px, 11vw, 56px) !important;
  min-height: clamp(40px, 11vw, 56px) !important;
  border-radius: clamp(20px, 5.5vw, 28px) !important;
}

/* Promo code is a compact control in every responsive layout. */
#cabinet-modal #cashier .enter-pin #form-pin {
  flex-basis: 35px !important;
  height: 35px !important;
  min-height: 35px !important;
  max-height: 35px !important;
}

/* Card divider is an inset rail, not a border connected to the card outline. */
#cabinet-modal #cashier .payment__item.payitem .payitem__footer {
  position: relative !important;
  border-left: 0 !important;
}

#cabinet-modal #cashier .payment__item.payitem .payitem__footer::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: clamp(8px, 18%, 12px) !important;
  bottom: clamp(8px, 18%, 12px) !important;
  width: 2px !important;
  border-radius: 2px !important;
  background: #305e67 !important;
}

/* Top cabinet tabs use one JS-controlled active state and no legacy separators. */
#cabinet-modal > .tab.tab-remake > .tab-remake__action:not(.tab-remake__action_small) > .tab-remake__item {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  text-shadow: none !important;
}

#cabinet-modal > .tab.tab-remake > .tab-remake__action:not(.tab-remake__action_small) > .tab-remake__item::before,
#cabinet-modal > .tab.tab-remake > .tab-remake__action:not(.tab-remake__action_small) > .tab-remake__item::after {
  content: none !important;
  display: none !important;
}

#cabinet-modal > .tab.tab-remake > .tab-remake__action:not(.tab-remake__action_small) > .tab-remake__item.tab__item_active {
  color: #fff !important;
  background: linear-gradient(90deg, #3c79a0, #6fadd6) !important;
  border: 0 !important;
  border-radius: 18px !important;
  box-shadow: none !important;
}

/* Keep the selected top tab inside the track padding at every viewport size. */
#cabinet-modal > .tab.tab-remake > .tab-remake__action:not(.tab-remake__action_small) > .tab-remake__item {
  align-self: stretch !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
}

/* Top tab rail follows the reference: 45px track, 37px items, 3px inset. */
#cabinet-modal > .tab.tab-remake > .tab-remake__action:not(.tab-remake__action_small) {
  height: 45px !important;
  min-height: 45px !important;
  max-height: 45px !important;
  padding: 3px !important;
}

#cabinet-modal > .tab.tab-remake > .tab-remake__action:not(.tab-remake__action_small) > .tab-remake__item {
  align-self: center !important;
  height: 37px !important;
  min-height: 37px !important;
  max-height: 37px !important;
  margin: 0 !important;
}

/* Profile/history content must never shrink the 315 x 45 top tab track. */
#cabinet-modal > .tab.tab-remake > .tab-remake__action:not(.tab-remake__action_small) {
  flex: 0 0 45px !important;
  flex-shrink: 0 !important;
}

/* Withdrawal uses the same in-cabinet detail screen as deposit without replacing form fields. */

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier > .tab-remake-cashier__content,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier .tab_style_button,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier .tab-remake__content,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__gallery,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdrawForm,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__row {
  width: min(100%, 432px) !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-inline: auto !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__row-inner,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .withdrawal-buffer {
  display: none !important;
}

#cabinet-modal #cashier:not(.withdraw-method-open) #withdraw-tab .payment__tooltip {
  display: none !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__tooltip.withdraw-method-view_open {
  display: flex !important;
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__tooltip_inner,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-tooltip {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 6px !important;
  background: transparent !important;
  box-shadow: none !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__tooltip .tab__head,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-tooltip__head {
  display: none !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .withdraw-method-view__header {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__detail-back {
  width: 90px !important;
  height: 29px !important;
  min-height: 29px !important;
  padding: 0 !important;
  justify-content: center !important;
  gap: 5px !important;
  border: 1px solid #305e67 !important;
  border-radius: 15px !important;
  background: transparent !important;
  color: #b7c6d0 !important;
  font-size: 16px !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__detail-user,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__detail-balance,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__detail-title {
  color: #b7c6d0 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__detail-user-name {
  font-weight: 500 !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__detail-balance-value {
  color: #00d36f !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__detail-title-prefix {
  font-weight: 400 !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__detail-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 36px !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__detail-logo img {
  display: block !important;
  max-width: 150px !important;
  max-height: 55px !important;
  object-fit: contain !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-tooltip__head-sub,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-limits-wrapper,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__select_block__label {
  color: #adc0c6 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-tooltip__number,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-tooltip > .pay-tooltip__input {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  width: 100% !important;
  margin: 0 !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-tooltip__number > .pay-tooltip__input {
  display: block !important;
  width: 100% !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-tooltip__title {
  color: #adc0c6 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-tooltip input.input__inner,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-tooltip__number_inner,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__select {
  box-sizing: border-box !important;
  width: 100% !important;
  height: clamp(36px, 9vw, 46px) !important;
  min-height: clamp(36px, 9vw, 46px) !important;
  padding: 0 16px !important;
  border: 1px solid #305e67 !important;
  border-radius: 23px !important;
  background: linear-gradient(100deg, #0d1c2e 0%, #101d31 100%) !important;
  color: #fff !important;
  font-size: clamp(15px, 4vw, 18px) !important;
  line-height: normal !important;
  box-shadow: none !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__select_block {
  display: flex;
  flex-direction: column !important;
  gap: 6px !important;
  width: 100% !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-tooltip__button_withdraw {
  align-self: center !important;
  width: clamp(150px, 48%, 205px) !important;
  height: clamp(38px, 10vw, 50px) !important;
  min-height: clamp(38px, 10vw, 50px) !important;
  margin: 4px auto 0 !important;
  border: 1px solid #598aaa !important;
  border-radius: 28px !important;
  background: linear-gradient(100deg, #1d555c 0%, #203f68 100%) !important;
  color: #fff !important;
  font-size: 16px !important;
  box-shadow: none !important;
}

/* Detail view must override the shared inactive-pane rule for withdrawal. */
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier .tab-remake__content > #withdraw-tab {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__gallery,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdrawForm,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__row {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

/* The withdrawal detail view must not inherit hidden legacy popup geometry. */
#cabinet-modal #cashier.withdraw-method-open .tab-remake__content > #withdraw-tab {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__tooltip.withdraw-method-view_open {
  display: flex !important;
  visibility: visible !important;
  position: static !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__tooltip_inner,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .pay-tooltip {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  transform: none !important;
}
/* Withdrawal detail reuses the proven deposit detail structure. */
#cabinet-modal:has(#cashier.withdraw-method-open) > .tab.tab-remake > .tab-remake__action,
#cabinet-modal #cashier.withdraw-method-open .tab_style_button > .tab__action {
  display: none !important;
}

#cabinet-modal #cashier.withdraw-method-open > .tab-remake-cashier__content,
#cabinet-modal #cashier.withdraw-method-open .tab-remake__content,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__gallery,
#cabinet-modal #cashier.withdraw-method-open #withdrawForm,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__row {
  display: block !important;
  visibility: visible !important;
  width: min(432px, calc(100vw - 72px)) !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin-inline: auto !important;
  overflow: visible !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__row-inner,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .withdrawal-buffer {
  display: none !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .withdraw-payment-method-view.payment-method-view_open {
  display: flex !important;
  visibility: visible !important;
  position: static !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment-method-view__inner,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .withdraw-payment-method-view__shell {
  display: flex !important;
  position: static !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 8px !important;
  color: #b7c6d0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .withdraw-payment-method-view__shell::after,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__tooltip .tab__head,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .pay-tooltip__head {
  display: none !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .withdraw-method-view__header {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100% !important;
  gap: 6px !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-user {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-user-icon {
  display: inline-flex !important;
  width: 19px !important;
  height: 19px !important;
  border: 0 !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-user,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-balance,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-title {
  font-size: clamp(16px, 4vw, 18px) !important;
  line-height: 1.2 !important;
  color: #b7c6d0 !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-title {
  margin-top: 2px !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-balance-value {
  color: #00d36f !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 36px !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-logo img {
  display: block !important;
  max-width: 150px !important;
  max-height: 55px !important;
  object-fit: contain !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-field {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 0 !important;
  gap: 4px !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-label,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .withdraw-payment-method-view__fee,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .pay-limits-wrapper,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__select_block__label {
  font-size: 14px !important;
  line-height: 1.2 !important;
  color: #adc0c6 !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-input,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__select {
  box-sizing: border-box !important;
  width: 100% !important;
  height: clamp(36px, 9vw, 46px) !important;
  min-height: clamp(36px, 9vw, 46px) !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 1px solid #305e67 !important;
  border-radius: 23px !important;
  background: linear-gradient(100deg, #0d1c2e 0%, #101d31 100%) !important;
  color: #fff !important;
  font-size: clamp(15px, 4vw, 18px) !important;
  box-shadow: none !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__select_block {
  display: flex;
  flex-direction: column !important;
  width: 100% !important;
  gap: 6px !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-submit {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  width: clamp(150px, 48%, 205px) !important;
  height: clamp(38px, 10vw, 50px) !important;
  min-height: clamp(38px, 10vw, 50px) !important;
  margin: 4px auto 0 !important;
  padding: 0 18px !important;
  border: 1px solid #598aaa !important;
  border-radius: 28px !important;
  background: linear-gradient(100deg, #1d555c 0%, #203f68 100%) !important;
  color: #fff !important;
  font-size: 16px !important;
  box-shadow: none !important;
}

@media (max-width: 575px) {
  #cabinet-modal #cashier.withdraw-method-open > .tab-remake-cashier__content,
  #cabinet-modal #cashier.withdraw-method-open .tab-remake__content,
  #cabinet-modal #cashier.withdraw-method-open #withdraw-tab,
  #cabinet-modal #cashier.withdraw-method-open #withdrawForm {
    width: calc(100vw - 40px) !important;
  }
}
.main-providers {
  position: relative;
  z-index: 20;
}

/* Homepage game carousels */
.game-carousel {
  position: relative;
  width: 100%;
  --carousel-edge: 8px;
  margin-bottom: 28px;
  overflow: hidden;
}

.game-carousel__header {
  margin-bottom: 2px;
  padding-inline: var(--carousel-edge);
  column-gap: 16px;
}

.game-carousel__header .text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-carousel__header .btn.mini {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  min-height: 39px;
  height: auto;
  padding-inline: clamp(12px, 1.5vw, 16px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid #305e67 !important;
  border-radius: 27px;
  background: linear-gradient(88.78deg, #25d366 -13.15%, #198d66 113.06%);
  color: #fff;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.game-carousel__stage {
  position: relative;
  padding-inline: var(--carousel-edge);
}

.game-carousel__viewport {
  width: 100%;
  padding: 18px 0 24px;
  overflow: hidden;
  touch-action: pan-y;
}

.game-carousel__slide {
  height: auto;
  opacity: 1;
  filter: none;
  transform: none;
  transform-origin: center;
  transition: opacity 350ms ease, filter 350ms ease, transform 350ms ease;
}

.game-carousel__slide.swiper-slide-prev,
.game-carousel__slide.swiper-slide-next {
  z-index: 2;
  opacity: 1;
  filter: none;
  transform: none;
}

.game-carousel__slide.swiper-slide-active {
  z-index: 3;
  opacity: 1;
  filter: none;
  transform: none;
}

.products .game-carousel .product {
  height: 100%;
  margin-bottom: 0;
}

.products .game-carousel .product .preview {
  aspect-ratio: 1.45 / 1;
  border: 1px solid #305e67;
  border-radius: 8px;
  background: #132e4d;
  transition: border-color 250ms ease, box-shadow 250ms ease;
}

.products .game-carousel .product .preview > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products .game-carousel .product .preview > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products .game-carousel .swiper-slide-active .product .preview {
  border-color: #305e67;
  box-shadow: none;
}

.products .game-carousel .product .demo {
  background-color: rgba(7, 16, 31, 0.88);
}

.game-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid #305e67;
  border-radius: 50%;
  color: #fff;
  background: rgba(9, 32, 58, 0.92);
  transform: translateY(-58%);
  transition: border-color 200ms ease, color 200ms ease, background-color 200ms ease, transform 200ms ease;
  cursor: pointer;
}

.game-carousel__arrow--prev {
  inset-inline-start: 2px;
}

.game-carousel__arrow--next {
  inset-inline-end: 2px;
}

.game-carousel__arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.game-carousel__arrow:hover {
  border-color: #236dd2;
  color: #acc7ff;
  background: #132e4d;
}

.game-carousel__arrow:active {
  transform: translateY(-58%) scale(0.92);
}

.game-carousel__arrow.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

@media only screen and (max-width: 1023px) {
  .game-carousel {
    --carousel-edge: 12px;
  }

  .game-carousel__viewport {
    padding-block: 8px 18px;
  }

  .game-carousel__slide,
  .game-carousel__slide.swiper-slide-prev,
  .game-carousel__slide.swiper-slide-next,
  .game-carousel__slide.swiper-slide-active {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@media only screen and (min-width: 564px) and (max-width: 767px) {
  .main-providers,
  .game-carousel__header {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding-inline: 20px !important;
    box-sizing: border-box;
  }
}

@media only screen and (max-width: 767px) {
  .products .game-carousel__header .text {
    color: #45cb00;
  }

  .game-carousel__header {
    padding-inline: 12px;
  }

  .game-carousel {
    margin-bottom: 22px;
    overflow: visible;
  }

  .game-carousel__stage {
    width: 100vw;
    padding-inline: 0;
    margin-inline: calc(50% - 50vw);
  }

  .game-carousel__viewport {
    padding: 6px var(--carousel-edge) 14px;
  }

  .game-carousel__arrow {
    display: none;
  }

  .products .game-carousel .product .title {
    font-size: 14px;
  }

  .products .game-carousel .product .text {
    font-size: 12px;
  }
}

.game-carousel button.game-carousel__arrow,
.game-carousel button.game-carousel__arrow:focus {
  border-color: #305e67 !important;
  background-color: rgba(9, 32, 58, 0.92) !important;
}

.game-carousel button.game-carousel__arrow:hover {
  border-color: #236dd2 !important;
  background-color: #132e4d !important;
}

/* Infinite recent wins carousel */
.winning-carousel {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 0 1rem;
  overflow: hidden;
  background: linear-gradient(to right, #070e1c, #091220);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.winning-carousel:not(.is-ready) {
  display: none;
}

.winning-carousel__viewport {
  width: 100%;
  overflow: hidden;
}

.winning-carousel__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 10px;
  padding: 0 8px;
  animation: winning-carousel-scroll 30s linear infinite;
  will-change: transform;
}

.winning-carousel:hover .winning-carousel__track,
.winning-carousel:focus-within .winning-carousel__track {
  animation-play-state: paused;
}

.winning-carousel__card {
  display: flex;
  flex: 0 0 clamp(102px, 10vw, 110px);
  width: clamp(102px, 10vw, 110px);
  align-items: center;
  min-height: 46px;
  height: auto;
  min-width: 0;
  padding: clamp(2px, 0.35vw, 5px) clamp(4px, 0.6vw, 8px);
  border: 1.5px solid rgba(168, 156, 114, 0.5);
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(180deg, rgba(139, 109, 60, 0.11) 36.13%, rgba(101, 81, 52, 0.11) 100%);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.35), 0 4px 6px -4px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}

.winning-carousel__card-image {
  width: 21px;
  height: 16px;
  flex: 0 0 21px;
  margin-right: clamp(4px, 1vw, 8px);
  border: 1px solid rgba(168, 156, 114, 0.3);
  border-radius: 26px;
  object-fit: cover;
}

.winning-carousel__card-content {
  min-width: 0;
}

.winning-carousel__card-login,
.winning-carousel__card-game,
.winning-carousel__card-win {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.winning-carousel__card-login {
  color: #9ca3af;
  font-size: clamp(7px, 1.5vw, 8px);
  line-height: 1.1;
}

.winning-carousel__card-game {
  color: #fff;
  font-size: clamp(9px, 1.9vw, 10px);
  font-weight: 500;
  line-height: 1.1;
}

.winning-carousel__card-win {
  color: #f5d96a;
  font-size: clamp(12px, 3.6vw, 16px);
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 0 8px rgba(245, 217, 106, 0.4);
}

@keyframes winning-carousel-scroll {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (max-width: 767px) {
  .winning-carousel {
    padding: 1.5rem 0 0.75rem;
  }

  .winning-carousel__track {
    gap: 10px;
    animation-duration: 30s;
  }
}

/* Hebrew game carousel headers follow RTL reading order. */
html[lang="he"] .game-carousel__header ,
html[lang="ar"] .game-carousel__header {
  flex-direction: row-reverse;
}

html[lang="he"] .main-providers ,
html[lang="ar"] .main-providers {
  flex-direction: row-reverse;
}

html[lang="he"] .main-providers .providers-dropdown-block ,
html[lang="ar"] .main-providers .providers-dropdown-block {
  right: 0;
  left: auto;
}

/* Category provider control follows Hebrew right-to-left layout. */
html[lang="he"] .providers-block:not(.main-providers) ,
html[lang="ar"] .providers-block:not(.main-providers) {
  position: relative;
  min-height: 30px;
}

html[lang="he"] .providers-block:not(.main-providers) > .providers-dropdown ,
html[lang="ar"] .providers-block:not(.main-providers) > .providers-dropdown {
  position: absolute;
  top: 0;
  right: 12px;
  left: auto;
  margin: 0;
}

/* Stitch provider control, using the existing template markup. */
.providers-dropdown {
  width: clamp(118px, 22vw, 200px);
  z-index: 50;
}

.providers-title {
  width: 100%;
  min-height: 52px;
  padding: 0 20px;
  box-sizing: border-box;
  justify-content: space-between;
  border: 1px solid #2c4356;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
}
.providers-title.active {
  border-color: #2c6f7a;
  border-bottom-color: transparent;
  border-radius: 28px 28px 0 0;
  background: rgba(15, 23, 42, 0.95);
}

.providers-dropdown .arrow {
  display: block;
  width: 13px;
  height: 16px;
  flex: 0 0 13px;
  margin-left: 10px;
  fill: #adc0c6;
  transform: rotate(180deg);
  transition: transform 200ms ease;
}

.providers-title.active .check-text__provider,
.providers-title.active .provmain-text__provider {
  color: #fff;
}

.providers-title.active .arrow {
  fill: #adc0c6;
  transform: rotate(0deg);
}

.providers-dropdown-block.active {
  left: 0;
  right: auto;
  top: calc(100% - 1px);
  width: 100%;
  min-width: 0;
  max-height: min(620px, calc(100vh - 140px));
  padding: 8px 0 14px;
  box-sizing: border-box;
  overflow-y: auto;
  border: 1px solid #2c6f7a;
  border-top: 0;
  border-radius: 0 0 28px 28px;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}
.providers-dropdown-block.active .check-text,
.providers-dropdown-block.active .provmain-text {
  min-height: 64px;
  padding: 0 20px;
  gap: 12px;
  box-sizing: border-box;
  line-height: 1.2;
  font-size: 18px;
  font-weight: 500;
  color: #f5f7fb;
  background: transparent;
}

.providers-dropdown-block.active .check-text:hover,
.providers-dropdown-block.active .provmain-text:hover {
  background: rgba(44, 111, 122, 0.2);
}

.providers-dropdown-block.active .check-text__provider {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  gap: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.providers-dropdown-block.active .check-text__provider img {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  max-width: 36px;
  max-height: 36px;
  margin: 0;
  border-radius: 50%;
  object-fit: contain;
}

.providers-dropdown-block.active .check-text__summ {
  flex: 0 0 auto;
  margin-inline-start: auto;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}
.providers-title .provmain-text__provider {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 500;
  text-transform: uppercase;
}

html[lang="he"] .providers-dropdown-block.active ,
html[lang="ar"] .providers-dropdown-block.active {
  right: 0;
  left: auto;
}

@media only screen and (max-width: 767px) {
  .providers-dropdown {
    width: clamp(112px, 38vw, 180px);
  }

  .providers-title {
    min-height: 48px;
    padding: 0 14px;
  }

  .providers-dropdown-block.active {
    max-height: calc(100vh - 120px);
  }
}
/* Keep the contacts page in the natural Hebrew right-to-left reading order. */
html[lang="he"] .contacts-page ,
html[lang="ar"] .contacts-page {
  align-items: flex-end;
  direction: rtl;
  text-align: right;
  width: fit-content !important;
  margin-right: 0;
  margin-left: auto;
}

html[lang="he"] .contacts-page > .h-contact-form ,
html[lang="ar"] .contacts-page > .h-contact-form {
  align-self: flex-end;
  width: fit-content;
  margin-left: auto;
  text-align: right;
}

html[lang="he"] .contacts-page .contacts-block ,
html[lang="ar"] .contacts-page .contacts-block {
  align-self: flex-end;
  width: fit-content;
}

html[lang="he"] .contacts-page .contacts-row ,
html[lang="ar"] .contacts-page .contacts-row {
  flex-direction: row;
}

html[lang="he"] .contacts-page .contacts-row svg ,
html[lang="ar"] .contacts-page .contacts-row svg {
  margin-right: 0;
  margin-left: 20px;
}

html[lang="he"] .contacts-page .contacts-row .title ,
html[lang="ar"] .contacts-page .contacts-row .title {
  margin-right: 0;
  margin-left: 10px;
}

html[lang="he"] .contacts-page .contacts-row a ,
html[lang="ar"] .contacts-page .contacts-row a {
  direction: ltr;
  unicode-bidi: plaintext;
}

html[lang="he"] .contacts-page .contacts-row:nth-child(3) .title ,
html[lang="ar"] .contacts-page .contacts-row:nth-child(3) .title {
  order: 1;
  direction: ltr;
  unicode-bidi: isolate;
}

/* Provider control sizing and spacing. */
.providers-dropdown {
  width: 130px;
}

.providers-title,
.main-providers .providers-title {
  width: 130px;
  height: 30px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 20px !important;
}

.providers-title,
.providers-title .check-text__provider,
.providers-title .provmain-text__provider {
  font-family: "Nunito Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
}

.providers-dropdown .arrow {
  width: 13px;
  height: 16px;
  flex-basis: 13px;
  margin-left: 0;
  fill: #adc0c6;
}

@media only screen and (max-width: 767px) {
  .providers-dropdown {
    width: 130px;
  }

  .providers-title,
  .main-providers .providers-title {
    width: 130px;
  }
}

/* Expanded provider control width. */
.providers-dropdown:has(.providers-title.active) {
  width: 270px;
}

.providers-dropdown:has(.providers-title.active) .providers-title,
.providers-dropdown:has(.providers-title.active) .providers-dropdown-block {
  width: 270px;
}

@media only screen and (max-width: 767px) {
  .providers-dropdown:has(.providers-title.active),
  .providers-dropdown:has(.providers-title.active) .providers-title,
  .providers-dropdown:has(.providers-title.active) .providers-dropdown-block {
    width: min(270px, calc(100vw - 24px));
  }
}

/* Smooth provider control expansion and unified active border. */
.providers-dropdown,
.providers-title,
.providers-dropdown-block.active {
  transition: width 250ms ease, border-color 200ms ease, background-color 200ms ease;
}

.providers-title,
.providers-dropdown-block.active {
  border-color: #305e67;
}

.providers-title.active {
  border-color: #305e67;
  border-bottom-color: #305e67;
  border-bottom: 0;
  border-radius: 16px 16px 0 0 !important;
  background: rgba(15, 23, 42, 0.95);
}

.providers-dropdown-block.active {
  border-color: #305e67;
  top: calc(100% - 1px);
  border-top: 0;
  border-radius: 0 0 16px 16px !important;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

@media only screen and (max-width: 767px) {
  .providers-title,
  .providers-dropdown-block.active {
    transition: width 250ms ease, border-color 200ms ease, background-color 200ms ease;
  }
}

/* Keep the products offset fix limited to the banner-following block. */
.banner-midas + .products {
  margin-top: 0 !important;
}

@media only screen and (max-width: 480px) {
  .banner-midas + .products {
    padding-top: 0 !important;
  }
}

/* Keep expanded provider rows at the Figma text size. */
.providers-dropdown-block.active .check-text,
.providers-dropdown-block.active .provmain-text,
.providers-dropdown-block.active .check-text__summ {
  font-size: 18px;
}

/* Keep the provider scrollbar inside the rounded dropdown. */
.providers-dropdown-block.active {
  overflow-x: hidden;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #305e67 rgba(14, 24, 44, 0.35);
}

.providers-dropdown-block.active::-webkit-scrollbar {
  width: 6px;
}

.providers-dropdown-block.active::-webkit-scrollbar-track {
  background: transparent;
}

.providers-dropdown-block.active::-webkit-scrollbar-thumb {
  background: #305e67;
  border-radius: 16px;
}


/* Provider rows match the Figma typography and icon scale. */
.providers-dropdown-block.active .check-text,
.providers-dropdown-block.active .provmain-text {
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.2;
  color: #fff;
}

.providers-dropdown-block.active .check-text__provider img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  max-width: 22px;
  max-height: 22px;
}

.providers-dropdown-block.active .check-text__summ {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.05em;
  text-align: right;
}

/* Responsive game carousel section titles. */
.products .game-carousel__header .text {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: clamp(14px, 1.65vw, 21px);
  letter-spacing: -0.05em;
  color: #fff !important;
  text-transform: uppercase;
}

/* Keep winning cards inside a safe edge zone on narrow viewports. */
.winning-carousel {
  padding-inline: clamp(8px, 2vw, 32px);
  box-sizing: border-box;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 4%,
    #000 96%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 4%,
    #000 96%,
    transparent 100%
  );
}
.winning-carousel__viewport {
  box-sizing: border-box;
  padding-bottom: 2px;
  min-width: 0;
}
/* Full-width layout with adaptive content gutters. */
.winning-carousel {
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  box-sizing: border-box;
  padding-inline: clamp(8px, 2vw, 32px);
}
.products > .container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(12px, 3vw, 48px) !important;
  box-sizing: border-box;
}
.products > .container > .game-carousel {
  width: 100%;
  max-width: none;
}

/* X-Play Stitch header redesign */
.x-header{position:fixed;inset:0 0 auto;z-index:50;height:64px;border-bottom:1px solid rgba(111,173,214,.36);background:#070d1f}
.x-header__inner{width:100%;max-width:1386px;height:100%;margin:0 auto;padding-inline:16px;display:flex;align-items:center;gap:12px;box-sizing:border-box}
.x-header__left,.x-header__actions{display:flex;align-items:center;flex:0 0 auto;gap:8px}
.x-header__left{gap:6px}
.x-header__icon{width:32px;height:32px;padding:0;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;cursor:pointer}
.x-header__icon img{width:20px;height:20px;object-fit:contain}
.x-header__logo{width:108px;height:40px;margin-inline:2px 8px;display:flex;align-items:center;justify-content:center;flex:0 0 108px}
.x-header__logo img,.x-header__logo svg{display:block;width:100%;max-width:108px;max-height:40px;object-fit:contain}
.x-header__categories{min-width:0;flex:1 1 auto;height:40px;display:flex;align-items:center;gap:6px;overflow:hidden}
.x-header__category{min-width:max-content;height:36px;padding:3px 8px 3px 6px;display:inline-flex;align-items:center;gap:5px;border:1px solid rgba(111,173,214,.36);border-radius:12px;color:#fff;background:#0c1325;font-family:var(--font-family);font-size:9px;font-weight:700;line-height:1.05;letter-spacing:-.03em;text-transform:uppercase;white-space:nowrap}
.x-header__category:hover{border-color:#305e67;background:#141b2d}
.x-header__category img{width:29px;height:29px;flex:0 0 29px;object-fit:contain}
.x-header__balance,.x-header__deposit,.x-header__auth,.x-header__register,.x-header__profile{height:36px;min-width:84px;padding-inline:14px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;border-radius:16px;font-family:var(--font-family);font-size:10px;font-weight:800;line-height:1;text-align:center;letter-spacing:-.03em;text-transform:uppercase;white-space:nowrap}
.x-header__balance{color:#25d366;background:#141b2d}
.x-header__balance_requested,.x-header__balance_requested *{color:#ff9f30!important}
.x-header__balance_buffer,.x-header__balance_buffer *{color:#36c7ef!important}
.x-header__balance_rtl{direction:ltr;gap:2px}
.x-header__balance_rtl .x-header__balance-amount{unicode-bidi:isolate}
.x-header__balance_rtl .x-header__balance-label{unicode-bidi:isolate}
.x-header__balance_buffer > bdi,
.x-header__balance_requested > bdi,
.x-header__balance_requested .x-header__balance-amount,
.x-header__balance_buffer .x-header__balance-amount{margin-inline-start:.3em}
.x-header__deposit,.x-header__register{border:1px solid rgba(111,214,157,.67);color:#fff;background:linear-gradient(88.78deg,#25d366 -13.15%,#198d66 113.06%);cursor:pointer}
.x-header__auth,.x-header__profile{border:1px solid rgba(111,214,157,.67);color:#25d366;background:#15263e;cursor:pointer}
.x-header__support{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto}.x-header__support a{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;border-radius:50%;line-height:0}.x-header__support a:hover,.x-header__support a:focus-visible{background:rgba(255,255,255,.08)}.x-header__support img{display:block;width:25px;height:25px;object-fit:contain}.x-header__language{min-width:28px;height:36px;margin:0;padding:0 4px;display:inline-flex;align-items:center;gap:4px}
.x-header__language .lang-img{width:22px;height:22px;margin:0;border-radius:50%}
.x-header__language .arrow{width:8px;height:auto;margin:0}
.x-header__language .list{top:100%;right:0;left:auto;min-width:74px;padding:4px 0;border:1px solid #305e67;border-radius:8px;background:#0c1325;z-index:60}
.x-header__language .list li{height:32px;padding:0 10px;gap:6px;color:#fff;font-size:11px}
.x-header__language .list li .lang-img{width:18px;height:18px}
@media only screen and (min-width:1200px){body:not(.faq-page):not(.game-page){padding-top:64px}.sub-header{display:none!important}.x-header__icon.menu{display:none}}
@media only screen and (max-width:1199px){.x-header{height:64px;border-bottom:0!important}.x-header__inner{max-width:none;padding-inline:12px;gap:6px}.x-header__categories,.x-header__language,.x-header__profile{display:none}.x-header__left{gap:2px}.x-header__logo{width:96px;flex-basis:96px;margin-inline:2px 0}.x-header__logo img,.x-header__logo svg{max-width:96px}.x-header__actions{margin-inline-start:auto;gap:6px}.x-header__balance,.x-header__deposit,.x-header__auth,.x-header__register{min-width:0;height:36px;padding-inline:clamp(9px,2vw,16px);font-size:clamp(10px,1.5vw,12px)}.sub-header{top:64px;z-index:51;height:50px;border-top:0!important;border-bottom:1px solid rgba(111,173,214,.36);background:#070d1f!important}.sub-header .swiper{width:100%;height:50px;padding-inline-start:8px;box-sizing:border-box}.sub-header .swiper-wrapper{justify-content:flex-start;gap:6px}.sub-header .swiper-slide{flex:0 0 auto}.sub-header .swiper-slide a{height:42px;padding-inline:10px;border:1px solid rgba(111,173,214,.36);border-radius:12px;font-family:var(--font-family);font-size:10px;line-height:1.05;white-space:nowrap}.sub-header .swiper-slide img{width:36px;height:36px;margin-inline-end:2px;position:relative;top:-3px;left:-3px;overflow:visible}.sub-header .swiper-button-prev,.sub-header .swiper-button-next{display:none!important}}
@media only screen and (max-width:480px){.x-header__inner{padding-inline:8px}.x-header__logo{width:82px;flex-basis:82px}.x-header__logo img,.x-header__logo svg{max-width:82px}.x-header__balance,.x-header__deposit,.x-header__auth,.x-header__register{height:32px;padding-inline:8px;border-radius:14px;font-size:10px}.x-header__icon{width:30px;height:30px}.x-header__icon img{width:18px;height:18px}.sub-header .swiper-slide a{padding-inline:8px;font-size:9px}}
.x-header .x-header__icon.menu,.x-header .x-header__icon.menu:hover,.x-header .x-header__icon.menu:focus,.x-header .x-header__icon.menu:active{background:transparent !important;box-shadow:none !important;outline:none}


.x-header .x-header__icon.search {
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.x-header .x-header__icon.search:hover {
  background: rgba(120, 227, 140, 0.08);
}
.x-header .x-header__icon.search,
.x-header .x-header__icon.search:hover,
.x-header .x-header__icon.search:focus,
.x-header .x-header__icon.search:active {
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
}
.main-providers .providers-title .remove-selected {
  display: none !important;
  pointer-events: none;
}
.providers-title .remove-selected {
  display: none !important;
  pointer-events: none;
}

@media only screen and (max-width:1199px){.x-header__support{gap:4px}.x-header__support a{width:32px;height:32px;flex-basis:32px}.x-header__support img{width:17px;height:17px}}


@media only screen and (min-width:1200px) {
  .x-header__inner {
    max-width: none;
    padding-inline: clamp(12px, 3vw, 48px);
  }

  .x-header__left,
  .x-header__actions {
    flex: 0 0 auto;
  }

  .x-header__categories {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    touch-action: pan-x;
    cursor: grab;
  }

  .x-header__categories::-webkit-scrollbar {
    display: none;
  }

  .x-header__categories.is-dragging {
    cursor: grabbing;
    user-select: none;
  }

  .x-header__category {
    flex: 0 0 auto;
  }
}

/* Admin-managed category artwork may extend beyond the compact border. */
@media only screen and (min-width:1200px) {
  .x-header__category {
    overflow: visible;
  }

  .x-header__category img {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    margin-block: -3px;
    object-fit: contain;
  }
}

/* Guest login stays transparent instead of inheriting the legacy blue button. */
.x-header .x-header__auth {
  font-family: var(--font-family) !important;
  font-weight: 800 !important;
  font-size: 10px !important;
  text-align: center !important;
  border: 1px solid #305e67 !important;
  color: #25d366 !important;
  background: transparent !important;
}
.x-header .x-header__auth:hover,
.x-header .x-header__auth:focus,
.x-header .x-header__auth:active {
  border-color: #305e67 !important;
  color: #25d366 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media only screen and (max-width:1199px) {
  .x-header .x-header__language { display: none !important; }
  .x-header .x-header__auth,
  .x-header .x-header__auth:hover,
  .x-header .x-header__auth:focus,
  .x-header .x-header__auth:active {
    border: 1px solid #25d366 !important;
    color: #25d366 !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
  }
}

/* Center category navigation when the translated labels fit the available width. */
@media only screen and (min-width:1200px) {
  .x-header__categories {
    justify-content: safe center;
    direction: ltr;
  }
}

/* Lift category artwork above the chip and slightly toward its left edge. */
@media only screen and (min-width:1200px) {
  .x-header__category img {
    position: relative;
    top: -5px;
    left: -3px;
  }
}

/* Keep lifted artwork inside the horizontal scroll viewport. */
@media only screen and (min-width:1200px) {
  .x-header__categories {
    height: 48px;
  }

  .x-header__category img {
    margin-block: 0;
    top: -1px;
  }
}

/* Provider dropdown must stay below the fixed header. */
.providers-dropdown {
  z-index: 40;
}

.providers-dropdown-block.active {
  z-index: 40;
}

/* Reserve space below category artwork without clipping its top edge. */
@media only screen and (min-width:1200px) {
  .x-header__categories {
    height: 52px;
  }

  .x-header__category img {
    margin-bottom: 8px;
    top: 0;
  }
}


/* Figma typography for guest registration. */
.x-header .x-header__register {
  font-family: var(--font-family) !important;
  font-weight: 800 !important;
  font-size: 10px !important;
  text-align: center !important;
  color: #fff !important;
}


/* Keep header support buttons at desktop size on small screens. */
@media only screen and (max-width:1199px) {
  .x-header__balance_requested.is-mobile-overflow-hidden,
  .x-header__balance_buffer.is-mobile-overflow-hidden {
    display: none;
  }

  .x-header__support { gap: 0; }
  .x-header__support a { width: 40px; height: 40px; flex-basis: 40px; }
  .x-header__support img { width: 25px; height: 25px; }
}


/* Keep category images full-size on mobile sub-header buttons. */
@media only screen and (max-width:1199px) {
  .sub-header .swiper-slide img {
    width: 42px;
    height: 42px;
    top: -5px;
    left: -4px;
  }
}


/* Let category images extend beyond the swiper button without being clipped. */
@media only screen and (max-width:1199px) {
  .sub-header .swiper {
    overflow: visible;
  }
}


/* Prevent category artwork from being clipped by nested swiper containers. */
@media only screen and (max-width:1199px) {
  .sub-header,
  .sub-header .swiper,
  .sub-header .swiper-wrapper,
  .sub-header .swiper-slide,
  .sub-header .swiper-slide a {
    overflow: visible !important;
  }
  .sub-header,
  .sub-header .swiper,
  .sub-header .swiper-wrapper {
    background: #070d1f !important;
  }
  .sub-header .swiper-slide img {
    object-fit: contain;
  }
}


@media only screen and (max-width:350px) {
  .x-header__support {
    display: none !important;
  }
}


@media only screen and (max-width:1199px) {
  .sub-header .swiper {
    touch-action: pan-x;
    cursor: grab;
    user-select: none;
  }
  .sub-header .swiper:active {
    cursor: grabbing;
  }
}


@media only screen and (max-width:1199px) {
  .sub-header .swiper-slide a {
    height: 32px;
  }
}


@media only screen and (max-width:1199px) {
  .sub-header .swiper-slide a {
    font-size: 10px;
    border-width: 1.5px;
    font-weight: 500;
    background: linear-gradient(248.82deg, rgba(43, 95, 123, 0.2) -18.1%, rgba(25, 56, 69, 0.2) 50.72%, rgba(33, 94, 109, 0.2) 119.38%);
  }
  .sub-header .swiper-slide img {
    left: -6px;
  }
}


.sub-header .swiper-slide a {
  background: linear-gradient(248.82deg, rgba(43, 95, 123, 0.2) -18.1%, rgba(25, 56, 69, 0.2) 50.72%, rgba(33, 94, 109, 0.2) 119.38%);
}

/* Keep the burger button size consistent on narrow screens. */
@media only screen and (max-width:480px) {
  .x-header .x-header__icon.menu {
    width: 32px;
    height: 32px;
  }
  .x-header .x-header__icon.menu img {
    width: 22px;
    height: 22px;
  }
}

/* Keep the language picker below the mobile menu's own back-arrow row
   (44px), so the arrow stays visible/clickable — not below the site's
   header, which this panel already sits above of. */
@media only screen and (max-width:1199px) {
  .mobile-menu .language-popup {
    top: 44px;
    bottom: 0;
  }
}

/* Let Swiper calculate the full RTL track, including spacing at both edges. */
@media only screen and (max-width:1199px) {
  .sub-header .swiper-wrapper {
    gap: 0;
  }
}

/* Keep support actions visible without overflowing narrow mobile headers. */
@media only screen and (min-width:351px) and (max-width:390px) {
  .x-header__inner {
    padding-inline: 2px;
    gap: 2px;
  }

  .x-header__left {
    gap: 0;
  }

  .x-header__logo {
    width: 72px;
    flex-basis: 72px;
    margin-inline: 0;
  }

  .x-header__logo img,
  .x-header__logo svg {
    max-width: 72px;
  }

  .x-header__actions {
    gap: 2px;
  }

  .x-header__auth,
  .x-header__register {
    padding-inline: 4px;
  }

  .x-header__support {
    gap: 2px;
  }
}
/* Fade only the edges that contain additional category chips. */
@media only screen and (max-width:1199px) {
  .sub-header {
    isolation: isolate;
  }

  .sub-header::before,
  .sub-header::after {
    content: "";
    position: absolute;
    top: -9px;
    bottom: 0;
    width: clamp(28px, 7vw, 48px);
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    transition: opacity 180ms ease;
  }

  .sub-header::before {
    left: 0;
    background: linear-gradient(to right, #070d1f 0%, rgba(7, 13, 31, 0.88) 42%, rgba(7, 13, 31, 0) 100%);
  }

  .sub-header::after {
    right: 0;
    background: linear-gradient(to left, #070d1f 0%, rgba(7, 13, 31, 0.88) 42%, rgba(7, 13, 31, 0) 100%);
  }

  .sub-header.has-edge-overflow::before,
  .sub-header.has-edge-overflow::after {
    opacity: 1;
  }

  .sub-header.is-at-start:not(.is-rtl)::before,
  .sub-header.is-at-end.is-rtl::before,
  .sub-header.is-at-start.is-rtl::after,
  .sub-header.is-at-end:not(.is-rtl)::after {
    opacity: 0;
  }
}
/* Keep category chip interaction in the header color palette. */
@media only screen and (max-width:1199px) {
  .sub-header .swiper-slide a:hover,
  .sub-header .swiper-slide a:focus-visible,
  .sub-header .swiper-slide a:active {
    background: #0d1928;
  }
}
/* Fade the scrollable desktop category rail at its physical edges. */
@media only screen and (min-width:1200px) {
  .x-header__categories-fade {
    min-width: 0;
    flex: 1 1 auto;
    height: 52px;
    position: relative;
    isolation: isolate;
  }

  .x-header__categories-fade .x-header__categories {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
  }

  .x-header__categories-fade::before,
  .x-header__categories-fade::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(28px, 3vw, 64px);
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    transition: opacity 180ms ease;
  }

  .x-header__categories-fade::before {
    left: 0;
    background: linear-gradient(to right, #070d1f 0%, rgba(7, 13, 31, 0.88) 42%, rgba(7, 13, 31, 0) 100%);
  }

  .x-header__categories-fade::after {
    right: 0;
    background: linear-gradient(to left, #070d1f 0%, rgba(7, 13, 31, 0.88) 42%, rgba(7, 13, 31, 0) 100%);
  }

  .x-header__categories-fade.has-edge-overflow::before,
  .x-header__categories-fade.has-edge-overflow::after {
    opacity: 1;
  }

  .x-header__categories-fade.is-at-start::before,
  .x-header__categories-fade.is-at-end::after {
    opacity: 0;
  }
}
/* Align the visual weight and spacing of the mobile menu and search icons. */
@media only screen and (max-width:1199px) {
  .x-header__left {
    gap: 0;
  }

  .x-header .x-header__icon.menu img {
    width: 28px;
    height: 28px;
  }
}

/* Keep the homepage fluid below the legacy 320px layout floor. */
@media only screen and (max-width:320px) {
  html,
  body,
  body.login-frame {
    min-width: 0 !important;
  }

  .x-header__inner {
    padding-inline: 4px;
    gap: 2px;
  }

  .x-header__logo {
    width: 72px;
    flex-basis: 72px;
    margin-inline: 0;
  }

  .x-header__logo img,
  .x-header__logo svg {
    max-width: 72px;
  }

  .x-header__actions {
    gap: 0;
  }

  .x-header__auth {
    display: none !important;
  }

  .x-header__register {
    padding-inline: 8px;
  }

  .hero-carousel,
  .hero-carousel__viewport {
    width: 100%;
    max-width: 100%;
  }

  .winning-carousel {
    width: 100%;
    margin-inline: 0;
    padding-inline: 8px;
  }

  .products > .container {
    padding-inline: 8px !important;
  }
}

/* Keep category label spacing compact next to the raised artwork. */
@media only screen and (max-width:1199px) {
  .sub-header .swiper-slide img {
    margin-inline-end: -3px;
  }
}

/* Let multi-word category labels wrap without widening mobile chips. */
@media only screen and (max-width:1199px) {
  .sub-header .swiper-slide a {
    white-space: normal;
  }

  .sub-header .swiper-slide a span {
    display: block;
    max-inline-size: 76px;
    line-height: 1.05;
    text-align: start;
    align-self: stretch;
    padding-block-start: 5px;
  }
}

/* Keep desktop category labels aligned from their top inline edge. */
@media only screen and (min-width:1200px) {
  .x-header__category > span {
    white-space: normal;
    max-inline-size: 76px;
    line-height: 1.05;
    text-align: start;
    align-self: stretch;
    padding-block-start: 3px;
  }
}

/* The primary header has no bottom divider at any breakpoint. */
.x-header { border-bottom: 0 !important; }

/* Category sub-header continues the header surface without a divider. */
@media only screen and (max-width:1199px) {
  .sub-header { border-bottom: 0 !important; }
}

/* Hebrew provider controls keep labels on the right and counts on the left. */
html[lang="he"] .providers-title,
html[lang="ar"] .providers-title,
html[lang="he"] .providers-dropdown-block.active .check-text ,
html[lang="ar"] .providers-dropdown-block.active .check-text {
  direction: rtl;
}

html[lang="he"] .providers-dropdown-block.active .check-text__provider ,
html[lang="ar"] .providers-dropdown-block.active .check-text__provider {
  unicode-bidi: plaintext;
}

/* The homepage uses provmain-text links for provider rows. */
html[lang="he"] .providers-dropdown-block.active .provmain-text ,
html[lang="ar"] .providers-dropdown-block.active .provmain-text {
  direction: rtl;
}

html[lang="he"] .providers-dropdown-block.active .provmain-text .check-text__provider ,
html[lang="ar"] .providers-dropdown-block.active .provmain-text .check-text__provider {
  unicode-bidi: plaintext;
}

/* Mirror the footer content order and reading direction for Hebrew. */
html[lang="he"] footer.bg2 .footer-block ,
html[lang="ar"] footer.bg2 .footer-block {
  direction: rtl;
  text-align: right;
}

@media only screen and (max-width:767px) {
  html[lang="he"] .footer-list:not(:first-child):not(:last-child) > li:nth-child(1)::after ,
  html[lang="ar"] .footer-list:not(:first-child):not(:last-child) > li:nth-child(1)::after {
    right: auto;
    left: 20px;
  }
}

/* Single-word category labels remain centered within their text area. */
.sub-header .swiper-slide a > span.is-single-word,
.x-header__category > span.is-single-word {
  text-align: center;
}

/* Category labels use the shared Nunito Sans weight from the current header design. */
.sub-header .swiper-slide a > span,
.x-header__category > span {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: -0.05em;
  color: #fff;
}

/* One-word labels share the vertical center with the category artwork. */
.sub-header .swiper-slide a > span.is-single-word,
.x-header__category > span.is-single-word {
  align-self: center;
  padding-block-start: 0;
}

/* Multi-word category labels ("Most Profitable", "All Games", "Mini
   Games") use text-align:start, which resolves against the element's own
   (inherited, base-LTR) direction -- so it kept pinning the label to the
   left even on Hebrew/Arabic, not just following the site's default
   English word order. Single-word labels stay centered either way. */
html[lang="he"] .sub-header .swiper-slide a > span:not(.is-single-word),
html[lang="ar"] .sub-header .swiper-slide a > span:not(.is-single-word),
html[lang="he"] .x-header__category > span:not(.is-single-word),
html[lang="ar"] .x-header__category > span:not(.is-single-word) {
  direction: rtl;
  text-align: right;
}

/* Keep the redesigned registration action independent from legacy .reg styles. */
.x-header .x-header__register {
  border: 1px solid rgba(111, 214, 157, 0.67) !important;
}

/* Narrow mobile headers keep support icons visually compact without shrinking hit areas. */
@media only screen and (min-width:351px) and (max-width:390px) {
  .x-header__support a + a { margin-inline-start: -6px; }
}

/* Mobile game sessions render without site navigation or its reserved spacing. */
@media only screen and (max-width: 1199px) {
  body.game-page {
    padding-top: 0;
  }

  body.game-page > .x-header,
  body.game-page .top-pannel {
    display: none !important;
  }

  body.game-page .game-page-width + .game-page-width {
    margin-top: 0 !important;
  }
}

/* Mirror the login/registration/remind-password popups for RTL languages. */
html[lang="he"] .form-block .field-block .field,
html[lang="ar"] .form-block .field-block .field {
  text-align: right;
}

html[lang="he"] .form-block .field-block .error-text,
html[lang="ar"] .form-block .field-block .error-text {
  text-align: right;
  margin-left: 0;
  margin-right: 20px;
}

/* ============ Profile tab: match the redesigned cashier look ============ */

#cabinet-modal.popup_tabs {
  height: min(750px, 90vh) !important;
  max-height: min(750px, 90vh) !important;
  overflow-y: auto !important;
}

#cabinet-modal.popup_tabs .tab__content {
  overflow: visible !important;
  height: auto !important;
}

#cabinet-modal #profile {
  display: block !important;
  width: min(315px, calc(100vw - 72px)) !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 18px 0 28px !important;
  height: auto !important;
}

#cabinet-modal #profile .profile__table,
#cabinet-modal #profile .profile__aside,
#cabinet-modal #profile .profile__main {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

#cabinet-modal #profile .profile__aside:after {
  display: none !important;
}

/* ---- Header: username + deposit button + info rows ---- */

#cabinet-modal #profile .profile-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  margin: 0 0 20px !important;
}

#cabinet-modal #profile .profile-info__title {
  order: 1;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  color: #fff !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  text-align: left !important;
}

/* Profile tab (deposit button + username/balance): mirror the grid column
   order and the icon+username row for Hebrew/Arabic. The balance row
   already got this treatment via .is-rtl; the title/icon row and the
   grid container itself did not, so the deposit button stayed physically
   on the right (LTR position) and the avatar icon stayed left-of-text
   instead of right-of-text. */
html[lang="he"] #cabinet-modal #profile .profile-info__title,
html[lang="ar"] #cabinet-modal #profile .profile-info__title {
  text-align: right !important;
}

#cabinet-modal #profile .profile-info__title::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3c79a0, #6fadd6);
}

#cabinet-modal #profile .wager-scale {
  order: 2;
  width: 100% !important;
}

#cabinet-modal #profile .profile-info__action {
  order: 3;
}

#cabinet-modal #profile .profile-info__button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 46px !important;
  border-radius: 16px !important;
  background: linear-gradient(88.78deg, #25d366 -13.15%, #198d66 113.06%) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  border: 0 !important;
  cursor: pointer;
}

#cabinet-modal #profile .profile-info__icon {
  display: none !important;
}

#cabinet-modal #profile .profile-info__rating {
  order: 4;
}

#cabinet-modal #profile .rating.rating_profile {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

#cabinet-modal #profile .rating__caption {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  text-align: left !important;
  padding: 13px 16px !important;
  border: 1px solid #305e67 !important;
  border-radius: 16px !important;
  background: transparent !important;
  color: #b7c6d0 !important;
  font-size: 14px !important;
  margin: 0 !important;
}

#cabinet-modal #profile .rating__caption strong {
  font-weight: 700 !important;
}

#cabinet-modal #profile .rating__caption_value {
  color: #00d36f !important;
  white-space: nowrap !important;
}

#cabinet-modal #profile .profile__info .rating__caption {
  border-color: #244550 !important;
}

/* ---- Personal info / contact info sections ---- */

#cabinet-modal #profile .profile-details,
#cabinet-modal #profile .profile-contacts {
  margin: 20px 0 0 !important;
}

#cabinet-modal #profile .profile-details__title,
#cabinet-modal #profile .profile-contacts__title {
  text-align: left !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .05em !important;
  color: #fff !important;
  text-transform: uppercase !important;
  margin: 0 0 12px !important;
}

html[lang="he"] #cabinet-modal #profile .profile-details__title,
html[lang="ar"] #cabinet-modal #profile .profile-details__title,
html[lang="he"] #cabinet-modal #profile .profile-contacts__title,
html[lang="ar"] #cabinet-modal #profile .profile-contacts__title {
  text-align: right !important;
}

#cabinet-modal #profile .profile-details__action,
#cabinet-modal #profile .profile-contacts__action {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

#cabinet-modal #profile .profile-details__input,
#cabinet-modal #profile .profile-contacts__item {
  width: 100% !important;
  margin: 0 !important;
}

#cabinet-modal #profile .form-group,
#cabinet-modal #profile .profile-contacts__input {
  position: relative !important;
  width: 100% !important;
}

#cabinet-modal #profile .input__inner {
  width: 100% !important;
  height: 52px !important;
  border-radius: 26px !important;
  border: 1px solid #305e67 !important;
  background: transparent !important;
  color: #fff !important;
  padding: 20px 18px 4px !important;
  font-size: 15px !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

#cabinet-modal #profile .input__inner.disabled,
#cabinet-modal #profile .input__inner_readonly {
  color: #b7c6d0 !important;
  opacity: .85 !important;
}

#cabinet-modal #profile .input-lbl {
  position: absolute !important;
  left: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  color: #b7c6d0 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  pointer-events: none !important;
  transition: top .15s ease, font-size .15s ease, color .15s ease !important;
}

#cabinet-modal #profile .input-lbl.active {
  top: 12px !important;
  transform: translateY(0) !important;
  font-size: 11px !important;
  color: #7f97a1 !important;
}

#cabinet-modal #profile .help-block {
  margin: 4px 4px 0 !important;
  font-size: 12px !important;
  color: #ff6b6b !important;
}

/* Contact rows: label + status + confirm button on one line above the input */

#cabinet-modal #profile .profile-contacts__label {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin: 0 0 6px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .05em !important;
  color: #b7c6d0 !important;
  text-transform: uppercase !important;
}

#cabinet-modal #profile .profile-contacts__status {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
  background: rgba(255, 107, 107, .15) !important;
  color: #ff6b6b !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
}

#cabinet-modal #profile .profile-contacts__status_confirmed {
  background: rgba(0, 211, 111, .15) !important;
  color: #00d36f !important;
}

#cabinet-modal #profile .profile-contacts__button {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 0 6px auto !important;
  padding: 4px 14px !important;
  height: auto !important;
  border-radius: 999px !important;
  background: linear-gradient(88.78deg, #25d366 -13.15%, #198d66 113.06%) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  border: 0 !important;
  cursor: pointer;
}

#cabinet-modal #profile .modal__error {
  margin: 16px 0 0 !important;
  padding: 12px 16px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 107, 107, .4) !important;
  background: rgba(255, 107, 107, .08) !important;
  color: #ff6b6b !important;
  font-size: 13px !important;
  text-align: left !important;
}

/* ---- Action buttons row ---- */

#cabinet-modal #profile .profile__action {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding: 20px 0 0 !important;
  margin: 0 !important;
}

#cabinet-modal #profile .profile__button {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 130px !important;
  height: 46px !important;
  border-radius: 16px !important;
  border: 1px solid #305e67 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .02em !important;
  text-decoration: none !important;
  cursor: pointer;
}

#cabinet-modal #profile .profile__button_submit {
  background: linear-gradient(88.78deg, #25d366 -13.15%, #198d66 113.06%) !important;
  border-color: transparent !important;
}

/* ---- 2FA row ---- */

#cabinet-modal #profile .authentication {
  width: 100% !important;
  min-width: 0 !important;
  padding: 16px !important;
  margin: 20px 0 0 !important;
  border: 1px solid #305e67 !important;
  border-radius: 16px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px 16px !important;
}

#cabinet-modal #profile .profile-page__title {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .05em !important;
  color: #fff !important;
  text-transform: uppercase !important;
  margin: 0 !important;
}

#cabinet-modal #profile .authentication__head {
  flex: 1 1 auto !important;
  width: auto !important;
  justify-content: flex-end !important;
  gap: 10px !important;
}

#cabinet-modal #profile .authentication__activate label {
  gap: 8px !important;
}

#cabinet-modal #profile .authentication__activate input + span {
  background-color: #1a2a35 !important;
  border: 1px solid #305e67 !important;
  box-sizing: border-box !important;
}

#cabinet-modal #profile .authentication__activate.active > label input + span {
  background: linear-gradient(88.78deg, #25d366 -13.15%, #198d66 113.06%) !important;
  border-color: transparent !important;
}

#cabinet-modal #profile .authentication__activate .placeholder {
  color: #b7c6d0 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
}

#cabinet-modal #profile .authentication__qr,
#cabinet-modal #profile .authentication__block {
  width: 100% !important;
  max-width: 100% !important;
}

#cabinet-modal #profile .authentication__key .key {
  color: #fff !important;
  word-break: break-all !important;
}

/* ============ Profile tab: precise corrections from Figma inspect ============ */

#cabinet-modal #profile .profile-info {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  column-gap: 14px !important;
  row-gap: 8px !important;
}

#cabinet-modal #profile .profile-info__title {
  grid-column: 1 !important;
  grid-row: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
  color: #adc0c6 !important;
  text-transform: uppercase !important;
}

#cabinet-modal #profile .profile-info__title::before {
  content: "" !important;
  width: 19px !important;
  height: 19px !important;
  border-radius: 0 !important;
  background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkiIGhlaWdodD0iMTkiIHZpZXdCb3g9IjAgMCAxOSAxOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iOS41IiBjeT0iOS41IiByPSI5IiBmaWxsPSIjMjQ0RTVGIiBmaWxsLW9wYWNpdHk9IjAuNTIiIHN0cm9rZT0iIzU5OEFBQSIvPgo8cGF0aCBkPSJNOS42NTgyIDEwLjgwNzlDMTEuNjYxNiAxMC44MDc5IDEzLjM1MjEgMTEuMTMzMiAxMy4zNTI1IDEyLjM4ODlDMTMuMzUyNSAxMy42NDU1IDExLjY1MDcgMTMuOTYwMiA5LjY1ODIgMTMuOTYwMkM3LjY1NTExIDEzLjk2MDIgNS45NjM4NyAxMy42MzQzIDUuOTYzODcgMTIuMzc4MkM1Ljk2Mzk3IDExLjEyMTcgNy42NjU4IDEwLjgwNzkgOS42NTgyIDEwLjgwNzlaTTkuNjU4MiA0LjcyMzg4QzExLjAxNTUgNC43MjM4OCAxMi4xMDM1IDUuODEwOTQgMTIuMTAzNSA3LjE2NzI0QzEyLjEwMzUgOC41MjM1NyAxMS4wMTU1IDkuNjExNTcgOS42NTgyIDkuNjExNTdDOC4zMDE0MiA5LjYxMTUxIDcuMjEzODcgOC41MjM1NCA3LjIxMzg3IDcuMTY3MjRDNy4yMTM5MSA1LjgxMDk3IDguMzAxNDUgNC43MjM5MyA5LjY1ODIgNC43MjM4OFoiIGZpbGw9IiNDN0Q4RDkiIGZpbGwtb3BhY2l0eT0iMC44NiIvPgo8L3N2Zz4K") no-repeat center / contain !important;
}

/* "Ваш баланс" row: pull it out of the pill list, show as plain inline text under the username */

#cabinet-modal #profile .rating__caption:has(.profile-balance__value) {
  grid-column: 1 !important;
  grid-row: 2 !important;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  color: #fff !important;
  text-transform: uppercase !important;
}

#cabinet-modal #profile .rating__caption:has(.profile-balance__value) .rating__caption_value {
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  color: #23c566 !important;
  text-transform: none !important;
}

#cabinet-modal #profile .profile-info__action {
  grid-column: 2 !important;
  grid-row: 1 / 3 !important;
  align-self: center !important;
}

#cabinet-modal #profile .wager-scale {
  grid-column: 1 / -1 !important;
}

/* Flatten the wrapper divs so the remaining rows can sit in the grid as full-width lines */

#cabinet-modal #profile .profile-info__rating,
#cabinet-modal #profile .rating.rating_profile,
#cabinet-modal #profile .profile__info {
  display: contents !important;
}

#cabinet-modal #profile .rating__caption {
  grid-column: 1 / -1;
}

/* Buttons and pills: size via padding, not fixed width/height */

#cabinet-modal #profile .profile-info__button {
  height: auto !important;
  padding: 13px 24px !important;
  border-radius: 27px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  font-family: 'Nunito Sans', sans-serif !important;
  text-align: center !important;
}

#cabinet-modal #profile .profile__button {
  height: auto !important;
  padding: 13px 20px !important;
  border-radius: 27px !important;
  border-color: #304c67 !important;
}

#cabinet-modal #profile .rating__caption,
#cabinet-modal #profile .authentication,
#cabinet-modal #profile .input__inner {
  border-color: #304c67 !important;
}

#cabinet-modal #profile .input__inner {
  height: auto !important;
  padding: 20px 18px 6px !important;
  border-radius: 27px !important;
}

/* Green accent: use the exact spec value everywhere in this tab */

#cabinet-modal #profile .rating__caption_value {
  color: #23c566 !important;
}

#cabinet-modal #profile .profile-contacts__status_confirmed {
  background: rgba(35, 197, 102, .15) !important;
  color: #23c566 !important;
}

#cabinet-modal #profile .profile-contacts__button,
#cabinet-modal #profile .profile__button_submit {
  background: linear-gradient(88.78deg, #25d366 -13.15%, #198d66 113.06%) !important;
}

#cabinet-modal #profile .profile-info__action {
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
}

/* ============ Profile tab: precise pill-row spec from Figma inspect ============ */

#cabinet-modal #profile .rating__caption {
  border: 1px solid #305e67 !important;
  border-radius: 20px !important;
  background: linear-gradient(248.82deg, rgba(43, 95, 123, 0.2) -17.47%, rgba(25, 56, 69, 0.2) 50.64%, rgba(33, 94, 109, 0.2) 118.58%) !important;
  padding: 7px 16px !important;
  text-transform: none !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  letter-spacing: -0.05em !important;
  color: #adc0c6 !important;
}

#cabinet-modal #profile .rating__caption_value {
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
  text-align: right !important;
  color: rgba(37, 211, 102, 0.8) !important;
}

/* Match the header's requested/buffer balance accent colors exactly. */
#cabinet-modal #profile .profile-balance_requested .rating__caption_value {
  color: #ff9f30 !important;
}

#cabinet-modal #profile .profile-balance_buffer .rating__caption_value {
  color: #36c7ef !important;
}

/* Keep the special "your balance" line under the username exactly as previously specced */
#cabinet-modal #profile .rating__caption:has(.profile-balance__value) {
  border-radius: 0 !important;
}

#cabinet-modal #profile .rating__caption:has(.profile-balance__value) {
  flex-wrap: wrap !important;
  overflow: visible !important;
}

#cabinet-modal #profile .rating__caption:has(.profile-balance__value) .rating__caption_value {
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
}

/* ============ Profile tab: field icons + compact buttons + 2FA precision ============ */

#cabinet-modal #profile .field-profileform-firstname .input__inner,
#cabinet-modal #profile .field-profileform-lastname .input__inner,
#cabinet-modal #profile .field-profileform-login .input__inner {
  background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyIDNDNy4wMjk0NCAzIDMgNy4wMjk0NCAzIDEyQzMgMTYuOTcwNiA3LjAyOTQ0IDIxIDEyIDIxQzE2Ljk3MDYgMjEgMjEgMTYuOTcwNiAyMSAxMkMyMSA3LjAyOTQ0IDE2Ljk3MDYgMyAxMiAzWk0yIDEyQzIgNi40NzcxNSA2LjQ3NzE1IDIgMTIgMkMxNy41MjI4IDIgMjIgNi40NzcxNSAyMiAxMkMyMiAxNy41MjI4IDE3LjUyMjggMjIgMTIgMjJDNi40NzcxNSAyMiAyIDE3LjUyMjggMiAxMloiIGZpbGw9IiMzMDVFNjciIC8+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMiA3QzkuNzkwODYgNyA4IDguNzkwODYgOCAxMUM4IDEzLjIwOTEgOS43OTA4NiAxNSAxMiAxNUMxNC4yMDkxIDE1IDE2IDEzLjIwOTEgMTYgMTFDMTYgOC43OTA4NiAxNC4yMDkxIDcgMTIgN1pNNyAxMUM3IDguMjM4NTggOS4yMzg1OCA2IDEyIDZDMTQuNzYxNCA2IDE3IDguMjM4NTggMTcgMTFDMTcgMTMuNzYxNCAxNC43NjE0IDE2IDEyIDE2QzkuMjM4NTggMTYgNyAxMy43NjE0IDcgMTFaIiBmaWxsPSIjMzA1RTY3IiAvPgogIDxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTIgMTZDOS40NDkzOSAxNiA3LjE3MjQ3IDE3LjE5NDcgNS43MTM2OSAxOS4wNTgyTDQuOTI2MjcgMTguNDQxOEM2LjU2NzQ5IDE2LjM0NTMgOS4xMzA1NyAxNSAxMiAxNUMxNC43OTUgMTUgMTcuMjk0MyAxNi4yNzEyIDE4Ljk0NTYgMTguMjcxN0wxOC4xNzQ0IDE4LjkwODNDMTYuNzA1NiAxNy4xMjg4IDE0LjQ4NSAxNiAxMiAxNloiIGZpbGw9IiMzMDVFNjciIC8+Cjwvc3ZnPgo=") no-repeat 16px center / 20px 20px !important;
  padding-left: 46px !important;
}

#cabinet-modal #profile .field-profileform-email .input__inner {
  background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTMuMjA4NSA0LjU3ODg1QzIuOTU3NDYgNC41Nzg4NSAyLjc1MDE2IDQuNzg1MTIgMi43NTAxNiA1LjAzNDkxVjE2Ljk2NTNDMi43NTAxNiAxNy4yMTUgMi45NTc0NiAxNy40MjEzIDMuMjA4NSAxNy40MjEzSDE4Ljc5MThDMTkuMDQyOSAxNy40MjEzIDE5LjI1MDIgMTcuMjE1IDE5LjI1MDIgMTYuOTY1M1Y1LjAzNDkxQzE5LjI1MDIgNC43ODUxMiAxOS4wNDI5IDQuNTc4ODUgMTguNzkxOCA0LjU3ODg1SDMuMjA4NVpNMS44MzM1IDUuMDM0OTFDMS44MzM1IDQuMjgxMzggMi40NTEyIDMuNjY2NzUgMy4yMDg1IDMuNjY2NzVIMTguNzkxOEMxOS41NDkxIDMuNjY2NzUgMjAuMTY2OCA0LjI4MTM4IDIwLjE2NjggNS4wMzQ5MVYxNi45NjUzQzIwLjE2NjggMTcuNzE4OCAxOS41NDkxIDE4LjMzMzQgMTguNzkxOCAxOC4zMzM0SDMuMjA4NUMyLjQ1MTIgMTguMzMzNCAxLjgzMzUgMTcuNzE4OCAxLjgzMzUgMTYuOTY1M1Y1LjAzNDkxWiIgZmlsbD0iIzMwNUU2NyIgLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTIwLjA4MzQgNS42OTQ2QzIwLjIyOSA1LjkwMTYyIDIwLjE3OTMgNi4xODc1MiAxOS45NzIzIDYuMzMzMkwxMS44MjM3IDEyLjA2NzRDMTEuMzM0NyAxMi40ODM0IDEwLjY2MDcgMTIuNDc3NCAxMC4xNjk4IDEyLjA2OUwyLjAyNzkgNi4zMzMwNkMxLjgyMDk3IDYuMTg3MjggMS43NzEzOSA1LjkwMTM0IDEuOTE3MTggNS42OTQ0MUMyLjA2Mjk2IDUuNDg3NDcgMi4zNDg5IDUuNDM3OSAyLjU1NTgzIDUuNTgzNjhMMTAuNzE0MiAxMS4zMzEyQzEwLjcyNjMgMTEuMzM5NyAxMC43MzggMTEuMzQ4OSAxMC43NDkzIDExLjM1ODZDMTAuOTA5OCAxMS40OTY4IDExLjA5MjIgMTEuNDkxMiAxMS4yMzcxIDExLjM2MjhDMTEuMjQ5OSAxMS4zNTE1IDExLjI2MzMgMTEuMzQwOSAxMS4yNzczIDExLjMzMUwxOS40NDQ4IDUuNTgzNTRDMTkuNjUxOCA1LjQzNzg3IDE5LjkzNzcgNS40ODc1OSAyMC4wODM0IDUuNjk0NloiIGZpbGw9IiMzMDVFNjciIC8+Cjwvc3ZnPgo=") no-repeat 16px center / 18px 18px !important;
  padding-left: 46px !important;
}

#cabinet-modal #profile .field-profileform-phone .input__inner {
  background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTguMjM1OTcgNC42MTg1OEM4LjE1NzQyIDQuMDY3MzIgNy42ODQzMyAzLjY2MDI3IDcuMTI3ODMgMy42NjY3NEw3LjEyMjUgMy42NjY4MUw0Ljc3NzUgMy42NjY3N0M0Ljc3NjcgMy42NjY4NiA0Ljc3MDc1IDMuNjY3MjggNC43NTI2OSAzLjY2OTA4QzQuNzUxNTEgMy42NjkyIDQuNzUwMjMgMy42NjkzMyA0Ljc0ODg2IDMuNjY5NDdDNC43MzE4MiAzLjY3MTE5IDQuNjk5OTUgMy42NzQ0MiA0LjY2MzQ5IDMuNjc1NTRDNC4wNjA4NiAzLjczNDI1IDMuNjE3MzEgNC4yNjc5NiAzLjY3MzU1IDQuODY3NjFDMy45MjI4OCA3LjIxNDc0IDQuNzIzMjQgOS40NjQxNSA2LjAwMzY5IDExLjQzODJMNi4wMDU5NCAxMS40NDE3QzcuMTcwNjcgMTMuMjczMiA4LjcyNjUyIDE0LjgyOSAxMC41NjY4IDE1Ljk5MzZMMTAuNTcxMSAxNS45OTY0QzEyLjU0NSAxNy4yNzY4IDE0Ljc5NTcgMTguMDY4OSAxNy4xMzY5IDE4LjMyN0MxNy4xNDg1IDE4LjMyODMgMTcuMTYgMTguMzMgMTcuMTcxNCAxOC4zMzIyQzE3LjE3MzIgMTguMzMyMyAxNy4xNzYzIDE4LjMzMjYgMTcuMTgwOCAxOC4zMzI4QzE3LjE5NCAxOC4zMzM0IDE3LjIwODkgMTguMzMzNCAxNy4yMzMzIDE4LjMzMzRDMTcuODM4NCAxOC4zMzM0IDE4LjMzMzMgMTcuODM2MyAxOC4zMzMzIDE3LjIyNDNWMTQuODY3MUMxOC4zNDYzIDE0LjMwMTEgMTcuOTM4NiAxMy44MjYyIDE3LjM4NiAxMy43NTU2TDE3LjM4MzIgMTMuNzU1MkMxNi41OTc2IDEzLjY0OTggMTUuODMxMiAxMy40NTgyIDE1LjA4NDQgMTMuMTgwNUwxNS4wNzg3IDEzLjE3ODRDMTQuNjc5NyAxMy4wMjM5IDE0LjIyMDggMTMuMTIwOCAxMy45MTgzIDEzLjQyMzRMMTMuOTE2OCAxMy40MjQ5TDEyLjkxNzYgMTQuNDE0OUMxMi43NzE1IDE0LjU1OTcgMTIuNTQ2NyAxNC41ODkzIDEyLjM2OCAxNC40ODc0QzEwLjMzNTggMTMuMzI4OSA4LjY1MzggMTEuNjU2OCA3LjQ5NDMzIDkuNjIyOTRDNy4zOTE2NiA5LjQ0Mjg1IDcuNDIyNjUgOS4yMTYyNyA3LjU2OTkxIDkuMDcwMzZMOC41NjYzNSA4LjA4MzA2QzguODYxMzMgNy43Nzk4NSA4Ljk1OTQxIDcuMzE3NzEgOC44MTA0IDYuOTE1NjZDOC41MzI5OSA2LjE2OTUxIDguMzQxNCA1LjQwMzU1IDguMjM1OTcgNC42MTg1OFpNNy4xMiAyLjc1MDExQzguMTM4NDYgMi43Mzk2NyA5LjAwMTg5IDMuNDg2NDUgOS4xNDM4NCA0LjQ5MTg3TDkuMTQ0MjggNC40OTVDOS4yNDA1NiA1LjIxMjczIDkuNDE1NTcgNS45MTI5NCA5LjY2OTYgNi41OTYyMkM5Ljk0MTcyIDcuMzI5NzUgOS43NjU3NiA4LjE2ODExIDkuMjE5MjMgOC43MjY1M0w5LjIxNDMgOC43MzE1Nkw4LjQ2ODQ0IDkuNDcwNUM5LjQ3NjcyIDExLjEyNTYgMTAuODY1OCAxMi41MDc0IDEyLjUyMzIgMTMuNTE1MkwxMy4yNzAxIDEyLjc3NTJDMTMuMjcwMyAxMi43NzUgMTMuMjcwNSAxMi43NzQ3IDEzLjI3MDggMTIuNzc0NUMxMy44MjkxIDEyLjIxNjcgMTQuNjY5OSAxMi4wMzg2IDE1LjQwNjUgMTIuMzIyM0MxNi4wODg2IDEyLjU3NTcgMTYuNzg3NSAxMi43NTAzIDE3LjUwMzggMTIuODQ2NUMxOC41MjUzIDEyLjk3NzkgMTkuMjcwOCAxMy44NTY0IDE5LjI1IDE0Ljg4MjZWMTcuMjI0M0MxOS4yNSAxOC4zMzU2IDE4LjM1MTYgMTkuMjUwMSAxNy4yMzMzIDE5LjI1MDFDMTcuMjMxMSAxOS4yNTAxIDE3LjIyODUgMTkuMjUwMSAxNy4yMjU3IDE5LjI1MDFDMTcuMTg4OCAxOS4yNTAyIDE3LjEwNTYgMTkuMjUwNSAxNy4wMjEyIDE5LjIzNjVDMTQuNTQ3MSAxOC45NjEzIDEyLjE2NTcgMTguMTIyOSAxMC4wNzQ0IDE2Ljc2NjlDOC4xMjExOSAxNS41MzAzIDYuNDY5ODkgMTMuODc4OSA1LjIzMzUzIDExLjkzNTNDMy44NzUwOSA5Ljg0MDQ3IDMuMDI1OTUgNy40NTMwNyAyLjc2MTczIDQuOTYxNzhMMi43NjEyMyA0Ljk1NzEzQzIuNjU0MTYgMy44Mzg4NiAzLjQ4NjQ1IDIuODU1NjUgNC41OTk0NyAyLjc2MDkzTDQuNjAzMzMgMi43NjA2MkM0LjYyOTc1IDIuNzU4MzYgNC42NTIyOCAyLjc1NzAyIDQuNjY1MzEgMi43NTY1OEM0LjY4NjE3IDIuNzU0NDcgNC43MjkyOSAyLjc1MDExIDQuNzc1ODQgMi43NTAxMUg3LjEyWiIgZmlsbD0iIzMwNUU2NyIgLz4KPC9zdmc+Cg==") no-repeat 16px center / 18px 18px !important;
  padding-left: 46px !important;
}

#cabinet-modal #profile .field-profileform-firstname .input-lbl,
#cabinet-modal #profile .field-profileform-lastname .input-lbl,
#cabinet-modal #profile .field-profileform-login .input-lbl {
  left: 46px !important;
}

/* Compact action buttons instead of stretched full-width pills */

#cabinet-modal #profile .profile__action {
  justify-content: flex-start !important;
  gap: 12px !important;
}

#cabinet-modal #profile .profile__button {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  padding: 10px 30px !important;
  border: 1px solid rgba(131, 171, 213, .5) !important;
  border-radius: 27px !important;
  background: linear-gradient(83.01deg, #174242 -29.12%, #1e3257 100%) !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

#cabinet-modal #profile .profile__button_submit {
  background: linear-gradient(83.01deg, #174242 -29.12%, #1e3257 100%) !important;
  border-color: rgba(131, 171, 213, .5) !important;
}

/* 2FA toggle: compact fixed-size switch instead of a stretched one, matching the spec */

#cabinet-modal #profile .authentication__head {
  justify-content: flex-end !important;
  flex: 1 1 auto !important;
}

#cabinet-modal #profile .authentication__activate input + span {
  width: 52px !important;
  height: 28px !important;
  border: 1px solid rgba(131, 171, 213, .5) !important;
  border-radius: 27px !important;
  background: linear-gradient(83.01deg, #174242 -29.12%, #1e3257 100%) !important;
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
}

#cabinet-modal #profile .authentication__activate.active > label input + span {
  background: linear-gradient(88.78deg, #25d366 -13.15%, #198d66 113.06%) !important;
  border-color: transparent !important;
}

#cabinet-modal #profile .authentication__activate .placeholder {
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 400 !important;
  font-size: 11px !important;
  letter-spacing: -0.03em !important;
  text-align: center !important;
  text-transform: none !important;
  color: #a7aebd !important;
}

/* ============ Profile tab: compact 315px-wide fields matching the tab rail ============ */

#cabinet-modal #profile .profile-details__action,
#cabinet-modal #profile .profile-contacts__action {
  gap: 8px !important;
}

#cabinet-modal #profile .input__inner {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
}

#cabinet-modal #profile .input-lbl {
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 14px !important;
}

#cabinet-modal #profile .input-lbl.active {
  top: 7px !important;
  transform: translateY(0) !important;
  font-size: 10px !important;
}

#cabinet-modal #profile .field-profileform-firstname .input__inner,
#cabinet-modal #profile .field-profileform-lastname .input__inner,
#cabinet-modal #profile .field-profileform-login .input__inner,
#cabinet-modal #profile .field-profileform-email .input__inner,
#cabinet-modal #profile .field-profileform-phone .input__inner {
  background-position: 16px center !important;
  background-size: 18px 18px !important;
}

#cabinet-modal #profile .input-lbl.active {
  display: none !important;
}

/* ============ Profile tab: fix narrow field cards + button height (round 5) ============ */

#cabinet-modal #profile .profile-details,
#cabinet-modal #profile .profile-contacts {
  padding: 0 !important;
}

#cabinet-modal #profile .profile-details__action,
#cabinet-modal #profile .profile-contacts__action {
  margin: 0 !important;
}

#cabinet-modal #profile .profile-contacts__item {
  padding: 0 !important;
}

#cabinet-modal #profile .profile-info__button {
  padding: 8px 16px !important;
}

#cabinet-modal #profile .profile-details__input {
  padding: 0 !important;
}

#cabinet-modal #profile .field-profileform-birthday .input__inner {
  padding-left: 46px !important;
}

/* ============ Profile tab: fix grid blowout on narrow (mobile) viewports ============ */

#cabinet-modal #profile .profile-info,
#cabinet-modal #profile .profile-info__title,
#cabinet-modal #profile .profile-info__action,
#cabinet-modal #profile .profile-info__button,
#cabinet-modal #profile .rating__caption {
  min-width: 0 !important;
}

#cabinet-modal #profile .profile-info__button {
  white-space: normal !important;
  text-align: center !important;
}

#cabinet-modal #profile .rating__caption {
  overflow: hidden !important;
}

#cabinet-modal #profile .rating__caption .rating__caption_value {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#cabinet-modal #profile .profile-info__title {
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

#cabinet-modal #profile .input-lbl {
  line-height: 1.2 !important;
}

#cabinet-modal #profile .input-lbl {
  height: 18px !important;
  line-height: 18px !important;
  display: flex !important;
  align-items: center !important;
}

#cabinet-modal #profile .authentication__activate input + span span {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

#cabinet-modal #profile .authentication__key .refresh-key {
  background: linear-gradient(88.78deg, #25d366 -13.15%, #198d66 113.06%) !important;
  border: 0 !important;
  border-radius: 16px !important;
  color: #fff !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: .02em !important;
}

#cabinet-modal #profile .profile-info__title {
  gap: 6px !important;
}

#cabinet-modal #profile .profile-info__title-text {
  display: inline-block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  vertical-align: middle !important;
  line-height: 19px !important;
}

#cabinet-modal #profile .rating__caption,
#cabinet-modal #profile .input__inner {
  background-clip: padding-box !important;
  overflow: hidden !important;
}

#cabinet-modal #profile .profile__info .rating__caption {
  border-color: #305e67 !important;
}



/* The real source of the gray line: old design leftover divider
   pseudo-elements (position:absolute; height:1px; background rgba(0,0,0,.2)),
   not a card border at all. Hide them. */

#cabinet-modal #profile .profile-info__rating::after,
#cabinet-modal #profile .profile-details::after,
#cabinet-modal #profile .profile-contacts::after {
  display: none !important;
}

/* ============ Change password modal: match the profile tab redesign ============ */

.popup2.popup_changePassword {
  width: min(400px, calc(100vw - 48px)) !important;
  background: #0a0e22 !important;
  background-image: none !important;
  border: 1px solid #305e67 !important;
  border-radius: 15px !important;
  box-shadow: none !important;
  padding: 0 0 24px !important;
}

.popup2.popup_changePassword .popup__close {
  background-color: transparent !important;
  box-shadow: none !important;
  top: 16px !important;
  right: 16px !important;
  width: 24px !important;
  height: 24px !important;
  opacity: .7 !important;
}

.popup2.popup_changePassword .popup__head {
  padding: 0 !important;
}

.popup2.popup_changePassword .popup__head::after {
  display: none !important;
}

.popup2.popup_changePassword .popup__title {
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #fff !important;
  padding: 24px 40px 20px !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
}

.popup2.popup_changePassword .popup__content {
  padding: 0 24px !important;
}

.popup2.popup_changePassword .popup__input {
  margin-bottom: 14px !important;
}

.popup2.popup_changePassword .popup__label {
  display: block !important;
  position: static !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: .05em !important;
  color: #b7c6d0 !important;
  text-shadow: none !important;
  text-transform: uppercase !important;
  margin: 0 0 6px !important;
}

.popup2.popup_changePassword .popup__input .input__inner {
  width: 100% !important;
  height: auto !important;
  padding: 12px 44px 12px 18px !important;
  margin-top: 0 !important;
  border-radius: 26px !important;
  border: 1px solid #305e67 !important;
  background: transparent !important;
  color: #fff !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
}

.popup2.popup_changePassword .eye-pass {
  top: 50% !important;
  transform: translateY(-50%) !important;
  filter: none !important;
  opacity: .6 !important;
}

.popup2.popup_changePassword .modal__error {
  margin: 4px 0 0 !important;
  padding: 12px 16px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 107, 107, .4) !important;
  background: rgba(255, 107, 107, .08) !important;
  color: #ff6b6b !important;
  font-size: 13px !important;
}

.popup2.popup_changePassword .popup__footer {
  background: transparent !important;
  padding: 20px 24px 0 !important;
  min-height: 0 !important;
}

.popup2.popup_changePassword .popup__footer::before {
  display: none !important;
}

.popup2.popup_changePassword .popup__button {
  width: 100% !important;
  height: auto !important;
  padding: 13px 24px !important;
  border-radius: 27px !important;
  border: 0 !important;
  background: linear-gradient(88.78deg, #25d366 -13.15%, #198d66 113.06%) !important;
  color: #fff !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

/* Thin custom close X instead of the sprite's fat filled glyph */

.popup2.popup_changePassword .popup__close {
  background: transparent !important;
  box-shadow: none !important;
  width: 20px !important;
  height: 20px !important;
  top: 18px !important;
  right: 18px !important;
  opacity: .8 !important;
}

.popup2.popup_changePassword .popup__close svg {
  display: none !important;
}

.popup2.popup_changePassword .popup__close::before,
.popup2.popup_changePassword .popup__close::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 16px !important;
  height: 2px !important;
  background: #fff !important;
  border-radius: 1px !important;
}

.popup2.popup_changePassword .popup__close::before {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

.popup2.popup_changePassword .popup__close::after {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

/* Eye icon: center on the input itself (anchor from bottom, not top:50% of
   the label+input wrapper, which put it near the label instead of the field),
   and force it white regardless of the source SVG's own color. */

.popup2.popup_changePassword .eye-pass {
  top: auto !important;
  bottom: 10.5px !important;
  transform: none !important;
  filter: brightness(0) invert(1) !important;
  opacity: .8 !important;
}

/* ============ Thin CSS-drawn close X everywhere, instead of the slow-loading
   fat sprite glyph (svgsprite.svg is a huge external file, so the icon used
   to render blank until it finished loading, and its shape is a bold filled
   X even once loaded). Applies globally to every close button that uses
   that sprite, not just the profile/change-password redesign. ============ */

.popup__close,
#cabinet-modal .tab-remake__close,
.popup.search.search-ui .search-close {
  background: transparent !important;
  box-shadow: none !important;
  width: 20px !important;
  height: 20px !important;
  opacity: .8 !important;
}

.popup__close svg,
#cabinet-modal .tab-remake__close svg,
.popup.search.search-ui .search-close svg,
.support-deposit-modal__close span {
  display: none !important;
}

.popup__close::before,
.popup__close::after,
#cabinet-modal .tab-remake__close::before,
#cabinet-modal .tab-remake__close::after,
.popup.search.search-ui .search-close::before,
.popup.search.search-ui .search-close::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 16px !important;
  height: 2px !important;
  background: #fff !important;
  border-radius: 1px !important;
}

.popup__close::before,
#cabinet-modal .tab-remake__close::before,
.popup.search.search-ui .search-close::before {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

.popup__close::after,
#cabinet-modal .tab-remake__close::after,
.popup.search.search-ui .search-close::after {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

/* Old responsive rule (max-width:767px) applies a relative top:14px
   offset that survives the grid layout and pushes the deposit button
   down into the row below at narrow widths. Neutralize it. */

#cabinet-modal #profile .profile-info__action {
  top: 0 !important;
}

#cabinet-modal #profile .profile-info__icon {
  top: 0 !important;
}

/* Promo code "Подтвердить" (.send-pin) button: match the profile-tab
   pill button style exactly (border, radius, gradient, uppercase Nunito Sans). */
#cabinet-modal #cashier .enter-pin .send-pin {
  border: 1px solid rgba(131, 171, 213, .5) !important;
  border-radius: 27px !important;
  background: linear-gradient(83.01deg, #174242 -29.12%, #1e3257 100%) !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: normal !important;
  color: #fff !important;
}

/* Promo code confirm button: explicit centering, guaranteed last in cascade. */
#cabinet-modal #cashier .enter-pin .send-pin {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}


/* ============ History tab: card-based redesign (Figma spec) ============ */

#cabinet-modal #history {
  padding: 18px 16px 8px !important;
}

#cabinet-modal #history .tab__action {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
}

#cabinet-modal #history .tab__action-wrapper {
  box-sizing: border-box !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  width: min(315px, 100%) !important;
  height: 40px !important;
  padding: 3px !important;
  margin: 0 !important;
  border: 2px solid rgba(111, 173, 214, .36) !important;
  border-radius: 20px !important;
  background: linear-gradient(248.82deg, rgba(43, 95, 123, .2) -17.68%, rgba(25, 56, 69, .2) 50.66%, rgba(33, 94, 109, .2) 118.85%) !important;
}

#cabinet-modal #history .tab__action-wrapper .tab__item {
  box-sizing: border-box !important;
  flex: 1 1 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  height: 32px !important;
  padding: 0 6px !important;
  margin: 0 !important;
  border: 1px solid transparent !important;
  border-radius: 16px !important;
  background: transparent !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 10px !important;
  text-align: center !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  color: rgba(208, 229, 232, .82) !important;
}

#cabinet-modal #history .tab__action-wrapper .tab__item.tab__item_active {
  background: #15263e !important;
  border-color: rgba(111, 173, 214, .36) !important;
  color: #fff !important;
}

#cabinet-modal #history .tab__content-history {
  width: 100% !important;
  max-width: 100% !important;
}

#cabinet-modal #history .history__main {
  display: none !important;
  width: 100% !important;
}

#cabinet-modal #history .history__main.active {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

#cabinet-modal #history .history__body {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  overflow: visible !important;
}

#cabinet-modal #history .history__row {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  width: min(315px, 100%) !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid #305e67 !important;
  border-radius: 20px !important;
  background: linear-gradient(248.82deg, rgba(43, 95, 123, .2) -17.47%, rgba(25, 56, 69, .2) 50.64%, rgba(33, 94, 109, .2) 118.58%) !important;
}

#cabinet-modal #history .history__cell {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(48, 94, 103, .5) !important;
}

#cabinet-modal #history .history__cell:last-child {
  border-bottom: none !important;
}

/* Deposit/withdraw sub-tab: only ДАТА / СУММА / ТИП per the Figma card spec. */
#cabinet-modal #tab-content__enter.history__main .history__cell_id,
#cabinet-modal #tab-content__enter.history__main .history__cell_system {
  display: none !important;
}

/* Spins & bets sub-tab: keep every field, ordered per the Figma reference
   (ID, ДАТА, БАЛАНС, СУММА, ТИП, ОПИСАНИЕ). */
#tab-content__log.history__main .history__cell_id { order: 1 !important; }
#tab-content__log.history__main .history__cell_date { order: 2 !important; }
#tab-content__log.history__main .history__cell_balance { order: 3 !important; }
#tab-content__log.history__main .history__cell_sum { order: 4 !important; }
#tab-content__log.history__main .history__cell_type { order: 5 !important; }
#tab-content__log.history__main .history__cell_description { order: 6 !important; }

#cabinet-modal #history .history__label {
  flex: 0 0 auto !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  letter-spacing: -0.05em !important;
  text-transform: uppercase !important;
  color: #adc0c6 !important;
}

#cabinet-modal #history .history__value {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-align: right !important;
  color: rgba(37, 211, 102, .8) !important;
}

/* ============ Authentication UI shared by login and password recovery ============ */

.popup.auth-ui .form-block.auth-form-block {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 14px !important;
  padding: 20px !important;
  min-height: 0 !important;
  justify-content: flex-start !important;
}

.popup.remind .form-block.remind-form-block {
  gap: 32px !important;
}

.popup.auth-ui .auth-logo-block {
  display: flex !important;
  justify-content: center !important;
  margin: 6px 0 0 !important;
}

.popup.auth-ui .auth-logo-block img,
.popup.auth-ui .auth-logo-block svg {
  max-width: 170px !important;
  width: 100% !important;
  height: auto !important;
}

.popup.auth-ui .auth-method-switch {
  display: flex !important;
  gap: 4px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  padding: 4px !important;
  border: 2px solid rgba(111, 173, 214, .36) !important;
  border-radius: 25px !important;
  background: linear-gradient(248.82deg, rgba(43, 95, 123, .2) -17.68%, rgba(25, 56, 69, .2) 50.66%, rgba(33, 94, 109, .2) 118.85%) !important;
}

.popup.auth-ui .auth-method-btn {
  flex: 1 1 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  box-sizing: border-box !important;
  height: 40px !important;
  padding: 0 8px !important;
  margin: 0 !important;
  border: 1px solid transparent !important;
  border-radius: 25px !important;
  background: transparent !important;
  cursor: pointer !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 800 !important;
  font-size: 10px !important;
  text-transform: uppercase !important;
  color: #adc0c6 !important;
}

.popup.auth-ui .auth-method-btn svg {
  flex: 0 0 auto !important;
  fill: #adc0c6 !important;
}

.popup.auth-ui .auth-method-btn_active {
  border-color: rgba(111, 214, 157, .6) !important;
  background: linear-gradient(88.78deg, #25d366 -13.15%, #198d66 113.06%) !important;
  color: #fff !important;
}

.popup.auth-ui .auth-method-btn_active svg {
  fill: #fff !important;
}

.popup.auth-ui .auth-field_email {
  display: none;
}

.popup.auth-ui .field-block.auth-field,
.popup.auth-ui .field-block.password.auth-field-with-icon {
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
}

.popup.auth-ui .auth-field-icon {
  position: absolute !important;
  box-sizing: border-box !important;
  left: 4px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 34px !important;
  height: 34px !important;
  border: 1px solid #737986 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
}

.popup.auth-ui .auth-field-icon svg:first-child {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.popup.auth-ui .auth-field-icon__glyph {
  position: relative !important;
  width: 16px !important;
  height: auto !important;
}

.popup.auth-ui .auth-field_email .auth-field-icon__glyph {
  width: 19px !important;
  height: 17px !important;
}

.popup.auth-ui .phone-field.auth-field_phone {
  display: flex;
  flex-direction: column !important;
  gap: 4px !important;
}

.popup.auth-ui .phone-field .phone-input-wrap {
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 52px !important;
  padding: 0 18px 0 48px !important;
  border: 1px solid #767c88 !important;
  border-radius: 20px !important;
  background: radial-gradient(421.5% 830.03% at 25.44% -30.88%, #474b53 0%, #767c88 50.48%, #42454b 100%) !important;
}

.popup.auth-ui .phone-field .phone-prefix {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
  margin-right: 0 !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  line-height: 78% !important;
  letter-spacing: -0.03em !important;
  color: #a7aebd !important;
}

.popup.auth-ui .phone-field .phone-prefix::after {
  content: '';
  display: block;
  width: 2px;
  height: 24px;
  border-radius: 1px;
  background: #a7aebd;
}

.popup.auth-ui .phone-field .field.phone {
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  letter-spacing: -0.03em !important;
  color: #fff !important;
}

.popup.auth-ui .phone-field .field.phone::placeholder {
  color: #a7aebd !important;
}

.popup.auth-ui .auth-field_email .field.login {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 52px !important;
  padding: 0 18px 0 48px !important;
  position: relative !important;
  z-index: 1 !important;
  border: none !important;
  border-radius: 20px !important;
  background: transparent !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  letter-spacing: -0.03em !important;
  color: #fff !important;
}

.popup.auth-ui .auth-field_email .field.login::placeholder {
  color: #a7aebd !important;
}

.popup.auth-ui .field-block.password.auth-field-with-icon .field.pass {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 52px !important;
  padding: 0 45px 0 48px !important;
  position: relative !important;
  z-index: 1 !important;
  border: none !important;
  border-radius: 20px !important;
  background: transparent !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  letter-spacing: -0.03em !important;
  color: #fff !important;
}

.popup.auth-ui .field-block.password.auth-field-with-icon .field.pass::placeholder {
  color: #a7aebd !important;
}

.popup.auth-ui .field-block.password.auth-field-with-icon .password-toggle {
  z-index: 2 !important;
  top: 50% !important;
  right: 18px !important;
  filter: none !important;
}

html[lang="he"] .popup.auth-ui .field-block.password.auth-field-with-icon .password-toggle,
html[lang="ar"] .popup.auth-ui .field-block.password.auth-field-with-icon .password-toggle {
  left: auto !important;
  right: 18px !important;
}

.popup.auth-ui .auth-field_email::before,
.popup.auth-ui .field-block.password.auth-field-with-icon::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  border: 1px solid #767c88;
  border-radius: 20px;
  background: radial-gradient(421.5% 830.03% at 25.44% -30.88%, #474b53 0%, #767c88 50.48%, #42454b 100%);
  pointer-events: none;
}

.popup.auth-ui .auth-field_email .auth-field-icon,
.popup.auth-ui .field-block.password.auth-field-with-icon .auth-field-icon {
  z-index: 2 !important;
}

/* Chrome's saved-credential state otherwise paints an internal blue fill. */
.popup.auth-ui .field.phone:-webkit-autofill,
.popup.auth-ui .field.login:-webkit-autofill,
.popup.auth-ui .field.pass:-webkit-autofill,
.popup.auth-ui .field.phone:-webkit-autofill:hover,
.popup.auth-ui .field.login:-webkit-autofill:hover,
.popup.auth-ui .field.pass:-webkit-autofill:hover,
.popup.auth-ui .field.phone:-webkit-autofill:focus,
.popup.auth-ui .field.login:-webkit-autofill:focus,
.popup.auth-ui .field.pass:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  transition: background-color 99999s ease-out 0s !important;
}

.popup.auth-ui .auth-forgot {
  align-self: flex-end !important;
  margin: 0 !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  letter-spacing: -0.06em !important;
  text-align: right !important;
  text-decoration: none !important;
  color: #6cdb83 !important;
}

.popup.auth-ui .check-block.auth-terms {
  display: flex !important;
  align-items: flex-start !important;
  box-sizing: border-box !important;
  width: calc(100% - 30px) !important;
  gap: 10px !important;
  margin: 0 auto !important;
  cursor: pointer !important;
}

.popup.auth-ui .auth-terms .check-input {
  flex: 0 0 auto !important;
  margin-top: 3px !important;
}

.popup.auth-ui .auth-terms .checkbox-style {
  box-sizing: border-box !important;
  width: 10px !important;
  height: 10px !important;
  margin: 0 !important;
  border: 1px solid #707683 !important;
  border-radius: 2px !important;
  background: transparent !important;
}

.popup.auth-ui .auth-terms .check-input input[type="checkbox"]:checked + .checkbox-style {
  background-image: url(../img/checkmark.svg) !important;
  background-size: 9px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-color: #25d366 !important;
}

.popup.auth-ui .auth-terms .check-text {
  flex: 1 1 auto !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  line-height: 1.17 !important;
  letter-spacing: -0.06em !important;
  color: #fff !important;
}

.popup.auth-ui .auth-terms .check-text a {
  color: #26a4e3 !important;
  text-decoration: none !important;
}

.popup.auth-ui .btn.green {
  position: relative !important;
  box-sizing: border-box !important;
  width: calc(100% - 30px) !important;
  height: 49px !important;
  margin: 0 auto !important;
  padding: 0 18px !important;
  border: 1px solid rgba(86, 169, 190, .35) !important;
  border-radius: 20px !important;
  background: linear-gradient(90deg, rgba(20, 74, 115, .56) -16.2%, rgba(86, 169, 190, .35) 114.96%) !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.popup.auth-ui .btn.green::before {
  content: '';
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(20, 74, 115, .56) -16.2%, rgba(86, 169, 190, .35) 114.96%);
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.popup.auth-ui .btn.green.disabled {
  opacity: .6 !important;
  cursor: not-allowed !important;
}

.popup.auth-ui .auth-social-links {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  box-sizing: border-box !important;
  width: calc(100% - 30px) !important;
  gap: 8px !important;
  min-height: 24px !important;
  margin: 2px auto 0 !important;
}

.popup.auth-ui .auth-social-links a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  transition: transform .2s ease, filter .2s ease !important;
}

.popup.auth-ui .auth-social-links a:hover,
.popup.auth-ui .auth-social-links a:focus-visible {
  transform: translateY(-2px) !important;
  filter: brightness(1.12) !important;
}

.popup.auth-ui .auth-social-links img {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
}

.popup.remind .remind-status {
  margin: 0 auto !important;
  text-align: center !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
}

.popup.remind .remind-status:empty {
  display: none !important;
}

.popup.remind .btn.green {
  white-space: nowrap !important;
}

@media (max-width: 420px) {
  .popup.remind .btn.green {
    font-size: 15px !important;
  }
}

.popup.auth-ui .sub-text.auth-register-hint {
  margin: 0 !important;
  text-align: center !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, .5) !important;
}

.popup.auth-ui .auth-register-hint .open-popup-reg {
  color: #6cdb83 !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.popup.auth-ui .auth-register-hint .open-popup-reg:hover,
.popup.auth-ui .auth-register-hint .open-popup-reg:focus-visible {
  color: #6cdb83 !important;
  text-decoration: none !important;
}

/* ============ Registration redesign ============ */

.popup.reg.reg-redesign .popup-block {
  box-sizing: border-box !important;
  width: min(calc(100vw - 32px), 720px) !important;
  max-width: 720px !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 70px 38px !important;
}

.popup.reg.reg-redesign .close {
  right: 16px !important;
  left: auto !important;
}

.popup.reg .registration-layout {
  display: grid !important;
  grid-template-columns: minmax(190px, .82fr) minmax(330px, 1.18fr) !important;
  gap: 32px !important;
  align-items: center !important;
  direction: ltr !important;
}

.popup.reg .registration-promo {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 20px !important;
  min-width: 0 !important;
  transform: translateY(-12px) !important;
}

.popup.reg .registration-promo .auth-logo-block {
  width: 100% !important;
  margin: 0 !important;
}

.popup.reg .registration-promo .auth-logo-block img,
.popup.reg .registration-promo .auth-logo-block svg {
  max-width: 190px !important;
}

.popup.reg .registration-bonus-card {
  position: relative !important;
  isolation: isolate !important;
  box-sizing: border-box !important;
  width: min(100%, 205px) !important;
  aspect-ratio: 211 / 279 !important;
  overflow: hidden !important;
  border: 1px solid #58816e !important;
  border-radius: 21px !important;
  background: linear-gradient(180deg, rgba(34, 68, 77, .14) 0%, rgba(56, 113, 129, 0) 43.75%, rgba(78, 176, 179, .12) 100%) !important;
}

.popup.reg .registration-bonus-card::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 68, 77, .14) 0%, rgba(56, 113, 129, 0) 43.75%, rgba(78, 176, 179, .12) 100%);
  pointer-events: none;
}

.popup.reg .registration-bonus-picture,
.popup.reg .registration-bonus-picture img {
  position: absolute !important;
  z-index: 0 !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.popup.reg .registration-bonus-limit {
  position: absolute !important;
  z-index: 2 !important;
  top: 9% !important;
  right: 18% !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: -.05em !important;
  text-align: center !important;
  color: rgba(255, 255, 255, .79) !important;
}

.popup.reg .registration-bonus-limit strong {
  font: inherit !important;
}

.popup.reg .registration-bonus-caption {
  position: absolute !important;
  z-index: 2 !important;
  right: 10% !important;
  bottom: 9% !important;
  left: 10% !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 20px !important;
  font-weight: 300 !important;
  line-height: .9 !important;
  letter-spacing: -.03em !important;
  text-align: center !important;
  color: #fff !important;
  text-shadow: 0 1px 2px #000 !important;
}

.popup.reg .form-block.registration-form-block {
  width: 100% !important;
  max-width: 360px !important;
  gap: 16px !important;
  padding: 0 !important;
  direction: ltr;
}

.popup.reg .registration-form-block > .btn.green {
  align-self: center !important;
  width: calc(100% - 80px) !important;
}

.popup.reg.auth-ui .auth-field_email {
  display: block !important;
}

.popup.reg .registration-currency-hidden {
  display: none !important;
}

.popup.reg .registration-login-hint .open-popup-auth {
  color: #6cdb83 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: color .2s ease, text-decoration-color .2s ease !important;
}

.popup.reg .registration-login-hint .open-popup-auth:hover,
.popup.reg .registration-login-hint .open-popup-auth:focus-visible {
  color: #8beaa0 !important;
  text-decoration: underline !important;
}

@media (max-width: 820px) {
  .popup.reg.reg-redesign {
    box-sizing: border-box !important;
    overflow-y: auto !important;
    justify-content: safe center !important;
    padding-block: 12px !important;
  }

  .popup.reg.reg-redesign .popup-block {
    width: min(calc(100vw - 24px), 420px) !important;
    max-width: 420px !important;
    padding: 28px 20px 32px !important;
  }

  .popup.reg .registration-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
  }

  .popup.reg .registration-promo {
    gap: 22px !important;
    transform: none !important;
  }

  .popup.reg .registration-promo .auth-logo-block img,
  .popup.reg .registration-promo .auth-logo-block svg {
    max-width: 170px !important;
  }

  .popup.reg .registration-bonus-card {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: 1212 / 490 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .popup.reg .registration-bonus-card::after {
    display: none !important;
  }

  .popup.reg .form-block.registration-form-block {
    max-width: none !important;
    gap: 14px !important;
  }

  .popup.reg .registration-login-hint {
    order: -1 !important;
    margin: 0 !important;
  }

  .popup.reg .registration-bonus-limit {
    top: 16% !important;
    right: auto !important;
    left: 57% !important;
    font-size: clamp(8px, 2.6vw, 12px) !important;
  }

  .popup.reg .registration-bonus-caption {
    right: 50% !important;
    bottom: 16% !important;
    left: 7% !important;
    font-size: clamp(14px, 4.4vw, 20px) !important;
  }
}

@media (max-width: 820px) and (max-height: 700px) {
  .popup.reg.reg-redesign {
    align-items: flex-start !important;
  }
}

/* ============ Global modal chrome: match site background, unify radius ============ */

/* .popup is a full-viewport flex wrapper (position:fixed; inset:0) that
   centers its content - it IS the dimming backdrop, not the card. The
   actual visible card is .popup-block (below). */
.popup {
  background: rgba(0, 0, 0, .5) !important;
  border-radius: 0 !important;
}

.popup-block,
.col-md-12.popup-block {
  background: #0a0e22 !important;
  border: none !important;
  border-radius: 15px !important;
}

.popup2 {
  border-radius: 15px !important;
}

/* Full-page dimming for #cabinet-modal, which -- unlike .popup -- paints no
   backdrop of its own. The ".overflow1" element/rule already existed in the
   base theme CSS but its div was never present in the markup, so the
   profile/deposit modal opened with no dimming at all. The div is now added
   once in main.tpl, right after <body>.

   The base theme toggles it off of the generic "html.modal_open" class
   (main.min.css), but that class is shared by every modal type on the site,
   including several .popup/.popup2 variants that already paint their own
   translucent backdrop at a lower z-index (e.g. .popup.auth.active at
   z-index:60) -- turning .overflow1 on for those too would stack a second
   rgba(0,0,0,.5) layer (z-index:101) on top of them. So keep it off by
   default and only re-enable it while #cabinet-modal specifically is the
   open modal (no inline "display:none" left on it -- .show()/.hide() only
   ever toggle that inline style, never an .active class, for this element). */
.overflow1 {
  display: none !important;
  background-color: rgba(0, 0, 0, .5) !important;
  z-index: 150 !important;
}

html.modal_open:has(#cabinet-modal:not([style*="none"])) .overflow1,
html.modal_open:has(.popup2.support-deposit-modal:not([style*="none"])) .overflow1 {
  display: block !important;
}

/* Close (X) button must sit inside the modal, not overflow past its edge. */
.popup .close {
  top: 16px !important;
  right: 16px !important;
  opacity: .8 !important;
}

html[lang="he"] .popup .close, html[lang="ar"] .popup .close {
  right: auto !important;
  left: 16px !important;
}

/* ============ SMS verification: authentication modal styling ============ */

.popup2.auth-sms-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  padding: 20px !important;
  overflow-y: auto !important;
  transform: none !important;
  border-radius: 0 !important;
  background: rgba(10, 14, 34, .79) !important;
  box-shadow: none !important;
}

.popup2.auth-sms-modal.active {
  display: flex !important;
}

.auth-sms-modal .auth-sms-card {
  position: relative !important;
  box-sizing: border-box !important;
  width: min(420px, calc(100vw - 32px)) !important;
  margin: auto !important;
  padding: 28px 20px 24px !important;
  border: none !important;
  border-radius: 15px !important;
  background: #0a0e22 !important;
  box-shadow: 0 18px 54px rgba(0, 0, 0, .34) !important;
  color: #fff !important;
  font-family: 'Nunito Sans', sans-serif !important;
}

.auth-sms-modal .popup__close {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  left: auto !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 22px !important;
  height: 22px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: .8 !important;
  cursor: pointer !important;
}

.auth-sms-modal .popup__close img {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
}

html[lang="he"] .auth-sms-modal .popup__close,
html[lang="ar"] .auth-sms-modal .popup__close {
  right: auto !important;
  left: 16px !important;
}

.auth-sms-modal .auth-sms-logo {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 4px 0 18px !important;
}

.auth-sms-modal .auth-sms-logo img,
.auth-sms-modal .auth-sms-logo svg {
  display: block !important;
  width: 100% !important;
  max-width: 170px !important;
  height: auto !important;
}

.auth-sms-modal .popup__head {
  margin: 0 !important;
  padding: 0 !important;
}

.auth-sms-modal .popup__head::after,
.auth-sms-modal .popup__footer::before {
  display: none !important;
}

.auth-sms-modal .popup__title {
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -.02em !important;
  text-align: center !important;
  text-transform: uppercase !important;
  color: #fff !important;
}

.auth-sms-modal form {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  margin: 0 !important;
}

.auth-sms-modal .popup__content {
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 18px 0 0 !important;
  text-align: center !important;
}

.auth-sms-modal .popup__caption {
  display: block !important;
  max-width: 330px !important;
  margin: 0 auto !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  letter-spacing: -.02em !important;
  color: rgba(255, 255, 255, .8) !important;
}

.auth-sms-modal .auth-sms-code-row {
  position: relative !important;
  width: 100% !important;
}

.auth-sms-modal .auth-sms-code-field {
  position: relative !important;
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 52px !important;
  margin: 0 !important;
  border: 1px solid #767c88 !important;
  border-radius: 20px !important;
  background: radial-gradient(421.5% 830.03% at 25.44% -30.88%, #474b53 0%, #767c88 50.48%, #42454b 100%) !important;
  box-shadow: none !important;
}

.auth-sms-modal .auth-sms-field-icon {
  position: absolute !important;
  top: 50% !important;
  left: 4px !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 34px !important;
  height: 34px !important;
  border: 1px solid #737986 !important;
  border-radius: 50% !important;
  background: #707683 !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
}

.auth-sms-modal .auth-sms-field-icon svg {
  display: block !important;
  width: 15px !important;
  height: auto !important;
}

.auth-sms-modal .auth-sms-code-field .input__inner {
  position: relative !important;
  z-index: 1 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 72px 0 48px !important;
  border: 0 !important;
  border-radius: 20px !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: -.03em !important;
  text-align: left !important;
  text-transform: none !important;
  color: #fff !important;
}

.auth-sms-modal .auth-sms-code-field .input__inner::placeholder {
  color: #a7aebd !important;
}

.auth-reset-password-modal .auth-reset-password-field .input__inner {
  padding-right: 48px !important;
}

.auth-reset-password-modal .popup__content {
  padding-top: 20px !important;
}

.auth-sms-modal .popup__timer.clock-timer {
  position: absolute !important;
  top: 50% !important;
  right: 18px !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
}

.auth-sms-modal .clock-timer__counter {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #a7aebd !important;
}

.auth-sms-modal .popup__advice {
  width: 100% !important;
  margin: 0 !important;
  text-align: center !important;
}

.auth-sms-modal .popup__advice .button_style_flat {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  color: #6cdb83 !important;
}

.auth-sms-modal .modal__error {
  margin: 0 !important;
}

.auth-sms-modal .modal__note_important {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  color: #ff6d75 !important;
}

.auth-sms-modal .popup__footer {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: center !important;
}

.auth-sms-modal .popup__footer .popup__button {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: calc(100% - 30px) !important;
  height: 49px !important;
  margin: 0 auto !important;
  padding: 0 18px !important;
  border: 1px solid rgba(86, 169, 190, .35) !important;
  border-radius: 20px !important;
  background: linear-gradient(90deg, rgba(20, 74, 115, .56) -16.2%, rgba(86, 169, 190, .35) 114.96%) !important;
  box-shadow: none !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: -.02em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  cursor: pointer !important;
}

.auth-sms-modal .auth-sms-social-links {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  box-sizing: border-box !important;
  width: calc(100% - 30px) !important;
  gap: 8px !important;
  min-height: 24px !important;
  margin: 18px auto 0 !important;
}

.auth-sms-modal .auth-sms-social-links a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
}

.auth-sms-modal .auth-sms-social-links img {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
}

@media (max-width: 480px) {
  .popup2.auth-sms-modal {
    align-items: center !important;
    padding: 16px !important;
  }

  .auth-sms-modal .auth-sms-card {
    width: 100% !important;
    padding: 26px 16px 22px !important;
  }

  .auth-sms-modal .popup__caption {
    font-size: 13px !important;
  }

  .auth-sms-modal .popup__footer .popup__button {
    font-size: 16px !important;
  }
}

@media (max-height: 520px) {
  .popup2.auth-sms-modal {
    align-items: flex-start !important;
  }
}

/* ============ 2FA login popup: reuse the shared .auth-ui system ============ */

.popup.twoFa.auth-ui .twofa-title {
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -.02em !important;
  text-align: center !important;
  text-transform: uppercase !important;
  color: #fff !important;
}

/* ============ Search popup redesign ============ */

.popup.search.search-ui .popup-block {
  margin-top: 0 !important;
  padding: 24px 20px 32px !important;
  max-width: 480px !important;
  width: 100% !important;
  background: #0a0e22 !important;
  border: none !important;
  border-radius: 20px !important;
}

.popup.search.search-ui .search-header {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 0 24px !important;
}

.popup.search.search-ui .search-close {
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
}

html[lang="he"] .popup.search.search-ui .search-close,
html[lang="ar"] .popup.search.search-ui .search-close {
  left: auto !important;
  right: 0 !important;
}

.popup.search.search-ui .search-logo img,
.popup.search.search-ui .search-logo svg {
  max-width: 140px !important;
  width: 100% !important;
  height: auto !important;
}

.popup.search.search-ui .search-field {
  position: relative !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  height: 48px !important;
  padding: 0 18px !important;
  border: 1px solid #305e67 !important;
  border-radius: 20px !important;
  background: linear-gradient(248.82deg, rgba(43, 95, 123, .2) -17.47%, rgba(25, 56, 69, .2) 50.64%, rgba(33, 94, 109, .2) 118.58%) !important;
  font-size: 14px !important;
  overflow: visible !important;
}

.popup.search.search-ui .search-field-icon {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.popup.search.search-ui .search-field-icon svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
}

.popup.search.search-ui .search-field input {
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  background-image: none !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  letter-spacing: -.05em !important;
  color: #fff !important;
  text-align: left !important;
}

html[lang="he"] .popup.search.search-ui .search-field input,
html[lang="ar"] .popup.search.search-ui .search-field input {
  text-align: right !important;
}

.popup.search.search-ui .search-field input:hover {
  color: #fff !important;
}

.popup.search.search-ui .search-field input::placeholder {
  color: #adc0c6 !important;
}

.popup.search.search-ui .error-text {
  margin-top: 16px !important;
  color: #ff6b6b !important;
  font-family: 'Nunito Sans', sans-serif !important;
}

.popup.search.search-ui .preview-games,
.popup.search.search-ui ul {
  background: transparent !important;
  margin-top: 12px !important;
  padding: 8px 0 0 !important;
  max-height: 65vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.popup.search.search-ui li {
  box-sizing: border-box !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid rgba(48, 94, 103, .35) !important;
}

.popup.search.search-ui li:last-child {
  border-bottom: none !important;
}

.popup.search.search-ui li:hover {
  background: rgba(48, 94, 103, .15) !important;
}

.popup.search.search-ui li img {
  border-radius: 10px !important;
  margin-right: 14px !important;
}

.popup.search.search-ui {
  align-items: center !important;
}

.popup.search.search-ui li .search-result-name .name {
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: -.05em !important;
  color: #25d366 !important;
}

.popup.search.search-ui li .search-result-name .provider {
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  letter-spacing: -.05em !important;
  color: #adc0c6 !important;
  text-transform: capitalize !important;
}

.popup.search.search-ui li .search-result-btns {
  flex-direction: row-reverse !important;
  align-items: center !important;
  gap: 10px !important;
}

.popup.search.search-ui li .search-result-btns .play {
  box-sizing: border-box !important;
  border: 1px solid #25d366 !important;
  border-radius: 27px !important;
  padding: 7px 16px !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 11px !important;
  letter-spacing: -.05em !important;
  line-height: 1.2 !important;
  color: #25d366 !important;
  text-transform: uppercase !important;
  transition: background-color .2s, color .2s !important;
}

.popup.search.search-ui li .search-result-btns .play:hover {
  border-color: #25d366 !important;
  background: #25d366 !important;
  color: #0a0e22 !important;
}

.popup.search.search-ui li .search-result-btns .demo {
  margin-top: 0 !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 11px !important;
  letter-spacing: -.05em !important;
  color: #25d366 !important;
  text-transform: uppercase !important;
}

.popup.search.search-ui li .search-result-btns .demo:hover {
  text-decoration: underline !important;
}

@media (max-width: 575px) {
  .popup.search.search-ui .popup-block {
    max-width: 100% !important;
    min-height: 100vh !important;
    padding: 20px 16px 24px !important;
    border-radius: 0 !important;
  }
}

/* Long game titles must truncate instead of overlapping the buttons. */
.popup.search.search-ui li {
  min-width: 0 !important;
}

.popup.search.search-ui li img {
  flex: 0 0 auto !important;
}

.popup.search.search-ui li .search-result-name {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.popup.search.search-ui li .search-result-name .name,
.popup.search.search-ui li .search-result-name .provider {
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

.popup.search.search-ui li .search-result-btns {
  flex: 0 0 auto !important;
}


/* Temporarily hidden per explicit request: the section is fine
   functionally (backend/admin management in adm2 is untouched), but a
   pre-existing font-size:0 inheritance bug (from .payment__gallery,
   never reset for this section) collapses it to ~8px tall instead of
   its real content height, rendering as an unrecognizable colored
   sliver in the withdrawal tab. Revisit before re-enabling. */
.withdrawal-buffer {
  display: none !important;
}


/* History tab pagination: the .pagination/.page-item/.page-link markup was
   never styled for this theme, so it fell back to raw Bootstrap defaults
   (white pill, blue link text, blue focus ring) that clash with the dark
   redesign, and the arrow only looked "white" transiently via the browser's
   own :active/:focus link color. Give it a themed look with white arrows by
   default in every state, plus a "current / total" page indicator. */
#cabinet-modal #history .pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#cabinet-modal #history .pagination .page-item {
  margin: 0 !important;
}

#cabinet-modal #history .pagination .page-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border: 1px solid #305e67 !important;
  border-radius: 50% !important;
  background: rgba(43, 95, 123, .2) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  outline: none !important;
  box-shadow: none !important;
}

#cabinet-modal #history .pagination .page-link:hover,
#cabinet-modal #history .pagination .page-link:focus,
#cabinet-modal #history .pagination .page-link:active,
#cabinet-modal #history .pagination .page-link:visited {
  color: #fff !important;
  background: rgba(43, 95, 123, .4) !important;
  border-color: #6fadd6 !important;
  outline: none !important;
  box-shadow: none !important;
}

#cabinet-modal #history .pagination .page-info {
  color: #a9b9c6 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

/* Buffer is shown directly under the playable balance. */
#cabinet-modal #profile .profile-balance_buffer {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
  display: flex !important;
  gap: 6px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 13px !important;
}
#cabinet-modal #profile .profile-balance_buffer .rating__caption_value { margin-inline-start: 0 !important; }
.profile-buffer-refund {
  margin-left: auto;
  padding: 5px 12px;
  color: #36c7ef;
  border: 1px solid #36c7ef;
  border-radius: 18px;
  background: transparent;
  cursor: pointer;
  font: inherit;
}
.buffer-refund-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(390px, calc(100vw - 32px));
  box-sizing: border-box;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 28px;
  border: 1px solid #304c67;
  border-radius: 20px;
  background: #0b0e23;
  color: #fff;
  font-family: 'Nunito Sans', sans-serif;
}
.buffer-refund-modal::backdrop { background: rgba(0,0,0,.65); }
.buffer-refund-modal h2 { font-size: 22px; margin: 0 24px 20px 0; }
.buffer-refund-modal p { margin: 12px 0; }
.buffer-refund-modal .js-buffer-balance { color: #36c7ef; }
.buffer-refund-close { position: absolute; top: 10px; right: 14px; font-size: 26px; color: #adc0c6; background: none; border: 0; cursor: pointer; }
.buffer-refund-inputs { display: flex; gap: 8px; margin-top: 8px; }
.buffer-refund-inputs input { width: 100%; min-width: 0; background: #101c2c; color: white; border: 1px solid #304c67; border-radius: 10px; padding: 12px; }
.buffer-refund-modal .js-buffer-max,.buffer-refund-submit { background: #36c7ef; color: #0b0e23; border: 0; border-radius: 10px; padding: 10px 16px; cursor: pointer; }
.buffer-refund-submit { width: 100%; font-weight: 700; }
.buffer-refund-submit:disabled { opacity: .5; cursor: wait; }
.buffer-refund-modal .is-error { color: #ff6565; }
.buffer-refund-modal .is-success { color: #23c566; }
#cabinet-modal #profile button.profile-buffer-refund,
#buffer-refund-modal button.js-buffer-max,
#buffer-refund-modal button.buffer-refund-submit {
  background: #36c7ef !important;
  color: #0b0e23 !important;
  border-color: #36c7ef !important;
}
#buffer-refund-modal button.buffer-refund-close { background: transparent !important; color: #adc0c6 !important; }

/* TEMPORARY PRODUCTION HOTFIX: hide deposit bonus badges visually.
   Remove this rule after the next staged UI update is deployed to production. */
#cabinet-modal #cashier #payment-tab .payitem__bonus-badge {
  display: none !important;
}
