.gold-auth-page {
    min-height: 100vh;
    margin: 0;
    color: #f8f1dc;
    background-color: #050706;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}
    .lime-lang{
    display: none !important;
}
.gold-auth-page,
.gold-auth-page * {
    box-sizing: border-box;
}

.gold-auth-page a {
    color: #ffd777;
    text-decoration: none;
}

.gold-auth-page button,
.gold-auth-page input {
    font: inherit;
}

.gold-auth-page button {
    cursor: pointer;
}

.gold-login-page {
    background-image: url("/static/gold/1.jpg");
}

.gold-register-page {
    background-image: url("/static/gold/2.jpg");
}

.gold-login-page,
.gold-register-page {
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.gold-auth {
    position: relative;
    width: 100%;
    max-width: 430px;
    min-height: 100vh;
    margin: 0 auto;
    padding: max(16px, env(safe-area-inset-top)) 20px max(16px, env(safe-area-inset-bottom));
    overflow: hidden;
}

.gold-auth::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(4, 5, 4, .08), rgba(4, 5, 4, .16) 44%, rgba(4, 5, 4, .28)),
        radial-gradient(circle at 50% 2%, rgba(255, 211, 115, .18), transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(207, 137, 34, .18), transparent 38%);
}

.gold-auth__hero {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 48px;
    text-align: center;
}

.gold-auth__hero--compact {
    padding-top: 28px;
}

.gold-auth__mark {
    position: relative;
    width: 62px;
    height: 36px;
    margin-bottom: 6px;
}

.gold-auth__mark span {
    position: absolute;
    bottom: 0;
    width: 32px;
    height: 32px;
    border-left: 7px solid #f8cd63;
    border-top: 7px solid #f8cd63;
    filter: drop-shadow(0 4px 14px rgba(255, 200, 86, .45));
    transform: rotate(45deg) skew(-10deg, -10deg);
}

.gold-auth__mark span:nth-child(1) {
    left: 4px;
    transform: rotate(45deg) skew(-10deg, -10deg) scale(.8);
}

.gold-auth__mark span:nth-child(2) {
    left: 16px;
}

.gold-auth__mark span:nth-child(3) {
    right: 4px;
    transform: rotate(45deg) skew(-10deg, -10deg) scale(.8);
}

.gold-auth__hero h1 {
    margin: 0;
    color: #ffe79c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0;
    text-shadow: 0 2px 0 #6f4917, 0 10px 24px rgba(0, 0, 0, .75);
    text-transform: uppercase;
}

.gold-auth__hero p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.gold-auth__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    margin-top: 16px;
    color: #fff4d0;
}

.gold-auth__features--bottom {
    position: relative;
    z-index: 1;
    grid-template-columns: repeat(4, 1fr);
    margin: 14px 0 0;
}

.gold-auth__features div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 0 5px;
    border-right: 1px solid rgba(255, 255, 255, .18);
}

.gold-auth__features div:last-child {
    border-right: 0;
}

.gold-auth__features span {
    max-width: 88px;
    color: rgba(255, 255, 255, .86);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
}

.gold-icon {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    color: #ffd36b;
}

.gold-icon::before,
.gold-icon::after {
    content: "";
    position: absolute;
    background: currentColor;
}

.gold-icon-bars::before {
    left: 4px;
    bottom: 5px;
    width: 20px;
    height: 13px;
    border-radius: 2px 2px 0 0;
    box-shadow: inset -7px 0 0 rgba(0, 0, 0, .35), inset 7px 0 0 rgba(0, 0, 0, .24);
}

.gold-icon-growth::before {
    left: 4px;
    bottom: 5px;
    width: 5px;
    height: 11px;
    box-shadow: 8px -5px 0 currentColor, 16px -11px 0 currentColor;
}

.gold-icon-shield::before {
    left: 6px;
    top: 3px;
    width: 16px;
    height: 20px;
    clip-path: polygon(50% 0, 95% 16%, 86% 72%, 50% 100%, 14% 72%, 5% 16%);
}

.gold-icon-community::before {
    left: 7px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: -9px 6px 0 -3px currentColor, 9px 6px 0 -3px currentColor, 0 13px 0 3px currentColor;
}

.gold-icon-pick::before {
    left: 12px;
    top: 4px;
    width: 4px;
    height: 22px;
    border-radius: 3px;
    transform: rotate(40deg);
}

.gold-icon-pick::after {
    left: 7px;
    top: 3px;
    width: 17px;
    height: 4px;
    border-radius: 5px;
    transform: rotate(-25deg);
}

.gold-auth__panel {
    position: relative;
    z-index: 1;
    margin-top: 96px;
}

.gold-register-page .gold-auth__panel {
    margin-top: 78px;
}

.gold-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gold-field {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(216, 229, 226, .34);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(19, 28, 29, .9), rgba(9, 14, 14, .78));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 12px 24px rgba(0, 0, 0, .22);
    backdrop-filter: blur(10px);
}

