* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", SimSun, sans-serif;
  color: #1a1208;
  background: #140804 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Crect fill='%23140804' width='80' height='80'/%3E%3Cpath d='M0 80L80 0H60L0 60zm80 0V60L60 80z' fill='%231c0c06'/%3E%3C/svg%3E");
}

button {
  font: inherit;
  cursor: pointer;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 12px 28px;
}

.bgtu {
  text-align: center;
  padding: 18px 0 8px;
}

.logo-board {
  display: inline-block;
  min-width: min(92vw, 640px);
  padding: 28px 40px 32px;
  background: linear-gradient(#3a1a08, #1a0a04);
  border: 3px solid #e3b341;
  box-shadow:
    0 0 0 4px #5a2a10,
    0 0 28px rgba(227, 179, 65, 0.35),
    inset 0 0 40px rgba(0, 0, 0, 0.45);
}

.logo-en {
  letter-spacing: 0.42em;
  color: #e3b341;
  font-size: 13px;
  margin-bottom: 8px;
}

.logo-cn {
  font-size: 52px;
  font-weight: 700;
  color: #ffe9a6;
  text-shadow: 0 2px 0 #7a4a10, 0 0 18px rgba(255, 200, 80, 0.45);
  letter-spacing: 0.28em;
  line-height: 1.1;
}

.logo-sub {
  margin-top: 10px;
  color: #f0d48a;
  font-size: 14px;
  letter-spacing: 0.2em;
}

.cneet {
  margin-top: 10px;
  padding: 18px 22px 28px;
  background: #fff6df;
  border: 2px solid #c9a227;
  box-shadow: 0 8px 0 #3a1c08;
}

.title {
  text-align: center;
  font-size: 26px;
  color: #3a1a08;
  margin-bottom: 8px;
}

.title span {
  color: #d10b0b;
}

.title em {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-style: normal;
  color: #7a5a30;
  font-weight: 400;
}

.left {
  float: left;
  width: 62%;
}

.rigth {
  float: right;
  width: 35%;
  padding-top: 8px;
}

.clear {
  clear: both;
}

.red {
  text-align: center;
  margin: 10px 0 16px;
}

.official {
  font-size: 18px;
  color: #d10b0b;
  font-weight: 700;
}

.domain {
  margin-top: 4px;
  font-size: 36px;
  line-height: 1.2;
  color: #d10b0b;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.intro .row {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  line-height: 1.9;
}

.hot {
  color: #d10b0b;
}

.bt1 {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 12px 10px;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  color: #3a1a08;
  background: linear-gradient(#ffe37a, #e1a31a);
  border: 2px solid #8a5a10;
  box-shadow: 2px 2px 0 #5a3a08;
}

.bt1:hover {
  filter: brightness(1.08);
}

.bt1.alt {
  color: #123a8a;
}

.bt1.green {
  color: #0b6b18;
}

.bt1.purple {
  color: #6b1a8a;
}

.dipaUl {
  margin-top: 22px;
}

.dipaUl ul {
  list-style: none;
  font-size: 0;
  text-align: center;
}

.dipaUl ul li {
  display: inline-block;
  width: 30%;
  vertical-align: top;
  margin-left: 2%;
  margin-top: 8px;
  font-size: 14px;
}

.dipaUl ul li:first-child {
  margin-left: 0;
}

.shot {
  min-height: 168px;
  padding: 22px 14px 16px;
  border: 3px solid #c9a227;
  color: #ffe9a6;
  text-align: center;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.35);
}

.shot span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  opacity: 0.9;
}

.shot strong {
  display: block;
  margin: 18px 0 8px;
  font-size: 18px;
}

.shot em {
  font-style: normal;
  font-size: 12px;
  color: #f0d48a;
}

.shot-a {
  background: linear-gradient(160deg, #3a1c10, #120806);
}

.shot-b {
  background: linear-gradient(160deg, #1c2a3a, #0a1018);
}

.shot-c {
  background: linear-gradient(160deg, #1a2a18, #081008);
}

.panel {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #d7b56a;
}

.panel-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.lead,
.hint {
  color: #5a4630;
  font-size: 13px;
  margin-bottom: 14px;
  line-height: 1.7;
}

.month-bar,
.term-year {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.month-bar button,
.term-year button {
  padding: 6px 12px;
  background: #fff1c4;
  border: 1px solid #c9a227;
  color: #3a1a08;
  font-weight: 700;
}

.weekdays,
.grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.weekdays span {
  text-align: center;
  font-size: 12px;
  color: #7a5a30;
  padding: 4px 0;
}

.cell {
  min-height: 64px;
  padding: 6px 4px;
  background: #fffaf0;
  border: 1px solid #e6d2a0;
  text-align: center;
  cursor: pointer;
}

.cell.empty {
  background: transparent;
  border-color: transparent;
  cursor: default;
}

.cell .n {
  display: block;
  font-weight: 700;
}

.cell .l {
  display: block;
  font-size: 11px;
  color: #7a5a30;
}

.cell.mark .l {
  color: #d10b0b;
  font-weight: 700;
}

.cell.today {
  outline: 2px solid #d10b0b;
}

.term-list,
.fest-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.term-item,
.fest-item {
  padding: 10px 12px;
  background: #fffaf0;
  border: 1px solid #e6d2a0;
}

.term-item b,
.fest-item b {
  display: block;
  margin-bottom: 4px;
}

.term-item span,
.fest-item span {
  color: #7a5a30;
  font-size: 13px;
}

.foot {
  margin-top: 14px;
  padding: 12px 8px;
  text-align: center;
  color: #cbb48a;
  font-size: 12px;
  line-height: 1.8;
}

@media (max-width: 860px) {
  .left,
  .rigth,
  .dipaUl ul li,
  .term-list,
  .fest-list {
    float: none;
    width: 100%;
    margin-left: 0;
    grid-template-columns: 1fr;
  }

  .logo-cn {
    font-size: 34px;
    letter-spacing: 0.12em;
  }

  .domain {
    font-size: 26px;
  }

  .dipaUl ul li {
    margin-top: 12px;
  }
}
