:root {
    --color-accent: #7c5cff;
    --color-accent-light: #a78bfa;
    --color-accent-dark: #5b21b6;
    --color-bg: #0b0d17;
    --color-text: #e0e4ef;
    --color-success: #4ade80;
    --color-danger: #f87171
}

h1, h2, h3, h4, h5, h6, p, ul {
    margin: 0;
    padding: 0
}

ul {
    list-style-type: none
}

a {
    text-decoration: none
}

a:hover {
    text-decoration: none
}

body {
    position: relative;
    font-family: "Manrope",sans-serif;
    font-size: 16px;
    line-height: 150%;
    overflow-x: hidden;
    background-color: var(--color-bg);
    color: var(--color-text)
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--color-accent-light-rgb),.4) transparent
}

*::-webkit-scrollbar {
    height: 5px;
    width: 5px
}

*::-webkit-scrollbar-track {
    background: rgba(255,255,255,.03)
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,var(--color-accent-light),var(--color-accent-dark));
    border-radius: 10px
}

input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.logo1 {
    margin-right: 5px;
    color: #fff;
    font-family: "Manrope";
    font-weight: 700;
    line-height: 125%
}

.logo2 {
    margin-left: 5px;
    color: var(--color-accent-light);
    font-family: "Manrope";
    font-weight: 700;
    line-height: 125%
}

.wrapper {
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column
}

.wrapper > main,
.wrapper > .main {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative
}

.wrapper > main > section:only-child,
.wrapper > .main > section:only-child {
    flex: 1
}

.container {
    width: 100%;
    max-width: 1096px;
    padding: 0 10px;
    margin: 0 auto
}
.mt-10 {
    margin-top: 10px
}
.mt-20 {
    margin-top: 20px
}

.mt-25 {
    margin-top: 25px
}
.mb-10 {
    margin-bottom: 10px
}

.mb-20 {
    margin-bottom: 20px
}

.ml-20 {
    margin-left: 20px
}
.wd-full {
    width: 100%
}

.text-center {
    text-align: center
}


@keyframes loader {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

@keyframes subtleGlow {
    0%,100% { opacity: .6 }
    50% { opacity: 1 }
}

.preloader {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 100;
    background: var(--color-bg)
}

.preloader__loader {
    width: 65px;
    height: 65px;
    border-radius: 100%;
    background: conic-gradient(from 0deg, rgba(var(--color-accent-light-rgb),0) 0%, rgba(var(--color-accent-light-rgb),.15) 35%, var(--color-accent-light) 88%, var(--color-accent) 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
    animation: loader 1s linear infinite
}

.title {
    color: #fff;
    font-family: "Manrope",sans-serif;
    font-weight: 800;
    line-height: 125%
}

.title2 {
    color: var(--color-text);
    font-family: "Manrope",sans-serif;
    font-weight: 700;
    line-height: 125%
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    font-weight: 600;
    border-radius: 12px;
    transition: all .3s ease
}

.btn:hover {
    opacity: .85;
    transform: translateY(-1px)
}

.btn.btn--loading, .btn.btn--loading:hover {
    opacity: .65;
    pointer-events: none;
    cursor: default;
    transform: none
}

.btn--loading::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    vertical-align: -2px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-spin .7s linear infinite
}

@keyframes btn-spin {
    to {
        transform: rotate(360deg)
    }
}

.btn_background_blue {
    color: var(--color-bg);
    background: linear-gradient(135deg,var(--color-accent-light),var(--color-accent-dark));
    border: none
}

.btn_background_blue:hover {
    color: var(--color-bg);
    box-shadow: 0 4px 24px rgba(var(--color-accent-light-rgb),.3)
}

.btn_background_blue2 {
    color: #fff;
    background: linear-gradient(135deg,var(--color-accent-light),var(--color-accent-dark));
    border: none
}

.btn_background_blue2:hover {
    color: #fff;
    box-shadow: 0 4px 24px rgba(var(--color-accent-light-rgb),.3)
}

.btn_background_blue3 {
    color: var(--color-text);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1)
}

.btn_background_blue3:hover {
    color: #fff;
    background: rgba(255,255,255,.12)
}
.btn_background_light_blue {
    color: #fff;
    background: transparent;
    border: 1px solid rgba(var(--color-accent-light-rgb),.5)
}

.btn_background_light_blue:hover {
    color: #fff;
    border-color: var(--color-accent-light)
}
.btn_border_gray {
    display: inline-flex;
    align-items: center;
    padding: 7px 15px;
    background: transparent;
    color: rgba(var(--color-text-rgb),.5);
    font-weight: 500;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 24px
}

.btn_border_gray:hover {
    color: rgba(var(--color-text-rgb),.7);
    border-color: rgba(255,255,255,.2)
}

.btn_border_gray img {
    margin-left: 14px
}
.btn_type_button {
    border: none;
    cursor: pointer
}

.btn_type_button:focus {
    outline: none
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.nav__wrapper {
    display: flex;
    align-items: center
}

.nav__logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
    font-size: 22px;
    transition: opacity .3s ease
}

.nav__logo:hover {
    opacity: .7
}
.nav__lang {
    margin-right: 16px;
    margin-left: 24px;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 100px;
    padding: 3px;
    gap: 0
}

.nav__lang-link {
    margin-right: 0;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(var(--color-text-rgb),.4);
    border-radius: 100px;
    transition: all .25s ease;
    line-height: 1
}

.nav__lang-link:last-child {
    margin: 0
}

.nav__lang-link:hover {
    color: rgba(var(--color-text-rgb),.7)
}

.nav__lang-link_active {
    color: #fff;
    background: rgba(var(--color-accent-light-rgb),.2);
    border: 1px solid rgba(var(--color-accent-light-rgb),.3)
}

.nav__lang-link_active:hover {
    color: #fff
}

.header__menu {
    flex: 1;
    justify-content: flex-end
}

.nav__list {
    margin: 0 auto;
    display: flex;
    align-items: center
}

.nav__item {
    margin-right: 28px
}

.nav__item:last-child {
    margin-right: 0
}

.nav__link {
    color: rgba(var(--color-text-rgb),.7);
    font-weight: 500;
    transition: color .3s ease
}

.nav__link:hover {
    color: var(--color-accent-light)
}
.nav__btn {
    margin-right: 16px;
    white-space: nowrap;
    flex-shrink: 0
}

.nav__btn-full {
    display: none
}

.nav__btn:last-child {
    margin: 0
}

.input {
    padding: 20px 24px;
    width: 100%;
    color: var(--color-text);
    font-size: 16px;
    line-height: 150%;
    outline: none;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    transition: border-color .3s ease, box-shadow .3s ease
}

.input:focus {
    border-color: rgba(var(--color-accent-light-rgb),.4);
    box-shadow: 0 0 0 3px rgba(var(--color-accent-light-rgb),.08)
}

.input::-webkit-input-placeholder {
    color: rgba(var(--color-text-rgb),.3);
    font-size: 16px;
    line-height: 150%
}

.input::-moz-placeholder {
    color: rgba(var(--color-text-rgb),.3);
    font-size: 16px;
    line-height: 150%
}

.input:-ms-input-placeholder {
    color: rgba(var(--color-text-rgb),.3);
    font-size: 16px;
    line-height: 150%
}

.input::-ms-input-placeholder {
    color: rgba(var(--color-text-rgb),.3);
    font-size: 16px;
    line-height: 150%
}

.input::placeholder {
    color: rgba(var(--color-text-rgb),.3);
    font-size: 16px;
    line-height: 150%
}

/* Native <select> popups render their own opaque background in most
   browsers (the translucent .input background doesn't carry over), so
   options need an explicit dark background or the text is unreadable. */
select.input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(255,255,255,0.5)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 40px;
    cursor: pointer
}

select.input option {
    background-color: var(--color-bg);
    color: var(--color-text)
}

.input__wrapper {
    position: relative
}

.input__wrapper input {
    padding-right: 74px
}

.input__text {
    position: absolute;
    color: rgba(var(--color-text-rgb),.5);
    font-weight: 500;
    top: 50%;
    right: 24px;
    transform: translate(0, -50%)
}

.input__btn {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-light);
    top: 50%;
    right: 20px;
    transform: translate(0, -50%);
    transition: opacity .3s ease
}

.input__btn:hover {
    color: var(--color-accent-light);
    opacity: .7
}

.input__btn-icon--hide {
    display: none
}

.input__btn_active .input__btn-icon--show {
    display: none
}

.input__btn_active .input__btn-icon--hide {
    display: block
}

.select {
    position: relative
}

.select__header {
    position: relative;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .3s ease;
    z-index: 1
}

.select__header:hover {
    border-color: rgba(var(--color-accent-light-rgb),.3)
}

.select__header_active {
    border-radius: 12px 12px 0 0
}

.select__current {
    display: flex;
    align-items: center;
    color: #fff;
    font-family: "Manrope",sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 125%
}

.select__img {
    margin-right: 10px;
    width: 32px;
    height: 32px;
    padding: 6px;
    box-sizing: border-box;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.09);
    object-fit: contain
}

.select__text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(var(--color-accent-light-rgb),.1);
    color: var(--color-accent-light);
    transition: background .3s ease, transform .3s ease
}

.select__header:hover .select__text {
    background: rgba(var(--color-accent-light-rgb),.18)
}

.select__header_active .select__text {
    transform: rotate(180deg)
}

.select__body {
    background: #0e1018;
    display: none;
    max-height: 350px;
    overflow: auto;
    width: 100%;
    position: absolute;
    left: 0;
    top: 100%;
    border: 1px solid rgba(255,255,255,.1);
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
    z-index: 3
}

.select__body_active {
    display: block
}

.select__item {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    color: var(--color-text);
    font-family: "Manrope",sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 125%;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,.06);
    cursor: pointer;
    transition: background .3s ease
}

.select__item:last-child {
    border-bottom: none
}

.select__item:hover {
    background: rgba(var(--color-accent-light-rgb),.1)
}

.select__group-label {
    padding: 10px 24px 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.35);
    border-top: 1px solid rgba(255,255,255,.08);
    pointer-events: none;
    user-select: none
}

.select__group-label:first-child {
    border-top: none
}

.page {
    display: none
}

.page:first-child {
    display: block
}

.panel {
    padding: 30px 30px 35px 30px;
    min-height: 650px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px)
}

.panel__top {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.panel__wrapper {
    display: flex;
    align-items: center
}

.panel__step {
    margin-right: 16px;
    padding: 10px 15px;
    color: var(--color-bg);
    font-weight: 600;
    font-size: 12px;
    line-height: 150%;
    background: linear-gradient(135deg,var(--color-accent-light),var(--color-accent-dark));
    border-radius: 10px
}

.panel__text {
    color: rgba(var(--color-text-rgb),.6)
}

.panel__text_small {
    color: rgba(var(--color-text-rgb),.45);
    font-size: 14px;
    line-height: 142.8571428571%
}

.panel__btn {
    margin-right: 8px;
    padding: 10px 15px;
    color: rgba(var(--color-text-rgb),.5);
    font-weight: 600;
    font-size: 12px;
    line-height: 150%;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    cursor: pointer;
    transition: all .3s ease
}

.panel__btn_active {
    color: var(--color-bg);
    border: 1px solid transparent;
    background: linear-gradient(135deg,var(--color-accent-light),var(--color-accent-dark));
    box-shadow: 0 4px 16px rgba(var(--color-accent-light-rgb),.25)
}

.panel__btn_active:hover {
    color: var(--color-bg)
}

.panel__btn:last-child {
    margin: 0
}

.panel__btn:hover {
    color: rgba(var(--color-text-rgb),.7);
    background: rgba(255,255,255,.08)
}

.panel__link {
    margin-right: 40px;
    color: rgba(var(--color-text-rgb),.4);
    font-weight: 500;
    font-size: 18px;
    line-height: 133.3333333333%;
    transition: color .3s ease
}

.panel__link:last-child {
    margin-right: 0
}

.panel__link:hover {
    color: rgba(var(--color-text-rgb),.7)
}

.panel__link_active {
    position: relative;
    color: #fff
}

.panel__link_active:hover {
    color: #fff
}

.panel__link_active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 54px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,var(--color-accent-light),var(--color-accent-dark))
}

