.options-container .options-overlay-show {
    opacity: 1;
    visibility: visible;
}
/* чекбоксы платежного сервиса */
.cc-selector-2 input{
    position:absolute;
    z-index:999;
}
.cc-selector-2 input:active +.drinkcard-cc { opacity: .9;}
.cc-selector-2 input:checked +.drinkcard-cc {
    -webkit-filter: none;
    -moz-filter: none;
    filter: none;
}
.drinkcard-cc{
    cursor: pointer;
    -webkit-transition: all 100ms ease-in;
    -moz-transition: all 100ms ease-in;
    transition: all 100ms ease-in;
    -webkit-filter: brightness(1.8) grayscale(1) opacity(.7);
    -moz-filter: brightness(1.8) grayscale(1) opacity(.7);
    filter: brightness(1.8) grayscale(1) opacity(.7);
}
.drinkcard-cc:hover{
    -webkit-filter: brightness(1.2) grayscale(.5) opacity(.9);
    -moz-filter: brightness(1.2) grayscale(.5) opacity(.9);
    filter: brightness(1.2) grayscale(.5) opacity(.9);
}
.drinkcard-cc img{
    border-radius: 4px;
}
/* чекбоксы платежного сервиса конец*/

/* список аккаунтов*/
.list_account div.accordion_account::before {
    content: '\f105';
    opacity: .4;
}
.list_account.open>div.accordion_account::before {
    opacity: 0;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}
.list_account div.accordion_account::after {
    content: '\f103';
    opacity: 0;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}
.list_account.open>div.accordion_account::after {
    opacity: .4;
    -webkit-transform: rotate(0);
    transform: rotate(0);
}
.list_account div.accordion_account::before, .list_account div.accordion_account::after {
    position: absolute;
    left: 21px;
    width: 20px;
    height: 20px;
    display: block;
    text-align: center;
    font-family: FontAwesome,"Font Awesome 5 Free","Font Awesome 5 Pro";
    transition: all .2s cubic-bezier(.25,.46,.45,.94);
}
/* список аккаунтов конец*/

/* Game account block — centered title + create button */
.btn-create-account {
    position: absolute !important;

    top: 52px !important;
    left: 50% !important;
    right: auto !important;

    transform: translateX(-50%) !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px;

    min-width: 230px !important;
    height: 34px !important;

    padding: 0 18px !important;

    color: #dcefff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    background:
        linear-gradient(
            180deg,
            rgba(18, 38, 58, .84),
            rgba(8, 18, 32, .94)
        ) !important;

    border: 1px solid rgba(92,170,255,.42) !important;
    border-radius: 6px !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.045),
        0 0 10px rgba(60,140,255,.10) !important;

    text-shadow: 0 1px 2px rgba(0,0,0,.65) !important;

    z-index: 3 !important;

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        box-shadow .18s ease,
        transform .12s ease !important;
}

.btn-create-account i {
    margin: 0 !important;
    color: #43d7ff !important;
    font-size: 13px !important;
    line-height: 1 !important;
    filter: drop-shadow(0 0 5px rgba(67,215,255,.28));
}

.btn-create-account:hover {
    color: #ffffff !important;

    background:
        linear-gradient(
            180deg,
            rgba(28,76,120,.95),
            rgba(14,46,82,.95)
        ) !important;

    border-color: rgba(120,200,255,.65) !important;

    box-shadow:
        0 0 15px rgba(70,160,255,.22),
        inset 0 0 10px rgba(150,220,255,.08) !important;

    transform: translateX(-50%) !important;
}

.btn-create-account:hover i {
    color: #ffffff !important;
}

.btn-create-account:active {
    transform: translateX(-50%) translateY(1px) !important;
    filter: brightness(.96);
}

/* Center title and add safe space under button */
#main-container .grid-item[data-layers-level="3"] .block-content > .mb-20 {
    text-align: center !important;
    margin-bottom: 58px !important;
}

/* Mobile safety */
@media (max-width: 575.98px) {
    .btn-create-account {
        top: 54px !important;

        width: calc(100% - 42px) !important;
        max-width: 300px !important;
        min-width: 0 !important;

        height: 36px !important;

        font-size: 12px !important;
        padding: 0 12px !important;

        white-space: nowrap !important;
    }

    #main-container .grid-item[data-layers-level="3"] .block-content > .mb-20 {
        margin-bottom: 62px !important;
    }
}

/* Кастомные выбор
https://bootsnipp.com/snippets/gvlK7
*/
.form-group input[type="radio"],
.form-group input[type="checkbox"]{
    display: none;
}

.form-group input[type="checkbox"] + .btn-group > label,
.form-group input[type="radio"] + .btn-group > label{
    white-space: normal;
}

.form-group input[type="checkbox"] + .btn-group > label.btn-default,
.form-group input[type="radio"] + .btn-group > label.btn-default{
    color: #333;
    background-color: #fff;
    border-color: #ccc;
    cursor: pointer;
}

.form-group input[type="radio"] + .btn-group > label span:first-child,
.form-group input[type="checkbox"] + .btn-group > label span:first-child{
    display: none;
}

.form-group input[type="radio"] + .btn-group > label span:first-child + span,
.form-group input[type="checkbox"] + .btn-group > label span:first-child + span{
    display: inline-block;
}

.form-group input[type="radio"]:checked + .btn-group > label span:first-child,
.form-group input[type="checkbox"]:checked + .btn-group > label span:first-child{
    display: inline-block;
}

.form-group input[type="radio"]:checked + .btn-group > label span:first-child + span,
.form-group input[type="checkbox"]:checked + .btn-group > label span:first-child + span{
    display: none;
}

.form-group input[type="checkbox"] + .btn-group > label span[class*="fa-"],
.form-group input[type="radio"] + .btn-group > label span[class*="fa-"]{
    width: 15px;
    float: left;
    margin: 4px 0 2px -2px;
}

.form-group input[type="checkbox"] + .btn-group > label div.content-label,
.form-group input[type="radio"] + .btn-group > label div.content-label{
    margin-left: 22px;
}

.gwstyle body {
    background: linear-gradient(to bottom, hsl(0,0%,0%,0) 80%, hsl(0,0%,0%,.9) 100%), url('/img/osno01.jpg') top center no-repeat black !important;
	background-size: cover !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
}
/* Кастомные выбор конец*/

/* тут уже погнал я с Джарвисом ковырять*/
.gwstyle .isel-list .isel {
    border: 1px solid rgba(255, 180, 0, 0.11);
    background: rgba(255, 255, 255, 0.035);
}

/* Shop carousel dots */
.gwstyle .js-slider.slick-dotted {
    padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

.gwstyle .js-slider .slick-track {
    margin-bottom: 0 !important;
}

.gwstyle .js-slider .slick-dots {
    position: static !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 7px;
    width: 100%;
    margin: -36px 0 0 !important;
    padding: 0 !important;
    list-style: none;
}

.gwstyle .js-slider .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;
}

.gwstyle .js-slider .slick-dots li button {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 50%;
    background: rgba(90, 170, 230, 0.45);
    border: 1px solid rgba(130, 210, 255, 0.45);
    font-size: 0;
    transition: all .18s ease;
}

.gwstyle .js-slider .slick-dots li button:before {
    display: none;
}

.gwstyle .js-slider .slick-dots li.slick-active button {
    width: 22px;
    border-radius: 12px;
    background: rgba(95, 190, 255, 0.95);
    box-shadow: 0 0 10px rgba(70, 170, 255, 0.35);
}

/* =========================
   HEADER: base layout fixes
========================= */

.gwstyle #page-header .content-header {
    padding-left: 1px !important;
}

.gwstyle #page-header .content-header-section:first-child,
.gwstyle #page-header .content-header-item:first-child {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.gwstyle #page-header .content-header-item,
.gwstyle #page-header #toolbarDrop {
    max-width: 270px;
}

.gwstyle #page-header .content-header-section:last-child {
    margin-right: 0 !important;
    padding-right: 0 !important;
    justify-content: flex-end;
}

.gwstyle #page-header .content-header-section:last-child a {
    margin-right: 0 !important;
}

.gwstyle #page-header a[href*="logout"],
.gwstyle #page-header a[href*="exit"],
.gwstyle #page-header a[href*="sign-out"] {
    position: relative;
    right: 27px;
}


/* =========================
   HEADER: common text
========================= */

.gwstyle #toolbarDrop,
.gwstyle #page-header a[href*="sign-in"],
.gwstyle #page-header a[href*="login"],
.gwstyle #page-header a[href*="sign-up"],
.gwstyle #page-header a[href*="register"],
.gwstyle #page-header a[href*="logout"],
.gwstyle #page-header a[href*="exit"],
.gwstyle #page-header a[href*="sign-out"] {
    color: #ecfbff !important;
    font-weight: 600;
    letter-spacing: 0.15px;
    text-shadow: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* =========================
   SERVER SELECTOR
========================= */

.gwstyle #page-header #toolbarDrop {
    background: linear-gradient(
        180deg,
        rgba(90, 180, 255, 0.22) 0%,
        rgba(18, 38, 58, 0.82) 100%
    ) !important;

    border: 1px solid rgba(120, 185, 220, 0.16) !important;
    border-radius: 3px !important;
    backdrop-filter: none;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        inset 0 0 0 1px rgba(255,255,255,.018),
        0 0 8px rgba(40, 120, 180, .06) !important;

    transition:
		background .28s ease,
		border-color .28s ease,
		box-shadow .28s ease,
		color .22s ease,
		transform .14s ease;
}

