@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  --red: #ff0000;
  --pink: #ff1493;
  --ink: #261717;
  --bg: #1a0f10;
  --paper: #241618;
  --line: rgba(255, 255, 255, 0.13);
  --txt: #f7ebee;
  --dim: #cdb4ba;
  --font: 'Lexend', 'Source Sans 3', system-ui, -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-bottom: 88px;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--txt);
  background: transparent;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -30%;
  z-index: -1;
  background:
    radial-gradient(38% 34% at 18% 22%, rgba(255, 0, 0, 0.55), transparent 68%),
    radial-gradient(42% 38% at 82% 12%, rgba(255, 20, 147, 0.5), transparent 70%),
    radial-gradient(48% 42% at 62% 88%, rgba(255, 0, 0, 0.32), transparent 72%),
    radial-gradient(36% 30% at 8% 84%, rgba(255, 20, 147, 0.3), transparent 74%);
  filter: saturate(1.25) blur(42px);
  animation: aurora 11s ease-in-out infinite alternate;
}

@keyframes aurora {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(2%, -3%, 0) scale(1.08); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.04); }
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--pink);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 首屏 */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 45vh;
  padding: 34px 0 26px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 70%, transparent 100%);
  pointer-events: none;
}

.hero-copy {
  text-align: left;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6.4vw, 3.4rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.45);
}

.lede {
  max-width: 46ch;
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: #f3dde3;
}

.hero-art {
  position: relative;
  flex: 1 1 auto;
  min-height: 158px;
  margin: 6px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background:
    linear-gradient(150deg, rgba(255, 0, 0, 0.22), rgba(255, 20, 147, 0.16) 55%, rgba(38, 23, 23, 0.9));
}

.mesh {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: conic-gradient(from 0deg, #ff0000, #ff1493, #7a1030, #ff0000, #ff1493, #ff0000);
  background-size: 200% 200%;
  mix-blend-mode: screen;
  opacity: 0.42;
  animation: mesh 9s linear infinite;
}

@keyframes mesh {
  to { background-position: 200% 200%; }
}

.slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.slide.on {
  opacity: 1;
}

/* 内容区 */
.shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 44px;
  padding: 46px 0 10px;
  border-top: 1px solid var(--line);
}

.rail {
  align-self: start;
  position: sticky;
  top: 22px;
}

small {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--pink);
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.28;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
}

h3 {
  margin: 22px 0 8px;
  font-size: 1.12rem;
  line-height: 1.4;
  font-weight: 600;
  color: #fff;
}

.rail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.rail-list li {
  border-bottom: 1px solid var(--line);
}

.rail-list a {
  display: block;
  padding: 11px 0;
  font-size: 16px;
  color: var(--dim);
}

.rail-list a:hover,
.rail-list a:focus-visible {
  color: #fff;
}

.rail-card {
  position: relative;
  margin-top: 22px;
  padding: 16px 14px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.rail-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--pink));
}

.rc-t {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
}

.rc-s {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--dim);
}

.article-body {
  min-width: 0;
}

.article-body > div {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.article-body > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.article-body > div:last-child {
  padding-bottom: 6px;
}

.article-body p {
  margin: 0 0 14px;
  color: #efdde1;
}

.article-body ul,
.article-body ol {
  margin: 0 0 16px;
  padding-left: 1.25em;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body h2 {
  margin-top: 4px;
}

.article-body strong {
  color: #fff;
}

.article-body figure {
  margin: 18px 0;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}

.article-body figcaption {
  padding: 10px 12px;
  font-size: 15px;
  color: var(--dim);
  border-top: 1px solid var(--line);
}

.article-body blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--pink);
  background: rgba(255, 20, 147, 0.08);
  color: #f6e4e9;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 16px;
}

.article-body th,
.article-body td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.article-body th {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.rv {
  opacity: 0;
  transform: translateY(16px);
}

.rv.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* 页脚 */
.foot {
  margin-top: 54px;
  padding: 38px 0 18px;
  border-top: 1px solid var(--line);
}

.foot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 26px;
}

.foot dl {
  margin: 0;
}

.foot dt {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--pink);
}

.foot dd {
  margin: 0;
}

.foot dd a {
  display: inline-block;
  padding: 9px 0;
  font-size: 16px;
  color: var(--dim);
}

.foot .kw {
  font-size: 16px;
  color: var(--dim);
  padding: 9px 0;
}

.foot-brand {
  text-align: right;
}

.mark {
  display: inline-block;
  padding: 9px 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
}

.copy {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--dim);
}

/* 底栏 */
.dockbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: stretch;
  background: rgba(24, 13, 14, 0.92);
  border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.dock {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.dock::-webkit-scrollbar {
  display: none;
}

.dock-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0 6px;
  list-style: none;
  min-height: 62px;
}

.dock-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 16px;
  color: var(--dim);
  white-space: nowrap;
}

.brand {
  margin-inline: auto;
  padding-inline: 6px;
}

.dock-list .logo {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.14em;
  color: #fff;
}

.ico {
  min-width: 58px;
  min-height: 62px;
  padding: 0 6px;
  border: 0;
  background: none;
  color: var(--txt);
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
}

.ico:hover,
.ico:focus-visible {
  color: var(--pink);
}

/* 遮罩菜单 */
.veil {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 18px 96px;
  overflow-y: auto;
  background: rgba(19, 10, 11, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  visibility: hidden;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0.32s;
}

.veil.on {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.veil-top {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.finder-form {
  display: flex;
  flex: 1 1 auto;
  gap: 8px;
}

.q {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 16px;
  color: var(--txt);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 0;
}

.q::placeholder {
  color: var(--dim);
}

.go {
  min-height: 48px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(90deg, var(--red), var(--pink));
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.close {
  border: 1px solid var(--line);
  min-height: 48px;
}

.hits {
  display: grid;
  gap: 8px;
}

.hit {
  display: block;
  width: 100%;
  padding: 13px 14px;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  color: var(--txt);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--pink);
  cursor: pointer;
}

.hit:hover {
  color: #fff;
  background: rgba(255, 20, 147, 0.14);
}

.hit-none {
  margin: 0;
  font-size: 16px;
  color: var(--dim);
}

.veil-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.veil-list a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 14px;
  font-size: 17px;
  color: var(--txt);
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--pink);
}

.veil-list a:hover,
.veil-list a:focus-visible {
  color: #fff;
  background: rgba(255, 20, 147, 0.16);
}

@media (max-width: 860px) {
  body {
    padding-bottom: 84px;
  }

  .shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding-top: 32px;
  }

  .rail {
    position: static;
  }

  .rail-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 0;
  }

  .rail-list li {
    border-bottom: 0;
    border-top: 1px solid var(--line);
    padding-right: 10px;
  }

  .rail-list a {
    padding: 12px 0;
  }

  .rail-card {
    margin-top: 16px;
  }

  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .foot-brand {
    text-align: left;
  }

  .brand {
    margin-inline: 6px;
  }
}

@media (max-width: 560px) {
  .veil-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    min-height: 45vh;
    padding-top: 26px;
  }

  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body::before,
  .mesh {
    animation: none;
  }

  .rv {
    opacity: 1;
    transform: none;
  }

  .slide {
    transition: none;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
