        body, html {
            margin: 0!important;
            padding: 0!important;
            width:100%!important;
            height: 100%!important;
            font-family: Arial, sans-serif;
            display: flex!important;
            flex-direction: column; /* 使body像一个容器，垂直排列内容 */
            cursor:url('Age_of_Empires_III_Modding_Tutorial/cursor/cursor01.cur'),default;
        }
        pre{
            white-space: pre-wrap;word-wrap: break-word;
            font-size:16px;
            line-height: 1.5;
            font-family:"Arial","Calibri",sans-serif;
            margin:1px 0pt 1px 0pt;
            padding:0cm 0pt 0cm 0pt;
            tab-size:64px;
        }
        input{cursor:url('Age_of_Empires_III_Modding_Tutorial/cursor/cursor04.cur'),pointer;}
        a{cursor:url('Age_of_Empires_III_Modding_Tutorial/cursor/cursor03.cur'),pointer;text-decoration: none;}
        button{cursor:url('Age_of_Empires_III_Modding_Tutorial/cursor/cursor04.cur'),default;}
        option{cursor:url('Age_of_Empires_III_Modding_Tutorial/cursor/cursor04.cur'),default;}
        
        /* 顶部工具栏样式 */
        #toolbar {
            display: flex;
            align-items: center;
            background-color: #f1f1f1;
            padding:0 0px;
            border-bottom: 1px solid #ccc;
            height: 42px;
        }
        #toolbar button {
            height:27px;
            margin-left: 10px;
            padding: 0px 10px;
            cursor:url('Age_of_Empires_III_Modding_Tutorial/cursor/cursor04.cur'),pointer;
        }

        /* 页面主体布局 */
        #main-content{
            display: flex;
            flex: 1; /* 自动填满剩余高度 */
            overflow: hidden;
        }
        #livesearch {
            flex: 1;
        }
        /* 目录（左侧导航栏） */
        #sidebar {
            padding-left:5px;
            width: 200px;
            border-right: 1px solid #ccc;
            overflow-y: auto;
            overflow-x: auto;
            white-space: nowrap!important;
            word-wrap: nowrap!important;
            cursor: url('Age_of_Empires_III_Modding_Tutorial/cursor/cursor01.cur'), auto; 
            
        }
        
        
        /* 拖动条样式 */
        #resizer {
            width: 3px;
            display: flex;
            background: linear-gradient(to right, #ccc 1px, transparent 1px);
            cursor:url('Age_of_Empires_III_Modding_Tutorial/cursor/scale_horiz cursor.cur') 16 16,ew-resize;
        }
        /* 样式用于树状目录 */
        ul.tree, ul.tree ul {
            list-style-type: none; /* 去掉项目符号 */
            padding-left: 0px; /* 左侧缩进 */
            margin: 0;
        }

        ul.tree li span {
            cursor:url('Age_of_Empires_III_Modding_Tutorial/cursor/cursor03.cur'),pointer;;
        }
        
#sidebar li ul li {
  outline: 0;
  padding-left: 20px;
  list-style: none;
}

#sidebar li ul li:not(:last-child) {
  background: 
  repeating-linear-gradient(90deg, #999 0 1px, transparent 0 2px) 10px 12px / 20px 1px no-repeat,repeating-linear-gradient(#999 0 1px, transparent 0 2px) 10px 0 / 1px 100% no-repeat; 
}

#sidebar li ul li:last-child {
  background: 
  repeating-linear-gradient(90deg, #999 0 1px, transparent 0 2px) 10px 12px / 20px 1px no-repeat,repeating-linear-gradient(#999 0 1px, transparent 0 2px) 10px 0 / 1px 12px no-repeat; 
}

#sidebar > ul {
  background: none;
  padding-left: 0;
}
#sidebar > ul > li {
  background: none;
}
#sidebar li {
  font-size: 15px;
  line-height: 22px;
  color: rgba(0, 0, 0, 0.85);
}


#sidebar li:hover::after {
  opacity: 1;
}

        .tree i{
            font-style: normal;
        }


	.searchresult {
	    width:98%;
	    overflow:hidden;
	    display:block;
	    white-space:nowrap;
	    text-overflow:ellipsis;
	}