.panel__link-rules {
    color: var(--color-accent-light);
    opacity: .8;
    text-decoration: underline;
    transition: opacity .3s ease
}

.panel__link-rules:hover {
    text-decoration: underline;
    color: var(--color-accent-light);
    opacity: 1
}

.panel__line {
    margin: 30px 0;
    height: 1px;
    background: rgba(255,255,255,.08)
}

.panel__bottom-wrapper {
    margin-top: 30px;
    display: flex;
    justify-content: space-between
}

.panel__title {
    font-size: 40px
}
.panel__start, .panel__end {
    width: 49%;
    display: flex;
    justify-content: space-between;
    flex-direction: column
}

.panel__form {
    margin: 40px auto 0 auto;
    width: 100%;
    max-width: 500px
}

.step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 55px;
    color: rgba(255,255,255,.15);
    font-weight: 600;
    font-size: 32px;
    line-height: 84.375%;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    transition: color .3s ease,background .3s ease
}

.step_open {
    color: rgba(var(--color-text-rgb),.5)
}

.step_active {
    color: var(--color-bg);
    background: linear-gradient(135deg,var(--color-accent-light),var(--color-accent-dark))
}
.header {
    position: relative;
    padding: 40px 0;
    z-index: 10;
    background: rgba(var(--color-bg-rgb),.55);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.06)
}

.header__container {
    max-width: 1340px
}
.header__burger {
    display: none;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    width: 30px;
    height: 20px;
    z-index: 2;
    cursor: pointer
}

.header__burger-line {
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background: var(--color-accent-light);
    transition: opacity .3s ease,transform .3s ease;
}

.header__burger_active {
    justify-content: center
}

.header__burger_active .header__burger-line {
    position: relative
}

.header__burger_active .header__burger-line:nth-child(1) {
    top: 4px;
    transform: rotate(-45deg)
}

.header__burger_active .header__burger-line:nth-child(2) {
    opacity: 0
}

.header__burger_active .header__burger-line:nth-child(3) {
    top: -4px;
    transform: rotate(45deg)
}

.exchange {
    padding: 50px 0 40px 0
}
.exchange__panel {
    margin-top: 40px;
    min-height: auto
}

.exchange__panel-wrapper-hide {
    display: none
}
.reviews {
    padding: 80px 0;
    background: rgba(255,255,255,.02)
}
.reviews__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 35px;
    overflow-y: auto
}

.reviews__block {
    padding: 40px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    transition: border-color .3s ease
}

.reviews__block:hover {
    border-color: rgba(var(--color-accent-light-rgb),.2)
}

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

.reviews__block-username {
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    line-height: 150%
}

.reviews__block-date {
    color: rgba(var(--color-text-rgb),.4);
    font-size: 14px;
    line-height: 171.4285714286%
}

.reviews__block-bottom {
    margin-top: 20px
}

.reviews__block-text {
    color: rgba(var(--color-text-rgb),.6);
    font-size: 18px;
    line-height: 155.5555555556%
}

.footer {
    position: relative;
    padding: 18px 0;
    background: rgba(0,0,0,.3);
    border-top: 1px solid rgba(255,255,255,.06);
    z-index: 10
}

.footer__container {
    max-width: 1340px
}
.rules {
    position: relative;
    overflow: hidden;
    padding: 50px 0
}

.rules__container {
    display: flex;
    justify-content: space-between
}

.rules__start {
    margin-right: 10px
}

.rules__title {
    font-size: 64px;
    background: linear-gradient(120deg,#fff 35%,var(--color-accent-light) 70%,var(--color-accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.rules__subtitle {
    margin-top: 40px;
    font-size: 40px
}

.rules__text {
    margin-top: 30px;
    color: rgba(var(--color-text-rgb),.5);
    font-size: 18px;
    line-height: 161.1111111111%
}

.rules__text:first-child {
    margin-top: 35px
}

.rules__container--full {
    display: block;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto
}

.rules__container--full .rules__title {
    font-size: 32px;
    text-align: center
}

.rules__container--full .rules__subtitle {
    margin-top: 14px;
    font-size: 20px
}

.rules__container--full .rules__text {
    margin-top: 0;
    padding: 20px 24px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 14px;
    font-size: 15px;
    line-height: 175%
}

.rules__container--full .rules__text + .rules__text {
    margin-top: 12px
}

.rules__container--full .rules__text:first-of-type {
    margin-top: 32px
}

.rules__container--full .rules__start {
    margin-right: 0
}

@media(max-width: 768px) {
    .rules__container--full .rules__title {
        font-size: 24px
    }

    .rules__container--full .rules__subtitle {
        font-size: 17px
    }

    .rules__container--full .rules__text {
        padding: 16px 18px;
        font-size: 14px
    }
}

.rules__panel {
    width: 100%;
    min-width: 380px
}

.rules__panel-title {
    font-size: 40px
}

.rules__panel-line div {
    width: 70px;
    height: 2px;
    background: rgba(255,255,255,.1)
}

.rules__panel-blocks {
    max-height: 500px;
    overflow: auto
}

.rules__panel-block {
    margin-bottom: 24px;
    padding: 25px 30px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px
}

.rules__panel-block:last-child {
    margin-bottom: 0
}

.rules__panel-text {
    color: rgba(var(--color-text-rgb),.6);
    font-size: 14px;
    line-height: 200%
}

.partners {
    position: relative;
    overflow: hidden;
    padding: 30px 0
}

.partners__container {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.partners__end {
    width: 50%
}

.partners__title {
    font-size: 64px;
    background: linear-gradient(120deg,#fff 35%,var(--color-accent-light) 70%,var(--color-accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}
.auth {
    position: relative;
    overflow: hidden;
    padding: 50px 0;
    display: flex;
    flex-direction: column
}

.account {
    position: relative;
    overflow: hidden;
    padding: 50px 0
}
.application {
    position: relative;
    overflow: hidden;
    padding: 50px 0
}
.application__wrapper {
    margin-top: 40px;
    display: flex;
    align-items: center
}
.application__payments {
    margin-top: 70px
}

.application__payment {
    margin-top: 30px;
    display: flex
}

.application__payment:first-child {
    margin-top: 0
}

.application__payment-step {
    margin-right: 16px
}

.application__payment-title {
    font-family: "Manrope",sans-serif;
    color: var(--color-text);
    font-weight: 500;
    font-size: 24px;
    line-height: 125%;
    transition: opacity .3s ease
}

.application__payment-title_light {
    opacity: .5
}

.application__payment-text {
    margin-top: 3px;
    color: rgba(var(--color-text-rgb),.4);
    font-size: 14px;
    line-height: 142.8571428571%;
    transition: opacity .3s ease
}

.application__payment-text_light {
    opacity: .5
}
.application__timer {
    position: relative;
    width: 108px;
    height: 108px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center
}

.application__timer-border {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: conic-gradient(from 0deg, rgba(var(--color-accent-light-rgb),0) 0%, rgba(var(--color-accent-light-rgb),.15) 35%, var(--color-accent-light) 88%, var(--color-accent) 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    border-radius: 100%;
    animation: loader 1s linear infinite
}
.application__timer-time {
    color: #fff;
    font-family: "Manrope",sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 125%
}
.application__date {
    margin-top: 20px;
    padding: 22px 30px;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px
}
.error {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    min-height: 70vh;
    overflow: hidden;
    z-index: 1
}

.error__container {
    width: 100%;
    position: relative;
    text-align: center;
    z-index: 2
}

.error__face {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(var(--color-accent-light-rgb),.1);
    border-radius: 14px
}

.error__title {
    margin-top: 30px;
    font-size: 128px;
    background: linear-gradient(120deg,#fff 35%,var(--color-accent-light) 70%,var(--color-accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.error__subtitle {
    margin: 12px auto 0 auto;
    width: 476px;
    color: rgba(var(--color-text-rgb),.55);
    font-weight: 400;
    font-size: 18px;
    line-height: 161.1111111111%
}

.error__btn {
    margin-top: 20px
}
@media(max-width: 1100px) {
    .header {
        padding:30px 0
    }

    .nav__lang {
        margin-right: 14px;
        margin-left: 16px;
        font-size: 14px
    }

    .nav__lang-link {
        margin-right: 4px
    }

    .nav__list {
        margin-right: 30px
    }

    .nav__item {
        margin-right: 20px
    }

    .nav__link {
        font-size: 14px
    }

    .nav__btn {
        margin-right: 8px;
        font-size: 14px
    }
}

@media(max-width: 1050px) {
    .exchange__panel-bottom-wrapper {
        flex-direction: column
    }

    .exchange__panel-start, .exchange__panel-end {
        width: 100%
    }

    .exchange__panel-end {
        margin-top: 10px
    }

    .exchange__panel-wrapper {
        flex-direction: column
    }

    .exchange__panel-wrapper-show {
        display: none
    }

    .exchange__panel-wrapper-hide {
        display: block
    }

    .exchange__panel-btn {
        width: 100%;
        text-align: center
    }

    .exchange__panel-text {
        margin: 10px 0 0 0;
        width: 100%;
        text-align: center
    }
    .application__wrapper {
        justify-content: center
    }

    .application__wrapper-info {
        text-align: center
    }
    .application__payments {
        margin-top: 50px;
        display: flex;
        justify-content: space-between;
        text-align: start
    }

    .application__payment {
        margin: 0
    }
    .application__timer {
        margin: 0 auto 22px;
        z-index: 1
    }
}

@media(max-width: 940px) {
    .title {
        font-size:48px
    }

    .panel__link {
        margin-right: 20px;
        font-size: 16px
    }

    .panel__link::before {
        top: 51px
    }

    .panel__title {
        font-size: 40px
    }
    .header {
        position: relative
    }

    .header__wrapper {
        display: block;
        z-index: 2
    }

    .header__menu {
        display: none;
        position: absolute;
        padding: 110px 0 50px 0;
        width: 100%;
        min-height: 100vh;
        top: 0;
        right: 0;
        background: rgba(var(--color-bg-rgb),.98);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        text-align: center;
        z-index: 1
    }

    .header__lang {
        display: inline-flex;
        margin: 0
    }

    .header__list {
        margin: 15px 0;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        justify-content: center
    }

    .header__list .nav__item {
        margin: 0
    }

    .header__menu .header__btn, .header__menu .nav__btn {
        display: block;
        width: -webkit-fit-content;
        width: -moz-fit-content;
        width: fit-content;
        max-width: 90%;
        margin: 10px auto 0;
        text-align: center
    }

    .header__menu .nav__btn-full {
        display: inline
    }

    .header__burger {
        display: flex
    }
    .exchange__panel-title {
        font-size: 30px
    }
    .footer__lang {
        display: inline-block
    }
    .rules__subtitle {
        font-size: 36px
    }

    .rules__end {
        display: none
    }

    .error__subtitle {
        margin-top: 15px;
        font-size: 16px
    }}

@media(max-width: 850px) {
    .exchange__panel-step-text {
        width: 200px
    }}

@media(max-width: 740px) {
    .title {
        font-size:36px
    }

    .select__header, .select__item {
        padding: 12px 20px
    }

    .select__current, .select__item {
        font-size: 16px
    }

    .select__img {
        width: 36px;
        height: 36px
    }

    .input {
        padding: 12px 20px
    }

    .input__wrapper input {
        padding-right: 60px
    }
    .exchange__panel-title {
        font-size: 24px
    }
    .reviews__wrapper {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 15px
    }

    .reviews__block {
        padding: 20px
    }

    .reviews__block .reviews__block-wrapper {
        margin-left: 10px
    }

    .reviews__block-username {
        font-size: 16px
    }

    .reviews__block-bottom {
        margin-top: 10px
    }

    .reviews__block-text {
        font-size: 14px
    }
    .footer__logo {
        margin: 0
    }
    .footer__lang {
        margin: 0;
        display: block
    }
    .application__payments {
        flex-direction: column
    }

    .application__payment:last-child {
        margin-top: 10px
    }
}

@media(max-width: 640px) {
    .title {
        font-size:30px
    }

    .panel {
        padding: 20px 20px 25px 20px
    }

    .panel__link::before {
        top: 41px
    }
    .panel__line {
        margin: 20px 0
    }

    .panel__form {
        margin-top: 20px;
        width: 100%
    }
    .exchange__panel {
        padding: 20px 20px 25px 20px
    }

    .exchange__panel-top {
        justify-content: center
    }

    .exchange__panel-top .panel__wrapper:nth-child(1) {
        display: none
    }

    .exchange__panel-step {
        margin-right: 12px
    }

    .exchange__panel-step-text {
        width: 100%
    }
    .exchange__panel-title {
        text-align: center;
        font-size: 20px
    }

    .exchange__panel-bottom-wrapper {
        margin-top: 15px
    }

    .exchange__panel-wrapper {
        margin-top: 15px
    }
    .error__subtitle {
        width: 100%
    }
    .partners__container {
        display: block
    }
    .partners__end {
        margin-top: 25px;
        width: 100%
    }
    .application__wrapper {
        margin-top: 20px
    }
}

@media(max-width: 500px) {
    .panel__title {
        font-size:26px
    }
    .panel__link {
        font-size: 14px
    }

    .panel__link::before {
        top: 38px
    }
    .exchange__panel {
        margin-top: 50px
    }

    .exchange__panel-title {
        font-size: 18px
    }}

@media(max-width: 440px) {
    .panel {
        padding:20px 10px 25px 10px
    }

    .select__text img {
        margin: 0
    }

    .select__text span {
        display: none
    }

    .input__text {
        font-size: 14px
    }

    .exchange__panel {
        padding: 20px 10px 25px 10px
    }

    .exchange__panel-title {
        margin: 0 auto;
        width: 190px
    }

    .exchange__panel-val-btn {
        padding: 8px 12px
    }}

/* ===== Logo dot ===== */

.logo-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg,var(--color-accent-light),var(--color-accent-dark));
    border-radius: 50%;
    vertical-align: middle;
    margin: 0 2px
}

/* ===== Hero section ===== */

.hero {
    position: relative;
    padding: 64px 0 32px;
    overflow: hidden
}

.hero__glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse,rgba(var(--color-accent-light-rgb),.08) 0%,transparent 70%);
    pointer-events: none;
    z-index: 0
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1
}

.hero__content {
    max-width: 520px
}

.hero__heading {
    font-family: "Manrope", sans-serif;
    font-size: 44px;
    line-height: 130%;
    font-weight: 800;
    color: #fff;
    margin: 0
}

.hero__heading-accent {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    background: linear-gradient(135deg,var(--color-accent-light),var(--color-accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hero__subtitle {
    margin-top: 18px;
    max-width: 460px;
    font-size: 16px;
    line-height: 165%;
    color: rgba(var(--color-text-rgb),.72)
}
.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-top: 32px
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 11px
}

.hero__trust-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(var(--color-accent-light-rgb),.2), rgba(var(--color-accent-rgb),.14));
    border: 1px solid rgba(var(--color-accent-light-rgb),.24);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-light)
}

.hero__trust-value {
    display: block;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    line-height: 1.25
}

.hero__trust-label {
    display: block;
    font-size: 12px;
    color: rgba(var(--color-text-rgb),.45);
    line-height: 1.25
}

@media(max-width: 600px) {
    .hero__trust {
        gap: 18px 24px;
        justify-content: center
    }
}

.hero__visual {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.hero__card {
    padding: 24px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px)
}

.hero__card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(var(--color-text-rgb),.5);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.06)
}

