body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background-color: #eef2f7;
    color: #1f2937;
    line-height: 1.6;
}

ul li {
  list-style-type: none;
}

/*Github角标样式*/
.github-corner{
	z-index: 999;
	position: sticky;
	top: 0;
}


/*欢迎页设置*/
.welcome-page {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
  padding: 20px;
}

.welcome-flex {
  text-align: center;
}

.wfirst {
  font-size: 2em;
  margin-bottom: 40px;
}

.wsecond {
  font-size: 1.5em;
  margin-bottom: 80px;
}

.wbutton {
  padding: 10px 20px;
  background-color: #2f6df6;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 2em;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(47, 109, 246, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wbutton:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(47, 109, 246, 0.35);
}



/*选专业页设置*/
.major-page {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
  padding: 20px;
}

.major-title {
  font-size: 1.5em;
  margin-bottom: 20px;

}

.major-rgroup {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.major-ritem {
  font-size: 1.5em;
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}


.major-page input {

  border-radius: 50%;
  width: 16px;
  height: 16px;

  border: 2px solid #999;
  transition: 0.2s all linear;
  margin-right: 5px;

  position: relative;
}

.major-page input:checked {
  border: 6px solid black;
}

.major-button {
  padding: 10px 20px;
  background-color: #2f6df6;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1em;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 20px; 
  box-shadow: 0 8px 20px rgba(47, 109, 246, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.major-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(47, 109, 246, 0.35);
}

/*填志愿页设置*/
.apply-page {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
  padding: 20px;
}

.apply-title {
  font-size: 1.5em;
  margin-bottom: 20px;
}

.apply-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(760px, 90vw);
}

.apply-univname {
  font-size: 1.2em;
}

.apply-univtext {
  margin-top: 5px;
}

.apply-univcontainer {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  background-color: #ffffff;
  border: 1px solid #d8e2f1;
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.apply-univcontainer.done {
  background-color: #e8f0ff;
  border-color: #2f6df6;
}
.apply-univcontainer:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  border-color: #bcd0f5;
}





/*
.apply-description {
  font-size: 1.5em;
  margin-bottom: 20px;
}

.apply-univ {
  font-size: 1em;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  width: 40%;
  background-color: beige;
}

.apply-univ-label {
  font-size: 1.2em;
  height: 65%;
}
*/

.apply-button {
  padding: 10px 20px;
  background-color: #2f6df6;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 0.9em;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 20px; 
  box-shadow: 0 8px 20px rgba(47, 109, 246, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.apply-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(47, 109, 246, 0.35);
}

/*录取页设置*/
.admission-page {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
  padding: 20px;
}

.admission-title {
  font-size: 1.7em;
  margin-bottom: 35px;
}

.admission-txt {
  font-size: 1.3em;
  margin-bottom: 50px;
}

.admission-button {
  padding: 10px 20px;
  background-color: #2f6df6;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1em;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(47, 109, 246, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.admission-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(47, 109, 246, 0.35);
}


/*主页面*/




.mTitle {
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.statusBar {
    overflow: hidden;
    background: linear-gradient(90deg, #1f2937 0%, #2f3b52 100%);
    text-align: center;
    padding: 30px;
	position: sticky;
	top: 0;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

.status-span {
  padding: 14px;
  color: white;
  white-space: nowrap;   /* 避免状态栏在奇怪的地方换行  */
}

.plain-status-span {
  padding: 5px;
  font-weight: normal;
  color: white;
}

.warning-status-span {
  color: #FF6666;
  font-weight: bold;
}

.bcontainer {
    display: flex;
    flex-wrap: wrap;
}

.sidebar {
    width: 100%;  /*显示在小屏幕上时为100%宽度*/
    background-color: #ffffff;
    padding: 15px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.ccontainer {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* 媒体查询：当屏幕宽度大于600px时，应用以下样式 */
@media screen and (min-width: 600px) {
  .sidebar {
    width: 20%; /* 在大屏幕上侧边栏宽度为20% */
  }
  .ccontainer {
    width: 60%; /* 在大屏幕上内容宽度为60% */
  }
  .bcontainer {
    flex-direction: row;
  }
}

/* 学期规划界面 */
.splan-container {
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  width: min(720px, 90vw);
}

.splan-title {
  font-size: 1.4em;
  margin-bottom: 20px;
}

.splan-buttonbox {
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  font-size: 1em;
  margin-bottom: 15px;
  background-color: #ffffff;
  color: #1f2937;
  text-align: center;
  border: 1px solid #e1e8f5;
  border-radius: 10px;
  padding: 12px 10px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.splan-button {
  width: 80%;
  padding: 8px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.2em;
  cursor: pointer;
  border-radius: 5px;
  border: none;
  background-color: #2f6df6;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(47, 109, 246, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  margin-bottom: 8px;
}
.splan-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(47, 109, 246, 0.3);
}

/* 特殊事件界面 */
.sevent-container {
  padding: 15px;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  width: min(720px, 90vw);
}

.sevent-title {
  font-size: 1.3em;
  margin-bottom: 30px;
}

.sevent-para1 {
  padding: 15px;
  font-size: 1.3em;
  margin-bottom: 40px;
  background-color: #f5f7fb;
  width: min(520px, 80vw);
  text-align: center;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.sevent-para2 {
  background-color: #f5f7fb;
  width: min(520px, 80vw);
  padding: 10px;
  text-align: center;
  margin-bottom: 30px;
  justify-content: center;
  align-items: center;
  line-height: 150%;
  border-radius: 10px;
}

.sevent-button {
  padding: 5px;
  font-size: 1.2em;
  width: 30%;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  border-radius: 5px;
  border: none;
  background-color: #2f6df6;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(47, 109, 246, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sevent-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(47, 109, 246, 0.3);
}

/* 转场页  */
.trans-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: lightyellow;
}

.trans-text {
  font-size: 1.3em;
  margin-bottom: 20px;
}


/* 期末考试页  */
.exam-container {
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  width: min(720px, 90vw);
}

.exam-title {
  font-size: 1.5em;
  margin-bottom: 15px;
}
.exam-subtitle {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.exam-para {
  margin-bottom: 10px;
}

.exam-button {
  padding: 10px;
  text-align: center;
  display: inline-block;
  font-size: 1.2em;
  cursor: pointer;
  border-radius: 5px;
  border: none;
  background-color: #2f6df6;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(47, 109, 246, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.exam-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(47, 109, 246, 0.3);
}

/* 假期事件页 */
.vacation-container {
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  width: min(720px, 90vw);
}

.vacation-title {
  font-size: 1.5em;
  margin-bottom: 25px;
}
.vacation-div1 {
  font-size: 1.3em;
  margin-bottom: 10px;
}
.vacation-div2 {
  margin-bottom: 20px;
  line-height: 150%;
}

.vacation-button {
  padding: 10px;
  text-align: center;
  display: inline-block;
  font-size: 1.2em;
  cursor: pointer;
  border-radius: 5px;
  border: none;
  background-color: #2f6df6;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(47, 109, 246, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.vacation-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(47, 109, 246, 0.3);
}

/* 补考页 */
.resit-container {
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  width: min(720px, 90vw);
}

.resit-title {
  font-size: 1.5em;
  margin-bottom: 25px;
}
.vacation-div {
  margin-bottom: 10px;
}

.resit-button {
  margin-top: 35px;
  padding: 10px;
  text-align: center;
  display: inline-block;
  font-size: 1em;
  cursor: pointer;
  border-radius: 5px;
  border: none;
  background-color: #2f6df6;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(47, 109, 246, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.resit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(47, 109, 246, 0.3);
}







/*  学年总结页  */
.yearr-container {
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  width: min(720px, 90vw);
}

.yearr-title {
  font-size: 1.5em;
  margin-bottom: 30px;
}
.yearr-div {
  line-height: 150%;
  margin-bottom: 5px;
}
.yearr-button {
  padding: 10px;
  text-align: center;
  display: inline-block;
  font-size: 1.2em;
  cursor: pointer;
  border-radius: 5px;
  border: none;
  background-color: #2f6df6;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(47, 109, 246, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.yearr-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(47, 109, 246, 0.3);
}




/* 结局页相关  */

.gameover-page {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
  padding: 20px;
}

.gameover-title {
  font-size: 2em;
  margin-bottom: 10px;
}

.gameover-subtitle {
  font-size: 1.5em;
  margin-bottom: 20px;
}

.gameover-container {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.gameover-button {
  margin-top: 30px;
  padding: 10px 20px;
  background-color: #2f6df6;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.2em;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(47, 109, 246, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gameover-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(47, 109, 246, 0.35);
}



/*  结算页相关   */

.enddata-page {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
  padding: 20px;
}

.enddata-title {
  font-size: 2em;
  margin-bottom: 40px;
  text-align: center;
}

.enddata-container {
  margin-bottom: 10px;
  font-size:1.2em;
  line-height: 150%;
}

.enddata-rankdiv {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.4em;
}

.enddata-button {
  padding: 10px 20px;
  background-color: #2f6df6;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.2em;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(47, 109, 246, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.enddata-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(47, 109, 246, 0.35);
}


.attr-rating-S {
  color:red;
}

.attr-rating-A {
  color:gold;
}

.attr-rating-B {
  color: green;
}

.attr-rating-C {
  color: lightblue;
}

.attr-rating-D {
  color: darkblue;
}

.attr-rating-E {
  color: dimgrey;
}

.end-rating-S {
  color:red;
}
.end-rating-A {
  color:gold;
}

.end-rating-B {
  color: green;
}

.end-rating-C {
  color: lightblue;
}

.end-rating-D {
  color: darkblue;
}

.end-rating-E {
  color: dimgrey;
}



/* 通关特典页面  */

.gift-page {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
  padding: 20px;
}

.gift-rating-S {
  color:red;
}
.gift-rating-A {
  color:gold;
}

.gift-rating-B {
  color: lightgreen;
}

.gift-rating-C {
  color: lightblue;
}

.gift-rating-D {
  color: darkblue;
}

.gift-rating-E {
  color: black;
}

.gift-title {
  font-size: 1.5em;
  margin-bottom: 20px;
  text-align: center;
}

.gift-container {
  margin-bottom: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gift-item {
  padding:10px;
  background: #ffffff;
  margin-bottom: 10px;
  border: 1px solid #d8e2f1;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.gift-item.done {
  background: #e8f0ff;
  border-color: #2f6df6;
}

.gift-button {
  padding: 10px;
  background-color: #2f6df6;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1em;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(47, 109, 246, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gift-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(47, 109, 246, 0.35);
}