/* Server selector hover / opened state */
.gwstyle #page-header #toolbarDrop:hover,
.gwstyle #page-header #toolbarDrop[aria-expanded="true"] {
    color: #ffffff !important;

    background: linear-gradient(
        180deg,
        rgba(70, 140, 255, 0.34) 0%,
        rgba(25, 70, 145, 0.48) 100%
    ) !important;

    border-color: rgba(145, 225, 255, 0.62) !important;

    box-shadow:
        0 0 16px rgba(90, 190, 255, 0.26),
        inset 0 0 12px rgba(140, 230, 255, 0.1) !important;
}

.gwstyle #page-header #toolbarDrop:active {
    transform: scale(0.97) !important;
}


/* =========================
   AUTH BUTTONS
========================= */

.gwstyle #page-header a[href*="sign-in"],
.gwstyle #page-header a[href*="login"],
.gwstyle #page-header a[href*="sign-up"],
.gwstyle #page-header a[href*="register"],
.gwstyle #page-header a[href*="logout"],
.gwstyle #page-header a[href*="exit"],
.gwstyle #page-header a[href*="sign-out"] {
    background: linear-gradient(
        180deg,
        rgba(90, 180, 255, 0.18) 0%,
        rgba(18, 38, 58, 0.72) 100%
    ) !important;

    border: 1px solid rgba(120, 185, 220, 0.16) !important;
    border-radius: 3px !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        inset 0 0 0 1px rgba(255,255,255,.018),
        0 0 8px rgba(40, 120, 180, .06) !important;

    transition:
        background .22s ease,
        border-color .22s ease,
        color .22s ease,
        box-shadow .22s ease,
        transform .14s ease;
}

.gwstyle #page-header a[href*="sign-in"]:hover,
.gwstyle #page-header a[href*="login"]:hover {
    color: #ffffff !important;

    background: linear-gradient(
        180deg,
        rgba(70, 140, 255, 0.34) 0%,
        rgba(25, 70, 145, 0.48) 100%
    ) !important;

    border-color: rgba(145, 225, 255, 0.62) !important;

    box-shadow:
        0 0 16px rgba(90, 190, 255, 0.26),
        inset 0 0 12px rgba(140, 230, 255, 0.1) !important;

    transform: none !important;
}

/* Registration — green when not active */
.gwstyle #page-header a[href*="sign-up"],
.gwstyle #page-header a[href*="register"] {
    background: linear-gradient(
        180deg,
        rgba(52, 145, 92, 0.72) 0%,
        rgba(18, 68, 45, 0.90) 100%
    ) !important;

    border-color: rgba(145, 255, 190, 0.36) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.05),
        0 0 10px rgba(90, 220, 150, .12) !important;
}

.gwstyle #page-header a[href*="sign-up"]:hover,
.gwstyle #page-header a[href*="register"]:hover {
    color: #ffffff !important;
    border-color: rgba(160, 255, 205, 0.48) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 0 14px rgba(90, 220, 150, .18) !important;
    transform: none !important;
}

/* Login/Register active — blue */
.gwstyle #page-header a[href*="sign-in"].active,
.gwstyle #page-header a[href*="login"].active,
.gwstyle #page-header a[href*="sign-up"].active,
.gwstyle #page-header a[href*="register"].active {
    color: #ffffff !important;

    background: linear-gradient(
        180deg,
        rgba(70, 140, 255, 0.34) 0%,
        rgba(25, 70, 145, 0.48) 100%
    ) !important;

    border-color: rgba(145, 225, 255, 0.62) !important;

    box-shadow:
        0 0 16px rgba(90, 190, 255, 0.26),
        inset 0 0 12px rgba(140, 230, 255, 0.1) !important;
}

/* Logout hover — red */
.gwstyle #page-header a[href*="logout"]:hover,
.gwstyle #page-header a[href*="exit"]:hover,
.gwstyle #page-header a[href*="sign-out"]:hover {
    color: #ffffff !important;

    background: linear-gradient(
        180deg,
        rgba(115, 42, 50, 0.82) 0%,
        rgba(52, 18, 25, 0.92) 100%
    ) !important;

    border-color: rgba(255, 135, 135, 0.50) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 0 12px rgba(210, 70, 70, 0.18) !important;

    transform: none !important;
}

.gwstyle #page-header a[href*="sign-in"]:active,
.gwstyle #page-header a[href*="login"]:active,
.gwstyle #page-header a[href*="sign-up"]:active,
.gwstyle #page-header a[href*="register"]:active,
.gwstyle #page-header a[href*="logout"]:active,
.gwstyle #page-header a[href*="exit"]:active,
.gwstyle #page-header a[href*="sign-out"]:active {
    transform: scale(0.97) !important;
}


/* =========================
   CENTRAL NAVIGATION
========================= */

.gwstyle #page-header .nav-main-header > li > a {
    border: 1px solid rgba(110, 175, 215, 0.14) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        inset 0 0 0 1px rgba(255,255,255,.015),
        0 0 10px rgba(40, 120, 180, .045) !important;

    transition:
        border-color .22s ease,
        box-shadow .22s ease,
        background .22s ease,
        transform .14s ease;
}

.gwstyle #page-header .nav-main-header > li > a:hover {
    border-color: rgba(150, 210, 255, 0.24) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 0 14px rgba(70, 170, 255, .10) !important;
}

.gwstyle #page-header .nav-main-header > li > a:active {
    transform: scale(0.97) !important;
    transform-origin: center center;
}


/* =========================
   DROPDOWNS
========================= */

.gwstyle #page-header #toolbarDrop + .dropdown-menu {
    margin-left: 23px !important;
    margin-top: 6px !important;
}

.gwstyle #page-header .nav-main-header > li.open > ul {
    margin-left: -6px !important;
    margin-top: 4px !important;
}

.gwstyle #page-header .nav-main-header > li:hover > ul {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.gwstyle #page-header .nav-main-header > li.open > ul {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.gwstyle #page-header .dropdown-menu a,
.gwstyle #page-header .nav-main-header li ul li a {
    transform-origin: center center;
}

.gwstyle #page-header .dropdown-menu a:active,
.gwstyle #page-header .nav-main-header li ul li a:active {
    transform: scale(0.985) !important;
}


/* =========================
   BRAND LOGO
========================= */

.gwstyle #page-header .content-header-item > a.link-effect.font-w700 {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 4px 2px 8px;

    font-size: 21px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    line-height: 1;

    text-decoration: none !important;

    background: linear-gradient(
        90deg,
        #7ee7ff 0%,
        #dff7ff 38%,
        #ffffff 58%,
        #b8eaff 100%
    );

    background-size: 200% auto;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 0 14px rgba(70, 180, 255, 0.22),
        0 0 34px rgba(0, 170, 255, 0.10);

    transition:
        transform .18s ease,
        text-shadow .25s ease,
        filter .25s ease,
        background-position .45s ease;
}

.gwstyle #page-header .content-header-item > a.link-effect.font-w700::before {
    display: none !important;
    content: none !important;
}

.gwstyle #page-header .content-header-item > a.link-effect.font-w700::after {
    content: "";

    position: absolute;
    left: 2px;
    right: 2px;
    bottom: 0;

    height: 2px;
    border-radius: 999px;

    background: linear-gradient(
        90deg,
        rgba(80, 210, 255, 0),
        rgba(80, 210, 255, .85),
        rgba(255,255,255,.95),
        rgba(80, 210, 255, .85),
        rgba(80, 210, 255, 0)
    );

    opacity: .75;

    box-shadow:
        0 0 10px rgba(70, 190, 255, .35),
        0 0 18px rgba(70, 190, 255, .18);

    transition:
        opacity .22s ease,
        transform .22s ease;
}

.gwstyle #page-header .content-header-item > a.link-effect.font-w700:hover {
    transform: translateY(-1px);
    background-position: 100% center;
    filter: brightness(1.05);
}

/* Dropdown items: clean hover */
.gwstyle #page-header .dropdown-menu a:hover,
.gwstyle #page-header .dropdown-menu a:focus,
.gwstyle #page-header .nav-main-header li ul li a:hover,
.gwstyle #page-header .nav-main-header li ul li a:focus {
    background: rgba(22, 38, 52, 0.92) !important;
    border-color: rgba(120, 185, 220, 0.18) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        0 0 8px rgba(40, 120, 180, .06) !important;
    color: #ecfbff !important;
}

/* Server selector dropdown: restore own hover */
.gwstyle #page-header #toolbarDrop + .dropdown-menu a:hover {
    color: #ffffff !important;

    background:
        linear-gradient(
            180deg,
            rgba(28, 48, 78, 0.96) 0%,
            rgba(18, 30, 52, 0.98) 100%
        ) !important;

    border-color: rgba(120, 195, 255, 0.34) !important;

    box-shadow:
        inset 0 0 10px rgba(120, 200, 255, 0.08),
        0 0 10px rgba(60, 160, 255, 0.12) !important;

    transition:
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        color .18s ease !important;
}

/* Better spacing inside dropdowns */
.gwstyle #page-header .dropdown-item,
.gwstyle #page-header .nav-main-header li ul li a {
    margin-bottom: 1px;
}

.gwstyle #page-header .dropdown-item:last-child,
.gwstyle #page-header .nav-main-header li ul li:last-child a {
    margin-bottom: 0;
}

