:root {
  --bg: #0d0808;
  --crimson: #6b1a29;
  --violet: #3b1a4f;
  --gold: #d4af37;
  --gold-hi: #f0d27a;
  --rose: #f5e6e6;
  --ash: #7a8b99;
  --alert: #e63946;
  --shell-w: 1200px;
  --font-serif: Georgia, "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  padding-top: 120px;
  background: transparent;
  color: var(--rose);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 8%, rgba(107, 26, 41, 0.6), transparent 52%),
    radial-gradient(circle at 12% 82%, rgba(59, 26, 79, 0.55), transparent 58%),
    radial-gradient(circle at 45% 45%, rgba(212, 175, 55, 0.05), transparent 70%),
    linear-gradient(135deg, #0d0808 0%, #170a10 55%, #0b0712 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(240, 210, 122, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 210, 122, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--gold-hi);
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding-left: 1.2em;
}

a {
  color: var(--rose);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
  color: var(--gold-hi);
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

#main-content {
  display: block;
  scroll-margin-top: 140px;
}

.shell {
  width: min(var(--shell-w), calc(100% - 40px));
  margin-inline: auto;
}

.content-block {
  max-width: 760px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  color: var(--gold-hi);
  font: 600 0.92rem/1.2 var(--font-sans);
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-hi);
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #120b08;
}

.btn--gold:hover {
  background: var(--gold-hi);
  color: #120b08;
  box-shadow: 0 0 22px rgba(240, 210, 122, 0.45);
}

.btn--ghost {
  border-color: rgba(245, 230, 230, 0.3);
  color: var(--rose);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-hi);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge--alert {
  border-color: rgba(230, 57, 70, 0.6);
  background: rgba(230, 57, 70, 0.16);
  color: #ffb3b8;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: var(--ash);
  font-size: 0.88rem;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.stage-frame {
  position: relative;
  margin-bottom: 36px;
  padding: clamp(24px, 6vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 4px 32px 4px 32px;
  background:
    linear-gradient(150deg, rgba(107, 26, 29, 0.55), rgba(59, 26, 79, 0.4)),
    rgba(13, 8, 8, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), inset 0 0 60px rgba(107, 26, 29, 0.25);
}

.stage-frame::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 24px;
  width: 44%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.stage-frame::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: -2px;
  width: 34%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.tone-card {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  background: rgba(107, 26, 29, 0.22);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tone-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35), 0 0 16px rgba(212, 175, 55, 0.15);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(107, 26, 29, 0.5), rgba(59, 26, 79, 0.6));
}

.media-frame::before {
  content: "";
  position: absolute;
  top: 0;
  right: 14px;
  width: 46px;
  height: 3px;
  border-radius: 0 0 2px 2px;
  background: var(--gold);
}

.media-frame::after {
  content: "IMAGE";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(212, 175, 55, 0.35);
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 0.35em;
}

.media-frame--16x9 {
  aspect-ratio: 16 / 9;
}

.media-frame--4x3 {
  aspect-ratio: 4 / 3;
}

.media-frame--1x1 {
  aspect-ratio: 1 / 1;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #0d0808;
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.site-head {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-inline: clamp(10px, 3vw, 48px);
  pointer-events: none;
}

.head-pod {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1480px;
  margin-inline: auto;
  padding: 10px 16px 10px 12px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  background: rgba(13, 8, 8, 0.84);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.12), inset 0 1px 0 rgba(240, 210, 122, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
}

.brand-mark {
  display: inline-flex;
  flex: 0 0 auto;
  order: 1;
  align-items: center;
  gap: 10px;
  color: var(--gold-hi);
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand-mark:hover {
  color: var(--gold-hi);
  filter: drop-shadow(0 0 12px rgba(240, 210, 122, 0.6));
}

.brand-mark__sigil {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(240, 210, 122, 0.7);
  border-radius: 12px 3px 12px 3px;
  background: linear-gradient(135deg, var(--crimson), var(--violet));
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.4), inset 0 0 10px rgba(240, 210, 122, 0.15);
  color: var(--gold-hi);
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 700;
}

.brand-mark__name {
  white-space: nowrap;
  font-family: var(--font-serif);
  font-size: 1.16rem;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(240, 210, 122, 0.35);
}

.nav-capsule {
  display: flex;
  flex: 1 1 auto;
  order: 2;
  justify-content: center;
}

.nav-capsule__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-capsule__item {
  margin: 0;
}

.nav-capsule__link {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--rose);
  font-size: 0.92rem;
  line-height: 1.4;
  text-decoration: none;
}

.nav-capsule__link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.nav-capsule__link:hover,
.nav-capsule__link:focus-visible {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-hi);
}

.nav-capsule__link[aria-current="page"] {
  background: rgba(212, 175, 55, 0.12);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.35), 0 0 14px rgba(212, 175, 55, 0.14);
  color: var(--gold-hi);
}

.nav-capsule__link[aria-current="page"]::after {
  width: 18px;
}

.head-actions {
  display: flex;
  flex: 0 0 auto;
  order: 3;
  align-items: center;
  gap: 10px;
}

