:root {
	/*背景颜色/文本/按钮*/
	--black-color:#E3F2FD;
	--body-text-color:#1d1d1f;
	--button-color--: #5352ed;
/*主色.次色.深色*/
	--accent-color: #04db44;
  	--secondary-color: #fc3503;
  	--dark-color: #121B25;
    /* 链接.浅色/白色 */
	--link-color: #f1f2f3;
	--light-div-color: rgb(191, 221, 255);
	--light-fff-color: #263238;
	--word-button-color: #B2EBF2;
  }
/* Fonts */
:root {
	--body-font: : "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica",
	"Arial", sans-serif;
    /*--body-font: 'Raleway', 'PingFang SC', 'Microsoft YaHei', sans-serif;*/
    --heading-font: 'Kalam', 'Ma Shan Zheng', cursive, 'Microsoft YaHei';
    --sub-heading-font: 'Raleway', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
html{
	text-align: center;
    overflow-y: scroll;
    background-color: var(--black-color);
	color:var(--body-text-color);
	/* background-image: linear-gradient(to top, #d4fc79 0%, #96e6a1 100%); */
	
}
body {
	margin: 0; /* 移除默认边距 */
	padding: 0; /* 移除默认内边距 */
	width: 100%; /* 充满整个视窗宽度 */
	justify-content: center; /* 水平居中 */
	align-items: center; /* 垂直居中 */
	font-family: var(--body-font);
	box-sizing: border-box; /* 防止padding影响尺寸计算 */
	overflow-x: hidden; /* 防止横向滚动 */
	overflow-y: auto; /* 允许垂直滚动 */
	
  }
.index {
    display:flex; 
    justify-content: center;
    align-items: center;
	width: 100%;
	margin: 1em;
	padding: 1em;
	}
.menutext {
	display:flex; 
	justify-content: center;
	align-items: center;
	font-size: 1.8rem;
	margin: 0rem;
	padding: 0rem;
}
/* sun 画布 */
#solarSystem {
    width: 100%;
    height: auto;
}
canvas {
	display: block;
	margin: 0 auto;
}
#speedControl {
    /* 基础布局 */
    display: flex;
    margin: 1rem auto;
    width: 95%;
	justify-content: space-between;
    /* 增大整体尺寸 */
    height: 0.75rem; /* 增加滑块控制区域高度 */
    /* 重置 iOS 默认样式 */
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    touch-action: manipulation;
        }
#speedLabels {
	display: flex;
	justify-content: space-between;
	width: 95%;
	margin: 0 auto;
	font-size: 1.5rem;
}
#speedLabels span {
	min-width: 0; /* 允许元素缩小到内容的最小宽度 */
	max-width: 15rem; /* 根据需要设置最大宽度 */
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
  }
		/* 轨道样式 (增大高度) */
#speedControl::-webkit-slider-runnable-track {
    height: 0.75rem; /* 原8px → 12px */
    background: #ddd;
    border-radius: 1rem;
    border: 0.1rem solid #aaa;
}
/* 拖动柄样式 (增大尺寸) */
#speedControl::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 2rem;  /* 原28px → 40px */
    height: 2rem; /* 原28px → 40px */
    background: #3498db;
    border-radius: 50%;
    border: 0.2rem solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    margin-top: -0.75rem; /* 调整垂直居中：(thumb高度 - track高度)/2 */
}
/* Firefox 兼容 */
#speedControl::-moz-range-thumb {
    width: 1rem;
    height: 1rem;
    background: #3498db;
    border-radius: 50%;
}
#speedControl::-moz-range-track {
    height: 1rem;
}
.textbox {
	width: 100%;
	height: 15%;
	font-size: 4.5em;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	margin:  0;
	border: none;
	color: var(--light-fff-color);
	background-color:  var(--black-color);
	margin-top: 1em;
}
button {
	font-size: 1.5em;
	padding: 1em 2em;
	margin: 1em;
}
audio {
	margin-top: 5em;
	display: none;
}
.directory {
	display: flex;
	flex-wrap: wrap;
}
.directory > li {

	width: auto; /* 每个子项占据一半宽度 */
	display: block;
}
.directory > li,
ul > li {
	list-style-type: none; /* 移除项目符号 */
}