.tree li span:hover {
    background-color: #e9e9e9;
}

.tree li.open > span.folder-icon {
    font-weight: bold;
    color: #007bff;
}

        ul.tree ul {
            display: none; /* 默认子目录隐藏 */
        }

        ul.tree li.open > ul {
            display: block; /* 展开子目录 */
        }

        .folder-icon::before {
            content: '📁'; /* 文件夹图标 */
            margin-right: 5px;
        }
        
.open-folder-icon::before {
    content: '📂'; /* 打开的文件夹图标 */
    margin-right: 5px;
}

.folder-group-icon::before {
    content: '🗂️'; /* 文件夹分组图标 */
    margin-right: 5px;
}

        .file-icon::before {
            content: '📄'; /* 文件图标 */
            margin-right: 5px;
        }
        
        .hon-icon::before {
            content: '📚'; /* 书本图标 */
            margin-right: 5px;
        }

.open-book-icon::before {
    content: '📖'; /* 翻开的书 */
    margin-right: 5px;
}

.red-book-icon::before {
    content: '📕'; /* 红色封面的书 */
    margin-right: 5px;
}

.green-book-icon::before {
    content: '📗'; /* 绿色封面的书 */
    margin-right: 5px;
}

.blue-book-icon::before {
    content: '📘'; /* 蓝色封面的书 */
    margin-right: 5px;
}

.orange-book-icon::before {
    content: '📙'; /* 橙色封面的书 */
    margin-right: 5px;
}

.note-icon::before {
    content: '📝'; /* 笔记图标 */
    margin-right: 5px;
}

.pencil-icon::before {
    content: '✏️'; /* 铅笔图标 */
    margin-right: 5px;
}

.bookmark-icon::before {
    content: '📑'; /* 书签图标 */
    margin-right: 5px;
}

.pen-icon::before {
    content: '🖊️'; /* 圆珠笔图标 */
    margin-right: 5px;
}

.scroll-icon::before {
    content: '📜'; /* 卷轴图标 */
    margin-right: 5px;
}
.message-icon::before {
    content: '📧'; /* 卷轴图标 */
    margin-right: 5px;
}
.lock-icon::before {
    content: '🔐'; 
    margin-right: 5px;
}
.unlock-icon::before {
    content: '🔓'; 
    margin-right: 5px;
}

        .book-icon::before {
            content: ''; /* 清除 content 属性 */
            display: inline-block; /* 使伪元素表现为块元素 */
            width: 16px; /* 根据需要调整宽度 */
            height: 16px; /* 根据需要调整高度 */
            background-size: contain; /* 确保图标适应元素的大小 */
            background-repeat: no-repeat; /* 不重复背景图 */
            margin-right: 3px; /* 保持与文本的间距 */
            vertical-align: middle;
        }
        .BlueIcon::before {
            background-image: url('Age_of_Empires_III_Modding_Tutorial/hidden/book1.png'); 
        }
        .BlueIconOpen::before {
            background-image: url('Age_of_Empires_III_Modding_Tutorial/hidden/book2.png'); 
        }
        .LightBlueIcon::before {
            background-image: url('Age_of_Empires_III_Modding_Tutorial/hidden/book3.png'); 
        }
        .GreyIcon::before {
            background-image: url('Age_of_Empires_III_Modding_Tutorial/hidden/book4.png'); 
        }
        .RedIcon::before {
            background-image: url('Age_of_Empires_III_Modding_Tutorial/hidden/book5.png'); 
        }
        .GreyIconOpen::before {
            background-image: url('Age_of_Empires_III_Modding_Tutorial/hidden/book6.png'); 
        }
        .GreenIcon::before {
            background-image: url('Age_of_Empires_III_Modding_Tutorial/hidden/book7.png'); 
        }
        .GoldIcon::before {
            background-image: url('Age_of_Empires_III_Modding_Tutorial/hidden/book8.png'); 
        }
        
        .OauthButton {
    margin-left: 10px;
    color: #fff;
    height: 27px; /* 高度保持 */
    width: auto;
    border-radius: 3px;
    display: flex; /* 使用flex布局 */
    align-items: center; /* 垂直居中内容 */
    padding: 0 4px; /* 上下和左右均匀的内边距 */
}