/* =========================================================
   Заголовки страниц — читаемость без прямоугольной подложки
========================================================= */

#main-container .my-10.text-center,
#main-container .pb-20.text-center {
    position: relative;
}

/* Отключаем старую линзу, чтобы не было квадратных краёв */
#main-container .my-10.text-center::before,
#main-container .pb-20.text-center::before {
    content: none !important;
}

/* Главные заголовки */
#main-container .my-10.text-center h1,
#main-container .my-10.text-center h2,
#main-container .pb-20.text-center h1,
#main-container .pb-20.text-center h2 {
    color: #edf9ff !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px;

    text-shadow:
        0 2px 3px rgba(0,0,0,.98),
        0 0 8px rgba(0,0,0,.72),
        0 0 18px rgba(0,0,0,.48);

    filter:
        drop-shadow(0 0 10px rgba(0,0,0,.55))
        drop-shadow(0 0 18px rgba(0,0,0,.35));
}

/* Подзаголовки */
#main-container .my-10.text-center h3,
#main-container .my-10.text-center h4,
#main-container .pb-20.text-center h3,
#main-container .pb-20.text-center h4 {
    color: #c8e2ef !important;
    font-weight: 600 !important;

    text-shadow:
        0 2px 3px rgba(0,0,0,.94),
        0 0 7px rgba(0,0,0,.60),
        0 0 14px rgba(0,0,0,.42);

    filter:
        drop-shadow(0 0 8px rgba(0,0,0,.48))
        drop-shadow(0 0 14px rgba(0,0,0,.30));
}

/* Заголовок страниц с пустым/служебным контентом */
#main-container > .content.content-full > h2 {
    color: #edf9ff !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px;

    text-shadow:
        0 2px 3px rgba(0,0,0,.98),
        0 0 8px rgba(0,0,0,.72),
        0 0 18px rgba(0,0,0,.48);

    filter:
        drop-shadow(0 0 10px rgba(0,0,0,.55))
        drop-shadow(0 0 18px rgba(0,0,0,.35));
}

/* ==========================================
   DataTables — рамка только вокруг таблицы
========================================== */

.dataTables_wrapper {
    border: none !important;
    background: transparent !important;
}

.dataTables_wrapper table.table {
    border-collapse: collapse !important;
    border: none !important;

    outline: 1px solid rgba(212, 171, 89, 0.22);
    outline-offset: 0;
}

/* Внутренние линии */
.dataTables_wrapper table.table th,
.dataTables_wrapper table.table td {
    border-right: 1px solid rgba(212, 171, 89, 0.11) !important;
    border-bottom: 1px solid rgba(212, 171, 89, 0.11) !important;
}

/* Левый край */
.dataTables_wrapper table.table th:first-child,
.dataTables_wrapper table.table td:first-child {
    border-left: 1px solid rgba(212, 171, 89, 0.22) !important;
}

/* Верхний край */
.dataTables_wrapper table.table thead th {
    border-top: 1px solid rgba(212, 171, 89, 0.22) !important;
}

/* Правый край */
.dataTables_wrapper table.table th:last-child,
.dataTables_wrapper table.table td:last-child {
    border-right: 1px solid rgba(212, 171, 89, 0.22) !important;
}

/* Нижний край */
.dataTables_wrapper table.table tbody tr:last-child td {
    border-bottom: 1px solid rgba(212, 171, 89, 0.22) !important;
}

/* ==========================================
   DataTables — красивая пагинация
========================================== */

/* Общий вид кнопок */
.pagination .page-link {
    background: rgba(18, 22, 34, 0.92);
    border: 1px solid rgba(212, 171, 89, 0.16);

    color: #9fb5d1 !important;

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        box-shadow .18s ease;
}

/* Наведение */
.pagination .page-link:hover {
    background: rgba(26, 42, 62, 0.92) !important;

    border-color: rgba(80, 180, 255, 0.45);

    color: #dff6ff !important;

    box-shadow:
        0 0 10px rgba(50, 150, 255, 0.18),
        inset 0 0 6px rgba(120, 200, 255, 0.10);
}

/* Активная кнопка */
.pagination .page-item.active .page-link {
    background: linear-gradient(
        180deg,
        rgba(28, 76, 120, 0.95),
        rgba(14, 46, 82, 0.95)
    ) !important;

    border-color: rgba(92, 170, 255, 0.45) !important;

    color: #ecf8ff !important;

    box-shadow:
        0 0 14px rgba(70, 160, 255, 0.20),
        inset 0 0 10px rgba(150, 220, 255, 0.08);

    transform: translateY(-1px);
}

/* Чтобы активная не мигала белым при клике */
.pagination .page-link:focus,
.pagination .page-link:active,
.pagination .page-item.active .page-link:focus,
.pagination .page-item.active .page-link:active {
    background: linear-gradient(
        180deg,
        rgba(28, 76, 120, 0.95),
        rgba(14, 46, 82, 0.95)
    ) !important;

    color: #ecf8ff !important;

    border-color: rgba(92, 170, 255, 0.45) !important;

    box-shadow:
        0 0 14px rgba(70, 160, 255, 0.20),
        inset 0 0 10px rgba(150, 220, 255, 0.08) !important;

    outline: none !important;
}

/* ==========================================
   Кнопки форм — стиль в духе ЛК
========================================== */

.submit-form,
button.submit-form,
.btn.submit-form,
.btn-alt-success.submit-form {
    background: linear-gradient(
        180deg,
        rgba(28, 76, 120, 0.95),
        rgba(14, 46, 82, 0.95)
    ) !important;

    border: 1px solid rgba(92, 170, 255, 0.45) !important;
    color: #ecf8ff !important;

    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,.75);

    box-shadow:
        0 0 12px rgba(70, 160, 255, 0.16),
        inset 0 0 10px rgba(150, 220, 255, 0.08);

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        box-shadow .18s ease,
        transform .12s ease;
}

.submit-form:hover,
button.submit-form:hover,
.btn.submit-form:hover,
.btn-alt-success.submit-form:hover {
    background: linear-gradient(
        180deg,
        rgba(36, 96, 145, 0.98),
        rgba(18, 58, 96, 0.98)
    ) !important;

    border-color: rgba(120, 200, 255, 0.65) !important;
    color: #ffffff !important;

    box-shadow:
        0 0 16px rgba(70, 160, 255, 0.28),
        inset 0 0 12px rgba(150, 220, 255, 0.12);
}

.submit-form:focus,
.submit-form:active,
button.submit-form:focus,
button.submit-form:active,
.btn.submit-form:focus,
.btn.submit-form:active,
.btn-alt-success.submit-form:focus,
.btn-alt-success.submit-form:active {
    background: linear-gradient(
        180deg,
        rgba(22, 65, 105, 0.98),
        rgba(10, 38, 70, 0.98)
    ) !important;

    border-color: rgba(92, 170, 255, 0.55) !important;
    color: #ecf8ff !important;

    box-shadow:
        0 0 12px rgba(70, 160, 255, 0.22),
        inset 0 0 14px rgba(0, 0, 0, 0.22) !important;

    transform: translateY(1px);
    outline: none !important;
}

/* ==========================================
   Базовый текст внутри блоков — без уничтожения акцентов
========================================== */

/* Только обычный текст */
.block p,
.block li,
.block label,
.block td,
.block .form-text {
    color: #97948d !important;
}

/* Приглушённые подписи */
.block .text-muted,
.block small {
    color: #f3d193 !important;
}

/* Заголовки внутри блоков */
.block h3,
.block h4,
.block h5,
.block .block-title {
    color: #efbc6b !important;
    font-weight: 700 !important;
    text-shadow:
        0 1px 2px rgba(0,0,0,.90),
        0 0 8px rgba(70,160,255,.12);
}

/* Форс для отдельных заголовков форм, которые не попали под общие правила */
#main-container h4.font-w400,
#main-container h5.text-muted,
#main-container .block-content h3,
#main-container .block-content h4,
#main-container .block-content h5 {
    color: #dce7f1 !important;
}

/* Заголовки внутри карточек магазина */
.block .h5.text-muted.text-center.pt-5 {
    color: #dce7f1 !important;

    margin-bottom: 14px !important; /* отодвигаем от таблицы */

    text-shadow:
        0 1px 2px rgba(0,0,0,.90),
        0 0 8px rgba(70,160,255,.12);
}

/* Support Telegram button */
.form-control2 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 168px !important;
    height: 34px !important;

    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.form-control2 > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;

    width: 56% !important;
    height: 34px !important;

    padding: 0 18px !important;

    color: #9fd8ff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-decoration: none !important;

    background:
        linear-gradient(
            180deg,
            rgba(8,18,32,.76),
            rgba(6,14,26,.92)
        ) !important;

    border: 1px solid rgba(92,170,255,.28) !important;
    border-radius: 6px !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04),
        0 0 10px rgba(60,140,255,.08);

    transition: all .18s ease !important;
}

.form-control2 > a > i {
    margin: 0 !important;
    color: #2AABEE !important;
    font-size: 15px !important;
    line-height: 1 !important;

    filter: drop-shadow(0 0 4px rgba(42,171,238,.28));
}