.xzbutton {
font-size: 1.8rem;
	width: 10rem; 
	padding:  0.1rem;
	margin: 1rem  2rem   1rem  2rem;
	height: 3.0rem;
	align-items: center;
	text-align: center;
	border: 0.2rem solid #888; /* 边框颜色 */
	cursor: pointer;
	border-radius: 1rem;
	transition: transform 0.1s; /* 添加过渡效果 */
	color: var(--light-fff-color);
	background: transparent;  
}
.xzbutton:active {
	transform: scale(0.95); /* 点击时缩
	小按钮 */
}
.xzbutton:hover {
	background-position: right center;
	background-size: 200% auto;
	-webkit-animation: pulse 2s infinite;
	animation: pulse512 1.5s infinite;
}
/* 设置下拉框样式 */
#csvDataSelector {
    width: 38.8rem;              /* 和 .engbutton 相同的宽度 */
    cursor: pointer;
    display: inline-flex;      /* 使用 flex 布局（和按钮一致） */

    font-size: 1.8rem;
    margin:2rem;
    border-radius: 1.0rem;
	background-color:  var(--black-color);
    transition: transform 0.1s, border-color 0.3s; /* 添加边框颜色过渡 */
    border: 0.2rem solid #555;
    color: var(--light-fff-color);
    outline: none;
    background: transparent;   /* 如果按钮有背景色，这里也要匹配 */
    padding: 0.4rem ;        /* 调整内边距，影响高度 */
    line-height: 1;            /* 防止文字行高影响布局 */
	margin-top: 2rem;  
}

/* 修改下拉选项的样式 */
#csvDataSelector option {
    background-color: var(--black-color); /* 选项背景色 */
    color: var(--light-fff-color);
}

/* 下拉框展开时的样式 (部分浏览器支持) */
#csvDataSelector:focus {
    background-color: var(--black-color);
}

/* 鼠标悬停时的选项样式 */
#csvDataSelector option:hover {
    background-color: #333; /* 悬停颜色 */
}



.engdiv  {
	display: flex;   
   justify-content: center; 
   align-items: center;   
   text-align: center;
   margin-top: 6rem;
   }


.engbutton {
    padding: 0.2rem ;
    margin: 2rem;
	width: 10rem;
	cursor: pointer;
	align-items: center;
	text-align: center;
	font-size: 2.5rem;
	border-radius: 1rem;
	border: 0.2rem solid #555;
	color: var(--light-fff-color);
	background: transparent;   
} 
.engbutton:active {
    transform: scale(0.95); /* 点击时缩小按钮 */
}
.engbutton:hover {
	background-position: right center;
	background-size: 200% auto;
	-webkit-animation: pulse 2s infinite;
	animation: pulse512 1.5s infinite;
}
p,a {
	font-size: 1.6rem;
}
.myUniqueID {
	padding-right: 0;
	padding-left: 1.5rem;
	font-size: 1.4rem;
	text-decoration: none;
}
h2 {
	margin-top: 0.7rem;
	margin-right: 0;
	margin-bottom: 0.2rem;
	margin-left: 0;
	padding-top: 0.4rem;
	padding-right: 0;
	padding-bottom: 0.2rem;
	padding-left: 1.5rem;
	height: 3rem;
	border-radius: 0.6rem 0.6rem 0.6rem 0.6rem;
	font-size: 1.5rem;
		/* 加阴影及立体感 */
	text-shadow: 0.2rem 0.2rem 0.4rem rgba(0, 0, 0, 0.5), -0.2rem -0.2rem 0.4rem rgba(255, 255, 255, 0.5); 
}
form {
	margin-bottom: 2rem;
	padding: 1rem;
	border-radius: 0.5rem;
}
/*form eng */
.formeng {
	display:flex;
	flex-direction: row;
	justify-content: center; 
	list-style-type: none;
	width:100%;
	margin-bottom: 2rem;
	padding: 1rem;
	border-radius: 0.5rem;
}
@keyframes pulse512 {
	0% {
		box-shadow: 0 0 0 0 #05bada66;
	}

	70% {
		box-shadow: 0 0 0 1rem rgb(218 103 68 / 0%);
	}

	100% {
		box-shadow: 0 0 0 0 rgb(218 103 68 / 0%);
	}
}
#myLabel {
	color: red;
  /* 颜色为红色 */
	font-size: 1.6rem;
  /* 字号为10号 */
}
.divx{
	margin: 0rem;
	margin: 0rem;
	padding: 0.4rem;
	width: 100%;
	height:80vh;
	align-items: flex-start;
}
.username {
	display: flex;
	padding-right: 5rem;
	margin: 0rem;
	width: 100%;
	height: 8rem;
	justify-content: flex-end;
	border-radius: 0rem;
	border: 0.1rem solid #c5c4c4; /* 边框颜色 */
	background-color: var(--light-div-color);
}
.navbar {
	display: flex;
	padding: 0.8rem;
	text-align: center;
	justify-content: space-evenly;
	z-index: 9999999;
	list-style-type: none;
}
.navbar a {
    margin-right:0.5rem;
	float: center;
	display: block;
	padding: 0.8rem;
	color: var(--body-text-color);
	font-size: 1.5rem;
	font-family: var(--body-font);
	letter-spacing: 0.05em;
	text-decoration: none;
	text-transform: capitalize;
	font-weight: 550;
}
.navbar a::after {
	content: "";
	text-align: center;
	display: block;
	width: 0;
	height: 0.2rem;
	background: var(--accent-color);
	transition: width 0.3s;
}
.navbar a.active::after,
.navbar a:focus::after,
.navbar a:hover::after {
	width: 100%;
	transition: width 0.3s;
}
.navbar .dropdown-toggle::after {
	display: inline-block;
	margin-left: 0em;
	vertical-align: 0em;
	content: "";
	border: none;
}
.navbar .dropdown-item.active,
.navbar .dropdown-item:active {
	color: var(--body-text-color);
	text-decoration: none;
	background-color: var(--background-color);
}
.dialog {
	
	margin: 0rem;
	margin: 0rem;
	padding: 0.4rem;
	width: 100%;
    /* border: 0.3rem solid #3742fa; 添加这一行来设置边框 */ 
    align-items: flex-start;
	
}
.dialog1 {
    height: 83vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 2rem; /* 距离顶部 20px */
}