.googlebutton {
    background: #1b7df7 url(custom/Google_G_logo_27.png) no-repeat;
    background-size: 27px; /* 设置背景图大小 */
    background-position: 0 center; /* 调整背景图位置 */
    padding-left: 30px; /* 左边距，给图标留出空间 */
}

        
        /* 正文（右侧内容区域） */
        .contentarea {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            overflow-x: auto;
        }
        #iframeDIV {
            flex: 1;
        }
        #IframeID{border:0;
            
        }

        /* 底部状态栏 */
        #footer {
            display: flex;
            background-color: #f1f1f1;
            border-top: 1px solid #ccc;
            font-size: 13px;
            white-space: nowrap!important;
            word-wrap: nowrap!important;
            overflow: hidden!important;
            vertical-align: bottom;
        }
        
        .footerR {
            flex: 1;
        }
        
        .footerL  {
            padding-left:5px;
            width: 200px;
            
        }
        
        .copyright  {
            text-align: right;
            padding-right:20px;
            width: 400px;
            
        }
        
        .contentabout 
        {
            font-size: 14px;
        }
        .contentabout a
        {
            color: #0000EE;;
        }
    
        
        .contentabout h3
        {
            font-size: 18px;
        }
    
        
        .titleh1{
            font-size: 32px;
            text-align: center;
        }
        .margin30{
            margin-left: 30px;
        }
        