.form-control2 > a > span {
    color: #9fd8ff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

.form-control2 > a:hover {
    color: #ffffff !important;

    background:
        linear-gradient(
            180deg,
            rgba(12,30,54,.92),
            rgba(8,18,36,.96)
        ) !important;

    border-color: rgba(120,200,255,.55) !important;

    box-shadow:
        0 0 14px rgba(70,160,255,.18),
        inset 0 0 10px rgba(70,160,255,.06);
}

.form-control2 > a:hover i,
.form-control2 > a:hover span {
    color: #ffffff !important;
}

.form-control2 > a:active {
    transform: translateY(1px);

    background: rgba(6,14,28,.96) !important;

    box-shadow:
        inset 0 2px 8px rgba(0,0,0,.45),
        0 0 8px rgba(70,160,255,.10);
}

/* Заголовки колонок склада */
#main-container .block h6,
#main-container .block h6 i {
    color: #dce7f1 !important;
    font-weight: 700 !important;

    text-shadow:
        0 1px 2px rgba(0,0,0,.90),
        0 0 8px rgba(70,160,255,.12);
}

/* Чуть отделяем заголовки склада от списков */
#main-container .block h6.mb-10 {
    margin-bottom: 12px !important;
}

/* Рейтинг / статистика */
#main-container .block > .nav-tabs-block + .block-content table.table-sm {
    border: 1px solid rgba(212, 171, 89, 0.20) !important;
    background: rgba(8, 12, 22, 0.24) !important;
}

#main-container .block > .nav-tabs-block + .block-content table.table-sm thead th {
    color: #efbc6b !important;
    background: rgba(12, 18, 30, 0.58) !important;
    border-bottom: 1px solid rgba(212, 171, 89, 0.24) !important;
}

#main-container .block > .nav-tabs-block + .block-content table.table-sm td,
#main-container .block > .nav-tabs-block + .block-content table.table-sm th {
    border-color: rgba(212, 171, 89, 0.12) !important;
}

#main-container .block > .nav-tabs-block + .block-content table.table-hover tbody tr:hover {
    background: rgba(28, 76, 120, 0.24) !important;
}

/* ===== Shop rarity colors ===== */

/* 1-я тройка: базовые боксы */

/* Low */
a[href*="startovyj-nabor-low"] .shop-name .text-muted,
a[href*="starter-low-set"] .shop-name .text-muted,
a[href*="startovij-nabir-low"] .shop-name .text-muted,
a[href*="startovyj-nabor-low"] .shop-price,
a[href*="starter-low-set"] .shop-price,
a[href*="startovij-nabir-low"] .shop-price {
    color: #d6a85f !important;
}

/* Medium */
a[href*="startovyj-nabor-medium"] .shop-name .text-muted,
a[href*="starter-medium-set"] .shop-name .text-muted,
a[href*="startovij-nabir-medium"] .shop-name .text-muted,
a[href*="startovyj-nabor-medium"] .shop-price,
a[href*="starter-medium-set"] .shop-price,
a[href*="startovij-nabir-medium"] .shop-price {
    color: #7fd8ff !important;
    text-shadow: 0 0 8px rgba(90,190,255,.22);
}

/* High */
a[href*="startovyj-nabor-high"] .shop-name .text-muted,
a[href*="starter-high-set"] .shop-name .text-muted,
a[href*="startovij-nabir-high"] .shop-name .text-muted,
a[href*="startovyj-nabor-high"] .shop-price,
a[href*="starter-high-set"] .shop-price,
a[href*="startovij-nabir-high"] .shop-price {
    color: #ff8b6b !important;
    text-shadow: 0 0 8px rgba(255,100,60,.22);
}

/* Классовые наборы — один общий оттенок */
a[href*="luchnika"] .shop-name .text-muted,
a[href*="maga"] .shop-name .text-muted,
a[href*="daggerschika"] .shop-name .text-muted,
a[href*="paladina"] .shop-name .text-muted,
a[href*="gladiatora"] .shop-name .text-muted,
a[href*="tiranta"] .shop-name .text-muted,
a[href*="luchnika"] .shop-price,
a[href*="maga"] .shop-price,
a[href*="daggerschika"] .shop-price,
a[href*="paladina"] .shop-price,
a[href*="gladiatora"] .shop-price,
a[href*="tiranta"] .shop-price {
    color: #f3d193 !important;
    text-shadow: 0 0 7px rgba(212,171,89,.18);
}

/* ======================================================
   PREMIUM НАБОРЫ — цвета под реальные сундуки
====================================================== */

/* ===== Premium Low — янтарный ===== */

a[href*="premialnyj-nabor-low"] .shop-name .text-muted,
a[href*="premium-set-low-grade"] .shop-name .text-muted,
a[href*="premialnij-nabir-low"] .shop-name .text-muted,
a[href*="premialnyj-nabor-low"] .shop-price,
a[href*="premium-set-low-grade"] .shop-price,
a[href*="premialnij-nabir-low"] .shop-price {
    color: #d89a48 !important;
    text-shadow:
        0 0 8px rgba(230,150,60,.24),
        0 0 18px rgba(190,110,45,.10);
}

a[href*="premialnyj-nabor-low"] .shop-name,
a[href*="premium-set-low-grade"] .shop-name,
a[href*="premialnij-nabir-low"] .shop-name {
    border-top: 1px solid rgba(220,150,60,.26);
    border-bottom: 1px solid rgba(220,150,60,.26);

    background:
        linear-gradient(
            to bottom,
            rgba(220,150,60,.09),
            rgba(220,150,60,.018)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,220,160,.08),
        0 1px 12px rgba(220,150,60,.06);
}

a[href*="premialnyj-nabor-low"] .shop-price,
a[href*="premium-set-low-grade"] .shop-price,
a[href*="premialnij-nabir-low"] .shop-price {
    background:
        linear-gradient(
            to top,
            rgba(220,150,60,.08),
            rgba(220,150,60,.02)
        );
}


/* ===== Premium Medium — синий ===== */

a[href*="premialnyj-nabor-medium"] .shop-name .text-muted,
a[href*="premium-set-medium-grade"] .shop-name .text-muted,
a[href*="premialnij-nabir-medium"] .shop-name .text-muted,
a[href*="premialnyj-nabor-medium"] .shop-price,
a[href*="premium-set-medium-grade"] .shop-price,
a[href*="premialnij-nabir-medium"] .shop-price {
    color: #7fcfff !important;

    text-shadow:
        0 0 10px rgba(80,190,255,.26),
        0 0 18px rgba(50,130,255,.10);
}

a[href*="premialnyj-nabor-medium"] .shop-name,
a[href*="premium-set-medium-grade"] .shop-name,
a[href*="premialnij-nabir-medium"] .shop-name {
    border-top: 1px solid rgba(90,180,255,.26);
    border-bottom: 1px solid rgba(90,180,255,.26);

    background:
        linear-gradient(
            to bottom,
            rgba(60,150,255,.09),
            rgba(60,150,255,.018)
        );

    box-shadow:
        inset 0 1px 0 rgba(220,245,255,.08),
        0 1px 12px rgba(60,150,255,.06);
}

a[href*="premialnyj-nabor-medium"] .shop-price,
a[href*="premium-set-medium-grade"] .shop-price,
a[href*="premialnij-nabir-medium"] .shop-price {
    background:
        linear-gradient(
            to top,
            rgba(60,150,255,.08),
            rgba(60,150,255,.02)
        );
}


/* ===== Premium High — фиолетовый ===== */

a[href*="premialnyj-nabor-high"] .shop-name .text-muted,
a[href*="premium-set-high-grade"] .shop-name .text-muted,
a[href*="premialnij-nabir-high"] .shop-name .text-muted,
a[href*="premialnyj-nabor-high"] .shop-price,
a[href*="premium-set-high-grade"] .shop-price,
a[href*="premialnij-nabir-high"] .shop-price {
    color: #d58dff !important;

    text-shadow:
        0 0 10px rgba(210,110,255,.28),
        0 0 20px rgba(170,60,255,.12);
}

a[href*="premialnyj-nabor-high"] .shop-name,
a[href*="premium-set-high-grade"] .shop-name,
a[href*="premialnij-nabir-high"] .shop-name {
    border-top: 1px solid rgba(220,110,255,.28);
    border-bottom: 1px solid rgba(220,110,255,.28);

    background:
        linear-gradient(
            to bottom,
            rgba(190,80,255,.09),
            rgba(190,80,255,.02)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,220,255,.08),
        0 1px 14px rgba(180,70,255,.06);
}

a[href*="premialnyj-nabor-high"] .shop-price,
a[href*="premium-set-high-grade"] .shop-price,
a[href*="premialnij-nabir-high"] .shop-price {
    background:
        linear-gradient(
            to top,
            rgba(190,80,255,.08),
            rgba(190,80,255,.02)
        );
}

/* ======================================================
   Lucky Wheel — L2Pwner dark fantasy style
====================================================== */

.gwstyle .gamepage {
    background: rgba(8, 14, 24, .72) !important;
    border: 1px solid rgba(120, 185, 220, .18);
    box-shadow: 0 0 24px rgba(0,0,0,.45);
    border-radius: 6px;
    padding: 18px !important;
}

.gwstyle .wh {
    background: linear-gradient(180deg, rgba(14,32,54,.92), rgba(8,14,26,.94)) !important;
    border: 1px solid rgba(120,185,220,.18);
    border-radius: 6px;
    overflow: hidden;
}

.gwstyle .wh__history {
    background: linear-gradient(180deg, rgba(18,54,92,.88), rgba(12,28,52,.92)) !important;
    border-right: 1px solid rgba(120,185,220,.16);
}

.gwstyle .wh__gamef {
    background: rgba(8,14,24,.18) !important;
}