.dialog2 {
	margin: 0rem;
	margin: 0rem;
	padding: 0.4rem;
	width: 100%;
    /* border: 0.3rem solid #3742fa; 添加这一行来设置边框 */ 
    align-items: flex-start;
	height:83vh;
	display: inline-block;
	 overflow-y: auto;
}
.center1 {
	display: flex;
	justify-content: center;
	align-items: center;
	height:3.5rem;
}
.parameter {
	display: flex;
	margin: 0rem;
	width: 100%;
}
h1 {
	margin: 1rem 0 0 0;
	padding: 0.2rem 0 0.2rem 0.5rem;
	height: 3rem;
	border-radius: 0.6rem 0.6rem 0.6rem 0.6rem;
	color: var(--body-text-color);
	font-size: 1.6rem;
	}
#description {
	display: inline;
	text-align: left;
	letter-spacing: 0.35rem;
	font-weight: 600;
	font-size: 1.4rem;
	line-height: 1.8; 
}
/* =============================================== */
.label {
	display: flex;
	margin: 0rem 0rem;
	padding: 0rem 0rem;
	border-radius: 10rem;
	cursor: pointer;
	transition: .3s;
	align-items: center;
	margin-left: 2rem;
	 
}
.label:hover,
  .label:focus-within,
  .label:active {
	background: transparent; 
	transform: scale(1.1);
}
.radio-input  {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 0.1rem;
	height: 0.1rem;
	opacity: 0;
  margin-left: 0.1rem;
  margin-right: 0.1rem;
}
  /* */
.radio-design {
	position: relative;
	margin: 0;
	padding: 0;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 10rem;
	background: linear-gradient(to right bottom, hsl(154, 97%, 62%), hsl(225, 97%, 62%));
}
.radio-design::before {
	display: inline-block;
	margin: 0;
	padding: 0;
	width: inherit;
	height: inherit;
	border-radius: inherit;
	background: hsl(0, 0%, 90%);
	content: '';
	transition: .3s;
	transform: scale(1.05);
}
 /* */
