/* 🔷 NUI X 信息 =============================================================================================================== */
/*
    · NUCLEUS USER INTERFACE X : 2026
    · 作者：Nucleo-Galattico & Deepseek（我不会写亚克力材质哼哼哼啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊）
    · 版本:R 10.0 for GWiki（2026.2）
    · 防缓存冲突代号：99999

    · 注意！该版本只适用于银河Wiki板块服务，不包含其他服务的类
    · 不包含所有控件，请勿用于自行开发
*/

/* 🔷 字体声明 =============================================================================================================== */
/*975 朦胧黑体 字体家族名：LXGW 975 HazyGo SC 500W*/@import url("https://fontsapi.zeoseven.com/144/main/result.css");
/*Baloo 2 字体家族名：ZSFT-o*/@import url("data:text/css,%40font-face%7Bfont-family%3A%22ZSFT-o%22%3Bsrc%3Aurl(%22https%3A%2F%2Ffontsapi.zeoseven.com%2Fo%2Fbold.woff2%22)%20format(%22woff2%22)%3Bfont-style%3Anormal%3Bfont-weight%3A700%3Bfont-display%3Aswap%3B%7D%40font-face%7Bfont-family%3A%22ZSFT-o%22%3Bsrc%3Aurl(%22https%3A%2F%2Ffontsapi.zeoseven.com%2Fo%2Fextra-bold.woff2%22)%20format(%22woff2%22)%3Bfont-style%3Anormal%3Bfont-weight%3A800%3Bfont-display%3Aswap%3B%7D%40font-face%7Bfont-family%3A%22ZSFT-o%22%3Bsrc%3Aurl(%22https%3A%2F%2Ffontsapi.zeoseven.com%2Fo%2Fmedium.woff2%22)%20format(%22woff2%22)%3Bfont-style%3Anormal%3Bfont-weight%3A500%3Bfont-display%3Aswap%3B%7D%40font-face%7Bfont-family%3A%22ZSFT-o%22%3Bsrc%3Aurl(%22https%3A%2F%2Ffontsapi.zeoseven.com%2Fo%2Fmain.woff2%22)%20format(%22woff2%22)%3Bfont-style%3Anormal%3Bfont-weight%3A400%3Bfont-display%3Aswap%3B%7D%40font-face%7Bfont-family%3A%22ZSFT-o%22%3Bsrc%3Aurl(%22https%3A%2F%2Ffontsapi.zeoseven.com%2Fo%2Fsemi-bold.woff2%22)%20format(%22woff2%22)%3Bfont-style%3Anormal%3Bfont-weight%3A600%3Bfont-display%3Aswap%3B%7D");
/*IBM Plex Sans JP 字体家族名：IBM Plex Sans JP*/@import url("https://fontsapi.zeoseven.com/400/main/result.css");
/*Dune Rise 字体家族名：ZSFT-640*/@import url("data:text/css,%40font-face%7Bfont-family%3A%22ZSFT-640%22%3Bsrc%3Aurl(%22https%3A%2F%2Ffontsapi.zeoseven.com%2F640%2Fmain.woff2%22)%20format(%22woff2%22)%3Bfont-style%3Anormal%3Bfont-weight%3A400%3Bfont-display%3Aswap%3B%7D");

/* 🔷 HTML控件 =============================================================================================================== */
body{
    font-family: "ZSFT-o" , "LXGW 975 HazyGo SC 500W" , "IBM Plex Sans JP";
    font-weight: normal;
}

h1{
    font-size: calc(28px + max(0px , (100vw - 1280px) * 0.08));
}
h2{
    font-size: calc(20px + max(0px , (100vw - 1280px) * 0.06));
}
h2::before{
    content: "▶ ";
    color: #002fa7;
}
h3{
    font-size: calc(18px + max(0px , (100vw - 1280px) * 0.04));
}
h3::before{
    content: "▷ ";
}
p{
    font-weight: normal;
    font-size: calc(15px + max(0px , (100vw - 1280px) * 0.02));
}
p::before{
    content: "　　";
}
a{text-decoration: none;}

/* 🔷 Google Material Symbols =============================================================================================================== */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  src: url(/Fonts/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format('woff');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
}

/* 🔷 自定义控件 =============================================================================================================== */
/* 🔷== 字体特殊处理 ==🔷 */
jp{
    font-family: "Google Sans" , "IBM Plex Sans JP";
}
extra{
    font-size: calc(12px + max(0px , (100vw - 1280px) * 0.02));
    font-style: italic;
}
.nospace::before{content: '';}
.nospace{margin-left: 0;}