.gwstyle .wh__wheel {
    background: linear-gradient(180deg, rgba(10,18,34,.94), rgba(5,9,18,.96)) !important;
    border-left: 1px solid rgba(120,185,220,.14);
}

.gwstyle .wheel__box {
    background: transparent !important;
}

/* важно: никаких filter/drop-shadow на wheel__list */
.gwstyle .wheel__list {
    filter: none !important;
}

.gwstyle .ttl,
.gwstyle .inf__title {
    color: #efbc6b !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,.85);
}

.gwstyle .gbal {
    background: rgba(255,255,255,.055) !important;
    border: 1px solid rgba(120,185,220,.16);
    border-radius: 6px;
}

.gwstyle .gbal__num,
.gwstyle .gbal__num_price {
    color: #ff9f55 !important;
    text-shadow: 0 0 8px rgba(255,130,55,.22);
}

.gwstyle .gbal__content {
    color: #dce7f1 !important;
}

/* Lucky Wheel — кнопка пополнения CoL */
.gwstyle .gbt {
    position: relative;
    overflow: visible !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
	padding-left: 16px !important;
	padding-right: 18px !important;

    color: #f3d193 !important;

    background:
        linear-gradient(
            180deg,
            rgba(18,32,72,.28),
            rgba(12,18,38,.55)
        ) !important;

    border: 1px solid rgba(212,171,89,.28) !important;
    border-radius: 30px;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.02),
        0 0 0 rgba(0,0,0,0);

    transition:
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;

    transform: none !important;
}

/* hover — без движения */
.gwstyle .gbt:hover {
    background:
        linear-gradient(
            180deg,
            rgba(28,44,88,.42),
            rgba(18,24,52,.72)
        ) !important;

    border-color: rgba(255,190,110,.52) !important;

    box-shadow:
        0 0 18px rgba(255,175,70,.10),
        inset 0 0 14px rgba(255,190,90,.04);

    transform: none !important;
}

/* нажатие */
.gwstyle .gbt:active {
    filter: brightness(.96);
    box-shadow:
        inset 0 2px 8px rgba(0,0,0,.22);
}

.gwstyle .gbtn {
    background: linear-gradient(180deg, rgba(255,120,72,.96), rgba(190,58,78,.96)) !important;
    border: 1px solid rgba(255,190,120,.38);
    border-radius: 4px;
    color: #fff !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,.65);
    box-shadow: 0 0 16px rgba(255,90,70,.22);
    transition: all .18s ease;
}

.gwstyle .gbtn:hover {
    filter: brightness(1.08);
    box-shadow: 0 0 22px rgba(255,110,70,.34);
}

.gwstyle .history_loud .btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 28px !important;
    padding: 5px 10px 6px !important;
    line-height: 1 !important;

    color: #9fd8ff !important;
    background: rgba(8,18,32,.72) !important;
    border: 1px solid rgba(92,170,255,.36) !important;
    border-radius: 4px !important;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.025),
        0 0 10px rgba(60,140,255,.08) !important;

    transition: all .18s ease;
}

.gwstyle .history_loud .btn:hover {
    color: #fff !important;
    background: rgba(12,30,54,.9) !important;
    border-color: rgba(120,200,255,.55) !important;
}

.gwstyle .inf {
    background: linear-gradient(180deg, rgba(14,38,70,.90), rgba(10,22,42,.94)) !important;
    border: 1px solid rgba(120,185,220,.18);
    border-radius: 6px;
    padding: 24px !important;
}

.gwstyle .inf__content {
    color: #dce7f1 !important;
}

.gwstyle .inf__content a {
    color: #7fd8ff !important;
}

/* нижние карточки предметов */
.gwstyle .case {
    cursor: pointer;
    transform-origin: center center;

    background:
        radial-gradient(circle at 50% 18%, rgba(190,80,255,.18), transparent 42%),
        linear-gradient(180deg, rgba(38,22,58,.96), rgba(17,14,30,.98)) !important;

    border: 1px solid rgba(220,110,255,.38) !important;
    border-radius: 5px;

    box-shadow:
        0 3px 10px rgba(0,0,0,.22),
        0 0 10px rgba(190,80,255,.10) !important;

    filter: none !important;

    transition:
        transform .14s ease,
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}

.gwstyle .case:hover {
    transform: translateY(-2px) !important;

    border-color: rgba(255,210,120,.46) !important;

    box-shadow:
        0 6px 16px rgba(0,0,0,.28),
        0 0 18px rgba(190,80,255,.20),
        0 0 10px rgba(255,190,90,.10) !important;
}

.gwstyle .case__pic {
    position: relative;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(120,80,190,.72),
            rgba(50,34,96,.92)
        ) !important;

    border: 1px solid rgba(220,110,255,.18);

    border-radius: 6px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 4px 10px rgba(0,0,0,.20),
        0 0 10px rgba(120,70,200,.12);

    transition:
        transform .12s ease,
        box-shadow .18s ease,
        background .18s ease,
        border-color .18s ease;
}

.gwstyle .case:hover .case__pic {
    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(145,95,220,.78),
            rgba(58,40,112,.95)
        ) !important;

    border-color: rgba(255,210,120,.22);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 0 14px rgba(190,80,255,.20),
        0 0 6px rgba(255,190,90,.08);
}

.gwstyle .case:hover .case__title {
    color: #fff5d8 !important;
}

.gwstyle .case:hover .case__pic {
    box-shadow: 0 0 12px rgba(190,80,255,.22);
}

.gwstyle .case:active .case__pic {
    transform: scale(.96);
}

.gwstyle .case__title {
    color: #f4dcff !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,.75) !important;
}

/* Lucky Wheel — amount badge in reward cards */
.gwstyle .case__type,
.lw-modal__count {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    min-width: 46px;
    height: 24px;

    padding: 0 12px !important;

    margin-top: 10px;
    margin-bottom: 18px; /* ← главный фикс */

    color: #fff4cf !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1;

    background:
        radial-gradient(circle at 50% 18%,
            rgba(255,240,180,.32),
            transparent 46%),
        linear-gradient(180deg,
            rgba(188,118,42,.96),
            rgba(92,52,20,.98)) !important;

    border: 1px solid rgba(255,214,130,.54);
    border-radius: 999px;

    text-shadow:
        0 1px 2px rgba(0,0,0,.7),
        0 0 6px rgba(255,190,80,.18);

    box-shadow:
        inset 0 1px 0 rgba(255,245,200,.22),
        inset 0 -1px 0 rgba(70,32,8,.34),
        0 0 10px rgba(255,170,70,.22);
}

.gwstyle .case:hover .case__type,
.lw-modal__count:hover {
    filter: brightness(1.08);
    border-color: rgba(255,230,155,.76);

    box-shadow:
        inset 0 1px 0 rgba(255,250,220,.28),
        inset 0 -1px 0 rgba(70,32,8,.28),
        0 0 14px rgba(255,185,80,.32);
}

/* модальное окно */
.lw-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex !important;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    background: rgba(0,0,0,.68);
    transition: opacity .18s ease, visibility .18s ease;
}

.lw-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lw-modal__box {
    width: 320px;
    max-width: calc(100vw - 32px);
    padding: 22px 20px;
    text-align: center;

    background:
        radial-gradient(circle at 50% 0%, rgba(190,80,255,.20), transparent 42%),
        linear-gradient(180deg, rgba(20,28,48,.98), rgba(8,12,24,.98));

    border: 1px solid rgba(220,110,255,.38);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(0,0,0,.58);

    transform: translateY(10px) scale(.98);
    transition: transform .18s ease;
}

.lw-modal.is-open .lw-modal__box {
    transform: translateY(0) scale(1);
}

.lw-modal__icon {
    width: 58px;
    height: 58px;

    object-fit: contain;
    padding: 8px;
    margin: 0 auto 14px;

    background:
        radial-gradient(circle at 50% 35%, rgba(120,80,190,.72), rgba(50,34,96,.92));

    border: 1px solid rgba(220,110,255,.24);
    border-radius: 6px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 4px 10px rgba(0,0,0,.28),
        0 0 12px rgba(120,70,200,.18);

    image-rendering: auto;
    filter: none !important;
}

.lw-modal__title {
    color: #f4dcff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.lw-modal__desc {
    color: #c8d7e8;
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 18px;
}

.lw-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    height: 34px;

    color: #ecf8ff !important;
    background: linear-gradient(180deg, rgba(28,76,120,.95), rgba(14,46,82,.95)) !important;
    border: 1px solid rgba(92,170,255,.45) !important;
    border-radius: 4px;
    cursor: pointer;

    transition: all .18s ease;
}

.lw-modal__close:hover {
    color: #fff !important;
    background: linear-gradient(180deg, rgba(36,96,145,.98), rgba(18,58,96,.98)) !important;
    border-color: rgba(120,200,255,.65) !important;
}

/* Lucky Wheel — win popup cleaner */
.gwstyle .bprize {
    background: rgba(4, 10, 22, .72) !important;
}

.gwstyle .bprize__inner {
    width: 360px !important;
    max-width: calc(100vw - 40px) !important;
    padding: 28px 30px !important;

    background:
        radial-gradient(circle at 50% 18%, rgba(80,170,255,.18), transparent 44%),
        linear-gradient(180deg, rgba(14,32,58,.96), rgba(7,13,26,.98)) !important;

    border: 1px solid rgba(120,185,220,.26) !important;
    border-radius: 8px !important;

    box-shadow:
        0 18px 46px rgba(0,0,0,.56),
        0 0 26px rgba(70,160,255,.14) !important;
}