.seek-pod {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px 5px 14px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 999px;
  background: rgba(245, 230, 230, 0.07);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.seek-pod:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.22);
}

.seek-pod__icon {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.seek-pod__icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
}

.seek-pod__input {
  width: 125px;
  padding: 4px 0;
  border: none;
  background: transparent;
  color: var(--rose);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.seek-pod__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.seek-pod__input::placeholder {
  color: rgba(122, 139, 153, 0.9);
  opacity: 1;
}

.seek-pod__clear {
  display: none;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--gold-hi);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.seek-pod__clear:hover {
  background: rgba(212, 175, 55, 0.22);
}

.seek-pod[data-filled="true"] .seek-pod__clear {
  display: inline-flex;
}

.bookmark-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  background: rgba(13, 8, 8, 0.4);
  color: var(--rose);
  font-size: 0.88rem;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.bookmark-btn:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-hi);
}

.bookmark-btn[aria-pressed="true"] {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.16);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.25);
  color: var(--gold-hi);
}

.bookmark-btn__glyph {
  color: var(--gold);
  font-size: 0.92rem;
}

.bookmark-btn[aria-pressed="true"] .bookmark-btn__glyph {
  text-shadow: 0 0 10px var(--gold-hi);
}

.nav-toggle {
  display: none;
  order: 0;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-hi);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle[aria-expanded="true"] {
  background: rgba(212, 175, 55, 0.18);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.25);
}

.nav-toggle__label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 18px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.7);
  pointer-events: none;
}

.site-foot {
  position: relative;
  margin-top: 80px;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  background: linear-gradient(180deg, rgba(11, 7, 16, 0.6), rgba(11, 7, 16, 0.96) 60%), var(--bg);
}

.site-foot::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--crimson) 60%, transparent 90%);
}

.foot-shell {
  width: min(var(--shell-w), calc(100% - 40px));
  margin-inline: auto;
  padding: 56px 0 28px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  gap: 40px;
}

.foot-brand__name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--gold-hi);
  font-family: var(--font-serif);
  font-size: 1.8rem;
  text-shadow: 0 0 18px rgba(240, 210, 122, 0.3);
}

.foot-brand__sigil {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(240, 210, 122, 0.65);
  border-radius: 10px 2px 10px 2px;
  background: linear-gradient(135deg, var(--crimson), var(--violet));
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.4);
  font-size: 1.1rem;
}

.foot-brand__desc {
  max-width: 52ch;
  margin: 0 0 14px;
  color: rgba(245, 230, 230, 0.75);
  font-size: 0.95rem;
}

.trust-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ash);
  font-size: 0.82rem;
}

.foot-links__title,
.foot-contact__title {
  margin-bottom: 14px;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.foot-links__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-links__list a {
  color: rgba(245, 230, 230, 0.8);
}

.foot-links__list a:hover {
  color: var(--gold-hi);
}

.foot-contact__list {
  display: grid;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  color: rgba(245, 230, 230, 0.8);
  font-size: 0.92rem;
}

.foot-contact__label {
  display: inline-block;
  min-width: 4em;
  color: var(--ash);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.foot-contact__note {
  max-width: 42ch;
  color: var(--ash);
  font-size: 0.78rem;
}

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px dashed rgba(212, 175, 55, 0.22);
  color: var(--ash);
  font-size: 0.83rem;
}

.is-filtered-out {
  display: none !important;
}

@media (min-width: 761px) and (max-width: 1080px) {
  .head-pod {
    flex-wrap: wrap;
    gap: 10px 16px;
    border-radius: 28px;
    padding-bottom: 14px;
  }

  .brand-mark {
    order: 1;
  }

  .head-actions {
    order: 2;
    margin-left: auto;
  }

  .nav-capsule {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
  }

  .seek-pod__input {
    width: 110px;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    padding-top: 124px;
  }

  .site-head {
    top: 8px;
    padding-inline: 10px;
  }

  .head-pod {
    display: grid;
    grid-template-areas:
      "brand toggle"
      "actions actions"
      "nav nav";
    grid-template-columns: 1fr auto;
    gap: 10px 14px;
    padding: 12px;
    border-radius: 24px;
  }

  .brand-mark {
    grid-area: brand;
  }

  .nav-toggle {
    display: inline-flex;
    grid-area: toggle;
    align-self: center;
  }

  .head-actions {
    display: grid;
    grid-area: actions;
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .nav-capsule {
    display: none;
    grid-area: nav;
  }

  .nav-capsule[data-open] {
    display: block;
  }

  .nav-capsule__list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-capsule__link {
    display: block;
    padding: 12px 16px;
    text-align: center;
  }

  .seek-pod {
    width: 100%;
  }

  .seek-pod__input {
    width: 100%;
    min-width: 0;
  }

  .bookmark-btn {
    justify-content: center;
    padding: 9px 12px;
  }

  .bookmark-btn__text {
    display: none;
  }

  .scroll-progress {
    left: 12px;
  }

  .foot-shell {
    width: min(100% - 24px, var(--shell-w));
    padding-top: 40px;
  }
}

@media (max-width: 620px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }

  .foot-brand {
    grid-column: auto;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .tone-card:hover {
    transform: none;
  }
}
