html,body{overflow-x:hidden}.register-shell { width:min(calc(100% - 16px),390px); max-width:390px; }

.back-link {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    padding: 7px 12px;
    border: 1px solid rgba(220,163,67,.24);
    border-radius: 999px;
    background: rgba(255,255,255,.76);
    color: #7a562b;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.back-link:first-letter { font-size: 20px; font-weight: 400; line-height: 10px; }

.register-hero {
    position: relative;
    height: 116px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 17px;
    background: #fffdf9;
    box-shadow: 0 10px 20px rgba(129,94,55,.07);
}
.register-hero__copy { position: relative; z-index: 2; padding: 25px 16px; }
.register-hero h1 { margin: 0; font-size: 27px; letter-spacing: .02em; }
.register-hero .gold-line { margin-top: 10px; }
.register-hero > img { position: absolute; right: -28px; bottom: -220px; width: 310px; height: 350px; object-fit: contain; object-position: center top; opacity: .78; }
.register-hero__icon { position: absolute; top: 31px; right: 17px; z-index: 3; display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(220,163,67,.32); border-radius: 14px; background: rgba(255,255,255,.84); color: var(--gold-deep); box-shadow: 0 6px 14px rgba(133,99,58,.1); }
.register-hero__icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.register-message { margin-top: 14px; padding: 11px 14px; border-radius: 12px; font-size: 12px; line-height: 1.5; text-align: center; }
.register-message--success { border: 1px solid #b9dfc5; background: #effaf2; color: #22703b; }
.register-message--error { border: 1px solid #edc4b8; background: #fff3ef; color: #a44c35; }
.register-panel { display: grid; gap: 16px; margin-top: 14px; padding: 14px; border: 1px solid rgba(255,255,255,.9); border-radius: 17px; background: rgba(255,255,255,.62); box-shadow: 0 12px 25px rgba(129,94,55,.08); }
.field { position: relative; display: flex; align-items: center; min-height: 52px; padding: 0 13px; border: 1px solid #efd9b4; border-radius: 13px; background: rgba(255,255,255,.92); box-shadow: 0 0 0 3px rgba(239,194,111,.1); transition: border-color .2s, box-shadow .2s; }
.field:focus-within { border-color: #d8952d; box-shadow: 0 0 0 3px rgba(239,194,111,.2); }
.field__icon { display: grid; width: 21px; margin-right: 8px; place-items: center; color: #bd7920; }
.field__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.field__label { position: absolute; top: 50%; left: 32px; padding: 0 4px; background: transparent; color: #9b9183; font-size: 13px; line-height: 16px; transform: translateY(-50%); transition: top .36s cubic-bezier(.22, .61, .36, 1), transform .36s cubic-bezier(.22, .61, .36, 1), color .36s ease, font-size .36s ease, background .36s ease; will-change: top, transform; pointer-events: none; }
.field:focus-within .field__label, .field:has(input:not(:placeholder-shown)) .field__label { top: -8px; background: #fffdf9; color: #9b672c; font-size: 12px; transform: translateY(0); }
.field__label em { color: #d84d32; font-style: normal; }
.field input { min-width: 0; flex: 1; height: 44px; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 13px; }
.field input::placeholder { color: transparent; }
.password-toggle { display: grid; width: 25px; height: 25px; padding: 0; place-items: center; border: 0; background: transparent; color: #b7b0a3; cursor: pointer; }
.eye-icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.eye-icon--open { display: none; }
.password-toggle.is-visible { color: #bb771f; }
.password-toggle.is-visible .eye-icon--closed { display: none; }
.password-toggle.is-visible .eye-icon--open { display: block; }
.password-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: -7px 0 0; }
.password-meter i { height: 4px; border-radius: 4px; background: #e9e0d3; }
.password-meter i:first-child { background: #df2c38; }
.password-meter span { grid-column: 1 / -1; margin-top: -4px; color: #7b6c5b; font-size: 12px; }
.password-meter.is-weak i:nth-child(2) { background: #de7d16; }
.password-meter.is-medium i:nth-child(1), .password-meter.is-medium i:nth-child(2), .password-meter.is-medium i:nth-child(3) { background: #e1ae13; }
.password-meter.is-strong i { background: #159c50; }
.field--invite { margin-top: 23px; }
.submit-button { min-height: 53px; border: 1px solid rgba(255,255,255,.85); border-radius: 14px; background: linear-gradient(135deg, #f2d18a, #d59a37); box-shadow: 0 7px 14px rgba(195,137,39,.2); color: #5c3d1d; font-size: 15px; letter-spacing: .45em; cursor: pointer; }
.form-link { color: #8e806f; font-size: 13px; text-align: center; text-decoration: none; }
.form-link--main { min-height: 55px; padding: 18px; border: 1px solid rgba(255,255,255,.8); border-radius: 14px; background: rgba(255,255,255,.63); color: #8b5e2b; font-weight: 700; }

.faq-list { display: grid; gap: 10px; margin-top: 20px; }
.faq-item { overflow: hidden; border: 1px solid rgba(222,166,76,.35); border-radius: 12px; background: rgba(255,255,255,.82); }
.faq-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 0 13px; border: 0; background: transparent; color: #54483b; text-align: left; cursor: pointer; }
.faq-trigger strong { font-size: 12px; }
.faq-trigger span { color: #c6872a; font-size: 21px; font-weight: 300; }
.faq-item p { display: none; margin: -1px 13px 14px; color: #927e68; font-size: 12px; line-height: 1.6; }
.faq-item.is-open p { display: block; }

.register-shell { padding-top: 12px; padding-bottom: 16px; }.register-hero { height: 100px; }.register-hero__copy { padding-top: 18px; padding-bottom: 22px; }.register-hero > img { bottom: -205px; }.register-message { margin-top: 8px; padding: 8px 12px; }.register-panel { gap: 10px; margin-top: 9px; padding: 10px; }.field { min-height: 48px; }.field input { height: 40px; }.password-meter { gap: 7px; margin-top: -4px; }.field--invite { margin-top: 12px; }.submit-button { min-height: 48px; }.form-link--main { min-height: 48px; padding: 14px; }.faq-list { gap: 7px; margin-top: 12px; }
@media (max-width: 430px) {
    .register-shell { width: calc(100% - 16px); margin-top: 8px; margin-bottom: 8px; padding-right: 10px; padding-left: 10px; border-radius: 25px; }
    .register-hero > img { right: -55px; }
}