.tutorialbtn{height:27px;margin-left:6px;box-sizing:border-box;margin-left:10px;}
.status img{width:27px;height:27px;border-radius:3px;border:1px solid #AAAAAA;vertical-align:middle;margin-top:-2px;box-sizing:border-box;margin-left:4px;}
.PleaseLogin{text-align:center;position:fixed;bottom:40vh;right:30px;line-height:30px;}



.byg_side_nav{ position: fixed; right: 20px; bottom: 100px; z-index: 199; width: 40px;}
.byg_side_nav li{ position: relative; margin-bottom: 5px; background: #88A0C7; border-radius: 4px;}
.byg_side_nav li:hover{ background:#3485fb;}
.byg_side_nav .byg_sn1{ display: block; width: 40px; height: 40px;}
.byg_side_nav .byg_sn1 img{ width: 24px; height: 24px; padding: 8px; vertical-align: top;}
.byg_side_nav .byg_sn_i{ position: absolute; top: 0; right: 41px; display: none; width: 9px; height: 40px; background: url(template/aoebbs/image/side_sanjiao_y2.png) no-repeat 0 center!important; z-index: 200;}
.byg_side_nav .byg_sn2{ position: absolute; top: 0; right: 50px; display: none; min-height: 20px; padding: 9px; border: 1px solid #9DB3C5; line-height: 20px; background:#88A0C7; color: #fff; white-space: nowrap; text-align: center; border-radius: 4px;}
.byg_side_nav li:hover .byg_sn2, .byg_side_nav li:hover .byg_sn_i{ display: block;}
.xyfff{color:#ffffff;}

/*群99+消息*/
.col1 {
    display: inline-flex!important;
    align-items: center!important;
    justify-content: center!important;
    height:40px;
}
.col1 sup {
    position: absolute;
    box-sizing: border-box;
    min-width: 1rem;
    padding: 0 0.1875rem;
    color: #fff;
    font-size: min(.75rem, calc(10000px - var(--num) * 100px));
    line-height: 1.2;
    text-align: center;
    background-color: #eb4646;
    border: 1px solid #fff;
    border-radius: 1rem;
    transform: translate(calc(40% + .375rem), -.75rem);
    /* 数值为0的时候隐藏 */
    opacity: var(--num);
}
.col1 sup::before {
    content: '99+';
    font-size: min(.75rem, calc(var(--num) * 100px - 9900px));
}


.col0 {
    display: inline-flex!important;
    align-items: center!important;
    justify-content: center!important;
    height:40px;
}
.col0 sup {
    position: absolute;
    box-sizing: border-box;
    min-width: 1rem;
    padding: 0 0.1875rem;
    color: #fff;
    font-size: min(.75rem, calc(10000px - var(--num) * 100px));
    line-height: 1.2;
    text-align: center;
    background-color: #eb4646;
    border: 1px solid #fff;
    border-radius: 1rem;
    transform: translate(calc(40% + .375rem), -.75rem);
    /* 数值为0的时候隐藏 */
    opacity: var(--num);
}
.col0 sup::before {
    content: '99+';
    font-size: min(.75rem, calc(var(--num) * 100px - 9900px));
}


    @keyframes iconflash {
        0% { opacity: 1; }
        50% { opacity: 0; }
        100% { opacity: 1; }
    }

    .iconflash {
        animation: iconflash 1s infinite;
    }
/*群99+消息*/

.icon-comment {
    width: 2rem; height: 2rem;
    background: url("data:image/svg+xml,... %3C/svg%3E") no-repeat center/100%;
    font-size: 0;
}


/*弹窗*/
.public_button{float:left;width:20px;height:20px;overflow:hidden;text-indent:-9999px;cursor:pointer;}
.public_button:hover{background-position:0 -20px;}
.group_question{background:url(https://www.aoebbs.net/custom/img/question_mark.gif) no-repeat 0 0;}
.enlarge{background:url(https://www.aoebbs.net/custom/img/enlarge.gif) no-repeat 0 0;}
.pic_zoom_out{background:url(https://www.aoebbs.net/custom/img/zoom_out.gif) no-repeat 0 0;}
.pic_new{background:url(https://www.aoebbs.net/custom/img/new.gif) no-repeat 0 0;}
.windowbottomdiv{position:absolute; right:10px; bottom:10px; width:100%;padding:5px;margin:0;text-align:right;}
.windowbottombtn{width:70px;color:#ffffff;background:#0099ff;text-align:center;border-radius:2px;}
#footarea{cursor:url('https://www.aoebbs.net/Age_of_Empires_III_Modding_Tutorial/cursor/scale_vert cursor mono.cur') 16 16,ns-resize;}

.left10px{margin-left:10px;}
.loginbtn{border:1px solid #fff;height:27px;width:auto;border-radius:3px;padding-left:4px;padding-right:4px;background:#1b7df7;vertical-align:middle;color:#fff;}
.registerbtn{border:1px solid #fff;height:27px;width:auto;border-radius:3px;padding-left:4px;padding-right:4px;background:#91cd51;vertical-align:middle;color:#fff;}

        
        
        
        
        
        
        
        
        
        
        
        
        
        /*----------------页面加载中------------------*/
        .loader {
    --background: linear-gradient(135deg, #23C4F8, #275EFE);
    --shadow: rgba(39, 94, 254, 0.28);
    --text: #6C7486;
    --page: rgba(255, 255, 255, 0.36);
    --page-fold: rgba(255, 255, 255, 0.52);
    --duration: 3s;
    width: 200px;
    height: 140px;
    position: relative;
    margin:auto;
}

.loader:before,
.loader:after {
    --r: -6deg;
    content: '';
    position: absolute;
    bottom: 8px;
    width: 120px;
    top: 80%;
    box-shadow: 0 16px 12px var(--shadow);
    transform: rotate(var(--r));
}

.loader:before {
    left: 4px;
}

.loader:after {
    --r: 6deg;
    right: 4px;
}

.loader div {
    width: 100%;
    height: 100%;
    border-radius: 13px;
    position: relative;
    z-index: 1;
    perspective: 600px;
    box-shadow: 0 4px 6px var(--shadow);
    background-image: var(--background);
    
}

.loader ul {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}

.loader li {
    --r: 180deg;
    --o: 0;
    --c: var(--page);
    position: absolute;
    top: 10px;
    left: 10px;
    transform-origin: 100% 50%;
    color: var(--c);
    opacity: var(--o);
    transform: rotateY(var(--r));
    animation: flip 3s ease infinite;
}

.loader li:nth-child(2) {
    --c: var(--page-fold);
    animation-delay: 0.5s;
}

.loader li:nth-child(3) {
    --c: var(--page-fold);
    animation-delay: 1s;
}

.loader li:nth-child(4) {
    --c: var(--page-fold);
    animation-delay: 1.5s;
}

.loader li:nth-child(5) {
    --c: var(--page-fold);
    animation-delay: 2s;
}

.loader li svg {
    width: 90px;
    height: 120px;
    display: block;
}

.loader li:first-child {
    --r: 0deg;
    --o: 1;
}

.loader li:last-child {
    --o: 1;
}

@keyframes flip {
    0% {
        transform: rotateY(180deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    35%, 100% {
        opacity: 0;
    }
    50%, 100% {
        transform: rotateY(0deg);
    }
}

.loader span {
    display: block;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 20px;
    text-align: center;
    color: var(--text);
}


#loading *,
#loading *:before,
#loading *:after {
    box-sizing: inherit;
}

/* Center & dribbble link */
#loading {
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', Arial;
    
}
.toprigth_avatar{width:42px;height:42px;border:2px solid #9DB3C5;margin-left: auto;box-sizing: border-box;}
.toprigth_avatar img{width:100%;height:100%;}
.IframeBox{height:100%;width:100%;}
.loadingtable{height:100%;width:100%;border:none!important;}
.loadingtable tr,.loadingtable td{border:none!important;}
        /*----------------页面加载中------------------*/
        
         #notfound{
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            font-family: Arial, sans-serif;
            background-color: #e9ecef;
            text-align: center;
        }
        .nofound404 {
            font-size: 4rem;
            color: #dc3545;
        }

/* notepad-window 样式 */
.notepad-window {
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    margin: 20px auto;
    font-family: Consolas, monospace;
}

/* title-bar 样式 */
.notepad-window .title-bar {
    background-color: #0078d7;
    color: white;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.notepad-window .title-bar .title {
    font-weight: bold;
}

.notepad-window .window-buttons {
    display: flex;
    gap: 5px;
}

.notepad-window .window-buttons button {
    width: 25px;
    height: 25px;
    background-color: #0078d7;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.notepad-window .window-buttons .minimize:hover {
    background-color: #00bfff;
}

.notepad-window .window-buttons .maximize:hover {
    background-color: #00bfff;
}


.notepad-window .window-buttons .close:hover {
    background-color: #c9302c;
}

.notepad-window .menu-bar {
    background-color: #f0f0f0;
    border-bottom: 1px solid #ccc;
    padding: 0 10px; /* 减少 padding 的高度 */
    height: 25px; /* 固定菜单栏的高度 */
    display: flex;
    align-items: center; /* 垂直居中菜单项 */
}

.notepad-window .menu-bar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0; /* 去除 ul 的默认 padding */
    margin: 0; /* 去除 ul 的默认 margin */
}

.notepad-window .menu-bar li {
    cursor: pointer;
    font-size: 13px; /* 调整菜单字体大小 */
    line-height: 25px; /* 让菜单项的高度与菜单栏一致 */
    user-select: none;
}

.notepad-window .menu-bar li:hover {
    background-color: #e0e0e0;
}

/* content 样式 */
.notepad-window .notepad-content {
    flex-grow: 1;
    padding: 15px;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-y: auto;
    outline: none;
}

.notepad_height {
	width:450px;
}
.notepad_auto_height {
    min-height:100px;
	height:auto;
}
.notepad_auto_maxwidth {
	max-width:100%;
}
    .notepad_normal {
	width:1024px;
	height:600px;
}
    .notepad_big {
	width:1280px;
	height:600px;
}
    .notepad_full {
	width:100%;
	height:600px;
}
    .notepad_auto_witch {
    width:auto;
    height:600px;
}



code {
    font-family:"Arial",宋体, sans-serif;
    font-size: 16px; 
    line-height: 1.5;  
}

.codeerror {
    border:1px dashed #FF9A9A;
}



/* 默认背景配色 */
.default-theme {
background-color: initial;
color: initial; /* 文本颜色 */
}




.default-theme a, .default-theme a:visited {
   color: #0000EE; 
}

.light-theme a, .light-theme a:visited {
    color: #0000EE; 
}

.quiet-light-theme a, .quiet-light-theme a:visited {
    color: #569ccc; 
}

.dark-theme a, .dark-theme a:visited {
   color: #9cdcfe; 
}

 .default-theme a:hover {
    color: #28b0dd!important; 
    text-decoration: underline!important;
 }

 .default-theme a:hover .hexagram {
    --border-color: #28b0dd!important;
    text-decoration: underline!important;
}


.light-theme a:hover {
    color: #28b0dd!important; 
    text-decoration: underline!important;
 }

 .light-theme a:hover .hexagram {
    --border-color: #28b0dd!important; 
    text-decoration: underline!important;
}

.quiet-light-theme a:hover {
    color: #45d496!important; 
    text-decoration: underline!important;
 }

 .quiet-light-theme a:hover .hexagram {
    --border-color: #45d496!important;
    text-decoration: underline!important;
}


 .dark-theme a:hover, .dark-theme .baimu a:hover{
    color: #ffdc9c!important; 
    text-decoration: underline!important;
 }

 .dark-theme a:hover .hexagram{
    --border-color: #ffdc9c!important;
    text-decoration: underline!important;
}

.light-theme .baimu .hexagram {
    --border-color: white;
}
.default-theme .baimu .hexagram {
    --border-color: white;
}
.quiet-light-theme .baimu .hexagram {
    --border-color: white;
}
.dark-theme .baimu .hexagram {
    --border-color: #1e1e1e;
}

.dark-theme .baimu a {
    color: #1e1e1e;
}
.default-theme .baimu a {
    color: white;
}
.light-theme .baimu a {
    color: white;
}
.quiet-light-theme .baimu a {
    color: white;
}







.default-theme .heimu {
    background:black!important;color:black!important;
}
.default-theme .heimu a {
    background:black!important;color:black!important;
}
.default-theme .heimu:hover {
    color:white!important;
}
.default-theme .heimu a:hover {
    color:yellow!important;
}
.default-theme .baimu {
    background:white!important;color:white!important;
}
.default-theme .baimu:hover, .default-theme .baimu:hover a,.default-theme .baimu:hover .hexagram {
    --border-color: black;
    color:black!important;
}





.default-theme .code-text{
color: initial; /* 文本颜色 */
}
.default-theme .code-initial {
color: initial; /* 清除颜色，恢复默认颜色；实际为属性值文本颜色  */
}
.default-theme .code-inherit {
color: inherit; /* 清除颜色，继承父元素颜色 */
}

.default-theme .code-tag {
color: red; /* 标签 */
}

.default-theme .code-attributecolor {
color: red; /* 属性 */
}

.default-theme .stringcolor {
color: initial; /* 字符串 */
}

.default-theme .code-commentcolor {
color: #808080!important; /* 注释 */
}

.default-theme .code-numbercolor {
color: #7a3e9d; /* 数字 */
}

.default-theme .code-punctuation {
color: blue; /* 标点符号 */
}

.default-theme .code-equal {
color: blue; /* 标点符号“=” */
}

.default-theme .code-ltgt {
color: blue; /* 标点符号“<>” */
}

.default-theme .code-slash {
color: blue; /* 标点符号“/”*/
}
.default-theme .code-EscapeCharacter{
    color: #569cca; 
}
.default-theme .code-CDATA{
    color: #366c1f; 
}


/* 亮背景配色 */
.light-theme {
background-color: #FFFFFF;
color: #333333; /* 文本颜色 */
}
.light-theme .heimu {
    background:black!important;color:black!important;
}
.light-theme .heimu a {
    background:black!important;color:black!important;
}
.light-theme .heimu:hover {
    color:white!important;
}
.light-theme .heimu a:hover {
    color:yellow!important;
}
.light-theme .baimu {
    background:white!important;color:white!important;
}
.light-theme .baimu:hover, .light-theme .baimu:hover a,.light-theme .baimu:hover .hexagram {
    --border-color:black;
    color:black!important;
}
.light-theme .code-text{
color: initial; /* 文本颜色 */
}
.light-theme .code-inherit {
color: inherit; /* 清除颜色，继承父元素颜色 */
}
.light-theme .code-initial {
        color: blue; /* 清除颜色，恢复默认颜色；实际为属性值文本颜色  */
    }
    
.light-theme .code-tag {
color: #800000; /* 标签 */
}

.light-theme .code-attributecolor {
color: #e50000; /* 属性 */
}

.light-theme .stringcolor {
color: initial; /* 字符串 */
}

.light-theme .code-commentcolor {
color: #aaaaaa!important; /* 注释 */
}

.light-theme .code-numbercolor {
color: #7a3e9d; /* 数字 */
}

.light-theme .code-punctuation {
color: blue; /* 标点符号 */
}

.light-theme .code-equal {
color: #000000; /* 标点符号“=” */
}

.light-theme .code-ltgt {
color: #800000; /* 标点符号“<>” */
}

.light-theme .code-slash {
color: #800000; /* 标点符号“/”*/
}
.light-theme .code-EscapeCharacter{
    color: #569cca; 
}
.light-theme .code-CDATA{
    color: #366c1f; 
}

/* 暗背景配色 */
.dark-theme {
background-color: #1e1e1e;
color: #d4d4d4; /* 文本颜色 */
}
.dark-theme .heimu {
    background:white!important;color:white!important;
}
.dark-theme .heimu a {
    background:white!important;color:white!important;
}
.dark-theme .heimu:hover {
    color:#1e1e1e!important;
}
.dark-theme .heimu a:hover {
    color:red!important;
}
.dark-theme .baimu {
    background:#1e1e1e!important;color:#1e1e1e!important;
}
.dark-theme .baimu:hover, .dark-theme .baimu:hover a,.dark-theme .baimu:hover .hexagram {
    --border-color: #d4d4d4;
    color:#d4d4d4!important;
}
.dark-theme .code-text{
color: #fff; /* 文本颜色 */
}
.dark-theme .code-initial {
        color: #ce916a; /* 清除颜色，恢复默认颜色；实际为属性值文本颜色  */
    }
.dark-theme .code-inherit {
color: inherit; /* 清除颜色，继承父元素颜色 */
}
    
.dark-theme .code-tag {
color: #569cca; /* 标签 */
}

.dark-theme .code-attributecolor {
color: #9cdcfe; /* 属性 */
}

.dark-theme .code-stringcolor {
color: #fff; /* 字符串 */
}

.dark-theme .code-commentcolor {
color: #438a55!important; /* 注释 */
}

.dark-theme .code-numbercolor {
color: #7a3e9d; /* 数字 */
}

.dark-theme .code-punctuation {
color: #777777; /* 标点符号 */
}

.dark-theme .code-equal {
color: #777777; /* 标点符号“=” */
}

.dark-theme .code-ltgt {
color: #97b3e0; /* 标点符号“<>” */
}

.dark-theme .code-slash {
color: #97b3e0; /* 标点符号“/”*/
}
.dark-theme .code-EscapeCharacter{
    color: #ae81ff; 
}
.dark-theme .code-CDATA{
    color: #9fe182; 
}


.quiet-light-theme .code-text{
background-color: #FFFFFF;
color: initial; /* 文本颜色 */
}
.quiet-light-theme .heimu {
    background:black!important;color:black!important;
}
.quiet-light-theme .heimu a {
    background:black!important;color:black!important;
}
.quiet-light-theme .heimu:hover {
    color:white!important;
}
.quiet-light-theme .heimu a:hover {
    color:yellow!important;
}
.quiet-light-theme .baimu {
    background:white!important;color:white!important;
}
.quiet-light-theme .baimu:hover , .quiet-light-theme .baimu:hover a,.quiet-light-theme .baimu:hover .hexagram {
    --border-color: black;
    color:black!important;
}
.quiet-light-theme .code-initial {
        color: #448c27; /* 清除颜色，恢复默认颜色；实际为属性值文本颜色  */
    }
.quiet-light-theme .code-inherit {
color: inherit; /* 清除颜色，继承父元素颜色 */
}
    
.quiet-light-theme .code-tag {
color: #4b69c6; /* 标签 */
}

.quiet-light-theme .code-attributecolor {
color: #8190a0; /* 属性 */
}

.quiet-light-theme .stringcolor {
color: initial; /* 字符串 */
}

.quiet-light-theme .code-commentcolor {
color: #aaaaaa!important; /* 注释 */
}

.quiet-light-theme .code-numbercolor {
color: initial; /* 数字 */
}

.quiet-light-theme .code-punctuation {
color: blue; /* 标点符号*/
}

.quiet-light-theme .code-equal {
color: #777777; /* 标点符号“=” */
}

.quiet-light-theme .code-ltgt {
color: #91b3e3; /* 标点符号“<>” */
}

.quiet-light-theme .code-slash {
color: #91b3e3; /* 标点符号“/”*/
}
.quiet-light-theme .code-EscapeCharacter{
    color: #9c5d27; 
}
.quiet-light-theme .code-CDATA{
    color: #dfd351; 
}

.MinimapIcon:hover {
    background-color:#aaaaaa!important;
    border-radius: 3px;
}

/* 基本颜色 */
.text-red {
    color: #ff0000;
}
.text-green {
    color: #00ff00;
}
.text-blue {
    color: #0000ff;
}
.text-yellow {
    color: #ffff00;
}
.text-orange {
    color: #ffa500;
}
.text-purple {
    color: #800080;
}
.text-pink {
    color: #ffc0cb;
}
.text-black {
    color: #000000;
}
.text-white {
    color: #ffffff;
}
.text-gray {
    color: #808080;
}

/* 浅色系 */
.text-light-gray {
    color: #d3d3d3;
}
.text-light-blue {
    color: #add8e6;
}
.text-light-green {
    color: #90ee90;
}
.text-light-yellow {
    color: #ffffe0;
}
.text-light-pink {
    color: #ffb6c1;
}

/* 深色系 */
.text-dark-gray {
    color: #a9a9a9;
}
.text-dark-blue {
    color: #00008b;
}
.text-dark-green {
    color: #006400;
}
.text-dark-red {
    color: #8b0000;
}
.text-dark-purple {
    color: #4b0082;
}

/* 其他流行颜色 */
.text-teal {
    color: #008080;
}
.text-cyan {
    color: #00ffff;
}
.text-lime {
    color: #00ff00;
}
.text-gold {
    color: #ffd700;
}
.text-silver {
    color: #c0c0c0;
}
.text-maroon {
    color: #800000;
}


.default-theme .hexagram {
    --border-color: #0000EE; 
}

.light-theme .hexagram {
    --border-color: #0000EE; 
}

.quiet-light-theme .hexagram {
    --border-color: #569ccc; 
}

.dark-theme .hexagram {
    --border-color: #9cdcfe; 
}

.hexagram{
    display: inline-block;
    position: relative;
    width: 16px;
    height: 16px;
}

.pattern01, .pattern03, .pattern04{
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.pattern01{
    border: 1px solid var(--border-color); /* 使用CSS变量 */
    border-radius: 50%;
    width: 95%;
    height: 95%;
}

.pattern03{
    border: 1px solid var(--border-color); /* 使用CSS变量 */
    border-radius: 50%;
    width: 83%;
    height: 83%;
}

.pattern04{
    width: 83%;
    height: 83%;
}

.pattern04 p{
    border-top: 1px solid var(--border-color); /* 使用CSS变量 */
    width: 86%;
    height: 50%;
    transform-origin: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.pattern04 p:first-of-type{
  transform: rotate(0deg);
}
.pattern04 p:nth-of-type(2){
  transform: rotate(60deg);
}
.pattern04 p:nth-of-type(3){
  transform: rotate(120deg);
}
.pattern04 p:nth-of-type(4){
  transform: rotate(180deg);
}
.pattern04 p:nth-of-type(5){
  transform: rotate(240deg);
}
.pattern04 p:nth-of-type(6){
  transform: rotate(300deg);
}