.hero__card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0
}

.hero__card-row small {
    font-size: 13px;
    color: rgba(var(--color-text-rgb),.4)
}

.hero__card-row strong {
    font-size: 18px;
    font-weight: 700;
    color: #fff
}

.hero__card-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.06);
    font-size: 13px;
    color: var(--color-accent-light)
}

.hero__card-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent-light);
    border-radius: 50%;
    animation: pulse-dot 2s infinite
}

@keyframes pulse-dot {
    0%,100% { opacity: 1 }
    50% { opacity: .4 }
}
/* ===== Features section ===== */

.features {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    z-index: 1
}

.features__container {
    text-align: center
}

.features__title {
    font-family: "Manrope", sans-serif;
    font-size: 40px;
    background: linear-gradient(120deg,#fff 35%,var(--color-accent-light) 70%,var(--color-accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px
}

.features__card {
    padding: 36px 28px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 20px;
    transition: border-color .3s,background .3s;
    text-align: center
}

.features__card:hover {
    border-color: rgba(var(--color-accent-light-rgb),.25);
    background: rgba(var(--color-accent-light-rgb),.04)
}

.features__card-icon {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(var(--color-accent-light-rgb),.1);
    border: 1px solid rgba(var(--color-accent-light-rgb),.15);
    border-radius: 14px;
    color: var(--color-accent-light)
}

.features__card-title {
    font-family: "Manrope", sans-serif;
    margin-top: 24px;
    color: #fff;
    font-weight: 600;
    font-size: 20px;
    line-height: 130%
}

.features__card-text {
    margin-top: 10px;
    color: rgba(var(--color-text-rgb),.5);
    font-size: 15px;
    line-height: 160%
}

/* ===== Converter section ===== */

.converter {
    padding: 0 0 40px;
    position: relative;
    z-index: 2
}

.converter__container {
    max-width: 1096px
}

.converter__card.panel {
    border-radius: 20px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.06);
    padding: 22px 24px 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: 0;
    min-height: auto
}
.converter__card .panel__line {
    margin: 0 0 20px
}
.converter__tab.panel__btn_active {
    color: #fff;
    background: rgba(var(--color-accent-light-rgb),.12);
    border-color: rgba(var(--color-accent-light-rgb),.25)
}

.converter__direction {
    text-align: center;
    margin-bottom: 16px;
    font-size: 16px;
    color: rgba(var(--color-text-rgb),.5)
}

.converter__fields {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: start;
    margin-top: 0
}

.converter__side {
    width: 100%;
    position: relative
}

.converter__label {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(var(--color-text-rgb),.35);
    margin-bottom: 8px
}

.converter__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    box-shadow: 0 8px 20px -6px rgba(var(--color-accent-rgb), .6);
    color: #fff;
    flex-shrink: 0;
    margin-top: 53px;
    cursor: pointer;
    transition: box-shadow .3s ease
}

.converter__arrow svg {
    transition: transform .3s ease
}

.converter__arrow:hover {
    box-shadow: 0 10px 26px -6px rgba(var(--color-accent-rgb), .75)
}

.converter__arrow:hover svg {
    transform: rotate(180deg)
}

.converter__submit {
    width: 100%;
    text-align: center
}

.converter__agree {
    text-align: center;
    margin-top: 8px
}

/* ===== Testimonials section ===== */

.testimonials {
    padding: 40px 0;
    position: relative;
    overflow: hidden
}

.testimonials__container {
    max-width: 1096px
}

.testimonials__header {
    text-align: center;
    margin-bottom: 40px
}

.testimonials__heading {
    font-family: "Manrope",sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 125%;
    background: linear-gradient(120deg,#fff 35%,var(--color-accent-light) 70%,var(--color-accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px
}
.testimonials__more {
    margin-top: 36px;
    text-align: center
}

.testimonials__more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    font-weight: 600;
    color: var(--color-text);
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 100px;
    transition: color .3s ease, border-color .3s ease, background .3s ease
}

.testimonials__more-btn:hover {
    color: #fff;
    border-color: rgba(var(--color-accent-light-rgb),.4);
    background: rgba(var(--color-accent-light-rgb),.08)
}

.testimonials__more-btn svg {
    transition: transform .3s ease
}

.testimonials__more-btn:hover svg {
    transform: translateY(2px)
}

.testimonials__grid.reviews__wrapper {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    overflow: visible;
    max-height: none
}

.testimonials__item.reviews__block {
    padding: 28px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    transition: border-color .3s;
    max-height: none;
    overflow: visible
}

.testimonials__item.reviews__block:hover {
    border-color: rgba(var(--color-accent-light-rgb),.2)
}

.testimonials__quote {
    margin-bottom: 16px;
    opacity: .6
}

.testimonials__text {
    flex: 1;
    font-size: 15px;
    line-height: 165%;
    color: rgba(var(--color-text-rgb),.6);
    margin-bottom: 20px
}

.testimonials__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.06)
}

.testimonials__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff
}

.testimonials__avatar svg {
    width: 19px;
    height: 19px
}

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

.testimonials__name {
    font-size: 14px;
    font-weight: 600;
    color: #fff
}

.testimonials__date {
    font-size: 12px;
    color: rgba(var(--color-text-rgb),.35)
}

/* ===== Footer grid ===== */

.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px
}

.footer__logo {
    display: flex;
    align-items: center;
    font-size: 16px
}

.footer__links {
    display: flex;
    flex-direction: row;
    gap: 28px
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px
}

.footer__copy {
    color: rgba(var(--color-text-rgb),.3);
    font-size: 13px
}


/* ===== Hero responsive ===== */

@media(max-width: 900px) {
    .hero {
        padding: 50px 0 30px
    }

    .hero__container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center
    }

    .hero__content {
        max-width: 100%
    }

    .hero__cta {
        justify-content: center
    }

    .hero__heading,
    .hero__heading-accent {
        font-size: 32px
    }

    .hero__subtitle {
        font-size: 15px
    }

    .hero__stats {
        grid-template-columns: repeat(3,1fr)
    }

    .converter__fields {
        grid-template-columns: 1fr;
        gap: 8px
    }

    .converter__header-text {
        font-size: 22px
    }

    .converter__arrow {
        margin: 0 auto;
        transform: rotate(90deg)
    }

    .converter__card .panel__line {
        margin: 8px 0 14px
    }

    .converter__card {
        padding: 20px 16px
    }

    .features__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto
    }

    .features__title {
        font-size: 32px
    }

    .testimonials__grid.reviews__wrapper {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto
    }

    .testimonials__heading {
        font-size: 32px
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px
    }
}

/* Converter collapses to single column at the same breakpoint as the
   button-swap logic (1050px) to avoid a broken mid-width layout */
@media(max-width: 1050px) {
    .converter__fields {
        grid-template-columns: 1fr;
        gap: 10px
    }

    /* legacy rule from the old stacked layout double-stacks with the grid
       gap below and throws the arrow off-centre — neutralize it here */
    .converter__fields .exchange__panel-end {
        margin-top: 0
    }

    /* float the "Получаете" label out of flow so it doesn't push the field
       box down — keeps the swap arrow centred field-to-field with a tight gap */
    .converter__fields .exchange__panel-end .converter__label {
        position: absolute;
        top: -32px;
        left: 2px;
        margin: 0
    }

    .converter__arrow {
        margin: 6px auto;
        transform: rotate(90deg)
    }
}