.radio-input:checked+.radio-design::before {
	transform: scale(0);
}
.label-text {
	margin-left: 1rem;
	margin-right: 0.5rem;
	color: #808080;
	text-transform: uppercase;
	letter-spacing: 0.1rem;
	font-weight: 600;
	font-size: 1.3rem;
	transition: .3s;
	
}
.radio-input:checked~.label-text {
	color: hsl(0, 0%, 20%);
}
/* 登录注册窗口*/
.form-box {
	background-color: var(--background-color);
	overflow: hidden;
	max-width: 30rem;
	border-radius: 1.6rem;
	color: #010101;
	text-shadow: 0.2rem 0.2rem 0.4rem rgba(250, 248, 248, 0.5), -0.2rem -0.2rem 0.4rem rgba(255, 255, 255, 0.5); 
	border: 0.1rem solid #000; 
	font-size: 1.6rem;

}
.form {
	position: relative;
	display: flex;
	padding: 3.2rem 2.4rem 2.4rem;
	text-align: center;
	flex-direction: column;
	gap: 1.6rem;
}
/*Form text*/
.title {
	
	font-weight: bold;
	text-shadow: 0.2rem 0.2rem 0.4rem rgba(250, 248, 248, 0.5), -0.2rem -0.2rem 0.4rem rgba(255, 255, 255, 0.5); 
}
.subtitle {
	color: #666;
	
}
/*Inputs box*/
.form-container {
	overflow: hidden;
	margin: 1.6rem 0 .8rem;
	width: 100%;
	border-radius: 0.8rem;
	font-size: 1.6rem;
	
}
.input {
    padding: 0.8rem 1.5rem;
    width: 100%;
    height: 4rem;
    outline: 0;
    border: 0;
    border-bottom: 0.1rem solid #333; 
    background: none;
	font-size: 1.6rem;
  
	 
}
.form-section {
	padding: 1.6rem;
	width: 100%;
	box-shadow: rgb(0 0 0 / 8%) 0 -0.1rem;
	font-size: 2.5rem;
}
.form-section a {
	color: #0066ff;
	font-weight: bold;
	transition: color .3s ease;
}
.form-section a:hover {
	color: #005ce6;
	text-decoration: underline;
}
/*Button*/
.form button {
	padding: 1rem 1.6rem;
	border: 0;
	border-radius: 2.4rem;
	background-color: #80adf0;
	color: var(--light-fff-color);
	font-weight: 600;
	font-size: 1.6rem;
	cursor: pointer;
	transition: background-color .3s ease;
}
.form button:hover {
	background-color: #005ce6;
}
/* card2*/
.unique-card {
	position: relative;
	display: inline-block;
	overflow: hidden;
	margin: 1.0rem;
	width: 23%;
	height: 23rem;
	border-radius: 1.5em;
	box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.2);
	transition: transform 0.3s, box-shadow 0.3s;
	justify-content: left;
	background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
	color: #222222;
}
.unique-card:hover {
	box-shadow: 0 0.8rem 1.5rem rgba(0, 0, 0, 0.3);
	transform: scale(1.1);
}
.card-content {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 95%;
	height:80%;
	z-index: 2;
	display: inline-block;
	color: #222222;
	text-align: center;
	transition: color 0.3s;
	transform: translate(-50%, -50%);
	border-radius: 1rem;
}
.unique-card:hover .card-content {
	color: #fa4b1f;
}
.background-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 1.5rem;
	opacity: 0;
	transition: opacity 0.3s;
}
.unique-card:hover .background-overlay {
	opacity: 1;
}
.card-title {
	margin-bottom: 1rem;
	text-align: center;
	font-weight: bold;
	font-size: 1.6rem;
	writing-mode: horizontal-tb;
	text-orientation: upright;
}
.card-description {
	text-align: left;
	font-size: 1.2rem;
}
table {
	margin: auto;
	width: 95%;
	border-collapse: collapse;
	background-color: var(--light-fff-color);
	box-shadow: 0 0 1rem rgba(0,0,0,0.15);
	font-size: 1.0rem;
	color: var(--black-color);
}
th, td {
	padding: 0.5rem;
	border: 0.1rem solid #dddddd;
	text-align: center;
	transition: all 0.3s;
}
tr:hover td {
	background-color: #c5c4c4;
}
/* 首页图片 */
.img-responsive {
	width: 50rem;
	height: auto;
}
/*验证码 */
.captchaImg {
	width: 12rem;
	height: auto;
}
.footer{
color: var(--body-text-color);
border: 0.1rem solid #c5c4c4; /* 边框颜色 */
background-color: var(--light-div-color);
}
footer a:visited {  
  color: var(--link-color); /* 设置访问过的链接颜色为紫色 */  
} 
/* about */
.svg-frame {
	margin:1rem;
	position: relative;
	width: 30rem;
	height: 30rem;
	transform-style: preserve-3d;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--black-color);
}
.svg-frame svg {
	position: absolute;
	transition: .5s;
	z-index: calc(1 - (0.2 * var(--j)));
	transform-origin: center;
	width: 344px;
	height: 344px;
	fill: none;
 }