.gold-field:focus-within {
    border-color: rgba(255, 214, 116, .76);
    box-shadow: 0 0 0 3px rgba(255, 211, 107, .12), 0 12px 24px rgba(0, 0, 0, .24);
}

.gold-field__icon,
.gold-field__action {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: rgba(255, 255, 255, .86);
}

.gold-field__icon svg,
.gold-field__action svg,
.gold-back-link svg {
    width: 18px;
    height: 18px;
}

.gold-field svg,
.gold-back-link svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.gold-field input {
    min-width: 0;
    flex: 1;
    height: 42px;
    border: 0;
    outline: 0;
    color: #fff7e4;
    background: transparent;
    font-size: 15px;
}

.gold-field input::placeholder {
    color: rgba(255, 255, 255, .64);
}

.gold-field__action {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .58);
}

.gold-field__action.is-visible {
    color: #ffd36b;
}

.gold-form__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 26px;
}

.gold-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
}

.gold-check--terms {
    align-items: flex-start;
    line-height: 1.4;
}

.gold-check input {
    position: relative;
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 18px;
    appearance: none;
    border: 1px solid rgba(255, 211, 107, .6);
    border-radius: 6px;
    background: rgba(255, 211, 107, .14);
}

.gold-check input:checked {
    border-color: #ffdf82;
    background: linear-gradient(180deg, #ffe596, #e5ad49);
}

.gold-check input:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #141006;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.gold-button {
    width: 100%;
    min-height: 44px;
    margin-top: 4px;
    border: 0;
    border-radius: 12px;
    color: #151006;
    background: linear-gradient(180deg, #ffe698 0%, #f4c466 50%, #d99832 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .48), 0 14px 28px rgba(0, 0, 0, .3);
    font-size: 18px;
    font-weight: 800;
}

.gold-button:active {
    transform: translateY(1px);
}

.gold-auth__switch {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: 15px;
    text-align: center;
}

.gold-auth__switch a {
    margin-left: 4px;
    font-weight: 800;
}

.gold-auth__footer {
    position: relative;
    z-index: 1;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, .64);
    font-size: 11px;
    letter-spacing: 7px;
    line-height: 1.8;
    text-align: center;
    text-transform: uppercase;
}

.gold-register-page .gold-auth__footer {
    margin-top: 14px;
}

.gold-back-link {
    position: absolute;
    z-index: 3;
    top: max(26px, env(safe-area-inset-top));
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #fff;
}

@media (max-width: 360px) {
    .gold-auth {
        padding-right: 16px;
        padding-left: 16px;
    }

    .gold-auth__hero {
        padding-top: 36px;
    }

    .gold-auth__hero--compact {
        padding-top: 24px;
    }

    .gold-auth__hero h1 {
        font-size: 18px;
    }

    .gold-auth__hero p {
        font-size: 10px;
        letter-spacing: 1.7px;
    }

    .gold-auth__panel,
    .gold-register-page .gold-auth__panel {
        margin-top: 66px;
    }

    .gold-field {
        min-height: 42px;
    }

    .gold-field input {
        height: 40px;
        font-size: 15px;
    }

    .gold-button {
        min-height: 42px;
        font-size: 18px;
    }
}

.lime-auth-page {
    min-height: 100vh;
    margin: 0;
    color: #ffffff;
    background: #eaf1fb;
    font-family: Arial, Helvetica, sans-serif;
}

.lime-auth-page,
.lime-auth-page * {
    box-sizing: border-box;
}

.lime-auth-page a {
    color: inherit;
    text-decoration: none;
}

.lime-auth-page button,
.lime-auth-page input {
    font: inherit;
}

.lime-auth-page button {
    cursor: pointer;
}

.lime-auth {
    position: relative;
    width: min(100vw - 24px, 394px);
    min-height: calc(100vh - 32px);
    margin: 16px auto;
    padding: 16px 26px 10px;
    overflow: hidden;
    border-radius: 6px;
    background:
        radial-gradient(circle at 15% 18%, rgba(255,255,255,.08), transparent 26%),
        linear-gradient(108deg, #404040 0%, #343434 36%, #030303 72%, #000 100%);
    box-shadow: 0 1px 2px rgba(0,0,0,.18);
}

.lime-lang {
    position: absolute;
    z-index: 4;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 29px;
    padding: 0 9px;
    border: 0;
    border-radius: 5px;
    color: #fff;
    background: rgba(80,80,80,.9);
    font-size: 12px;
    line-height: 1;
}

.lime-lang svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #ceef35;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.lime-brand {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 28px;
}

.lime-logo {
    position: relative;
    width: 102px;
    height: 102px;
    border: 5px solid #eeeeee;
    border-radius: 50%;
    background: #11e719;
    box-shadow: inset 0 0 0 5px #f7f7f7;
}

.lime-logo::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    background: #f4f4f4;
}

.lime-logo span {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #11e719;
    transform: translate(-50%, -50%);
}

.lime-logo i {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 9px;
    width: 18px;
    height: 36px;
    border-radius: 18px 18px 7px 7px;
    background: #11e719;
    transform-origin: 50% 42px;
    transform: translateX(-50%) rotate(calc(var(--slice) * 60deg));
}