@media(max-width: 600px) {
    .hero {
        padding: 36px 0 20px
    }

    .hero__heading, .hero__heading-accent {
        font-size: 26px
    }
    .features__card {
        padding: 24px 20px
    }

    .testimonials__heading {
        font-size: 26px
    }
}

/* ==========================================================================
   Premium visual upgrade — duotone atmosphere, glass cards, glow accents
   ========================================================================== */

body {
    background:
        radial-gradient(900px 520px at 10% 0%, rgba(var(--color-accent-rgb), .16), transparent 60%),
        radial-gradient(900px 600px at 90% 0%, rgba(var(--color-accent-light-rgb), .14), transparent 60%),
        var(--color-bg);
    background-repeat: no-repeat;
    background-attachment: scroll
}

.panel, .hero__card, .converter__card.panel, .features__card, .testimonials__item.reviews__block, .rules__panel-block, .application__date, .reviews__block {
    position: relative;
    box-shadow: 0 30px 70px -35px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .05)
}

.panel::before, .hero__card::before, .converter__card.panel::before, .features__card::before, .testimonials__item.reviews__block::before {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--color-accent-light-rgb), .55), rgba(var(--color-accent-rgb), .55), transparent);
    opacity: .7;
    pointer-events: none
}

.hero__glow {
    width: 900px;
    height: 520px;
    background: radial-gradient(ellipse, rgba(var(--color-accent-light-rgb), .16) 0%, rgba(var(--color-accent-rgb), .12) 45%, transparent 72%);
    filter: blur(6px)
}

.hero__heading-accent {
    background: linear-gradient(120deg, var(--color-accent-light) 10%, var(--color-accent) 35%, var(--color-accent-dark) 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.btn_background_blue, .btn_background_blue2 {
    box-shadow: 0 12px 30px -12px rgba(var(--color-accent-light-rgb), .5);
    transition: all .3s ease, box-shadow .3s ease
}

.btn_background_blue:hover, .btn_background_blue2:hover {
    box-shadow: 0 18px 44px -14px rgba(var(--color-accent-light-rgb), .65)
}

.features__card-icon {
    background: linear-gradient(135deg, rgba(var(--color-accent-light-rgb), .22), rgba(var(--color-accent-rgb), .18));
    border: 1px solid rgba(var(--color-accent-light-rgb), .28);
    box-shadow: 0 10px 24px -10px rgba(var(--color-accent-light-rgb), .35)
}

.features__card {
    transition: border-color .3s, background .3s, transform .3s, box-shadow .3s
}

.features__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 40px 80px -35px rgba(var(--color-accent-light-rgb), .3), inset 0 1px 0 rgba(255, 255, 255, .06)
}

.testimonials__item.reviews__block {
    transition: border-color .3s, transform .3s, box-shadow .3s
}

.testimonials__item.reviews__block:hover {
    transform: translateY(-3px);
    box-shadow: 0 35px 70px -35px rgba(var(--color-accent-light-rgb), .22), inset 0 1px 0 rgba(255, 255, 255, .05)
}

.testimonials__avatar {
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent-dark))
}
.step_active, .panel__step {
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent-dark))
}

.reviews__block-top img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--color-accent-light-rgb), .18), rgba(var(--color-accent-rgb), .18));
    padding: 11px;
    box-sizing: border-box;
    opacity: .75;
    flex-shrink: 0
}

@media(max-width: 640px) {
    .hero__glow {
        width: 500px;
        height: 320px
    }
}

/* ==========================================================================
   Hero rates card — live rate ticker
   ========================================================================== */

.hero__rates-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 0 0 auto;
    padding: 24px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 30px 70px -35px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.05)
}

.hero__rates-card::before {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--color-accent-light-rgb),.55), rgba(var(--color-accent-rgb),.55), transparent);
    opacity: .7
}

.hero__rates-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px
}

.hero__rates-title {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #fff
}

.hero__rates-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(var(--color-text-rgb),.5)
}

.hero__rates-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-success);
    box-shadow: 0 0 0 3px rgba(var(--color-success-rgb),.15);
    animation: pulse-dot 2s infinite
}

.hero__rate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.05)
}

.hero__rate:last-child {
    border-bottom: none;
    padding-bottom: 0
}

.hero__rate-coin {
    display: flex;
    align-items: center;
    gap: 11px
}

.hero__rate-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center
}

.hero__rate-icon img {
    width: 19px;
    height: 19px
}

.hero__rate-name {
    display: block;
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    line-height: 1.2
}

.hero__rate-sym {
    display: block;
    font-size: 12px;
    color: rgba(var(--color-text-rgb),.4);
    line-height: 1.2
}

.hero__rate-right {
    text-align: right
}

.hero__rate-price {
    display: block;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    line-height: 1.3
}

.hero__rate-change {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3
}

.hero__rate-change--up {
    color: var(--color-success)
}

.hero__rate-change--down {
    color: var(--color-danger)
}

.hero__rate-change--flat {
    color: rgba(var(--color-text-rgb),.4)
}

/* ==========================================================================
   Hero scene visual — stacked cards, no circles/rings
   ========================================================================== */

.hero__scene {
    position: relative;
    width: 100%;
    max-width: 320px;
    min-height: 270px;
    margin: 0 auto 40px
}

.hero__card::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    top: -10px;
    right: -10px;
    background: radial-gradient(circle, rgba(var(--color-accent-light-rgb), .14), transparent 72%);
    pointer-events: none
}

.hero__chart-card {
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    padding: 14px;
    z-index: 1;
    transform: rotate(3deg);
    transition: transform .4s ease
}

.hero__chart-card:hover {
    transform: rotate(0deg) translateY(-4px)
}

.hero__chart-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(var(--color-text-rgb), .55);
    margin-bottom: 12px
}

.hero__chart-trend {
    color: var(--color-accent-light);
    font-weight: 600;
    font-size: 11px;
    background: rgba(var(--color-accent-light-rgb), .12);
    border-radius: 6px;
    padding: 2px 6px
}

.hero__chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 44px
}

.hero__chart-bars span {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, var(--color-accent-light), var(--color-accent-dark));
    opacity: .85
}

.hero__card--floating {
    position: relative;
    width: 220px;
    margin: 56px 0 0 0;
    padding: 20px;
    z-index: 2;
    transform: rotate(-2deg);
    transition: transform .4s ease
}

.hero__card--floating:hover {
    transform: rotate(0deg) translateY(-4px)
}

.hero__card-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(var(--color-accent-light-rgb), .22), rgba(var(--color-accent-rgb), .18));
    border: 1px solid rgba(var(--color-accent-light-rgb), .28);
    display: flex;
    align-items: center;
    justify-content: center
}
@media(max-width: 900px) {
    .hero__scene {
        margin: 0 auto 70px
    }

    .hero__rates-card {
        margin: 0 auto;
        max-width: 360px
    }

    .hero__rate-sym {
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }
}

@media(max-width: 460px) {
    .hero__card--floating {
        width: 200px
    }}

/* ==========================================================================
   Page decoration — lightweight custom shapes (no raster images)
   ========================================================================== */

.page-decor {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 42%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none
}

.page-decor__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px)
}

/* dotted-grid texture patch */
.page-decor__grid {
    position: absolute;
    width: 190px;
    height: 190px;
    opacity: .55;
    background-image: radial-gradient(rgba(var(--color-accent-light-rgb),.28) 1.4px, transparent 1.5px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(circle, #000 32%, transparent 72%);
    mask-image: radial-gradient(circle, #000 32%, transparent 72%)
}

/* floating gradient tile */
.page-decor__tile {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(var(--color-accent-light-rgb),.16), rgba(var(--color-accent-rgb),.06));
    border: 1px solid rgba(var(--color-accent-light-rgb),.22);
    box-shadow: 0 24px 46px -22px rgba(var(--color-accent-rgb),.45)
}

.page-decor__tile--sm {
    width: 40px;
    height: 40px;
    border-radius: 12px
}

.page-decor__dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent-dark));
    opacity: .5
}

.page-decor__plus {
    position: absolute;
    width: 16px;
    height: 16px;
    opacity: .35
}

.page-decor__plus::before, .page-decor__plus::after {
    content: "";
    position: absolute;
    background: var(--color-accent-light)
}

.page-decor__plus::before {
    width: 100%;
    height: 1.5px;
    top: 50%;
    left: 0;
    transform: translateY(-50%)
}

.page-decor__plus::after {
    width: 1.5px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%)
}

@media(max-width: 740px) {
    .page-decor__tile, .page-decor__grid {
        display: none
    }
}


/* ==========================================================================
   Application page — modern redesign
   ========================================================================== */

.app__flow {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 0 auto
}

/* head */
.app__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--color-accent-light)
}

.app__title {
    margin-top: 10px;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 30px;
    line-height: 120%;
    color: #fff
}

.app__title span {
    background: linear-gradient(120deg, var(--color-accent-light), var(--color-accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.app__subtitle {
    margin: 10px auto 0;
    max-width: 420px;
    font-size: 14px;
    line-height: 160%;
    color: rgba(var(--color-text-rgb), .5)
}

.app__head {
    text-align: center
}

/* mini stepper */
.app__steps {
    display: flex;
    justify-content: center;
    margin: 32px auto 0
}

.app__step {
    position: relative;
    flex: 0 0 130px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px
}

.app__step:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 17px;
    left: 50%;
    width: 130px;
    height: 1px;
    background: linear-gradient(90deg, rgba(var(--color-accent-light-rgb), .55), rgba(var(--color-accent-light-rgb), .12))
}

.app__step .step {
    position: relative;
    z-index: 1;
    margin-right: 0;
    width: 34px;
    height: 34px;
    font-size: 13px;
    border-radius: 50%;
    flex-shrink: 0
}

.app__step .application__payment-title {
    margin-top: 0;
    font-size: 12px;
    font-weight: 600;
    color: #fff
}

.app__step .application__payment-text {
    display: none
}

.app__step--muted .step {
    color: rgba(var(--color-text-rgb), .35)
}

.app__step--muted .application__payment-title {
    color: rgba(var(--color-text-rgb), .4)
}

/* amount ticket */
.app__amount {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 32px;
    padding: 22px 24px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px
}

.app__amount-side {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0
}

.app__amount-side--to {
    flex-direction: row-reverse;
    text-align: right
}

.app__amount-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
    padding: 8px;
    box-sizing: border-box;
    object-fit: contain
}

.app__amount-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0
}

.app__amount-label {
    font-size: 12px;
    color: rgba(var(--color-text-rgb), .4)
}

.app__amount-value {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.app__amount-mid {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px
}

.app__amount-mid::before, .app__amount-mid::after {
    content: "";
    position: absolute;
    top: -22px;
    bottom: -22px;
    width: 0;
    border-left: 1px dashed rgba(255, 255, 255, .12)
}

.app__amount-mid::before {
    left: 0
}

.app__amount-mid::after {
    right: 0
}

.app__timer.application__timer {
    position: relative;
    width: 58px;
    height: 58px;
    margin: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center
}

.app__timer .application__timer-time {
    position: relative;
    z-index: 1;
    font-size: 13px
}

/* card */
.panel.app__card {
    position: relative;
    min-height: auto;
    margin: 24px 0 0;
    padding: 28px
}

.app__row {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px
}

.app__rate-chip {
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-radius: 100px;
    box-shadow: 0 8px 20px -8px rgba(var(--color-accent-rgb), .6)
}

.app__rate-time {
    padding: 9px 16px;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--color-text);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 100px
}

