@font-face {
    font-family: 'LinHaiLiShu';
    src: url('../ttf/tx.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    height: 100%;
    overflow: hidden;
}
body {
    min-height: 100%;
    overflow: hidden;
    touch-action: none;
    font-family: 'LinHaiLiShu', -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(180deg, color(display-p3 0.898 0.925 0.992) 0%, #ffffff 35%);
    background-attachment: fixed;
    color: #1d1d1f;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}
.container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 24px 20px;
}
.logo {
    position: absolute;
    left: 31px;
    top: 230px;
    width: 70px;
    height: 70px;
}
.logo svg {
    width: 100%;
    height: 100%;
}
.login-tabs {
    position: absolute;
    left: 36px;
    top: 335px;
    display: flex;
    gap: 32px;
}
.login-tabs span {
    font-size: 20px;
    font-weight: 500;
    color: #8e8e93;
    cursor: pointer;
    transition: all 0.2s ease;
}
.login-tabs span.sep {
    color: #c7c7cc;
    cursor: default;
}
.login-tabs span.active {
    color: #007aff;
}
.input-field {
    position: absolute;
    left: 36px;
    right: 36px;
    top: 410px;
    width: auto;
    height: 54px;
    border: none;
    border-radius: 12px;
    outline: none;
    background: #ffffff;
    font-family: 'LinHaiLiShu', -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    font-size: 20px;
    color: #1d1d1f;
    padding: 0 14px 0 0;
    transition: border-color 0.2s ease;
}
.input-field:focus {
    border-color: #007aff;
}
.input-field::placeholder {
    color: #aeaeb2;
}
.divider {
    position: absolute;
    left: 36px;
    right: 36px;
    top: 470px;
    height: 1px;
    background: #d2d2d7;
}
.password-field {
    top: 490px;
}
.divider-pwd {
    top: 548px;
}
.forgot-link {
    position: absolute;
    right: 36px;
    top: 565px;
    font-size: 16px;
    color: #007aff;
    text-decoration: none;
}
.login-btn {
    position: absolute;
    left: 36px;
    right: 36px;
    top: 610px;
    height: 50px;
    border: none;
    border-radius: 8px;
    background: #3853e3;
    background: color(display-p3 0.220 0.325 0.890);
    color: #ffffff;
    font-family: 'LinHaiLiShu', -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.login-btn:active {
    opacity: 0.7;
}
.telegram-info {
    position: absolute;
    left: 36px;
    top: 410px;
    font-size: 20px;
    color: #1d1d1f;
}