/* 🔷== 警告 Alert ==🔷 */
.nuc_alert_info{ /* 提示 */
    position: relative;

    margin: 20px 30px 20px 30px;
    border-radius:5px;
    overflow: hidden;

    padding: 0px 5px 0px 5px;
    
    background-color: #dedede;
    color: #454545;
}
.nuc_alert_info::after{
    position: absolute;
    content: '';

    top: 0;
    left: 0;
    width: 5px;
    height: 100%;

    background-color: #4b4b4b;
}

.nuc_alert_warn{ /* 警告 */
    position: relative;

    margin: 20px 30px 20px 30px;
    border-radius:5px;
    overflow: hidden;

    padding: 0px 5px 0px 5px;
    
    background-color: #fcfcc0;
    color: rgb(153, 113, 11);
}
.nuc_alert_warn::after{
    position: absolute;
    content: '';

    top: 0;
    left: 0;
    width: 5px;
    height: 100%;

    background-color: #ffb700;
}

.nuc_alert_err{ /* 错误 */
    position: relative;

    margin: 20px 30px 20px 30px;
    border-radius:5px;
    overflow: hidden;

    padding: 0px 5px 0px 5px;
    
    background-color: #ffc9c9;
    color: #F00;
}
.nuc_alert_err::after{
    position: absolute;
    content: '';

    top: 0;
    left: 0;
    width: 5px;
    height: 100%;

    background-color: #dc0000;
}

/* 🔷== 内容 Container ==🔷 */
.container{
    position: fixed;
    top: calc(70px + max(0px , (100vw - 1280px) * 0.02));
    left: calc(217px + max(0px , (100vw - 1024px) * 0.15));

    width: calc(100vw - 222px - max(0px , (100vw - 1024px) * 0.15) - var(--scrollbar));
    height: calc(100vh - 80px - max(0px , (100vw - 1280px) * 0.02));

    overflow-x: hidden;
    overflow-y: scroll;

    h2{margin-left: 10px;}
    h3{margin-left: 30px;}
    p{margin-left: 50px;}
}



/* 🔷== 侧栏 Sidemenu ==🔷 */
.sidemenu_main{
    position: fixed;
    top: calc(70px + max(0px , (100vw - 1280px) * 0.02));
    left: 7px;

    width: calc(200px + max(0px , (100vw - 1024px) * 0.15));
    height: calc(100vh - 80px + max(0px , (100vw - 1280px) * 0.02));

    scrollbar-width: none;
    -ms-overflow-style: none;

    overflow-x: hidden;

    list-style-type: none;

    color: #FFF;
    background-color: #002fa7;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    
    a{color: #FFF;}

    h3{padding-left:10px;} h3::before{content: '';}
}

.B1{
    top: 0;
    left: 0;
    width: 0;
    height: 0;
}

.B2{
    top: calc(70px + max(0px , (100vw - 1280px) * 0.02));
    left: 7px;
    width: calc(200px + max(0px , (100vw - 1024px) * 0.15));
    height: calc(100vh - 80px + max(0px , (100vw - 1280px) * 0.02));
}

.sidemenu_main::-webkit-scrollbar{
    display: none;
}

.sidemenu_item{
    display: block;
    height: 45px;
    line-height: 45px;

    padding-left: 10px;

    color: #FFF;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    
    user-select: none;
    transition: background-color 0.15s ease-in-out;
}

.sidemenu_item:hover{
    background-color: #ffffff3d;
}

.sidemenu_item:active{
    background-color: #ffffff59;
}

.toc-title {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    font-size: 1.2em;
}

.toc-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

/* 层级缩进 */
.toc-level-2 .sidemenu_item {
    padding-left: 20px;
}

.toc-level-3 .sidemenu_item {
    padding-left: 40px;
}

.toc-sub-list,
.toc-sub-sub-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

/* 🔷== 时间历法 T(Time)C(Calendar)Card ==🔷 */
.TCCard{
    h1{text-align: right;}
    h2{margin-left: 0px;text-align: right;}h2::before{content: '';}
    h3{margin-left: 0px;}h3::before{content: '';}
    p{margin-left: 0px;}
}

/* 🔷== 顶栏 Topbar ==🔷 */
.topbar_next_main{
    position: fixed;
    display: flex;

    top: 7px;
    left: 7px;

    width: calc(100vw - 14px - var(--scrollbar));
    height: calc(45px + max(0px , (100vw - 1280px) * 0.02));

    justify-content: space-between;

    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1),inset 0 1px 0 rgba(255, 255, 255, 0.2);

    overflow-y: hidden;

    border-radius: 15px;
    z-index: 50;

    a{
    text-decoration: none;
    }
}