.gwstyle .bprize__title {
    color: #efbc6b !important;
    font-size: 22px !important;
    line-height: 1.15 !important;
    text-align: center !important;
    margin-bottom: 18px !important;
}

.gwstyle .bprize .prize__item {
    margin: 0 auto !important;
}

.gwstyle .bprize .prize__name,
.gwstyle .bprize .prize__desc {
    color: #dce7f1 !important;
    text-align: center !important;
}

.gwstyle .bprize .prize__pic {
    margin: 14px auto !important;
}

.gwstyle .bprize .prize__rate {
    color: #ffffff !important;
    background: linear-gradient(180deg, #ffb45f, #e9782f) !important;
    border-radius: 12px;
}

.gwstyle .bprize__btn {
    width: 130px !important;
    height: 38px !important;
    margin: 20px auto 0 !important;

    color: #ecf8ff !important;
    background: linear-gradient(180deg, rgba(28,76,120,.95), rgba(14,46,82,.95)) !important;
    border: 1px solid rgba(92,170,255,.45) !important;
    border-radius: 4px !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    transition: all .18s ease !important;
}

.gwstyle .bprize__btn:hover {
    color: #fff !important;
    background: linear-gradient(180deg, rgba(36,96,145,.98), rgba(18,58,96,.98)) !important;
    border-color: rgba(120,200,255,.65) !important;
}

/* Lucky Wheel — free spin note */

.gwstyle .wh__hint {
    margin: -2px 0 12px;

    color: rgba(220,231,241,.78);

    font-size: 12px;
    line-height: 1.45;

    padding-left: 2px;
}

.gwstyle .wh__hint::before {
    content: "✦ ";
    color: #efbc6b;
}

/* Lucky Wheel — compact history: icon + short text */
.gwstyle .history .hitem {
    display: grid !important;
    grid-template-columns: 54px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    align-items: center !important;

    width: auto !important;
    max-width: 190px !important;

    margin: 0 0 16px !important;
    padding: 0 !important;
}

.gwstyle .history .hitem__pic {
    width: 54px !important;
    height: 54px !important;
    margin: 0 !important;
}

.gwstyle .history .hitem__container {
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gwstyle .history .hitem__desc,
.gwstyle .history .item__desc {
    display: none !important;
}

.gwstyle .history .hitem__title {
    margin: 0 0 5px !important;

    color: #eef5ff !important;
    font-size: 12px !important;
    line-height: 1.25 !important;

    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

/* Lucky Wheel — compact history: stable layout */
.gwstyle .history .hitem {
    display: grid !important;
    grid-template-columns: 54px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    align-items: center !important;

    max-width: 190px !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
}

.gwstyle .history .hitem__pic {
    width: 54px !important;
    height: 54px !important;
    margin: 0 !important;
}

.gwstyle .history .hitem__container {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gwstyle .history .hitem__desc,
.gwstyle .history .item__desc {
    display: none !important;
}

.gwstyle .history .hitem__title {
    margin: 0 0 3px !important;
    font-size: 12px !important;
    line-height: 1.22 !important;
    color: #eef5ff !important;
    overflow-wrap: anywhere !important;
}

.gwstyle .history .hitem__info {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gwstyle .history .hitem__rate {
    margin: 0 !important;
}

/* ======================================================
   Lucky Wheel — unified button feedback
====================================================== */

.gwstyle .gbtn,
.gwstyle .gbt,
.gwstyle .history_loud .btn,
.gwstyle .bprize__btn,
.gwstyle .lw-modal__close,
.lw-modal__close {
    transform-origin: center center;

    transition:
        transform .10s ease,
        filter .18s ease,
        box-shadow .18s ease,
        border-color .18s ease,
        background .18s ease,
        color .18s ease !important;
}

/* Hover — только подсветка, без движения */
.gwstyle .gbtn:hover,
.gwstyle .gbt:hover,
.gwstyle .history_loud .btn:hover,
.gwstyle .bprize__btn:hover,
.gwstyle .lw-modal__close:hover,
.lw-modal__close:hover {
    transform: none !important;

    filter: brightness(1.05);

    box-shadow:
        0 0 16px rgba(80,170,255,.16),
        inset 0 0 10px rgba(255,255,255,.03) !important;
}

/* Нажатие */
.gwstyle .gbtn:active,
.gwstyle .gbt:active,
.gwstyle .history_loud .btn:active,
.gwstyle .bprize__btn:active,
.gwstyle .lw-modal__close:active,
.lw-modal__close:active {
    transform: translateY(1px) scale(.975) !important;

    filter: brightness(.94);

    box-shadow:
        inset 0 3px 10px rgba(0,0,0,.28),
        0 0 8px rgba(70,160,255,.08) !important;
}

.gwstyle .gbtn:focus,
.gwstyle .gbt:focus,
.gwstyle .history_loud .btn:focus,
.gwstyle .bprize__btn:focus,
.gwstyle .lw-modal__close:focus,
.lw-modal__close:focus {
    outline: none !important;
}

/* Lucky Wheel — CoL button icon glow */
.gwstyle .gbt .gbt__ico {
    width: 20px !important;
    height: 20px !important;

    margin-right: 5px !important;

    opacity: .97 !important;

    filter:
        brightness(1.45)
        saturate(1.25)
        drop-shadow(0 0 4px rgba(255,190,90,.38)) !important;

    transition:
        opacity .18s ease,
        filter .18s ease !important;
}

.gwstyle .gbt:hover .gbt__ico {
    opacity: 1 !important;

    filter:
        brightness(1.75)
        saturate(1.45)
        drop-shadow(0 0 6px rgba(255,210,110,.55)) !important;
}

/* Lucky Wheel — dark sound button */
.gwstyle .wheel__sound.sound {
    width: 36px !important;
    height: 36px !important;

    background-color: rgba(8,16,32,.88) !important;
    background-image: url('/template/panel/assets/game/images/sound.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 17px 17px !important;

    border: 1px solid rgba(120,185,220,.32) !important;
    border-radius: 50% !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 0 10px rgba(70,160,255,.16) !important;

    filter: brightness(.88) saturate(.9) !important;

    transition:
        background-color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        filter .18s ease,
        transform .12s ease !important;
}

.gwstyle .wheel__sound.sound:hover {
    background-color: rgba(14,30,54,.96) !important;
    border-color: rgba(160,220,255,.52) !important;

    filter: brightness(1.12) saturate(1.08) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 0 16px rgba(90,190,255,.24) !important;
}

.gwstyle .wheel__sound.sound:active {
    transform: scale(.94);
}

/* Lucky Wheel — clean card click feedback */
.gwstyle .case:active {
    transform: translateY(0) !important;

    border-color: rgba(255,210,120,.58) !important;

    box-shadow:
        inset 0 2px 12px rgba(0,0,0,.30),
        0 0 14px rgba(255,180,80,.16) !important;

    filter: brightness(.96);
}

/* не двигаем внутренние элементы при клике */
.gwstyle .case:active .case__pic,
.gwstyle .case:active .case__type,
.gwstyle .case:active .case__title {
    transform: none !important;
}

/* Lucky Wheel — notice */
.gwstyle .wh__legal {
    margin-top: 14px;

    color: rgba(220,231,241,.62);

    font-size: 11px;
    line-height: 1.45;

    text-align: center;

    padding: 10px 12px;

    border-top: 1px solid rgba(120,185,220,.10);
}

/* =========================================================
   MOBILE: header + sidebar stable fix
========================================================= */

@media (max-width: 1199.98px) {
    .gwstyle #page-header .content-header-section.d-none.d-lg-block {
        display: none !important;
    }

    .gwstyle #page-header button[data-action="sidebar_toggle"].d-lg-none {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 38px;
    }

    .gwstyle #page-header .content-header {
        padding: 0 10px !important;
        gap: 8px;
        overflow: visible !important;
    }

    .gwstyle #page-header .content-header-section:first-child {
		flex: 0 1 auto;
		min-width: 0;
		overflow: visible;
	}

    .gwstyle #page-header .content-header-section:last-child {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .gwstyle #page-header .content-header-item > a.link-effect.font-w700 {
        max-width: 260px;
        font-size: 18px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 575.98px) {
    .gwstyle #page-header .content-header {
        height: 48px;
        padding: 0 8px !important;
        gap: 6px;
    }

    .gwstyle #page-header .content-header-item > a.link-effect.font-w700 {
        max-width: 180px !important;
        font-size: 15px !important;
        letter-spacing: .45px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .gwstyle #page-header a[href*="sign-in"],
    .gwstyle #page-header a[href*="login"],
    .gwstyle #page-header a[href*="sign-up"],
    .gwstyle #page-header a[href*="register"],
    .gwstyle #page-header a[href*="logout"],
    .gwstyle #page-header a[href*="exit"],
    .gwstyle #page-header a[href*="sign-out"] {
        height: 34px !important;
        padding: 7px 10px !important;
        font-size: 13px !important;
        line-height: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px;
        margin: 0 !important;
        right: 0 !important;
        white-space: nowrap !important;
    }

    .gwstyle #page-header a[href*="sign-in"] i,
    .gwstyle #page-header a[href*="login"] i,
    .gwstyle #page-header a[href*="sign-up"] i,
    .gwstyle #page-header a[href*="register"] i,
    .gwstyle #page-header a[href*="logout"] i,
    .gwstyle #page-header a[href*="exit"] i,
    .gwstyle #page-header a[href*="sign-out"] i {
        margin: 0 !important;
        line-height: 1 !important;
        position: static !important;
    }
}

