.page-disclaimer {
  background-color: #F5F1E8;
  color: #1A1A1A;
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

.terms-frame {
  position: relative;
  padding: 1.5rem 1.25rem 1.25rem;
  background-color: #0B3D2E;
  color: #F5F1E8;
  overflow: hidden;
}

.terms-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.terms-frame::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  pointer-events: none;
}

.terms-frame__inner {
  position: relative;
  max-width: 75rem;
  margin: 0 auto;
  z-index: 1;
}

.page-disclaimer .breadcrumb {
  margin-bottom: 1.5rem;
}

.page-disclaimer .breadcrumb__link {
  color: rgba(245, 241, 232, 0.7);
  transition: color 160ms ease;
}

.page-disclaimer .breadcrumb__link:hover {
  color: #D4AF37;
}

.page-disclaimer .breadcrumb__item[aria-current="page"] {
  color: #D4AF37;
}

.terms-frame__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #D4AF37;
  text-transform: uppercase;
  border-left: 2px solid #D4AF37;
  padding-left: 0.75rem;
  margin-bottom: 1rem;
}

.terms-frame__title {
  font-family: "Noto Serif SC", "STKaiti", "KaiTi", serif;
  font-size: 2.25rem;
  line-height: 1.2;
  color: #F5F1E8;
  margin: 0 0 1rem;
  letter-spacing: 0.04em;
}

.terms-frame__title-sub {
  color: #D4AF37;
}

.terms-frame__title-pipe {
  color: #D4AF37;
  margin: 0 0.35em;
  opacity: 0.75;
}

.terms-frame__lead {
  font-size: 1rem;
  color: rgba(245, 241, 232, 0.88);
  border-left: 3px solid #D4AF37;
  padding-left: 1rem;
  margin: 0 0 1.25rem;
  max-width: 46rem;
}

.terms-frame__figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background-color: #082A20;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.terms-frame__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.terms-frame__caption {
  font-size: 0.75rem;
  color: rgba(245, 241, 232, 0.58);
  padding: 0.5rem 1rem 0.75rem;
  text-align: right;
  letter-spacing: 0.06em;
}

.terms-toc {
  position: relative;
  padding: 2.5rem 1.25rem 2rem;
  background-color: #F5F1E8;
  background-image:
    linear-gradient(rgba(11, 61, 46, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 61, 46, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
}

.terms-toc__inner {
  max-width: 75rem;
  margin: 0 auto;
}

.terms-toc__title {
  font-family: "Noto Serif SC", "STKaiti", "KaiTi", serif;
  font-size: 1.75rem;
  color: #0B3D2E;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.terms-toc__mark {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #E34234;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  border: 1px solid rgba(227, 66, 52, 0.35);
  border-radius: 999px;
  padding: 0 0.75rem;
  line-height: 1.9;
  white-space: nowrap;
}

.terms-toc__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.terms-toc__link {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  background: rgba(245, 241, 232, 0.68);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-left: 3px solid #D4AF37;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  text-decoration: none;
  color: #1A1A1A;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.terms-toc__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 61, 46, 0.12);
  border-left-color: #E34234;
}

.terms-toc__index {
  font-family: "Noto Serif SC", "STKaiti", serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #E34234;
}

.terms-toc__name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #0B3D2E;
}

.terms-timeline {
  position: relative;
  padding: 1.5rem 1.25rem 3rem;
  background-color: #F5F1E8;
}

.terms-timeline__inner {
  position: relative;
  max-width: 75rem;
  margin: 0 auto;
  padding-left: 2.5rem;
}

.terms-timeline__inner::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 2rem;
  left: 1.25rem;
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    #D4AF37 0,
    #D4AF37 4px,
    transparent 4px,
    transparent 9px
  );
  opacity: 0.5;
}

.terms-clause {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
  scroll-margin-top: 5rem;
}

.terms-clause__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #0B3D2E;
  border: 2px solid #D4AF37;
  color: #D4AF37;
  font-family: "Noto Serif SC", "STKaiti", serif;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 1;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
  transition: border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}

.terms-clause:hover .terms-clause__badge {
  border-color: #E34234;
  color: #E34234;
  transform: scale(1.06);
  box-shadow: 0 0 8px rgba(227, 66, 52, 0.28);
}

.terms-clause__card {
  position: relative;
  background: linear-gradient(135deg, rgba(245, 241, 232, 0.92) 0%, rgba(240, 229, 200, 0.6) 100%);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 10px;
  padding: 1.25rem 1.25rem 1.1rem;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.terms-clause__card::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 0;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: #D4AF37;
}

