@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+HK:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Convergence&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Convergence&family=Noto+Sans+TC:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('./spacenet.account.css');
@import url('./spacenet.server.css');
@import url('./spacenet.common.css');
@import url('./spacenet.comment.css');
@import url('./spacenet.cookie.css');
@import url('./spacenet.info.css');
@import url('./dynamic.css');
@import url('./animation.css');
@import url('./error.css');

/*!* Mobile *!*/
/*@import url('./mobile/main.mobile.css');*/
/*@import url('./mobile/spacenet.account.mobile.css');*/
/*@import url('./mobile/spacenet.comment.mobile.css');*/
/*@import url('./mobile/spacenet.common.mobile.css');*/
/*@import url('./mobile/spacenet.server.mobile.css');*/

* {
    /* Clear padding effect settings from browser */
    padding: 0;
    margin: 0;
}

html, body {
    min-height: 2000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    scrollbar-width:auto;
    scrollbar-color: rgba(114, 114, 114, 0.3) transparent;
}

html, body .disable_bar {
    padding-top: 0;
}

body::-webkit-scrollbar {
    width: 20px; /* 垂直 scrollbar 寬度 */
}

body::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    min-height: 20px;
}

body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.background {
    position: fixed;
    width: 100%; height: 100%;
    background-size: cover;
    filter: blur(2px);
    z-index: -1;
}

/* Toplevel */

.toplevel_container {
    position: fixed;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 3.2em;
    width: 100%;
    z-index: 1000;
    /*transition: height 0.3s ease-in-out;*/
}

.toplevel_container_placeholder {
    position: fixed;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 3.2em;
    width: 100%;
    z-index: 1000;
}

.toplevel_container .title_img {
    aspect-ratio: 1 / 1;
    height: 100%;
    max-height: 2.5em;
    border-radius: 5px;
}

.toplevel_container input {
    aspect-ratio: 1 / 1;
    height: 100%;
    max-height: 2.5em;
}

.toplevel_container .toplevel_title {
    align-items: center;
    justify-content: center;
    height: 100%;
    display: flex;
    padding-left: 15px;
    padding-right: 15px;
}

.toplevel_title h3 {
    color: #ffffff;
    white-space: nowrap;
    font-size: 20px;
}

.top_nav_bar {
    backdrop-filter: blur(1px);
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.top_nav_item {
    list-style-type: none;
    display: block;
    text-align: center;
    text-decoration: none;
}

/* 不使用<a>元素時請記得加入padding: 15px;來調整排版 */

.top_nav_item a {
    font-family: 'Noto Sans HK', serif;
    float: left;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    /* 上15左右30 */
    padding: 0.6em 30px; 
    /*transition: background-color 0.3s ease;*/
}

.title_img_alt {
    font-family: 'Roboto', serif;
    display: none;
    color: #ffffff;
    font-weight: lighter;
}

.toplevel_container.wrapped_mode {
    height: 2.4em;
}

.toplevel_container.wrapped_mode .title_img {
    display: none;
    color: #ffffff;
    /*animation: fadeIn 1s;*/
}

.toplevel_container.wrapped_mode .title_img_alt {
    display: block;
}

.toplevel_container.wrapped_mode .top_nav_item a {
    font-size: 14px;
    font-weight: 400;
}

.toplevel_container.wrapped_mode .top_nav_item {
    font-size: 12px;
    font-weight: bold;
}

.top_nav_item :hover {
    background-color: rgba(69, 255, 240, 0.274);
    color: #ffa600;
}

.top_nav_item :active {
    background-color: rgba(69, 255, 240, 0.274);
    color: #ffa600;
}

.top_nav_item_hidden {
    display: none;
}

.bot_auth_container {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 300px;
    width: 300px;

    margin: auto;            /* 四邊自動，XY 都置中 */
    position: absolute;      /* 搭配 absolute 定位 */
    top: 0; bottom: 0; left: 0; right: 0;
}


.bot_auth_info {
    color: white;
    font-weight: bold;
    z-index: 100;
}