/* Раньше переводим кнопки в аккуратные круглые иконки */
@media (max-width: 499.98px) {
    .gwstyle #page-header .content-header-item > a.link-effect.font-w700 {
        max-width: 155px !important;
        font-size: 14px !important;
    }

    .gwstyle #page-header a[href*="sign-in"],
    .gwstyle #page-header a[href*="login"],
    .gwstyle #page-header a[href*="sign-up"],
    .gwstyle #page-header a[href*="register"] {
        width: 36px !important;
        min-width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        font-size: 0 !important;
        border-radius: 50% !important;
        gap: 0 !important;
    }

    .gwstyle #page-header a[href*="sign-in"] i,
    .gwstyle #page-header a[href*="login"] i,
    .gwstyle #page-header a[href*="sign-up"] i,
    .gwstyle #page-header a[href*="register"] i {
        font-size: 15px !important;
        width: 15px;
        height: 15px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
}

/* =========================================================
   MOBILE: dashboard top widgets only
========================================================= */

@media (max-width: 575.98px) {

    /* Только верхняя строка виджетов: почта / склад / CoL */
    .gwstyle #main-container .grid > .grid-item[data-layers-level="2"] > .row > .col-12.col-xl-8 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .gwstyle #main-container .grid > .grid-item[data-layers-level="2"] > .row > .col-4.col-xl-2 {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
    }

    .gwstyle #main-container .grid > .grid-item[data-layers-level="2"] > .row > .col-4.col-xl-2 > .options-container {
        min-height: 84px !important;
    }

    .gwstyle #main-container .grid > .grid-item[data-layers-level="2"] > .row > .col-4.col-xl-2 .block-content {
        padding: 15px 12px !important;
    }
}

/* =========================================================
   SIDEBAR: unified desktop/mobile style
========================================================= */

.gwstyle #sidebar .content-side,
.gwstyle #sidebar .content-side-full {
    padding: 12px 10px 18px !important;
}

.gwstyle #sidebar .nav-main {
    display: block !important;
}

.gwstyle #sidebar .nav-main > li {
    margin-bottom: 4px !important;
}

.gwstyle #sidebar .nav-main > li > a {
    min-height: 40px !important;
    padding: 8px 12px !important;

    display: flex !important;
    align-items: center !important;
    gap: 10px;

    font-size: 13px !important;
    line-height: 1.2 !important;

    background: rgba(18,32,46,.66) !important;
    border: 1px solid rgba(100,155,200,.14);
    border-radius: 8px;

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        box-shadow .18s ease;
}

.gwstyle #sidebar .nav-main > li > a > i {
    position: static !important;
    transform: none !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 22px !important;
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;

    margin: 0 !important;
    padding: 0 !important;

    line-height: 22px !important;
}

.gwstyle #sidebar .sidebar-mini-hide {
    display: inline-block !important;
    flex: 1 1 auto;
    min-width: 0;

    opacity: 1 !important;
    transform: none !important;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gwstyle #sidebar .nav-main > li > a:hover,
.gwstyle #sidebar .nav-main > li > a.active {
    color: #fff !important;
    background: rgba(34,82,122,.88) !important;
    border-color: rgba(135,210,255,.36);
    box-shadow: 0 0 14px rgba(70,160,255,.16);
}

.gwstyle #sidebar .nav-main > li > ul {
    margin: 0 !important;
    padding: 5px 0 3px 32px !important;

    background: rgba(8,18,28,.42) !important;
    border-top: 1px solid rgba(120,185,220,.08);
}

.gwstyle #sidebar .nav-main > li > ul > li > a {
    min-height: 34px !important;
    padding: 7px 10px !important;

    font-size: 12px !important;
    color: rgba(215,228,238,.78) !important;

    background: rgba(255,255,255,.035) !important;
    border: 1px solid rgba(120,185,220,.10) !important;
    border-radius: 6px !important;
	display: flex !important;
	align-items: center !important;
	gap: 8px;
}

.gwstyle #sidebar .nav-main > li > ul > li > a > i,
.gwstyle #sidebar .nav-main > li > ul > li > a .fa,
.gwstyle #sidebar .nav-main > li > ul > li > a .si {
    position: static !important;
    transform: none !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 18px !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;

    margin: 0 !important;
    padding: 0 !important;

    line-height: 18px !important;
    text-align: center !important;
}

.gwstyle #sidebar .nav-main > li > ul > li > a:hover {
    color: #fff !important;
    background: rgba(24,52,76,.72) !important;
    border-color: rgba(120,200,255,.28) !important;
}

/* Sidebar server selector — improved mobile style */
.gwstyle #sidebar #toolbarDrop {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;

    margin: 0 0 8px !important;
    padding: 0 34px 0 10px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;

    color: #ecfbff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    background:
        linear-gradient(
            180deg,
            rgba(32, 86, 138, .92),
            rgba(12, 42, 78, .96)
        ) !important;

    border: 1px solid rgba(120, 200, 255, .38) !important;
    border-radius: 6px !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 0 12px rgba(60,160,255,.14) !important;
}

.gwstyle #sidebar #toolbarDrop img {
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    opacity: .95;
}

.gwstyle #sidebar #toolbarDrop:hover,
.gwstyle #sidebar #toolbarDrop[aria-expanded="true"] {
    color: #fff !important;

    background:
        linear-gradient(
            180deg,
            rgba(42, 108, 168, .96),
            rgba(16, 56, 100, .98)
        ) !important;

    border-color: rgba(145, 225, 255, .62) !important;

    box-shadow:
        0 0 16px rgba(90,190,255,.24),
        inset 0 0 12px rgba(140,230,255,.08) !important;
}

.gwstyle #sidebar #toolbarDrop + .dropdown-menu {
    position: static !important;
    transform: none !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 0 10px !important;
    padding: 5px !important;

    background: rgba(7, 14, 24, .96) !important;
    border: 1px solid rgba(120,185,220,.22) !important;
    border-radius: 6px !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        0 0 12px rgba(40,120,180,.08) !important;
}

.gwstyle #sidebar #toolbarDrop + .dropdown-menu .dropdown-item {
    width: 100% !important;
    min-height: 36px !important;

    margin: 0 0 4px !important;
    padding: 8px 10px !important;

    color: #dce7f1 !important;
    background: rgba(255,255,255,.045) !important;

    border: 1px solid rgba(120,185,220,.12) !important;
    border-radius: 5px !important;

    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    white-space: normal !important;

    transition: all .18s ease;
}

.gwstyle #sidebar #toolbarDrop + .dropdown-menu .dropdown-item:hover,
.gwstyle #sidebar #toolbarDrop + .dropdown-menu .dropdown-item:focus {
    color: #fff !important;
    background: rgba(28, 64, 98, .92) !important;
    border-color: rgba(120, 200, 255, .34) !important;

    box-shadow:
        inset 0 0 10px rgba(120,200,255,.08),
        0 0 10px rgba(60,160,255,.10) !important;
}

/* Only mobile sidebar width */
@media (max-width: 991.98px) {
    .gwstyle #page-container #sidebar {
        width: 286px !important;
        min-width: 286px !important;
        max-width: 286px !important;
    }
}

/* Server selector arrow: nav-submenu-like animation */
.gwstyle #page-header #toolbarDrop,
.gwstyle #sidebar #toolbarDrop {
    position: relative !important;
    padding-right: 34px !important;
}

.gwstyle #page-header #toolbarDrop::before,
.gwstyle #page-header #toolbarDrop::after,
.gwstyle #sidebar #toolbarDrop::before,
.gwstyle #sidebar #toolbarDrop::after {
    content: "\f105" !important;

    position: absolute !important;
    right: 11px;
    top: 50%;

    border: 0 !important;
    margin: 0 !important;
    vertical-align: 0 !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    font-family: "FontAwesome", "Font Awesome 5 Free", "Font Awesome 5 Pro";
    font-weight: 900;
    font-size: 13px;
    line-height: 1;

    color: rgba(236,251,255,.72);

    transition:
        opacity .2s cubic-bezier(.25,.46,.45,.94),
        transform .2s cubic-bezier(.25,.46,.45,.94),
        color .18s ease;
}

/* Закрыто: стрелка влево */
.gwstyle #page-header #toolbarDrop::before,
.gwstyle #sidebar #toolbarDrop::before {
    opacity: .75;
    transform: translateY(-50%) rotate(180deg);
}

/* Закрыто: вторая стрелка скрыта */
.gwstyle #page-header #toolbarDrop::after,
.gwstyle #sidebar #toolbarDrop::after {
    opacity: 0;
    transform: translateY(-50%) rotate(90deg);
}

/* Открыто: первая поворачивается */
.gwstyle #page-header #toolbarDrop[aria-expanded="true"]::before,
.gwstyle #sidebar #toolbarDrop[aria-expanded="true"]::before {
    opacity: .35;
    transform: translateY(-72%) rotate(90deg);
}

/* Открыто: вторая появляется снизу первой */
.gwstyle #page-header #toolbarDrop[aria-expanded="true"]::after,
.gwstyle #sidebar #toolbarDrop[aria-expanded="true"]::after {
    opacity: .9;
    transform: translateY(-28%) rotate(90deg);
}