.app__rate-note {
    margin-top: 16px;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 140%;
    color: #fff
}

.app__line {
    height: 1px;
    margin: 22px 0;
    background: rgba(255, 255, 255, .07)
}

.app__addr {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.app__addr + .app__addr {
    margin-top: 16px
}

.app__addr-label {
    font-size: 12px;
    color: rgba(var(--color-text-rgb), .4)
}

.app__addr-value {
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text);
    word-break: break-all
}

.app__addr-label--main {
    display: block;
    margin-top: 16px
}

.app__addr--main {
    position: relative;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(var(--color-accent-light-rgb), .06);
    border: 1px solid rgba(var(--color-accent-light-rgb), .18);
    border-radius: 16px
}

.app__addr--main .app__addr-value {
    font-family: "SFMono-Regular", Consolas, monospace;
    color: #fff;
    letter-spacing: .01em
}

.app__addr-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px
}

.app__qr-img {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #fff;
    padding: 6px
}

.app__copy {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(var(--color-accent-light-rgb), .2), rgba(var(--color-accent-rgb), .12));
    border: 1px solid rgba(var(--color-accent-light-rgb), .24);
    color: var(--color-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .3s ease, color .3s ease
}

.app__copy:hover {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: #fff
}

.app__note {
    margin-top: 16px;
    font-size: 13px;
    line-height: 160%;
    color: rgba(var(--color-text-rgb), .45)
}

.app__cta {
    display: block;
    width: 100%;
    margin-top: 22px;
    text-align: center
}

.app__paid-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 16px;
    background: rgba(var(--color-success-rgb), .08);
    border: 1px solid rgba(var(--color-success-rgb), .22);
    border-radius: 14px;
    font-size: 13px;
    line-height: 150%;
    color: rgba(var(--color-text-rgb), .8)
}

.app__paid-note svg {
    flex-shrink: 0;
    color: var(--color-success)
}

/* footer meta row */
.app__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 13px;
    color: rgba(var(--color-text-rgb), .4)
}

.app__meta svg {
    flex-shrink: 0;
    color: rgba(var(--color-text-rgb), .3)
}

/* compact security note */
.app__security {
    margin-top: 16px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 14px
}

.app__security-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px
}

.app__security-ico {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--color-accent-light-rgb), .1);
    border: 1px solid rgba(var(--color-accent-light-rgb), .2);
    color: var(--color-accent-light)
}

.app__security-title {
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: rgba(var(--color-text-rgb), .8)
}

.app__security-text {
    margin-top: 8px;
    font-size: 12.5px;
    line-height: 160%;
    color: rgba(var(--color-text-rgb), .45)
}

/* result panels (done / error) */
.panel.app__result {
    min-height: auto;
    margin: 24px 0 0;
    padding: 40px 28px;
    text-align: center
}

.app__result-ico {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center
}

.app__result-ico--ok {
    color: var(--color-success);
    background: rgba(var(--color-success-rgb), .12);
    border: 1px solid rgba(var(--color-success-rgb), .25)
}

.app__result-ico--err {
    color: var(--color-danger);
    background: rgba(var(--color-danger-rgb), .12);
    border: 1px solid rgba(var(--color-danger-rgb), .25)
}

.app__result-title {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #fff
}

.app__result-text {
    margin: 10px auto 18px;
    max-width: 320px;
    font-size: 14px;
    line-height: 155%;
    color: rgba(var(--color-text-rgb), .5)
}

.app__result .btn {
    display: inline-block
}

@media(max-width: 680px) {
    .app__flow {
        max-width: 460px
    }

    .app__title {
        font-size: 26px
    }

    .app__amount {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 8px
    }

    .app__amount-side {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        text-align: center
    }

    .app__amount-icon {
        width: 34px;
        height: 34px
    }

    .app__amount-label {
        font-size: 11px
    }

    .app__amount-value {
        font-size: 15px
    }

    .app__amount-side--to {
        flex-direction: row;
        text-align: center
    }

    .app__amount-mid {
        order: 3;
        flex: 0 0 100%;
        padding: 16px 0 0
    }

    .app__amount-mid::before, .app__amount-mid::after {
        top: 0;
        bottom: auto;
        left: 15%;
        right: 15%;
        width: auto;
        height: 0;
        border-left: none;
        border-top: 1px dashed rgba(255, 255, 255, .12)
    }

    .app__amount-mid::before {
        top: 0
    }

    .app__amount-mid::after {
        display: none
    }
}

@media(max-width: 460px) {
    .panel.app__card {
        padding: 20px
    }

    .app__addr-label--main {
        text-align: center
    }

    .app__addr--main {
        flex-direction: column;
        padding: 20px 18px 18px
    }

    .app__addr-body {
        align-items: center;
        text-align: center
    }

    .app__addr--main .app__copy {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 34px;
        height: 34px
    }

    .app__step {
        flex-basis: 104px
    }

    .app__step:not(:last-child)::after {
        width: 104px
    }
}

/* ==========================================================================
   Account / profile page
   ========================================================================== */

.acct__flow {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto
}

.acct__head {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    min-height: auto;
    padding: 26px 28px;
    margin: 0
}

.acct__avatar {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent-dark));
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #fff
}

.acct__head-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-right: auto;
    min-width: 0
}

.acct__email {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    word-break: break-all
}

.acct__since {
    font-size: 13px;
    color: rgba(var(--color-text-rgb), .45)
}

.acct__stats {
    display: flex;
    gap: 10px
}

.acct__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 14px;
    min-width: 80px
}

.acct__stat-value {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #fff
}

.acct__stat-label {
    font-size: 11px;
    color: rgba(var(--color-text-rgb), .4)
}

/* tabs (reuse .panel__link JS hook, restyled as pills) */
.acct__tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0 16px;
    flex-wrap: wrap
}

.acct__tabs.panel__wrapper {
    display: flex
}

.acct__tabs .panel__link {
    margin-right: 0;
    padding: 10px 18px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    color: rgba(var(--color-text-rgb), .55);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: all .3s ease
}

.acct__tabs .panel__link:hover {
    color: #fff;
    border-color: rgba(var(--color-accent-light-rgb), .3)
}

.acct__tabs .panel__link_active {
    color: #fff;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-color: transparent;
    box-shadow: 0 8px 20px -8px rgba(var(--color-accent-rgb), .6)
}

.acct__tabs .panel__link_active::before {
    display: none
}

.acct__tab-break {
    display: none
}

.acct__panel {
    min-height: auto;
    margin: 0;
    padding: 28px
}

/* shared row list (history + referrals) */
.acct__history {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.acct__row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 14px;
    flex-wrap: wrap
}

.acct__row-id {
    flex: 0 0 44px;
    font-size: 12px;
    color: rgba(var(--color-text-rgb), .4)
}

.acct__row-pair {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 220px
}

.acct__row-coin {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #fff
}

.acct__row-coin img {
    width: 22px;
    height: 22px;
    border-radius: 50%
}

.acct__row-arrow {
    display: flex;
    color: var(--color-accent-light);
    flex-shrink: 0
}

.acct__row-date {
    flex: 0 0 130px;
    font-size: 12px;
    color: rgba(var(--color-text-rgb), .4)
}

.acct__row-date--auto {
    flex: 1
}

.acct__row-status {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0
}

.acct__row-status--done {
    color: var(--color-success);
    background: rgba(var(--color-success-rgb), .1)
}

.acct__row-status--wait {
    color: var(--color-accent-light);
    background: rgba(var(--color-accent-light-rgb), .1)
}

.acct__row-status--err {
    color: var(--color-danger);
    background: rgba(var(--color-danger-rgb), .1)
}

.acct__row-repeat, .acct__row-repeat:visited {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 6px 12px;
    border-radius: 100px;
    background: rgba(var(--color-accent-light-rgb), .08);
    border: 1px solid rgba(var(--color-accent-light-rgb), .18);
    color: var(--color-accent-light);
    font-size: 12px;
    font-weight: 600;
    transition: all .3s ease
}

.acct__row-repeat:hover, .acct__row-repeat:visited:hover {
    background: rgba(var(--color-accent-light-rgb), .16);
    border-color: rgba(var(--color-accent-light-rgb), .3);
    color: #fff
}

/* empty state */
.acct__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 50px 20px;
    text-align: center
}

.acct__empty--tight {
    padding: 20px
}

.acct__empty-ico {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--color-accent-light-rgb), .08);
    border: 1px solid rgba(var(--color-accent-light-rgb), .18);
    color: var(--color-accent-light)
}

.acct__empty-title {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #fff
}

.acct__empty-text {
    max-width: 320px;
    font-size: 13px;
    line-height: 160%;
    color: rgba(var(--color-text-rgb), .45)
}

/* referral tab */
.acct__block-label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: rgba(var(--color-text-rgb), .4)
}

.acct__block-label--spaced {
    margin-top: 28px
}

.acct__ref-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 18px;
    background: rgba(var(--color-accent-light-rgb), .06);
    border: 1px solid rgba(var(--color-accent-light-rgb), .18);
    border-radius: 100px
}

.acct__ref-link input {
    flex: 1;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.acct__ref-link input:focus {
    outline: none
}

.acct__ref-copy {
    flex-shrink: 0;
    padding: 10px 20px;
    font-size: 13px
}

.page-referral-program {
    text-align: center
}

.page-referral-program .acct__block-label {
    text-align: center
}

.page-referral-program .acct__ref-link {
    margin: 0 auto
}

.page-referral-program .acct__empty {
    margin: 0 auto
}

.acct__tiers {
    display: flex;
    flex-direction: row;
    gap: 14px;
    margin-top: 24px;
    width: 100%
}

.acct__tier {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 28px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    text-align: center;
    transition: border-color .25s ease, background .25s ease
}

.acct__tier--reached {
    border-color: var(--color-accent);
    background: rgba(var(--color-accent-rgb), .08)
}

.acct__tier-title {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--color-accent)
}

.acct__tier-text {
    margin-top: 2px;
    font-size: 14px;
    color: rgba(var(--color-text-rgb), .5)
}

/* security tab */
.acct__form {
    max-width: 380px;
    margin: 0 auto
}

.acct__form-title {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    text-align: center
}

.acct__form-subtitle {
    margin: 10px auto 24px;
    max-width: 300px;
    font-size: 13px;
    line-height: 160%;
    color: rgba(var(--color-text-rgb), .5);
    text-align: center
}

/* converter saved address picker */
.converter__addr-wrap {
    position: relative
}

.converter__addr-wrap .input {
    padding-right: 52px
}

.converter__addr-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(var(--color-accent-light-rgb), .1);
    border: none;
    color: var(--color-accent-light);
    cursor: pointer;
    padding: 0;
    transition: background .3s ease
}

.converter__addr-btn:hover {
    background: rgba(var(--color-accent-light-rgb), .18)
}

.converter__addr-dropdown {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: #0e1018;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 0 0 12px 12px;
    z-index: 50;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,.35)
}

.converter__addr-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    cursor: pointer;
    font-size: 14px;
    font-family: "Manrope",sans-serif;
    font-weight: 600;
    color: var(--color-text);
    transition: background .3s ease;
    border-bottom: 1px solid rgba(255,255,255,.06)
}

.converter__addr-item:last-child {
    border-bottom: none
}

.converter__addr-item:hover {
    background: rgba(var(--color-accent-light-rgb), .1)
}

.converter__addr-item-label {
    color: rgba(var(--color-text-rgb), .4);
    font-size: 12px;
    font-weight: 400;
    margin-left: auto;
    flex-shrink: 0
}