.lime-logo i:nth-of-type(1) { --slice: 0; }
.lime-logo i:nth-of-type(2) { --slice: 1; }
.lime-logo i:nth-of-type(3) { --slice: 2; }
.lime-logo i:nth-of-type(4) { --slice: 3; }
.lime-logo i:nth-of-type(5) { --slice: 4; }
.lime-logo i:nth-of-type(6) { --slice: 5; }

.lime-brand h1 {
    margin: 18px 0 0;
    color: #c9ec2d;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1;
}

.lime-auth-card {
    position: relative;
    z-index: 3;
    margin-top: 39px;
}

.lime-tabs {
    display: flex;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 31px;
}

.lime-tabs button,
.lime-tabs span {
    position: relative;
    min-width: 0;
    padding: 0 0 13px;
    border: 0;
    color: rgba(255,255,255,.52);
    background: transparent;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}

.lime-tabs button.is-active,
.lime-tabs span {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.lime-tabs button.is-active::after,
.lime-tabs span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #fff;
}

.lime-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.lime-field {
    display: block;
}

.lime-field__label {
    display: block;
    margin-bottom: 12px;
    color: rgba(255,255,255,.52);
    font-size: 14px;
    line-height: 1;
}

.lime-field__control {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 14px;
    border-radius: 9px;
    background: #6d7c2b;
}

.lime-field__control svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.lime-field__control input {
    min-width: 0;
    flex: 1;
    height: 100%;
    margin-left: 14px;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    font-size: 16px;
}

.lime-field__control input::placeholder {
    color: #b8c8db;
    opacity: 1;
}

.lime-field__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0 -4px 0 8px;
    padding: 0;
    border: 0;
    background: transparent;
}

.lime-field__action svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
}

.lime-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 53px;
    border-radius: 999px;
    font-size: 16px;
    line-height: 1;
}

.lime-button--primary {
    margin-top: 13px;
    border: 0;
    color: #fff;
    background: #ccee34;
}

.lime-button--outline {
    margin-top: 20px;
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
}

.lime-support-avatar {
    position: absolute;
    z-index: 5;
    right: 10px;
    top: 287px;
    width: 47px;
    height: 47px;
    padding: 0;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.72);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0,0,0,.28);
}

.lime-support-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lime-wallet-art {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 64px;
    width: 220px;
    height: 180px;
    opacity: .28;
    transform: translateX(-20%);
    pointer-events: none;
}

.lime-wallet-art::before {
    content: "";
    position: absolute;
    left: 62px;
    top: 8px;
    width: 0;
    height: 0;
    border-right: 52px solid transparent;
    border-left: 52px solid transparent;
    border-bottom: 68px solid #85b848;
    transform: rotate(-4deg);
}

.lime-wallet-art::after {
    content: "$";
    position: absolute;
    left: 84px;
    top: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    color: #9f3e20;
    background: radial-gradient(circle at 38% 35%, #f7d7a0, #b47b45 72%);
    box-shadow: 54px 28px 0 -4px #2f3945, 75px 44px 0 -14px #b78b4f;
    font-size: 42px;
    font-weight: 800;
}

.lime-support-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

.lime-support-modal.is-open {
    display: flex;
}

.lime-support-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0,0,0,.72);
}

.lime-support-sheet {
    position: relative;
    z-index: 1;
    width: min(100vw - 24px, 394px);
    min-height: 426px;
    padding: 14px 10px 34px;
    border-radius: 16px 16px 0 0;
    color: #040404;
    background: #fff;
}

.lime-support-sheet h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
}

.lime-support-sheet p {
    margin: 14px 0 20px;
    color: #7e8da8;
    font-size: 14px;
    text-align: center;
}

.lime-support-option {
    display: flex;
    align-items: center;
    height: 78px;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    color: #000;
    background: #f6f7fa;
}

.lime-telegram-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 59px;
    height: 59px;
    flex: 0 0 59px;
    border-radius: 10px;
    background: linear-gradient(180deg, #43c8ef, #1687b5);
    box-shadow: 0 3px 5px rgba(0,0,0,.22);
}

.lime-telegram-icon svg {
    width: 42px;
    height: 42px;
    fill: #fff;
}

.lime-support-option strong {
    min-width: 0;
    flex: 1;
    margin-left: 14px;
    font-size: 16px;
    font-weight: 400;
}

.lime-support-option em {
    color: #9aa4af;
    font-size: 31px;
    font-style: normal;
    line-height: 1;
}

@media (min-height: 780px) {
    .lime-auth {
        min-height: calc(100vh - 32px);
    }
}

@media (max-width: 360px) {
    .lime-auth {
        width: calc(100vw - 20px);
        padding-right: 24px;
        padding-left: 24px;
    }

    .lime-tabs {
        gap: 20px;
    }

    .lime-tabs button.is-active {
        font-size: 15px;
    }

    .lime-tabs button {
        font-size: 13px;
    }

    .lime-support-avatar {
        right: 8px;
    }
}