.gwstyle #page-header #toolbarDrop:hover::before,
.gwstyle #page-header #toolbarDrop:hover::after,
.gwstyle #sidebar #toolbarDrop:hover::before,
.gwstyle #sidebar #toolbarDrop:hover::after {
    color: #fff;
}

/* Referral — Invite friend button */
.gwstyle button.clipboard.btn-alt-info,
.gwstyle .clipboard.btn-alt-info {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;

    min-width: 176px !important;
    height: 38px !important;
    padding: 0 22px !important;

    color: #dcefff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    background:
        linear-gradient(
            180deg,
            rgba(18, 38, 58, .82),
            rgba(8, 18, 32, .92)
        ) !important;

    border: 1px solid rgba(92,170,255,.42) !important;
    border-radius: 6px !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.045),
        0 0 10px rgba(60,140,255,.10) !important;

    text-shadow: 0 1px 2px rgba(0,0,0,.65) !important;

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        box-shadow .18s ease,
        transform .12s ease !important;
}

.gwstyle button.clipboard.btn-alt-info i,
.gwstyle .clipboard.btn-alt-info i {
    margin: 0 !important;
    color: #43d7ff !important;
    font-size: 13px !important;
    line-height: 1 !important;
    filter: drop-shadow(0 0 5px rgba(67,215,255,.28));
}

.gwstyle button.clipboard.btn-alt-info:hover,
.gwstyle .clipboard.btn-alt-info:hover {
    color: #ffffff !important;

    background:
        linear-gradient(
            180deg,
            rgba(28,76,120,.95),
            rgba(14,46,82,.95)
        ) !important;

    border-color: rgba(120,200,255,.65) !important;

    box-shadow:
        0 0 15px rgba(70,160,255,.22),
        inset 0 0 10px rgba(150,220,255,.08) !important;

    transform: none !important;
}

.gwstyle button.clipboard.btn-alt-info:active,
.gwstyle .clipboard.btn-alt-info:active {
    transform: translateY(1px) !important;
    filter: brightness(.96);
}

/* Header dropdown arrows — double arrow like server selector */
@media (min-width: 992px) {

    .gwstyle #page-header .nav-main-header a.nav-submenu {
        position: relative !important;
        padding-right: 34px !important;
    }

    .gwstyle #page-header .nav-main-header a.nav-submenu::before,
    .gwstyle #page-header .nav-main-header a.nav-submenu::after {
        content: "\f105" !important;

        position: absolute !important;
        right: 11px !important;
        top: calc(50% + 1px) !important;

        width: 18px !important;
        height: 18px !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        margin: 0 !important;
        border: 0 !important;

        font-family: "FontAwesome", "Font Awesome 5 Free", "Font Awesome 5 Pro" !important;
        font-weight: 900 !important;
        font-size: 13px !important;
        line-height: 1 !important;

        color: rgba(236,251,255,.72) !important;

        transition:
            opacity .2s cubic-bezier(.25,.46,.45,.94),
            transform .2s cubic-bezier(.25,.46,.45,.94),
            color .18s ease !important;
    }

    /* Закрыто: первая стрелка */
    .gwstyle #page-header .nav-main-header a.nav-submenu::before {
        opacity: .75 !important;
        transform: translateY(-50%) rotate(180deg) !important;
    }

    /* Закрыто: вторая скрыта */
    .gwstyle #page-header .nav-main-header a.nav-submenu::after {
        opacity: 0 !important;
        transform: translateY(-50%) rotate(90deg) !important;
    }

    /* Открыто: первая уходит выше */
    .gwstyle #page-header .nav-main-header li.open > a.nav-submenu::before {
        opacity: .35 !important;
        transform: translateY(-72%) rotate(90deg) !important;
    }

    /* Открыто: вторая появляется ниже */
    .gwstyle #page-header .nav-main-header li.open > a.nav-submenu::after {
        opacity: .9 !important;
        transform: translateY(-28%) rotate(90deg) !important;
    }

    .gwstyle #page-header .nav-main-header a.nav-submenu:hover::before,
    .gwstyle #page-header .nav-main-header a.nav-submenu:hover::after,
    .gwstyle #page-header .nav-main-header li.open > a.nav-submenu::before,
    .gwstyle #page-header .nav-main-header li.open > a.nav-submenu::after {
        color: #fff !important;
    }
}

/* Warehouse — mobile layout fix */
@media (max-width: 575.98px) {
    .gwstyle form input[name="module_form"][value="Modules\\Globals\\Warehouse\\Warehouse"] ~ .block-content .row > .col-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .gwstyle form input[name="module_form"][value="Modules\\Globals\\Warehouse\\Warehouse"] ~ .block-content {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .gwstyle form input[name="module_form"][value="Modules\\Globals\\Warehouse\\Warehouse"] ~ .block-content .list-group-item {
        display: flex !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    .gwstyle form input[name="module_form"][value="Modules\\Globals\\Warehouse\\Warehouse"] ~ .block-content .list-group-item .float-right {
        float: none !important;
        display: inline-flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        margin-left: 6px !important;
    }

    .gwstyle form input[name="module_form"][value="Modules\\Globals\\Warehouse\\Warehouse"] ~ .block-content h6 {
        margin-top: 12px !important;
    }

    .gwstyle form input[name="module_form"][value="Modules\\Globals\\Warehouse\\Warehouse"] ~ .block-content .row > .col-4:first-child h6 {
        margin-top: 0 !important;
    }
}

/* Sign-up completed — success title */
.gwstyle #main-container .content.content-full > .py-30.text-center:first-child h1 {
    color: #edf9ff !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px;

    text-shadow:
        0 2px 3px rgba(0,0,0,.98),
        0 0 8px rgba(0,0,0,.72),
        0 0 18px rgba(0,0,0,.48);

    filter:
        drop-shadow(0 0 10px rgba(0,0,0,.55))
        drop-shadow(0 0 18px rgba(0,0,0,.35));
}

.gwstyle #main-container .content.content-full > .py-30.text-center:first-child h1 i {
    color: #43d7ff !important;
    margin-right: 6px;
    filter: drop-shadow(0 0 6px rgba(67,215,255,.35));
}

/* Create account button — dim with block during ajax refresh */
#main-container .grid-item[data-layers-level="3"] > .block.block-mode-loading .btn-create-account,
#main-container .grid-item[data-layers-level="3"] > .block.block-mode-loading .btn-create-account i {
    opacity: .18 !important;
    filter: brightness(.45) !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

/* MOBILE: stabilize system notifications */
@media (max-width: 575.98px) {
    [data-notify="container"],
    .alert[data-notify="container"] {
        position: fixed !important;

        left: 50% !important;
        right: auto !important;
        top: 58px !important;

        width: calc(100vw - 24px) !important;
        max-width: 420px !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 10px 34px 10px 14px !important;

        transform: translateX(-50%) !important;

        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;

        line-height: 1.35 !important;
        text-align: left !important;

        z-index: 10050 !important;
    }

    [data-notify="container"] [data-notify="message"],
    .alert[data-notify="container"] [data-notify="message"] {
        display: block !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        line-height: 1.35 !important;
    }

    [data-notify="container"] .close,
    .alert[data-notify="container"] .close {
        position: absolute !important;
        top: 8px !important;
        right: 10px !important;
    }
}

/* Hide native select arrow before JS init, not the select itself */
.gwstyle select.form-control {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;

    padding-right: 34px !important;
    background-image: none !important;
}

/* =========================================================
   Native selects — animated double arrow only
========================================================= */

.gwstyle .select-arrow-wrap {
    position: relative;
    display: inline-block;
}

/* Большой select сервера должен занимать всю ширину */
.gwstyle .select-arrow-wrap:has(> select#t-signup-server),
.gwstyle .select-arrow-wrap:has(> select#select-server) {
    display: block;
    width: 100%;
}

.gwstyle .select-arrow-wrap > select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    padding-right: 34px !important;
    background-image: none !important;
    width: 100% !important;
}

.gwstyle .select-arrow-wrap::before,
.gwstyle .select-arrow-wrap::after {
    content: "\f105";

    position: absolute;
    right: 10px;
    top: 50%;

    width: 18px;
    height: 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-family: "FontAwesome", "Font Awesome 5 Free", "Font Awesome 5 Pro";
    font-weight: 900;
    font-size: 13px;
    line-height: 1;

    color: rgba(236,251,255,.72);
    pointer-events: none;
    z-index: 5;

    transition:
        opacity .2s cubic-bezier(.25,.46,.45,.94),
        transform .2s cubic-bezier(.25,.46,.45,.94),
        color .18s ease;
}

.gwstyle .select-arrow-wrap::before {
    opacity: .75;
    transform: translateY(-50%) rotate(180deg);
}

.gwstyle .select-arrow-wrap::after {
    opacity: 0;
    transform: translateY(-50%) rotate(90deg);
}

.gwstyle .select-arrow-wrap.is-select-open::before {
    opacity: .35;
    transform: translateY(-72%) rotate(90deg);
}

.gwstyle .select-arrow-wrap.is-select-open::after {
    opacity: .9;
    transform: translateY(-28%) rotate(90deg);
}

.gwstyle .select-arrow-wrap:hover::before,
.gwstyle .select-arrow-wrap:hover::after,
.gwstyle .select-arrow-wrap.is-select-open::before,
.gwstyle .select-arrow-wrap.is-select-open::after {
    color: #fff;
}