.converter__addr-save {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    cursor: pointer;
    font-size: 13px;
    font-family: "Manrope",sans-serif;
    color: var(--color-accent-light);
    transition: background .3s ease;
    border-bottom: 1px solid rgba(255,255,255,.06)
}

.converter__addr-save:hover {
    background: rgba(var(--color-accent-light-rgb), .1)
}

.converter__addr-empty {
    padding: 14px 24px;
    text-align: center;
    font-size: 13px;
    color: rgba(var(--color-text-rgb), .4)
}

/* saved addresses */
.page-addresses {
    text-align: center
}

.page-addresses .acct__block-label {
    text-align: center
}

.page-addresses .acct__empty {
    margin: 0 auto
}

.page-addresses .acct__addr-form {
    margin: 0 auto
}

.acct__addr-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 420px;
    width: 100%
}

.acct__addr-select {
    cursor: pointer
}

/* floating support chat widget (bottom-right, all pages) */
.chat-widget {
    position: fixed;
    right: 24px;
    bottom: 50px;
    z-index: 60
}

.chat-widget__toggle {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px -10px rgba(var(--color-accent-rgb), .7);
    border: none;
    cursor: pointer;
    margin-left: auto;
    transition: transform .2s ease
}

.chat-widget__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--color-danger);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    box-shadow: 0 0 0 2px var(--color-bg)
}

.chat-widget_open .chat-widget__badge {
    display: none !important
}

.chat-widget__toggle:hover {
    transform: translateY(-2px)
}

.chat-widget__toggle-icon--close {
    display: none
}

.chat-widget_open .chat-widget__toggle-icon--chat {
    display: none
}

.chat-widget_open .chat-widget__toggle-icon--close {
    display: block
}

.chat-widget__panel {
    position: relative;
    display: none;
    flex-direction: column;
    width: 340px;
    max-width: calc(100vw - 48px);
    height: 460px;
    max-height: calc(100vh - 120px);
    margin-bottom: 14px;
    background: #14121f;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6)
}

.chat-widget_open .chat-widget__panel {
    display: flex
}

.chat-widget__panel--dragover {
    outline: 2px dashed var(--color-accent);
    outline-offset: -4px;
    background: rgba(var(--color-accent-rgb), .06);
}

.admin__chat-active--dragover {
    outline: 2px dashed var(--color-accent);
    outline-offset: -4px;
    background: rgba(var(--color-accent-rgb), .06);
}

.chat-widget__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(var(--color-accent-rgb), .25), rgba(var(--color-accent-light-rgb), .12));
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: #fff;
    font-weight: 700;
    font-size: 14px
}

.chat-widget__close {
    background: transparent;
    border: none;
    color: rgba(var(--color-text-rgb), .7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px
}

.chat-widget__close:hover {
    color: #fff
}

.chat-widget__messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column
}

.chat-widget__empty {
    text-align: center;
    color: rgba(var(--color-text-rgb), .4);
    font-size: 13px;
    padding: 24px 0;
    margin: 0
}

.chat-widget__input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, .08)
}

.chat-widget__input textarea {
    flex: 1;
    resize: none;
    min-height: 40px;
    max-height: 90px;
    padding: 10px 14px;
    font-size: 13px;
    font-family: inherit;
    color: var(--color-text);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    outline: none
}

.chat-widget__input textarea:focus {
    border-color: rgba(var(--color-accent-light-rgb), .4)
}

.chat-widget__input button {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

.chat-widget__input button:disabled {
    opacity: .5;
    cursor: default
}

.chat-widget__attach-btn {
    background: rgba(255, 255, 255, .05) !important;
    color: rgba(var(--color-text-rgb), .6) !important
}

.chat-widget__attach-btn:hover {
    color: #fff !important
}

.chat-widget__new-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 14px;
    border: none;
    border-radius: 20px;
    background: var(--color-accent, #6865f7);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,.3)
}

.chat-widget__typing {
    margin: 0 12px 8px;
    font-size: 12px;
    font-style: italic;
    color: rgba(var(--color-text-rgb), .5)
}

.chat-widget__attach-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 12px 8px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .05);
    font-size: 12px;
    color: rgba(var(--color-text-rgb), .7)
}

.chat-widget__attach-preview span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.chat-widget__attach-preview button {
    flex-shrink: 0;
    border: none;
    background: none;
    color: rgba(var(--color-text-rgb), .5);
    font-size: 16px;
    line-height: 1;
    cursor: pointer
}

.chat-widget__attach-preview button:hover {
    color: var(--color-danger)
}

.chat-widget__attachment-img {
    display: block;
    margin-top: 4px
}

.chat-widget__attachment-img img {
    max-width: 160px;
    max-height: 160px;
    border-radius: 10px;
    display: block
}

.chat-widget__attachment-file {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    color: inherit;
    font-size: 12px;
    text-decoration: underline
}

.chat-widget__guest {
    padding: 24px 20px;
    text-align: center
}

.chat-widget__guest p {
    margin: 0 0 16px;
    font-size: 13px;
    color: rgba(var(--color-text-rgb), .6)
}

.chat-widget__msg {
    max-width: 82%;
    padding: 10px 13px;
    border-radius: 14px;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 145%
}

.chat-widget__msg p {
    margin: 0
}

.chat-widget__msg--user {
    background: rgba(255, 255, 255, .05);
    color: rgba(var(--color-text-rgb), .85)
}

.chat-widget__msg--staff {
    background: rgba(var(--color-accent-rgb), .18);
    color: #fff;
    margin-left: auto
}

.chat-widget__msg-meta {
    display: block;
    margin-top: 3px;
    font-size: 10px;
    color: rgba(var(--color-text-rgb), .4)
}

@media(max-width: 480px) {
    .chat-widget {
        right: 12px;
        bottom: 44px
    }

    .chat-widget__toggle {
        width: 48px;
        height: 48px
    }

    .chat-widget_open {
        inset: 0;
        right: 0;
        bottom: 0;
        z-index: 100
    }

    .chat-widget_open .chat-widget__panel {
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        margin-bottom: 0
    }

    .chat-widget_open .chat-widget__toggle {
        display: none
    }

    .chat-widget__input textarea {
        font-size: 16px
    }

    .chat-widget__messages {
        padding: 12px
    }

    .chat-widget__input {
        padding: 10px 12px calc(env(safe-area-inset-bottom, 8px) + 10px)
    }
}

@media(max-width: 640px) {
    .acct__head {
        justify-content: center;
        text-align: center
    }

    .acct__head-meta {
        margin-right: 0;
        width: 100%;
        align-items: center
    }

    /* even 2x2 grid instead of centre-wrapped pills, which left an
       uneven 1 / 2 / 1 stack depending on how the last row wrapped */
    .acct__tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px
    }

    .acct__tabs .panel__link {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center
    }

    .acct__tab-break {
        display: inline
    }

    .acct__stats {
        width: 100%;
        justify-content: center
    }

    .acct__row {
        justify-content: center;
        text-align: center
    }

    .acct__row-id {
        flex: 0 0 100%;
        order: -1
    }

    .acct__row-date {
        flex: 0 0 100%;
        order: 3;
        text-align: center
    }

    .acct__ref-link {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        border-radius: 18px;
        padding: 14px
    }

    .acct__ref-link input {
        flex: none;
        width: 100%;
        text-align: center
    }

    .acct__ref-copy {
        flex: none;
        width: 100%;
        text-align: center
    }
}

@media(max-width: 900px) {
    .acct__empty {
        padding: 28px 20px;
        gap: 8px
    }

    .acct__tiers {
        flex-direction: column
    }
}

/* ==========================================================================
   Auth (sign in / sign up) — split layout with the form card on the right
   ========================================================================== */

.auth2__flow {
    position: relative;
    z-index: 1
}

.auth2__flow--single {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1
}

.auth2__card {
    min-height: auto;
    width: 100%;
    max-width: 440px;
    margin: 0;
    padding: 32px
}

.auth2__tabs {
    margin-top: 0;
    margin-bottom: 24px
}

.auth2__card-title {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #fff;
    text-align: center
}

.auth2__card-subtitle {
    margin-top: 8px;
    font-size: 14px;
    color: rgba(var(--color-text-rgb), .5);
    text-align: center
}

/* terms-of-service checkbox */
.auth2__terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0 4px;
    cursor: pointer;
    user-select: none
}

.auth2__terms input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0
}

.auth2__terms-box {
    position: relative;
    top: 1px;
    flex-shrink: 0;
    width: 19px;
    height: 19px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background .2s ease, border-color .2s ease
}

.auth2__terms-box svg {
    opacity: 0;
    transform: scale(.5);
    transition: opacity .2s ease, transform .2s ease
}

.auth2__terms input:checked + .auth2__terms-box {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-color: transparent
}

.auth2__terms input:checked + .auth2__terms-box svg {
    opacity: 1;
    transform: scale(1)
}

.auth2__terms input:focus-visible + .auth2__terms-box {
    box-shadow: 0 0 0 3px rgba(var(--color-accent-light-rgb), .25)
}

.auth2__terms-text {
    font-size: 13px;
    line-height: 150%;
    color: rgba(var(--color-text-rgb), .55)
}

.auth2__terms-text a {
    color: var(--color-accent-light);
    text-decoration: underline
}

.auth2__terms-text a:hover {
    color: #c4b5fd
}

.auth2__forgot-link, .auth2__forgot-back {
    display: block;
    color: rgba(var(--color-text-rgb), .5);
    font-size: 13px;
    text-decoration: none;
    transition: color .2s ease
}

.auth2__forgot-link:hover, .auth2__forgot-back:hover {
    color: var(--color-accent-light)
}

.auth2__forgot-link {
    margin-top: 10px;
    text-align: right
}

.auth2__forgot-back {
    margin-top: 24px;
    text-align: center
}

@media(max-width: 480px) {
    .auth2__card {
        padding: 24px
    }
}

/* ==========================================================================
   Partners page — modernized (reuses .acct__* referral components)
   ========================================================================== */

.partners2__lead {
    margin-top: 16px;
    max-width: 420px;
    font-size: 16px;
    line-height: 165%;
    color: rgba(var(--color-text-rgb), .5)
}

.partners2__cta {
    display: flex;
    gap: 12px;
    margin-top: 24px
}

.partners__start .acct__block-label {
    margin-top: 28px
}

.partners__start .acct__ref-link {
    max-width: 460px
}

.partners2__tiers {
    max-width: 420px
}

.partners2__panel {
    min-height: auto;
    margin: 0;
    padding: 28px
}

.partners2__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px
}

.partners2__panel-title {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #fff
}

@media(max-width: 900px) {
    .partners__start .acct__ref-link, .partners2__tiers {
        max-width: 100%
    }

    .partners2__cta {
        justify-content: center
    }
}

@media(max-width: 480px) {
    .partners2__cta {
        flex-direction: column
    }

    .partners2__cta .btn {
        width: 100%;
        text-align: center
    }
}

/* ==========================================================================
   Partners — new layout
   ========================================================================== */

.partners-lead {
    margin-top: 16px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 16px;
    line-height: 165%;
    color: rgba(var(--color-text-rgb), .5)
}

.partners-ref {
    margin-top: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto
}

.partners-cta {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: center
}

.partners-tiers {
    display: flex;
    gap: 14px;
    margin-top: 36px;
    justify-content: center;
    flex-wrap: wrap
}

.partners-tier-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 20px 28px;
    text-align: center;
    transition: border-color .25s ease, background .25s ease;
    flex: 1 1 0;
    min-width: 160px
}

.partners-tier-card--reached {
    border-color: var(--color-accent);
    background: rgba(var(--color-accent-rgb), .08)
}