.terms-clause:hover .terms-clause__card {
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(11, 61, 46, 0.1);
}

.terms-clause__title {
  font-family: "Noto Serif SC", "STKaiti", serif;
  font-size: 1.25rem;
  color: #0B3D2E;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}

.terms-clause__text {
  font-size: 0.875rem;
  line-height: 1.85;
  color: #1A1A1A;
  margin: 0 0 0.75rem;
}

.terms-clause__text:last-child {
  margin-bottom: 0;
}

.terms-clause__link {
  color: #1F6F5A;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 111, 90, 0.35);
  transition: color 160ms ease, border-color 160ms ease;
}

.terms-clause__link:hover {
  color: #E34234;
  border-bottom-color: #E34234;
}

.terms-clause__list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
}

.terms-clause__list:last-child {
  margin-bottom: 0;
}

.terms-clause__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: #1A1A1A;
}

.terms-clause__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E34234;
  box-shadow: 0 0 6px rgba(227, 66, 52, 0.4);
}

.terms-timeline__back {
  margin-top: 1.5rem;
  text-align: right;
}

.terms-more {
  background-color: #082A20;
  padding: 2.5rem 1.25rem;
}

.terms-more__inner {
  max-width: 75rem;
  margin: 0 auto;
}

.terms-more__title {
  font-family: "Noto Serif SC", "STKaiti", serif;
  font-size: 1.75rem;
  color: #F5F1E8;
  margin: 0 0 1.25rem;
}

.terms-more__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.terms-more__card {
  position: relative;
  display: block;
  background: rgba(245, 241, 232, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  padding: 1.25rem;
  text-decoration: none;
  color: #F5F1E8;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.terms-more__card:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: #D4AF37;
  transform: translateY(-2px);
}

.terms-more__num {
  color: #D4AF37;
  font-family: "Noto Serif SC", "STKaiti", serif;
  font-size: 0.875rem;
  font-weight: 700;
}

.terms-more__label {
  font-family: "Noto Serif SC", "STKaiti", serif;
  font-size: 1.25rem;
  margin: 0.5rem 0 0.25rem;
  color: #F5F1E8;
}

.terms-more__desc {
  font-size: 0.875rem;
  color: rgba(245, 241, 232, 0.65);
}

@media (min-width: 36rem) {
  .terms-toc__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .terms-more__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .terms-clause {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 1.25rem;
  }

  .terms-clause__badge {
    width: 3rem;
    height: 3rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 64rem) {
  .terms-frame {
    padding: 4rem 2rem 2.5rem;
  }

  .terms-frame::after {
    top: 16px;
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .terms-frame__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
    column-gap: 3rem;
    row-gap: 1.25rem;
  }

  .page-disclaimer .breadcrumb {
    grid-column: 1 / -1;
    margin-bottom: 2rem;
  }

  .terms-frame__kicker {
    grid-column: 1;
    grid-row: 2;
    margin-bottom: 0;
    padding-top: 0.4rem;
  }

  .terms-frame__title {
    grid-column: 2;
    grid-row: 2;
    font-size: 3.5rem;
    margin-bottom: 0;
    line-height: 1.15;
  }

  .terms-frame__lead {
    grid-column: 2;
    grid-row: 3;
    font-size: 1.125rem;
    margin-bottom: 0;
    max-width: 40rem;
  }

  .terms-frame__figure {
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: 2rem;
  }

  .terms-frame__caption {
    padding-top: 0.75rem;
  }

  .terms-toc {
    padding: 4rem 2rem 3rem;
  }

  .terms-toc__list {
    grid-template-columns: repeat(6, 1fr);
  }

  .terms-toc__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem;
  }

  .terms-timeline {
    padding: 2.5rem 2rem 4rem;
  }

  .terms-timeline__inner {
    padding-left: 4rem;
  }

  .terms-timeline__inner::before {
    left: 2rem;
  }

  .terms-clause {
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 2.5rem;
    margin-bottom: 2rem;
  }

  .terms-clause__badge {
    width: 4rem;
    height: 4rem;
    font-size: 1rem;
  }

  .terms-clause__card {
    padding: 2rem;
  }

  .terms-clause__title {
    font-size: 1.5rem;
  }

  .terms-more {
    padding: 4rem 2rem;
  }

  .terms-more__title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
}