.topbar_next_left{
    display: flex;

    margin-left:20px;
}

.topbar_next_right{
  display: flex;
  justify-content: end;
  
  margin-right:20px;
}

.topbar_next_item{
    height: 100%;
    padding: 13px 10px 0px 10px;

    color: #000;
    font-size: calc(16px + max(0px , (100vw - 1280px) * 0.02));
    text-align: center;

    transition: background-color 0.2s , color 0.2s;
    user-select: none;
}

.topbar_next_item:hover{
    background-color: rgba(0, 0, 0, 0.16);
}

/* CARD - 卡片 */
/*  */
.nuc_messagecard_characterliststyle{
    position: relative;
    
    width: auto;
    height: 150px;
    
    margin: 8px;

    background-color: rgb(255, 255, 255);
    box-shadow: 2px 2px 20px #00000072;

    transition: transform 0.2s ease , background-color 0.2s ease , box-shadow 0.2s ease;
    user-select: none;
}

.nuc_messagecard_characterliststyle:hover{
    border: 1px solid #000;
    box-shadow: 1px 1px 20px #0000003a;
    transform: translateY(-3px) scale(101%);
}

.nuc_messagecard_characterliststyle:active{
    border: 2px solid #000;
    box-shadow: 2px 2px 20px #000000a1;
    transform: scale(99%) translateY(1px);
}

.nuc_messagecard_characterliststyle_firstletter{
    position: absolute;

    margin-top: 15px;
    margin-left: 20px;

    line-height: 30px;
    width: 30px;
    height: 30px;

    font-size: 24px;
    font-weight: bold;
    text-align: center;

    background-color: #686868;
    color: #FFF;

    border-radius: 100%;
}

.nuc_messagecard_characterliststyle_title{
    position: absolute;

    margin-top: 16px;
    margin-left: 55px;

    line-height: 30px;
    width: calc(100% - 55px - 10px);
    height: 30px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: 24px;
    font-weight: bold;
    color: #000;
}

.nuc_messagecard_characterliststyle_content{
    display: none;
}

/* CATEGORY AREA - 分区 */
.nuc_catearea{
    position: inherit;

    margin: 5px;

    min-height: 100px;
    min-width: 100px;

    border: 1.5px gray solid;
}

.nuc_catarea_title{
    position: absolute;
    display: block;

    min-height: 40px;
    min-width: 100%;

    background-color: gray;
}

/* COLLAPSIBLE - 折叠菜单 (原样式由Chat GPT 4o 生成) */
.gpt_collapsible {
    display: block;
    padding: 10px 20px 10px 20px;
    margin: 5px;

    background-color: #dddddd;
    color: #000;
    text-align: center;

    cursor: pointer;
    transition: background-color 0.2s ease;
    user-select: none;
}

.gpt_collapsible:hover {
    background-color: #bdbdbd;
}

.gpt_collapsible.active {
    background-color: #a3a3a3;
}

/* 折叠菜单内容样式 */
.gpt_content {
    max-height: 0; /* 创建折叠效果 */
    padding: 0 20px 0 20px;
    margin: 0px 30px 0px 30px;

    background-color: #eee;
    overflow: hidden;

    transition: max-height 0.2s;
}

.gpt_content.open {
    padding: 10px 20px 10px 20px;
    margin: 0px 30px 0px 30px;
}

/* FLOATZONE - 分栏*/
.nuc_floatbox_footer{
    display: flex;

    padding: 8px;
}

.nuc_floatbox{
    display: flex;

    flex-wrap: wrap;

    padding: 8px;
}

.nuc_floatzone_2{
    flex: 0 0 calc(50% - 8px);

    min-height: 100px;
}

.nuc_floatzone_3{
    flex: 0 0 calc(33.33% - 8px);

    min-height: 100px;
}

.nuc_floatzone_4{
    width: calc(100vw - 4vw / 4);
    min-height: 100px;
}

/* MENUIMG - 菜单图片 */
.nuc_menuimg{
    display: flex;
    align-items: center;
    justify-content: center;

    img{width: 50%;}
}

/* 🔷 自适应 =============================================================================================================== */
@media screen and (max-width: 1024px) {
    .sidemenu_main{
        width: 0;
    }
    .container{
        left: calc(17px);
        width: calc(100vw - 22px - var(--scrollbar));
    }
}