.partners-tier-badge {
    display: inline-block;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--color-accent)
}

.partners-tier-desc {
    margin-top: 8px;
    font-size: 14px;
    color: rgba(var(--color-text-rgb), .5)
}

.partners-invited {
    margin-top: 36px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 28px
}

.partners-invited-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px
}

.partners-invited-title {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #fff
}

.partners-invited-count {
    font-weight: 700;
    font-size: 18px;
    color: var(--color-accent)
}

@media(max-width: 768px) {
    .partners-tiers {
        flex-direction: column
    }

    .partners-tier-card {
        flex: 1 1 auto
    }

    .partners-cta {
        justify-content: center
    }
}

@media(max-width: 480px) {
    .partners-cta {
        flex-direction: column
    }

    .partners-cta .btn {
        width: 100%;
        text-align: center
    }
}

/* ==========================================================================
   Admin panel
   ========================================================================== */

.admin__login-flow {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    margin: -50px 0;
    box-sizing: border-box
}

.admin__login-card {
    width: 100%;
    max-width: 380px;
    min-height: auto;
    padding: 16px 28px 20px
}

.admin__login-card .panel__form {
    margin-top: 14px
}

.admin__topbar {
    background: rgba(255, 255, 255, .03);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 16px 0
}

.admin__topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.admin__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 18px
}

.admin__topbar-user {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(var(--color-text-rgb), .6);
    font-size: 13px
}

.admin__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0
}

.admin__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px
}

.admin__shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    gap: 24px;
    align-items: flex-start
}

.admin__sidebar {
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: sticky;
    top: 24px
}

.admin__nav-section {
    padding: 6px 14px 2px;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(var(--color-text-rgb), .3)
}
.admin__nav-section:first-child {
    margin-top: 0
}

.admin__nav-link {
    padding: 10px 14px;
    border-radius: 12px;
    color: rgba(var(--color-text-rgb), .6);
    font-size: 14px;
    font-weight: 600;
    transition: all .2s ease
}

.admin__nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .04)
}

.admin__nav-link_active {
    color: #fff;
    background: linear-gradient(135deg, rgba(var(--color-accent-rgb), .25), rgba(var(--color-accent-light-rgb), .15));
    border: 1px solid rgba(var(--color-accent-light-rgb), .3)
}

.admin__content {
    flex: 1;
    min-width: 0
}

.admin__panel {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 14px
}

.admin__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px
}

.admin__panel-title {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #fff
}

.admin__panel-sub {
    font-size: 13px;
    color: rgba(var(--color-text-rgb), .45)
}

.admin__panel-title--sub {
    font-size: 15px;
    margin: 24px 0 12px
}

.admin__stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px
}

.admin__maintenance-banner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(var(--color-danger-rgb), .12);
    border: 1px solid rgba(var(--color-danger-rgb), .35);
    color: var(--color-danger);
    font-weight: 600;
    margin-bottom: 24px
}

.admin__maintenance-banner a {
    color: inherit;
    text-decoration: underline;
    margin-left: auto;
    white-space: nowrap
}

.admin__section-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: rgba(var(--color-text-rgb), .4);
    margin: 0 0 12px
}

.admin__attention-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 28px
}

.admin__attention-card {
    display: block;
    background: rgba(var(--color-accent-light-rgb), .08);
    border: 1px solid rgba(var(--color-accent-light-rgb), .3);
    border-radius: 20px;
    padding: 22px 24px;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease
}

.admin__attention-card:hover {
    border-color: rgba(var(--color-accent-light-rgb), .55);
    background: rgba(var(--color-accent-light-rgb), .13)
}

.admin__attention-card--empty {
    background: rgba(var(--color-success-rgb), .06);
    border-color: rgba(var(--color-success-rgb), .25)
}

.admin__attention-value {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 32px;
    color: #fff;
    margin-bottom: 6px
}

.admin__attention-label {
    font-size: 13px;
    color: rgba(var(--color-text-rgb), .6)
}

.admin__stat-card {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    padding: 16px 18px
}

.admin__stat-value {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: #fff;
    margin-bottom: 6px
}

.admin__stat-label {
    font-size: 13px;
    color: rgba(var(--color-text-rgb), .5)
}

.admin__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.admin__tab-btn {
    padding: 10px 16px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: rgba(var(--color-text-rgb), .55);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: -1px
}

.admin__tab-btn--active {
    color: var(--color-accent-light);
    border-bottom-color: var(--color-accent-light)
}

.admin__tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .1);
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
    vertical-align: middle
}

.admin__tab-btn--active .admin__tab-badge {
    background: rgba(255, 255, 255, .15)
}

.admin__note-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle
}

.admin__note-badge--red {
    background: rgba(248, 113, 113, .15);
    color: #f87171
}

.admin__note-badge--amber {
    background: rgba(245, 158, 11, .15);
    color: #f59e0b
}

.admin__note-badge--green {
    background: rgba(74, 222, 128, .15);
    color: #4ade80
}

.admin__note-badge--blue {
    background: rgba(96, 165, 250, .15);
    color: #60a5fa
}

.admin__note-badge--purple {
    background: rgba(167, 139, 250, .15);
    color: #a78bfa
}

.admin__note-badge--gray {
    background: rgba(148, 163, 184, .15);
    color: #94a3b8
}

.admin__note-swatches {
    display: flex;
    gap: 10px;
    margin-top: 14px
}

.admin__note-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0
}

.admin__note-swatch--active {
    border-color: #fff
}

.admin__sparkline {
    display: block;
    width: 100%;
    height: 28px;
    margin-top: 14px;
    opacity: .7
}

.admin__settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px
}

.admin__settings-field {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.admin__settings-field span {
    font-size: 12px;
    color: rgba(var(--color-text-rgb), .5)
}

.admin__settings-field .input {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px
}

.admin__file-picker {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 46px
}

.admin__file-picker-btn {
    flex-shrink: 0;
    padding: 12px 22px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s ease
}

.admin__file-picker-btn:hover {
    opacity: .9
}

.admin__file-picker-name {
    font-size: 13px;
    color: rgba(var(--color-text-rgb), .5);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.admin__theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px
}

.admin__theme-field {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.admin__theme-field span {
    font-size: 13px;
    color: rgba(var(--color-text-rgb), .6)
}

.admin__theme-swatch {
    display: flex;
    align-items: center;
    gap: 10px
}

.admin__theme-swatch input[type="color"] {
    width: 48px;
    height: 44px;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    background: none;
    cursor: pointer
}

.admin__theme-swatch .input {
    flex: 1;
    padding: 10px 12px;
    font-size: 13px;
    font-family: monospace
}

.admin__table-wrap {
    overflow-x: auto
}

.admin__table {
    width: 100%;
    border-collapse: collapse
}

.admin__table th {
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: rgba(var(--color-text-rgb), .4);
    padding: 0 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    white-space: nowrap
}

.admin__drag-handle {
    cursor: grab;
    color: rgba(var(--color-text-rgb), .2);
    user-select: none;
    vertical-align: middle;
    font-size: 16px;
    line-height: 1;
    white-space: nowrap
}

.admin__drag-handle:active {
    cursor: grabbing
}

.admin__drag-num {
    min-width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    vertical-align: middle;
    margin-right: 6px
}

#coins__table-body tr[draggable="true"]:active,
#reviews__table-body tr[draggable="true"]:active {
    opacity: .6
}

.admin__content input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 5px;
    background: rgba(255, 255, 255, .05);
    cursor: pointer;
    position: relative;
    transition: border-color .15s, background .15s;
    flex-shrink: 0;
    vertical-align: middle;
    margin: 0
}

.admin__content input[type="checkbox"]:hover {
    border-color: rgba(255, 255, 255, .35)
}

.admin__content input[type="checkbox"]:checked {
    background: var(--color-accent, #5b7fff);
    border-color: var(--color-accent, #5b7fff)
}

.admin__content input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 0;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg)
}

.admin__table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    font-size: 13px;
    color: rgba(var(--color-text-rgb), .8);
    vertical-align: top
}

.admin__table tr:last-child td {
    border-bottom: none
}

.admin__status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap
}

.admin__status--wait {
    background: rgba(var(--color-accent-light-rgb), .15);
    color: var(--color-accent-light)
}
.admin__status--done {
    background: rgba(var(--color-success-rgb), .15);
    color: var(--color-success)
}

.admin__status--err {
    background: rgba(var(--color-danger-rgb), .15);
    color: var(--color-danger)
}

.admin__status--owner {
    background: rgba(245, 158, 11, .15);
    color: #f59e0b
}

.admin__online-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, .06);
    color: rgba(var(--color-text-rgb), .5);
    vertical-align: middle
}

.admin__online-badge--on {
    background: rgba(var(--color-success-rgb), .15);
    color: var(--color-success)
}

.admin__online-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0
}

.admin__chat-item-email .admin__online-dot {
    margin-right: 6px;
    background: rgba(var(--color-text-rgb), .3)
}

.admin__chat-item-email .admin__online-dot--on {
    background: var(--color-success)
}

.admin__row-actions {
    display: flex;
    gap: 8px;
    white-space: nowrap
}

.admin__bulk-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: rgba(var(--color-accent-rgb), .12);
    border: 1px solid rgba(var(--color-accent-light-rgb), .3);
    font-size: 13px;
    color: #fff
}

.admin__btn-small {
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s ease
}

.admin__btn-small:hover {
    opacity: .85
}

.admin__btn-small--done {
    background: rgba(var(--color-success-rgb), .15);
    color: var(--color-success)
}

.admin__btn-small--cancel {
    background: rgba(var(--color-danger-rgb), .15);
    color: var(--color-danger)
}

.admin__msg {
    max-width: 80%;
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 150%
}

.admin__msg p {
    margin: 0
}

.admin__msg--user {
    background: rgba(255, 255, 255, .04);
    color: rgba(var(--color-text-rgb), .85)
}

.admin__msg--staff {
    background: rgba(var(--color-accent-rgb), .16);
    color: #fff;
    margin-left: auto
}

.admin__msg-meta {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: rgba(var(--color-text-rgb), .4)
}

.admin__chat-typing {
    margin: 0 16px 8px;
    font-size: 12px;
    font-style: italic;
    color: rgba(var(--color-text-rgb), .5)
}

.admin__chat-attach-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 16px 8px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .05);
    font-size: 12px;
    color: rgba(var(--color-text-rgb), .7)
}

.admin__chat-attach-preview span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.admin__chat-attach-preview button {
    flex-shrink: 0;
    border: none;
    background: none;
    color: rgba(var(--color-text-rgb), .5);
    font-size: 16px;
    line-height: 1;
    cursor: pointer
}

.admin__chat-attach-preview button:hover {
    color: var(--color-danger)
}

.admin__chat-attach-btn {
    flex-shrink: 0;
    width: 44px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
    color: rgba(var(--color-text-rgb), .6);
    cursor: pointer
}

.admin__chat-attach-btn:hover {
    color: #fff
}

.admin__attachment-img {
    display: block;
    margin-top: 4px
}

.admin__attachment-img img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 10px;
    display: block
}

.admin__attachment-file {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    color: inherit;
    font-size: 12px;
    text-decoration: underline
}

.admin__empty {
    padding: 32px 20px;
    text-align: center;
    color: rgba(var(--color-text-rgb), .45);
    font-size: 14px
}

.admin__staff-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px
}

.admin__staff-form .input {
    width: auto;
    flex: 1 1 180px
}

.admin__staff-form .btn {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap
}

.admin__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px
}

.admin__filters .input {
    width: auto;
    flex: 1 1 160px;
    padding: 12px 14px;
    font-size: 14px
}

