@charset 'utf-8';
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+HK:wght@900&family=Noto+Sans+SC:wght@300;400;500;700;900&family=Noto+Sans+TC:wght@300;700;900&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Roboto+Flex:opsz,wght@8..144,100..1000&family=Roboto:wght@300;400;500&family=ZCOOL+QingKe+HuangYou&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    color: #676767;
    background-color: #0a0a0a;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 2.2rem 2.2rem;
    font-family: 'Noto Sans SC', 'Noto Sans TC', serif;
    -webkit-overflow-scrolling: unset;
    font-weight: 500;
}

html {
    font-size: 3.3333vw;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-family: 'Noto Serif TC', serif;
}

img {
    max-width: 100%;
    display: block;
}

.uni-sample-toast {
    z-index: 9999999;
}

@media screen and (max-width: 1000px) and (min-width: 550px) {
    html {
        font-size: 2vw;
    }
}

@media screen and (min-width: 1000px) {
    html {
        font-size: 18px;
    }

}

/*卷軸設定*/
::-webkit-scrollbar {
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 80px;
    overflow: hidden;
}

::-webkit-scrollbar-track {
    background-color: #F5F5F5;
    border-radius: 100px;
}

::-webkit-scrollbar-thumb {
    border-radius: 80px;
    background: #C2B9B9;
    border-radius: 100px;
}

/*!卷軸設定*/

/*分流頁*/
.wrapper.login {
    padding: 3rem 1.2rem 6rem;
    min-height: 100vh;
    max-width: 550px;
    margin: auto;
    position: relative;
    overflow: hidden;
    z-index: 30;
}

.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    z-index: 20;
}

.particle {
    position: absolute;
    left: var(--x, 50%);
    top: 100%;
    width: 80px;
    height: 80px;
    opacity: 0.4;
    color: var(--chip-color, #d4af37);
    transform: translateY(0) rotate(var(--rot, 0deg));
    animation: chip-float var(--duration, 16s) linear infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes chip-float {
    from {
        transform: translateY(0) rotate(var(--rot, 0deg));
    }

    to {
        transform: translateY(-140vh) rotate(calc(var(--rot, 0deg) + var(--spin, 360deg)));
    }
}

.chip-svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

.split .logo-login,
.split .login_box_big {
    position: relative;
    z-index: 1;
}

.split .service_fix_btn {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    overflow: hidden;
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.5);
    z-index: 20;
}

.service_fix_btn img {
    width: 100%;
    display: block;
}

.split .logo-login {
    width: 100%;
    display: block;
    position: relative;
    margin-bottom: 2rem;
}

.split .logo-login .logo_box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.split .logo-login .logo {
    position: relative;
    width: 9rem;
    height: 3rem;
    display: block;
    background: url('../images/logo.png?v=3');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.split .logo-login .logo_tit {
    color: #e6e6e6;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
}

.split .logo-login .ver {
    color: #8a8a8a;
    font-size: 1rem;
}

.lang_switch {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

.lang_switch select {
    color-scheme: dark;
    background: #17181b;
    color: #f2f2f2;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.4rem;
    padding: 0.35rem 0.6rem;
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
}

.login_box.split_box {
    padding: 0;
    clear: both;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login_box.split_box .line_card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    background: #17181b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.8rem;
    padding: 1.1rem 1.2rem;
    text-decoration: none;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.login_box.split_box .line_card:hover {
    background: #1e1f23;
}

.line_icon {
    width: 2.6rem;
    height: 2.6rem;
    object-fit: contain;
    flex-shrink: 0;
}

.line_card_main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
}

.line_card_side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    text-align: right;
}

.line_name {
    color: #f2f2f2;
    font-size: 1.4rem;
    font-weight: 700;
}

.line_speed {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.35;
    font-size: 0.9rem;
    min-height: 2.4em;
}

.line_speed_ms {
    font-weight: 700;
}

.line_card.is-fast .line_speed_ms,
.line_card.is-fast .line_speed_level {
    color: #22c53e;
}

.line_card.is-mid .line_speed_ms,
.line_card.is-mid .line_speed_level {
    color: #ffb020;
}

.line_card.is-slow .line_speed_ms,
.line_card.is-slow .line_speed_level {
    color: #ff5a5a;
}

.line_status_text {
    font-size: 0.9rem;
    color: #9a9a9a;
}

.line_card.is-online .line_status_text {
    color: #7b8fae;
}

.line_card.is-offline {
    opacity: 0.5;
    pointer-events: none;
}

.line_card.is-offline .line_status_text {
    color: #ff5a5a;
}

/*!分流頁*/