.svg-frame:hover svg {
  transform: rotate(-80deg) skew(30deg) translateX(calc(45px * var(--i))) translateY(calc(-35px * var(--i)));
}
.svg-frame svg #center {
  transition: .5s;
  transform-origin: center;
}
.svg-frame:hover svg #center {
  transform: rotate(-30deg) translateX(45px) translateY(-3px);
}
#out2 {
  animation: rotate16 7s ease-in-out infinite alternate;
  transform-origin: center;
}
#out3 {
  animation: rotate16 3s ease-in-out infinite alternate;
  transform-origin: center;
  stroke: rgb(255, 94, 0);
}
#inner3,
#inner1 {
  animation: rotate16 4s ease-in-out infinite alternate;
  transform-origin: center;
}
#center1 {
  fill: rgb(255, 94, 0);
  animation: rotate16 2s ease-in-out infinite alternate;
  transform-origin: center;
}
@keyframes rotate16 {
  to {
    transform: rotate(360deg);
  }
}
/* 关于我们 */
.card1 {
	display:inline-block;
	width: 35rem;
	height: 8rem;
	padding: 0.5rem;
	margin:5rem;
	background: rgba(220, 220, 220, 0.34);
	border-radius: 1rem;
	backdrop-filter: blur(0.5rem);
	border-bottom: 0.3rem solid rgba(255, 255, 255, 0.440);
	border-left: 0.2rem  rgba(255, 255, 255, 0.545) outset;
	box-shadow: -4rem 5rem 3rem rgba(0, 0, 0, 0.280);
	transform: skewX(10deg);
	transition: .4s;
	overflow: hidden;
	color: black;
	background-image: linear-gradient(to right, #eea2a2 0%, #bbc1bf 19%, #57c6e1 42%, #b49fda 79%, #7ac5d8 100%);
}
.card1:hover {
  height: 25rem;
  transform: skew(0deg);
}
.align1 {
 display:flex;
  padding: 1rem;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-self: flex-start;
}
.red {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: #ff605c;
  box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.280);
}
.yellow {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: #ffbd44;
  box-shadow: -0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.280);
}
.green {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: #00ca4e;
  box-shadow: -0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.280);
}
.card1 h1 {
  margin: 1.3rem;
  color: black;
  text-shadow: -1rem 0.5rem 1rem rgba(0, 0, 0, 0.573);
}
.error-container {
	width: 100%;
	height:85vh;
}
.error-container h1 {
    font-size: 15rem;
    font-weight: bold;
    color:#424242;
}
.error-container p {
    font-size: 1.6rem;
	color: #d7f88b;
}
.error-container a {
    color: #0088cc;
    text-decoration: none;
}

/* 弹出式单词查看 */
.toast {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: #000;
	border: 1px solid #f8e003;
	padding: 15px;
	display: none;
	z-index: 1000;
	animation: fadein 0.5s, fadeout 0.5s 2.5s;
  }
.toast-textbox {
	width: 300px;
	height: 30px;
	color: #f8e003;
	background-color: #000;
	border: none;
	font-size: 16px;
	text-align: center;
  }
  @keyframes fadein {
	from {bottom: 0; opacity: 0;}
	to {bottom: 20px; opacity: 1;}
  }
  @keyframes fadeout {
	from {bottom: 20px; opacity: 1;}
	to {bottom: 0; opacity: 0;}
  }
/* 弹出式单词查看 */
.floating-textbox {
	position: fixed;
	top: 18rem;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1000;
	height: 4.0rem;
	width: 95%;
	color:var(--body-text-color);
	background-color: var(--light-div-color);
	border: 0.1rem solid #fa0000;
	text-align: center;
	font-size: 2.5rem;
	display: none; /* 默认隐藏 */
  }
  .kong {
	height:3rem;
}

/* 英语查看1*/
.words-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.word-button {
    position: relative; /* 使伪元素相对于按钮定位 */
    padding: 0.2rem 0.2rem;
    color: var(--body-text-color);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1.5rem;
    min-width: 2rem;
    height: 3rem;
    background-color: var(--word-button-color);
    overflow: hidden; 
    transition: all 0.2s ease;
	border: 0.2rem solid #888;
}
.word-button:active {
    transform: scale(0.9); /* 点击时稍微缩小 */
    box-shadow: 0 0.2rem 0.5rem rgba(154, 253, 145, 0.2) inset; /* 添加内阴影 */
	color: var(--secondary-color);
	background: transparent;  
}
.word-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent; /* 初始透明 */
    z-index: 1; /* 确保在文本下方或上方，根据需要调整 */
    opacity: 0; /* 初始不可见 */
    transition: opacity 0.2s ease; /* 过渡透明度 */
}
 .word-button:hover {
    opacity: 0.8; /* 悬停时显示 */
    background: transparent;  
	color: var(--secondary-color);
}

/* 英语查看2*/ 
.wbutton {
	cursor: pointer;
	font-size: large;
	font-family: inherit;
	font-weight: bold;
	color: #0011ff;
	background-color: #f8f8fd;
	padding: 2rem ;
	margin: 1rem ;
	border-radius: 1rem;
	border: 0.5rem solid #8b93f8;
	box-shadow: 0px 0.5rem #1f35ff;
  }
  .wbutton:active {
	position: relative;
	top: 0.5rem;
	border:0.5rem solid #646fff;
	box-shadow: 0px 0px;
  }