.admin__filters .btn {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap
}

.admin__pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: center;
    margin-top: 20px
}

.admin__pagination-link {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(var(--color-text-rgb), .6);
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08)
}

.admin__pagination-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .06)
}

.admin__pagination-link.admin__pagination-link_active {
    color: #fff;
    background: linear-gradient(135deg, rgba(var(--color-accent-rgb), .35), rgba(var(--color-accent-light-rgb), .2));
    border-color: rgba(var(--color-accent-light-rgb), .4)
}

.admin__pagination-link.admin__pagination-link_disabled {
    opacity: .35;
    pointer-events: none
}

/* live chat (admin side) */
.admin__chat-shell {
    display: flex;
    gap: 20px;
    height: calc(100vh - 160px);
    min-height: 420px
}

.admin__chat-sidebar {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0
}

.admin__chat-list {
    flex: 1;
    overflow-y: auto;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    padding: 10px
}

.admin__chat-item {
    padding: 12px 14px;
    border-radius: 14px;
    cursor: pointer;
    margin-bottom: 4px;
    transition: background .2s ease
}

.admin__chat-item:hover {
    background: rgba(255, 255, 255, .04)
}

.admin__chat-item_active {
    background: linear-gradient(135deg, rgba(var(--color-accent-rgb), .2), rgba(var(--color-accent-light-rgb), .12));
    border: 1px solid rgba(var(--color-accent-light-rgb), .3)
}

.admin__chat-item-email {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.admin__chat-item-preview {
    margin-top: 2px;
    font-size: 12px;
    color: rgba(var(--color-text-rgb), .5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.admin__chat-item-time {
    margin-top: 4px;
    font-size: 11px;
    color: rgba(var(--color-text-rgb), .35)
}

.admin__chat-active {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    overflow: hidden
}

.admin__chat-user-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.admin__chat-user-bar span {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.admin__chat-user-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0
}

.admin__chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column
}

.admin__chat-input {
    display: flex;
    gap: 10px;
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, .08)
}

.admin__chat-input textarea {
    flex: 1;
    resize: none;
    min-height: 44px;
    max-height: 120px;
    font-family: inherit;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    padding: 10px 14px;
    color: rgba(var(--color-text-rgb), .9);
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    transition: border-color .15s
}

.admin__chat-input textarea:focus {
    border-color: var(--color-accent)
}

.admin__chat-input textarea::placeholder {
    color: rgba(255, 255, 255, .3)
}

.admin__chat-back {
    display: none;
    background: transparent;
    border: none;
    color: rgba(var(--color-text-rgb), .7);
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0
}

.admin__chat-back:hover {
    color: #fff
}

@media(max-width: 900px) {
    .admin__chat-shell {
        flex-direction: column;
        height: calc(100vh - 120px);
        min-height: 0
    }

    .admin__chat-sidebar {
        flex: 1;
        min-height: 0
    }

    .admin__chat-list {
        max-height: none;
        flex: 1
    }

    .admin__chat-active {
        flex: 1;
        min-height: 0
    }

    .admin__chat-back {
        display: flex;
        align-items: center
    }

    .admin__chat-user-bar {
        padding: 10px 12px;
        gap: 6px
    }

    .admin__chat-user-bar span {
        font-size: 13px
    }

    .admin__chat-user-actions {
        gap: 4px;
        flex-wrap: wrap
    }

    .admin__chat-user-bar {
        flex-wrap: wrap
    }

    .admin__btn-small {
        font-size: 11px;
        padding: 4px 8px
    }

    .admin__chat-input textarea {
        font-size: 16px;
        min-height: 38px
    }

    .admin__chat-input {
        padding: 10px 12px calc(env(safe-area-inset-bottom, 4px) + 10px)
    }

    .admin__chat-input .btn {
        white-space: nowrap;
        padding: 10px 14px;
        font-size: 13px
    }

    .admin__chat-messages {
        padding: 12px
    }

    .admin__chat-active {
        overflow-x: hidden
    }

    .admin__chat-shell {
        overflow: hidden
    }
}

.admin__chat-unread {
    display: inline-grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 99px;
    background: var(--color-accent, #6865f7);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
    vertical-align: middle
}

.admin__chat-assigned {
    display: inline-block;
    font-size: 11px;
    color: rgba(var(--color-text-rgb),.4);
    margin-left: auto
}

.admin__chat-tab {
    border: 1px solid rgba(255,255,255,.1);
    background: transparent;
    color: rgba(var(--color-text-rgb),.5);
    border-radius: 6px;
    cursor: pointer;
    padding: 6px 10px;
    font-size: 12px;
    transition: all .2s
}

.admin__chat-tab--active {
    background: rgba(var(--color-accent-light-rgb),.15);
    color: var(--color-accent-light);
    border-color: rgba(var(--color-accent-light-rgb),.3)
}

.admin__chat-new-indicator {
    position: sticky;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--color-accent, #6865f7);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,.3)
}

@media(max-width: 900px) {
    .admin__tabs {
        gap: 4px
    }

    .admin__tab-btn {
        padding: 8px 10px;
        font-size: 12px
    }

    .admin__tab-badge {
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        font-size: 10px;
        margin-left: 4px
    }

    .admin__shell {
        flex-direction: column;
        align-items: stretch
    }

    .admin__burger {
        display: flex
    }

    .admin__sidebar {
        display: none;
        flex: none;
        flex-direction: column;
        position: static;
        width: 100%;
        background: rgba(255, 255, 255, .03);
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 12px;
        padding: 8px;
        margin-bottom: 16px
    }

    .admin__sidebar_active {
        display: flex
    }

    .admin__panel {
        padding: 14px;
        border-radius: 16px
    }

    .admin__panel-sub {
        font-size: 12px;
        line-height: 1.4
    }

    .admin__settings-grid[style*="repeat(3"] {
        grid-template-columns: 1fr 1fr !important
    }

    .admin__settings-grid[style*="repeat(3"] label[style*="grid-column"] {
        grid-column: 1 / -1 !important
    }

    .admin__shell {
        padding: 16px 10px
    }

    .admin__stats-grid {
        grid-template-columns: 1fr
    }

    .admin__attention-grid {
        grid-template-columns: 1fr
    }

    .admin__stat-card {
        padding: 16px
    }

    .admin__attention-value {
        font-size: 26px
    }

    .admin__table th,
    .admin__table td {
        padding: 8px 6px;
        font-size: 12px
    }

    .admin__filters {
        flex-wrap: wrap !important
    }

    .admin__filters .input,
    .admin__filters select,
    .admin__filters button,
    .admin__filters .btn {
        max-width: none !important;
        width: 100%;
        flex: none
    }

    .admin__row-actions {
        flex-wrap: wrap
    }

    .admin__topbar-inner {
        padding: 0 10px
    }

    .admin__panel .input,
    .admin__panel .input.auth__input {
        padding: 12px 14px;
        font-size: 14px
    }

    .admin__panel .input::placeholder {
        font-size: 14px
    }

    .admin__content {
        overflow-x: hidden;
        max-width: 100%
    }

    .admin__shell {
        overflow-x: hidden;
        max-width: 100%
    }

    .admin__panel {
        overflow-x: auto;
        max-width: 100%
    }

    .admin__table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }

    .admin__chat-user-actions {
        flex-wrap: wrap
    }

    .admin__chat-user-bar {
        flex-wrap: wrap
    }

    .admin__tabs {
        width: 100%
    }

    .admin__tab-btn {
        flex: 1;
        text-align: center;
        justify-content: center
    }

    .admin__topbar-inner {
        max-width: 100%;
        overflow: hidden
    }

    .admin__sidebar {
        min-width: 0
    }

    .admin__topbar {
        max-width: 100%;
        overflow: hidden
    }
}

@media(max-width: 480px) {
    .admin__settings-grid[style*="repeat(3"] {
        grid-template-columns: 1fr !important
    }

    .admin__tab-btn {
        padding: 6px 8px;
        font-size: 11px
    }

    .admin__attention-card {
        padding: 16px 18px
    }

    .admin__shell {
        padding: 12px 6px
    }

    .admin__topbar-inner {
        padding: 0 6px
    }

    .admin__panel {
        padding: 12px 10px
    }

    .admin__chat-user-bar {
        padding: 8px 10px
    }

    .admin__chat-user-actions .admin__btn-small {
        font-size: 10px;
        padding: 3px 6px
    }

    .admin__chat-input {
        padding: 8px 10px calc(env(safe-area-inset-bottom, 4px) + 8px)
    }
}

.chat-widget__draft-preview {
    padding: 6px 12px;
    font-size: 12px;
    color: var(--color-text-secondary, #888);
    font-style: italic;
    border-top: 1px solid var(--color-border, #eee)
}

.chat-widget__draft-preview .draft-label {
    color: var(--color-accent, #4361ee);
    font-weight: 600
}

.admin__collapsible {
    overflow: hidden;
    transition: max-height .3s ease, opacity .2s ease;
    max-height: 5000px;
    opacity: 1
}

.admin__collapsible.collapsed {
    max-height: 0;
    opacity: 0;
    padding: 0 !important
}

.admin__collapse-toggle {
    cursor: pointer;
    user-select: none
}
.admin__chevron {
    color: rgba(255,255,255,.3);
    transition: transform .25s ease, color .2s;
    transform: rotate(-90deg);
    flex-shrink: 0
}
.admin__chevron.open {
    transform: rotate(0deg)
}
.admin__collapse-toggle:hover .admin__chevron {
    color: rgba(255,255,255,.6)
}

.bot-text__card {
    margin-bottom: 16px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px
}

.bot-text__photo-zone {
    margin-top: 8px;
    position: relative
}
.bot-text__drop {
    border: 2px dashed rgba(255,255,255,.12);
    border-radius: 10px;
    padding: 18px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s, box-shadow .2s
}
.bot-text__drop:hover {
    border-color: var(--color-accent, #6865f7);
    background: rgba(var(--color-accent-rgb,99,102,241),.04);
    box-shadow: 0 0 12px rgba(var(--color-accent-rgb,99,102,241),.15)
}
.bot-text__drop.dragover {
    border-color: var(--color-accent, #6865f7);
    background: rgba(var(--color-accent-rgb,99,102,241),.08);
    box-shadow: 0 0 20px rgba(var(--color-accent-rgb,99,102,241),.25)
}
.bot-text__drop svg {
    width: 28px;
    height: 28px;
    color: rgba(255,255,255,.2);
    margin-bottom: 6px;
    transition: color .2s
}
.bot-text__drop:hover svg,
.bot-text__drop.dragover svg {
    color: var(--color-accent, #6865f7)
}
.bot-text__drop span {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,.35);
    transition: color .2s
}
.bot-text__drop:hover span,
.bot-text__drop.dragover span {
    color: var(--color-accent, #6865f7)
}
.bot-text__file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255,255,255,.04);
    border-radius: 10px
}
.bot-text__file-icon {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    background: rgba(var(--color-accent-rgb,99,102,241),.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}
.bot-text__file-icon svg {
    width: 16px;
    height: 16px;
    color: var(--color-accent, #6865f7)
}
.bot-text__file-name {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: rgba(255,255,255,.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}
.bot-text__file-remove {
    width: 26px;
    height: 26px;
    border: none;
    background: rgba(255,255,255,.06);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.35);
    flex-shrink: 0;
    transition: background .15s, color .15s
}
.bot-text__file-remove:hover {
    background: rgba(var(--color-danger-rgb,239,68,68),.15);
    color: var(--color-danger, #ef4444)
}
.bot-text__photo-zone .hidden {
    display: none !important
}
