body {
    margin: 0;
    padding: 0;

    font-family: "Montserrat", sans-serif;
    line-height: 1.5em;
  
    overflow: auto; /* 允许滚动 */
    scrollbar-width: none; /* Firefox隐藏滚动条 */
    -ms-overflow-style: none; /* IE/Edge隐藏滚动条 */
}

:root {
    --page-names-background-color: #743f08;
    --normal-Page-backgroundcolor:whitesmoke;

    --blur: 2px;

    --zindex-page:999;
}

/* ===== Scrollbar CSS ===== */
  /* Firefox */
  * {
    scrollbar-width: auto;
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width:3px;
    height: 3px;
  }

 *::-webkit-scrollbar-track {
    background: rgba(0,0,0,0);
  } 

  *::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
  }
/*--------------- font ------------*/
@font-face {
    font-family: 'CustomFont';
    src: url('../resources/kai.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: 'LogoFont1';
    src: url('../resources/Togalite-Thin-2.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: 'LogoFont2';
    src: url('../resources/FangTi-2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'LogoFont3';
    src: url('../resources/ChillLongCangKaiShu_Bold.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'LogoFont4';
    src: url('../resources/MantouSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
/*--------------- page ------------*/
.page  {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: var(--zindex-page);
    display: flex;
    align-items: center;
    justify-content: center;

    font-family: CustomFont,cursive;
    font-size: 1.2em;
  }

.page-container {
	display: flex;
	flex-direction: column;
	height: 100vh; /* 或父容器高度 */
	width: 100vw;
  }


.page-subcontainer-scroll {
    position: relative; 
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom:10px;
  }

  .page-subcontainer-scroll::-webkit-scrollbar {
    display: none;
  }


  .page-subcontainer-scroll-content {
    min-height: 200vh;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column; /* 改为垂直方向 */
    justify-content: flex-start; /* 从顶部开始 */
    margin-bottom:20px;
  }

.page-tip {
	padding-top: 80px; /* 这个应该生效 */
	width: 80%;
	margin: 0px auto;
	color: #000000;
  }
  .page-tip > h1 {
	font-family: 'Open Sans';
	font-weight: 700;
	font-style: italic;
	text-align: center;
	margin: 0;
	font-size: 2em;
  }
  .page-tip > h1 .large {
	font-weight: 800;
	text-transform: uppercase;
	font-style: normal;
	font-size: 1em;
  }
  .page-tip > p {
	line-height: 1.8em;
	text-align: justify;
	font-family: 'Gentium Basic';
  }
  .page-tip > a {
	color: rgba(255,255,255,0.3);
	text-decoration: none;
  }
  .page-tip > a:hover {
	color: #000000;
  }
  .page-tip > h2.pinline {
	text-align: center;
	display: block;
	overflow: hidden;
	font-size: 0.8em;
	font-weight: 100;
	margin: 40px 0;
	font-family: 'Open Sans';
	font-weight: 700;
	text-transform: uppercase;

  }
  .page-tip > h2.pinline span {
	position: relative;
	display: inline-block;
	line-height: 1;
  }
  .page-tip > h2.pinline span:before,
  .page-tip > h2.pinline span:after {
	content: "";
	position: absolute;
	top: 50%;
	height: 1px;
	background: #000000;
	width: 99999px;
  }
  .page-tip > h2.pinline span:before {
	left: 100%;
	margin-left: 20px;
  }
  .page-tip > h2.pinline span:after {
	right: 100%;
	margin-right: 20px;
  }

  .s-hidden {
    overflow-x: auto;
    overflow-y: hidden;
  }
/* =========================== popup ===============================. */
.zppop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index:1001;
  display:none;
}
 
.container {
  background-color: red;
  position: absolute;
  top: 25%;
  left: 25%;
  right: 25%;
  bottom: 25%;
  overflow: auto; /* 确保容器内容溢出时显示滚动条 */
}

/* ===== Scrollbar CSS ===== */
.menu-item {
  padding: 6px 12px;
  cursor: pointer;
  white-space: nowrap;
  color: #333;
  font-size: 14px;
}

.menu-item:hover {
  color: #f5f7fa;
  background-color: rgba(0, 0, 0, 0.4);
}

.menu-item:not(:last-child) {
  border-bottom: 1px solid #e5e7eb;
}

/* Chrome, Edge, and Safari */
.container::-webkit-scrollbar {
  height: 3px;
}

.container::-webkit-scrollbar-track {
  background: rgba(0,0,0,0);
  margin:5px 5px;
}

.container::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.2);
}
.y-hidden {
  overflow-x: visible;
  overflow-y: hidden;
}

/* --------------------- pop --------------------------- */
.pop{
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  display: none; 
  justify-content: center;
  align-items: center;
  z-index: 1000; 
  background: rgba(0,0,0,0.1);
}
.pop-box{
  background: #222831; 
  width: 80%; 
  height: 60%; 
  position: relative; 
  padding: 0; 
  margin: 0;  
  box-shadow:-1px 1px var(--blur) 1px rgba(0,0,0,0.10),  
    -2px 2px var(--blur) 1px rgba(0,0,0,0.09),  
    -3px 3px var(--blur) 1px rgba(0,0,0,0.08),  
    -4px 4px var(--blur) 1px rgba(0,0,0,0.07),  
    -5px 5px var(--blur) 1px rgba(0,0,0,0.06),  
    -6px 6px var(--blur) 1px rgba(0,0,0,0.05),  
    -7px 7px var(--blur) 1px rgba(0,0,0,0.04),  
    -8px 8px var(--blur) 1px rgba(0,0,0,0.03),  
    -9px 9px var(--blur) 1px rgba(0,0,0,0.03),  
    -10px 10px var(--blur) 1px rgba(0,0,0,0.03),  
    -11px 11px var(--blur) 1px rgba(0,0,0,0.03),  
    -12px 12px var(--blur) 1px rgba(0,0,0,0.02),  
    -13px 13px var(--blur) 1px rgba(0,0,0,0.02),  
    -14px 14px var(--blur) 1px rgba(0,0,0,0.01),  
    -15px 15px var(--blur) 1px rgba(0,0,0,0.01),  
    -16px 16px var(--blur) 1px rgba(0,0,0,0.01);
}
.pop-container{
  position: relative;
  writing-mode: vertical-rl; 
  text-orientation: upright;
  width: 100%; 
  height: 100%;
  margin:6px; 
  overflow-y:auto ; 
  padding: 20px; 
  box-sizing: border-box;
}
                    
   