:root {
  --bg: #090c12;
  --panel: rgba(17, 24, 39, 0.88);
  --panel-strong: rgba(8, 13, 24, 0.94);
  --line: rgba(148, 163, 184, 0.24);
  --text: #eef2f7;
  --muted: #a8b3c4;
  --soft: #d7dde8;
  --cyan: #38d3ee;
  --gold: #f6c65b;
  --green: #54d18a;
  --red: #fb7185;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

/* High-end WOW-style presentation layer */
body {
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 211, 238, 0.18), transparent 32%),
    radial-gradient(circle at 20% 32%, rgba(246, 198, 91, 0.12), transparent 28%),
    linear-gradient(rgba(9, 12, 18, 0.82), rgba(9, 12, 18, 0.95)),
    url("showcase/teleport.png") center top / cover fixed no-repeat,
    #090c12;
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  z-index: 0;
}

.site-header,
main,
.site-footer,
.back-top {
  position: relative;
  z-index: 1;
}

body::before {
  background-image:
    radial-gradient(circle, rgba(255,255,255,.34) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(56,211,238,.26) 0 1px, transparent 1.6px);
  background-size: 120px 120px, 210px 210px;
  animation: starDrift 32s linear infinite;
  opacity: .25;
}

body::after {
  background: linear-gradient(120deg, transparent 10%, rgba(56, 211, 238, .08), transparent 42%);
  transform: translateX(-40%);
  animation: lightSweep 9s ease-in-out infinite;
  opacity: .75;
}

.server-strip a,
.site-footer a {
  padding: 9px 12px;
  border: 1px solid rgba(56, 211, 238, .45);
  border-radius: 8px;
  color: #dff8ff;
  text-decoration: none;
  background: rgba(56, 211, 238, .1);
}

.server-strip a:hover,
.site-footer a:hover {
  border-color: var(--gold);
  color: #fff4c7;
}

.quick-panel a,
.feature-card,
.version-node,
.showcase-card {
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.quick-panel a:hover,
.feature-card:hover,
.version-node:hover,
.showcase-card:hover {
  transform: translateY(-3px);
  border-color: rgba(246, 198, 91, .55);
  box-shadow: 0 18px 50px rgba(56, 211, 238, .12);
}

.section-block,
.register-card,
.log-hero,
.ranking-card,
.password-panel,
.showcase-card,
.system-index {
  position: relative;
  overflow: hidden;
}

.section-block::before,
.register-card::before,
.log-hero::before,
.ranking-card::before,
.password-panel::before,
.showcase-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(246,198,91,.18), transparent 24%, rgba(56,211,238,.12) 80%, transparent);
  opacity: .72;
}

.text-link {
  color: var(--cyan);
  font-weight: 800;
  text-decoration: none;
}

.version-map {
  background:
    linear-gradient(rgba(8, 13, 24, .86), rgba(8, 13, 24, .92)),
    url("showcase/xiuxian.png") center / cover no-repeat;
}

.intro-section {
  display: grid;
  gap: 18px;
  margin: 0 0 22px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(246, 198, 91, .26);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(8, 13, 24, .92), rgba(8, 13, 24, .72)),
    url("showcase/world.png") center / cover no-repeat;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.intro-section::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 198, 91, .18), transparent 34%),
    linear-gradient(135deg, rgba(56, 211, 238, .1), transparent 45%);
}

.intro-section > * {
  position: relative;
  z-index: 1;
}

.intro-hero-copy {
  max-width: 880px;
}

.intro-hero-copy h2 {
  margin: 8px 0 12px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.03;
}

.intro-hero-copy p {
  margin: 0;
  color: var(--soft);
  font-size: 17px;
  line-height: 1.85;
}

.intro-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.intro-highlight-card {
  min-height: 170px;
  padding: 18px;
  border: 1px solid rgba(246, 198, 91, .24);
  border-radius: 8px;
  background: rgba(2, 6, 23, .72);
}

.intro-highlight-card h3,
.intro-bullet-panel h3 {
  margin: 0 0 10px;
  color: #ffe58f;
}

.intro-highlight-card p {
  margin: 0;
  color: var(--soft);
  line-height: 1.7;
}

.intro-bullet-panel {
  padding: 18px;
  border: 1px solid rgba(56, 211, 238, .28);
  border-radius: 8px;
  background: rgba(2, 6, 23, .64);
}

.intro-bullet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.intro-bullet-grid span {
  padding: 11px 12px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 8px;
  color: #d7efff;
  line-height: 1.6;
  background: rgba(255, 255, 255, .05);
}

.review-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.review-strip span {
  padding: 13px 14px;
  border: 1px solid rgba(246, 198, 91, .22);
  border-radius: 8px;
  color: #fff4c7;
  background: rgba(80, 44, 12, .28);
}

.version-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.version-node {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(246, 198, 91, .26);
  border-radius: 8px;
  color: var(--soft);
  text-decoration: none;
  background: rgba(2, 6, 23, .72);
}

.version-node strong {
  color: #ffe58f;
  font-size: 21px;
}

.version-node span {
  color: #b9d9ee;
  line-height: 1.55;
}

.service-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.service-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  text-decoration: none;
  background: rgba(255, 255, 255, .05);
}

.systems-layout,
.service-layout {
  padding: 28px 0 46px;
}

.systems-hero {
  background:
    linear-gradient(90deg, rgba(8, 13, 24, .94), rgba(8, 13, 24, .68)),
    url("showcase/forge.png") center / cover no-repeat;
}

.system-index {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 18px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.system-index a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(246, 198, 91, .28);
  border-radius: 8px;
  color: #ffe58f;
  text-decoration: none;
  background: rgba(2, 6, 23, .6);
}

.showcase-grid {
  display: grid;
  gap: 18px;
}

.showcase-card {
  display: grid;
  grid-template-columns: minmax(320px, .95fr) minmax(280px, .7fr);
  gap: 24px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.showcase-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(246, 198, 91, .28);
  border-radius: 8px;
  background: #020617;
}

.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-copy h2,
.password-copy h1 {
  margin: 6px 0 12px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1;
}

.showcase-copy p,
.password-copy p {
  color: var(--soft);
  line-height: 1.8;
}

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

.ranking-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.ranking-card h2 {
  margin: 0 0 14px;
  color: #ffe58f;
}

.ranking-table {
  display: grid;
  gap: 10px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 8px;
  background: rgba(2, 6, 23, .56);
}

.rank-no {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #061014;
  font-weight: 900;
  background: var(--gold);
}

.ranking-row strong,
.ranking-row small {
  display: block;
}

.ranking-row small {
  color: var(--muted);
  margin-top: 3px;
}

.ranking-row b {
  color: var(--cyan);
  white-space: nowrap;
}

.password-panel {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 420px;
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 150px);
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(8, 13, 24, .95), rgba(8, 13, 24, .68)),
    url("showcase/vip.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.security-note {
  display: grid;
  gap: 8px;
  max-width: 620px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(246, 198, 91, .28);
  border-radius: 8px;
  background: rgba(2, 6, 23, .58);
}

.security-note strong {
  color: #ffe58f;
}

.security-note span {
  color: var(--soft);
}

.password-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 23, .72);
}

.password-form label span {
  display: block;
  margin-bottom: 7px;
  color: var(--soft);
  font-weight: 800;
}

.password-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, .34);
  border-radius: 8px;
  color: #fff;
  outline: none;
  background: rgba(2, 6, 23, .86);
}

.password-form input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 211, 238, .15);
}

.password-form button {
  min-height: 48px;
  border: 1px solid rgba(56, 211, 238, .5);
  border-radius: 8px;
  color: #061014;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
}

@keyframes starDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-120px, 120px, 0); }
}

@keyframes lightSweep {
  0%, 100% { transform: translateX(-55%); opacity: .25; }
  50% { transform: translateX(45%); opacity: .65; }
}

@media (max-width: 980px) {
  .showcase-card,
  .password-panel {
    grid-template-columns: 1fr;
  }

  .ranking-grid,
  .system-index,
  .version-grid,
  .intro-highlight-grid,
  .review-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .ranking-grid,
  .system-index,
  .version-grid,
  .service-links,
  .intro-highlight-grid,
  .intro-bullet-grid,
  .review-strip {
    grid-template-columns: 1fr;
  }
}

.portal-hero {
  position: relative;
}

.portal-hero::before {
  position: absolute;
  inset: 34px -20px auto auto;
  width: min(520px, 60vw);
  height: min(520px, 60vw);
  content: "";
  pointer-events: none;
  border: 1px solid rgba(246, 198, 91, .16);
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(246,198,91,.1) 0 2deg, transparent 2deg 18deg),
    radial-gradient(circle, transparent 45%, rgba(56,211,238,.1) 46%, transparent 48%);
  animation: runeRotate 48s linear infinite;
  opacity: .72;
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.faction-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.faction-strip span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: 8px;
  color: var(--soft);
  font-weight: 800;
  background: rgba(2, 6, 23, .56);
}

.alliance-mark {
  border-color: rgba(56, 211, 238, .55) !important;
  color: #bcefff !important;
}

.horde-mark {
  border-color: rgba(251, 113, 133, .55) !important;
  color: #ffd1d8 !important;
}

.neutral-mark {
  border-color: rgba(246, 198, 91, .55) !important;
  color: #ffe58f !important;
}

.showcase-card#商城 {
  background:
    linear-gradient(90deg, rgba(8, 13, 24, .92), rgba(8, 13, 24, .72)),
    url("showcase/shop.png") center / cover no-repeat;
}

.showcase-card#商城 .showcase-image {
  border-color: rgba(246, 198, 91, .48);
}

.showcase-card#大世界 {
  background:
    linear-gradient(90deg, rgba(8, 13, 24, .82), rgba(8, 13, 24, .62)),
    url("showcase/world.png") center / cover no-repeat;
}

.showcase-card#大世界 .showcase-image {
  border-color: rgba(125, 211, 252, .55);
}

.brand img,
.hero-media img,
.showcase-image {
  box-shadow:
    0 0 0 1px rgba(246, 198, 91, .22),
    0 20px 70px rgba(0, 0, 0, .48),
    0 0 42px rgba(56, 211, 238, .12);
}

.btn.primary,
.register-card button,
.password-form button {
  background-size: 180% 180%;
  animation: buttonGlow 5s ease infinite;
}

@keyframes runeRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes buttonGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (max-width: 680px) {
  .portal-hero::before {
    width: 320px;
    height: 320px;
    opacity: .34;
  }
}

.ranking-hero {
  background:
    linear-gradient(90deg, rgba(8, 13, 24, .95), rgba(8, 13, 24, .66)),
    url("showcase/xiuxian.png") center / cover no-repeat;
}

.ranking-board {
  display: grid;
  gap: 10px;
}

.ranking-board-head,
.ranking-board-row {
  display: grid;
  grid-template-columns: 70px minmax(150px, 1.1fr) minmax(170px, 1.2fr) minmax(110px, .8fr) minmax(90px, .7fr) minmax(70px, .6fr);
  gap: 12px;
  align-items: center;
}

.ranking-board-head {
  padding: 12px 16px;
  border: 1px solid rgba(246, 198, 91, .24);
  border-radius: 8px;
  color: #ffe58f;
  font-weight: 900;
  background: rgba(2, 6, 23, .7);
}

.ranking-board-row {
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 8px;
  background: rgba(6, 10, 18, .74);
  box-shadow: 0 14px 40px rgba(0,0,0,.24);
}

.ranking-board-row:nth-child(2) {
  border-color: rgba(246, 198, 91, .65);
  background: linear-gradient(90deg, rgba(246, 198, 91, .16), rgba(6, 10, 18, .78));
}

.ranking-board-row:nth-child(3) {
  border-color: rgba(56, 211, 238, .48);
}

.ranking-board-row strong,
.ranking-board-row small {
  display: block;
}

.ranking-board-row small,
.muted-line {
  color: var(--muted);
}

.ranking-board-row b {
  color: var(--cyan);
}

@media (max-width: 900px) {
  .ranking-board-head {
    display: none;
  }

  .ranking-board-row {
    grid-template-columns: 52px 1fr;
  }

  .ranking-board-row > span:nth-child(n+3),
  .ranking-board-row > b {
    grid-column: 2;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background:
    linear-gradient(rgba(9, 12, 18, 0.86), rgba(9, 12, 18, 0.94)),
    url("logo1.png") center top / min(1100px, 130vw) auto no-repeat,
    #090c12;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 12, 18, 0.82);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brand span {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a,
.quick-panel a,
.btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.nav-links a {
  padding: 8px 12px;
  color: var(--soft);
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

main {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-section {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(34px, 6vw, 82px) 0 28px;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-media img {
  width: min(410px, 82vw);
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-copy h1,
.log-hero h1 {
  margin: 8px 0 14px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-text,
.log-hero p,
.register-head p,
.feature-card p,
.faq-grid p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 620px;
  margin: 0 0 24px;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  padding: 0 18px;
  border: 1px solid var(--line);
}

.btn.primary,
.register-card button {
  border-color: rgba(56, 211, 238, 0.5);
  color: #061014;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  box-shadow: 0 14px 34px rgba(56, 211, 238, 0.18);
}

.btn.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.server-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.server-strip span,
.tag-cloud span,
.progress-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--soft);
}

.server-strip span {
  padding: 9px 12px;
}

.quick-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 0 22px;
}

.quick-panel a {
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.quick-panel a:hover {
  border-color: rgba(56, 211, 238, 0.55);
  color: var(--cyan);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 22px;
  align-items: start;
}

.main-column {
  display: grid;
  gap: 22px;
}

.section-block,
.register-card,
.faq-section,
.log-hero,
.log-sidebar,
.log-content {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.section-block,
.register-card,
.faq-section {
  padding: clamp(18px, 3vw, 28px);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-head h2,
.register-head h2,
.faq-section h2 {
  margin: 4px 0 0;
  font-size: clamp(24px, 4vw, 34px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature-card {
  min-height: 160px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 10, 18, 0.64);
}

.feature-card h3,
.faq-grid h3 {
  margin: 0 0 10px;
  color: #fff;
}

.feature-card p,
.faq-grid p {
  margin: 0;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.step-item {
  min-height: 130px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.step-item span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #061014;
  font-weight: 900;
  background: var(--gold);
}

.step-item p {
  margin: 0;
  color: var(--soft);
  line-height: 1.55;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span,
.progress-list div {
  padding: 10px 12px;
}

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

.register-card {
  position: sticky;
  top: 92px;
}

.register-head {
  margin-bottom: 18px;
}

.register-card form {
  display: grid;
  gap: 14px;
}

.register-card label span {
  display: block;
  margin-bottom: 7px;
  color: var(--soft);
  font-weight: 700;
}

.register-card input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 8px;
  color: #fff;
  outline: none;
  background: rgba(2, 6, 23, 0.76);
}

.register-card input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 211, 238, 0.15);
}

.register-card button {
  min-height: 48px;
  border-radius: 8px;
  border-style: solid;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.msg {
  margin-bottom: 14px;
  padding: 11px 12px;
  border-radius: 8px;
  line-height: 1.5;
}

.msg.ok {
  border: 1px solid rgba(84, 209, 138, 0.35);
  color: #bbf7d0;
  background: rgba(22, 101, 52, 0.24);
}

.msg.err {
  border: 1px solid rgba(251, 113, 133, 0.35);
  color: #fecdd3;
  background: rgba(127, 29, 29, 0.24);
}

.faq-section {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  margin: 22px 0 34px;
}

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

.faq-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 10, 18, 0.64);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
}

.log-layout {
  padding: 28px 0 42px;
}

.log-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: clamp(20px, 4vw, 34px);
}

.log-hero p {
  max-width: 760px;
}

.log-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.log-sidebar {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 112px);
  overflow: auto;
  padding: 16px;
}

.side-section {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.side-section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.side-section h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.side-section a {
  display: block;
  padding: 8px 9px;
  border-radius: 8px;
  color: var(--soft);
  text-decoration: none;
}

.side-section a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.side-section pre {
  margin: 0;
  white-space: pre-wrap;
  color: var(--muted);
  line-height: 1.65;
  font-family: inherit;
  font-size: 13px;
}

.log-content {
  padding: 18px;
}

.log-entry {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.log-entry:first-child {
  padding-top: 0;
}

.log-entry:last-child {
  border-bottom: 0;
}

.log-entry h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 24px;
}

.log-entry p {
  margin: 7px 0;
  color: var(--soft);
  line-height: 1.7;
  white-space: pre-wrap;
}

.log-spacer {
  height: 10px;
}

.back-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(56, 211, 238, 0.45);
  border-radius: 8px;
  color: #061014;
  font-weight: 800;
  text-decoration: none;
  background: var(--cyan);
}

@media (max-width: 980px) {
  .hero-section,
  .content-grid,
  .faq-section,
  .log-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-media {
    order: -1;
  }

  .register-card,
  .log-sidebar {
    position: static;
    max-height: none;
  }

  .quick-panel,
  .step-list,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-links a {
    padding: 8px 10px;
  }

  main {
    width: min(100% - 22px, 1200px);
  }

  .quick-panel,
  .feature-grid,
  .step-list,
  .progress-list,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .log-hero h1 {
    font-size: 48px;
  }

  .log-hero {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Final visual overrides loaded after the original responsive rules. */
body {
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 211, 238, 0.18), transparent 32%),
    radial-gradient(circle at 20% 32%, rgba(246, 198, 91, 0.12), transparent 28%),
    linear-gradient(rgba(9, 12, 18, 0.82), rgba(9, 12, 18, 0.95)),
    url("showcase/teleport.png") center top / cover fixed no-repeat,
    #090c12;
  overflow-x: hidden;
}

@media (max-width: 980px) {
  .showcase-card,
  .password-panel {
    grid-template-columns: 1fr;
  }

  .ranking-grid,
  .system-index,
  .version-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .ranking-grid,
  .system-index,
  .version-grid,
  .service-links {
    grid-template-columns: 1fr;
  }
}

/* Watercolor WoW UI 2.0: unified game-interface theme. */
:root {
  --bg: #070807;
  --panel: rgba(12, 13, 12, .92);
  --panel-strong: rgba(5, 7, 8, .96);
  --line: rgba(177, 134, 58, .5);
  --line-bright: rgba(246, 199, 91, .82);
  --text: #f4ead2;
  --muted: #b9aa8f;
  --soft: #ddd0b6;
  --cyan: #53d9f1;
  --gold: #f6c75b;
  --gold-deep: #9a5e17;
  --green: #52d68a;
  --red: #e45b55;
  --shadow: 0 24px 70px rgba(0, 0, 0, .62);
}

html {
  scrollbar-color: #a96e24 #090b0d;
}

body {
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background:
    linear-gradient(rgba(5, 7, 8, .26), rgba(5, 7, 8, .78) 76%, #050606),
    url("fantasy-world-bg.png") center top / cover fixed no-repeat,
    #050606;
}

body::before {
  z-index: 0;
  background-image:
    radial-gradient(circle, rgba(246, 199, 91, .42) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(83, 217, 241, .38) 0 1px, transparent 1.8px);
  background-size: 150px 150px, 230px 230px;
  animation: wowDust 40s linear infinite;
  opacity: .34;
}

body::after {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .6), transparent 18%, transparent 82%, rgba(0, 0, 0, .6)),
    radial-gradient(circle at 50% 18%, transparent 0 34%, rgba(0, 0, 0, .36) 78%, rgba(0, 0, 0, .72));
  animation: none;
  opacity: 1;
  transform: none;
}

a,
button,
input,
select,
textarea {
  font: inherit;
}

button,
.btn,
.quick-panel a,
.nav-links a,
.system-index a,
.service-links a,
.forum-categories a {
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.site-header {
  min-height: 72px;
  padding: 10px max(20px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid #7f511e;
  box-shadow: 0 1px 0 rgba(246, 199, 91, .2), 0 12px 34px rgba(0, 0, 0, .54);
  background:
    linear-gradient(180deg, rgba(36, 30, 22, .97), rgba(10, 12, 12, .98)),
    #0b0d0e;
  backdrop-filter: blur(18px);
}

.site-header::before,
.site-header::after {
  position: absolute;
  bottom: -3px;
  width: 110px;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, transparent, #d18b2d, #f7d984, #d18b2d, transparent);
  opacity: .7;
}

.site-header::before { left: 6%; }
.site-header::after { right: 6%; }

.brand {
  flex: 0 0 auto;
  color: #f8d77a;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 24px;
  text-shadow: 0 2px 0 #000, 0 0 18px rgba(246, 199, 91, .26);
}

.brand img {
  width: 48px;
  height: 48px;
  padding: 2px;
  border: 1px solid #b57b2f;
  border-radius: 4px;
  box-shadow: inset 0 0 0 2px #24170a, 0 0 16px rgba(83, 217, 241, .2);
}

.nav-links {
  gap: 3px;
}

.nav-links a {
  position: relative;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: #d6c7aa;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: rgba(177, 123, 47, .7);
  color: #fff2bd;
  background: linear-gradient(180deg, rgba(177, 123, 47, .26), rgba(74, 45, 14, .25));
  box-shadow: inset 0 0 12px rgba(246, 199, 91, .08), 0 0 14px rgba(246, 199, 91, .08);
}

main {
  width: min(1320px, calc(100% - 40px));
}

.portal-hero {
  width: 100%;
  min-height: 760px;
  margin-left: 0;
  padding: 86px 0 70px;
  grid-template-columns: minmax(340px, .8fr) minmax(420px, 1.2fr);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4, 6, 7, .2), rgba(4, 6, 7, .64) 52%, rgba(4, 6, 7, .32)),
    linear-gradient(0deg, #070807 0, transparent 28%);
}

.portal-hero::before {
  inset: 50% auto auto 17%;
  width: 540px;
  height: 540px;
  border-color: rgba(83, 217, 241, .24);
  background:
    repeating-conic-gradient(from 0deg, rgba(83, 217, 241, .14) 0 1deg, transparent 1deg 15deg),
    radial-gradient(circle, transparent 44%, rgba(83, 217, 241, .18) 45%, transparent 48%);
  animation: runeRotate 60s linear infinite;
  opacity: .9;
  transform: translateY(-50%);
}

.portal-hero::after {
  position: absolute;
  right: -10%;
  bottom: 10%;
  width: 54%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(246, 199, 91, .7), transparent);
  box-shadow: 0 0 24px rgba(246, 199, 91, .38);
}

.hero-media img {
  width: min(430px, 80vw);
  border: 1px solid #b0772a;
  border-radius: 4px;
  outline: 4px solid rgba(15, 12, 8, .76);
  box-shadow:
    0 0 0 6px rgba(154, 94, 23, .7),
    0 28px 80px rgba(0, 0, 0, .7),
    0 0 64px rgba(83, 217, 241, .2);
  animation: emblemFloat 6s ease-in-out infinite;
}

.hero-copy h1,
.log-hero h1,
.password-copy h1 {
  color: #f6d67b;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 84px;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 3px 0 #3a2108, 0 0 28px rgba(246, 199, 91, .32);
}

.hero-text {
  color: #e0d4bd;
  font-size: 18px;
  text-shadow: 0 2px 4px #000;
}

.eyebrow {
  color: #62dcf2;
  font-size: 13px;
  letter-spacing: 0;
  text-shadow: 0 0 12px rgba(83, 217, 241, .48);
}

.btn,
.quick-panel a,
.service-links a,
.forum-form button,
.forum-search button {
  position: relative;
  overflow: hidden;
  border: 1px solid #7b5628;
  border-radius: 3px;
  color: #f3e4c2;
  background:
    linear-gradient(180deg, rgba(71, 58, 38, .94), rgba(22, 19, 16, .96));
  box-shadow: inset 0 0 0 1px rgba(246, 199, 91, .1), inset 0 -8px 18px rgba(0, 0, 0, .3), 0 8px 22px rgba(0, 0, 0, .24);
}

.btn::after,
.quick-panel a::after,
.forum-form button::after,
.forum-search button::after {
  position: absolute;
  inset: 0 auto 0 -80%;
  width: 48%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 245, 198, .28), transparent);
  transform: skewX(-18deg);
  transition: left .45s ease;
}

.btn:hover::after,
.quick-panel a:hover::after,
.forum-form button:hover::after,
.forum-search button:hover::after {
  left: 132%;
}

.btn:hover,
.quick-panel a:hover,
.service-links a:hover,
.forum-form button:hover,
.forum-search button:hover {
  border-color: #efbf5c;
  color: #fff5ce;
  transform: translateY(-2px);
  box-shadow: inset 0 0 18px rgba(246, 199, 91, .12), 0 0 22px rgba(246, 199, 91, .14);
}

.btn.primary,
.register-card button,
.password-form button,
.forum-form button,
.forum-search button {
  border-color: #bd812c;
  color: #241300;
  background: linear-gradient(180deg, #f7dc83, #cc8e2f 54%, #8f5315);
  box-shadow: inset 0 1px 0 #fff2b7, inset 0 -2px 0 #63350b, 0 10px 28px rgba(201, 130, 32, .2);
  animation: goldPulse 4.8s ease-in-out infinite;
}

.quick-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 32px;
  padding: 10px;
  border: 1px solid #7d5627;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(38, 31, 23, .96), rgba(9, 11, 12, .98));
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .65), 0 18px 46px rgba(0, 0, 0, .56);
}

.watercolor-declaration {
  position: relative;
  display: grid;
  z-index: 5;
  grid-template-columns: 310px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 176px;
  margin: -154px 0 18px;
  padding: 30px 30px 38px;
  overflow: hidden;
  border: 2px solid #e6a13b;
  border-radius: 4px;
  background:
    linear-gradient(100deg, rgba(111, 27, 10, .97), rgba(24, 12, 8, .98) 38%, rgba(5, 21, 26, .98));
  box-shadow:
    inset 0 0 0 3px rgba(0, 0, 0, .7),
    inset 0 0 52px rgba(229, 73, 20, .22),
    0 24px 64px rgba(0, 0, 0, .72),
    0 0 40px rgba(238, 116, 27, .34);
  animation: declarationPulse 4s ease-in-out infinite;
}

.watercolor-declaration::before {
  position: absolute;
  inset: -70% auto -70% -20%;
  width: 16%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 232, 151, .2), transparent);
  transform: skewX(-18deg);
  animation: declarationSweep 5.5s ease-in-out infinite;
}

.watercolor-declaration::after {
  position: absolute;
  inset: 7px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(255, 220, 115, .34);
  box-shadow: inset 0 0 26px rgba(255, 88, 17, .12);
}

.declaration-lead {
  position: relative;
  z-index: 2;
  color: #ffe174;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.15;
  text-shadow: 0 3px 0 #4a1405, 0 0 12px #ff5a16, 0 0 30px rgba(255, 96, 18, .74);
  animation: declarationTitleFire 2.4s ease-in-out infinite;
}

.declaration-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.declaration-copy strong {
  color: #fff5d4;
  font-size: 23px;
  line-height: 1.45;
  text-shadow: 0 2px 3px #000, 0 0 14px rgba(255, 197, 76, .28);
}

.declaration-copy span {
  color: #e5d8bd;
  font-size: 17px;
  line-height: 1.65;
}

.declaration-copy .declaration-finale {
  color: #ffe092;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.7;
  text-shadow: 0 2px 3px #000, 0 0 16px rgba(255, 154, 47, .28);
}

.declaration-copy b {
  color: #83efff;
  font-size: 24px;
  text-shadow: 0 0 8px #12c8ed, 0 0 24px rgba(83, 217, 241, .94);
  animation: shuiseFlash 1.8s ease-in-out infinite;
}

.watercolor-declaration > a {
  z-index: 2;
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 2px solid #ffe18c;
  border-radius: 3px;
  color: #281500;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(180deg, #ffe391, #c88028);
  box-shadow: inset 0 1px 0 #fff3bd, 0 0 15px #ff681c, 0 0 34px rgba(246, 199, 91, .48);
  animation: fireButton 1.7s ease-in-out infinite;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.declaration-flames {
  position: absolute;
  right: 0;
  bottom: -24px;
  left: 0;
  z-index: 1;
  height: 84px;
  overflow: hidden;
  pointer-events: none;
  filter: drop-shadow(0 -8px 10px rgba(255, 71, 9, .5));
}

.declaration-flames::before {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  height: 16px;
  content: "";
  background: linear-gradient(90deg, transparent, #ff5313 8%, #ffc638 22%, #ff5714 42%, #ffd85c 64%, #ff5413 84%, transparent);
  filter: blur(5px);
  opacity: .9;
  animation: flameBase 1.2s ease-in-out infinite;
}

.declaration-flames i {
  position: absolute;
  bottom: -42px;
  width: 78px;
  height: 104px;
  border-radius: 68% 32% 62% 38% / 78% 42% 58% 22%;
  background: radial-gradient(circle at 62% 72%, #fff2a1 0 8%, #ffc12f 20%, #ff5a12 46%, rgba(182, 24, 5, .15) 70%, transparent 72%);
  mix-blend-mode: screen;
  transform: rotate(38deg) scale(.82);
  transform-origin: 50% 90%;
  animation: flameTongue 1.15s ease-in-out infinite alternate;
}

.declaration-flames i:nth-child(1) { left: 2%; animation-delay: -.7s; }
.declaration-flames i:nth-child(2) { left: 15%; width: 96px; animation-delay: -.2s; }
.declaration-flames i:nth-child(3) { left: 29%; animation-delay: -.9s; }
.declaration-flames i:nth-child(4) { left: 43%; width: 105px; animation-delay: -.4s; }
.declaration-flames i:nth-child(5) { left: 57%; animation-delay: -.8s; }
.declaration-flames i:nth-child(6) { left: 69%; width: 98px; animation-delay: -.1s; }
.declaration-flames i:nth-child(7) { left: 82%; animation-delay: -.6s; }
.declaration-flames i:nth-child(8) { left: 93%; width: 92px; animation-delay: -.3s; }

.watercolor-declaration > a:hover {
  filter: brightness(1.1);
  transform: translateY(-2px) scale(1.02);
  box-shadow: inset 0 1px 0 #fff3bd, 0 0 28px rgba(246, 199, 91, .38);
}

.quick-panel a {
  min-height: 46px;
  padding: 10px 12px;
}

.server-strip span,
.server-strip a,
.faction-strip span,
.forum-stats span {
  border-radius: 3px;
  background: rgba(7, 10, 11, .76);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, .42);
}

.intro-section {
  margin-bottom: 32px;
  padding: 34px 0;
  border-width: 1px 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(6, 8, 9, .92), rgba(11, 12, 11, .7)),
    url("showcase/world.png") center / cover no-repeat;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .38);
}

.intro-section::after {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  content: "";
  background: rgba(5, 7, 8, .72);
}

.version-promise {
  position: relative;
  display: grid;
  grid-template-columns: minmax(290px, .78fr) minmax(0, 1.42fr);
  gap: 12px 30px;
  align-items: center;
  min-height: 235px;
  padding: 30px 34px;
  overflow: hidden;
  border: 2px solid #c88a31;
  border-radius: 4px;
  background:
    linear-gradient(100deg, rgba(76, 20, 11, .94), rgba(13, 15, 15, .94) 48%, rgba(4, 37, 45, .9)),
    url("showcase/world.png") center 42% / cover no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(255, 223, 137, .18),
    inset 0 0 50px rgba(0, 0, 0, .44),
    0 16px 40px rgba(0, 0, 0, .42),
    0 0 26px rgba(225, 143, 39, .15);
}

.version-promise::before {
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: -22%;
  width: 24%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 226, 146, .22), transparent);
  transform: rotate(14deg);
  animation: promiseSweep 5.4s ease-in-out infinite;
}

.version-promise::after {
  position: absolute;
  inset: 8px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(245, 201, 91, .22);
}

.version-promise-kicker,
.version-promise-main,
.version-promise p,
.version-promise b {
  position: relative;
  z-index: 1;
}

.version-promise-kicker {
  align-self: end;
  color: #ffda6d;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 2px #000, 0 0 14px rgba(255, 142, 43, .56);
}

.version-promise-main {
  grid-row: 2 / span 2;
  align-self: start;
  text-align: center;
}

.version-promise-main strong {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff0b2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(45px, 5vw, 68px);
  line-height: .95;
  text-shadow: 0 4px 0 #3d1605, 0 0 14px #ff791e, 0 0 36px rgba(255, 85, 18, .64);
}

.version-promise-main strong span:last-child {
  color: #9ef5ff;
  text-shadow: 0 4px 0 #07262b, 0 0 13px #23d8f1, 0 0 34px rgba(41, 208, 232, .62);
}

.version-promise-main i {
  color: #e8b854;
  font-size: .55em;
  font-style: normal;
}

.version-promise-main h3 {
  margin: 10px 0 0;
  color: #fff4d0;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  text-shadow: 0 2px 0 #351907, 0 0 18px rgba(244, 188, 69, .58);
}

.version-promise p {
  align-self: end;
  margin: 0;
  color: #eee2cb;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
}

.version-promise b {
  align-self: start;
  padding: 11px 14px;
  border-left: 3px solid #5ee6f4;
  color: #a7f6ff;
  font-size: 16px;
  line-height: 1.65;
  background: linear-gradient(90deg, rgba(19, 131, 151, .17), transparent);
  text-shadow: 0 1px 2px #000, 0 0 10px rgba(51, 213, 235, .2);
}

.intro-hero-copy h2,
.section-head h2,
.register-head h2,
.forum-compose h2,
.forum-replies h2 {
  color: #f0d27c;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 38px;
  letter-spacing: 0;
  text-shadow: 0 2px 0 #2b1806;
}

.intro-highlight-card,
.version-node,
.showcase-card,
.section-block,
.register-card,
.log-hero,
.log-sidebar,
.log-content,
.password-panel,
.ranking-board-row,
.forum-board,
.forum-compose,
.forum-topic-detail,
.forum-replies,
.forum-toolbar,
.forum-empty {
  border-color: rgba(166, 113, 43, .66);
  border-radius: 4px;
  background:
    linear-gradient(145deg, rgba(31, 27, 21, .94), rgba(7, 9, 10, .96) 56%, rgba(14, 20, 21, .94));
  box-shadow:
    inset 0 0 0 1px rgba(246, 199, 91, .06),
    inset 0 0 28px rgba(0, 0, 0, .34),
    0 18px 48px rgba(0, 0, 0, .4);
}

.intro-highlight-card,
.version-node {
  position: relative;
  overflow: hidden;
}

.intro-highlight-card::after,
.version-node::after,
.forum-topic-row::after {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 14px;
  height: 14px;
  content: "";
  border-right: 1px solid rgba(246, 199, 91, .58);
  border-bottom: 1px solid rgba(246, 199, 91, .58);
}

.intro-highlight-card:hover,
.version-node:hover,
.showcase-card:hover {
  border-color: #d99a3d;
  transform: translateY(-3px);
  box-shadow: inset 0 0 22px rgba(83, 217, 241, .06), 0 20px 54px rgba(0, 0, 0, .5), 0 0 18px rgba(83, 217, 241, .08);
}

.value-manifesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.value-manifesto > div {
  position: relative;
  min-height: 190px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 26px 28px;
  overflow: hidden;
  border: 2px solid rgba(225, 139, 38, .78);
  border-radius: 4px;
  background: linear-gradient(120deg, rgba(111, 27, 14, .88), rgba(18, 10, 9, .96) 58%, rgba(8, 10, 11, .94));
  box-shadow: inset 0 0 32px rgba(255, 86, 17, .09), 0 12px 30px rgba(0, 0, 0, .32);
}

.value-manifesto > div:nth-child(2) {
  border-color: rgba(83, 217, 241, .68);
  background: linear-gradient(120deg, rgba(7, 70, 81, .86), rgba(7, 18, 20, .96) 58%, rgba(8, 10, 11, .94));
  box-shadow: inset 0 0 32px rgba(41, 207, 234, .09), 0 12px 30px rgba(0, 0, 0, .32);
}

.value-manifesto > div::after {
  position: absolute;
  top: -90%;
  right: -10%;
  width: 46%;
  height: 260%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 217, 119, .12), transparent);
  transform: rotate(18deg);
  animation: manifestoGlow 5s ease-in-out infinite;
}

.value-manifesto span {
  color: #f2c760;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 2px 0 #3b1808, 0 0 14px rgba(255, 116, 23, .46);
}

.value-manifesto > div:nth-child(2) span {
  color: #82edfb;
  text-shadow: 0 2px 0 #062a30, 0 0 14px rgba(39, 209, 234, .46);
}

.value-manifesto strong {
  position: relative;
  z-index: 1;
  color: #f1e4c8;
  font-size: 17px;
  line-height: 1.65;
}

.value-manifesto em {
  position: relative;
  z-index: 1;
  color: #ffcf58;
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.45;
  text-shadow: 0 2px 2px #000, 0 0 13px rgba(255, 103, 20, .36);
}

.value-manifesto > div:nth-child(2) em {
  color: #8ef4ff;
  text-shadow: 0 2px 2px #000, 0 0 13px rgba(40, 211, 235, .34);
}

.intro-highlight-card h3,
.version-node strong,
.showcase-copy h2 {
  color: #f4d77f;
  font-family: "STKaiti", "KaiTi", serif;
  letter-spacing: 0;
}

.intro-highlight-card p,
.version-node span,
.showcase-copy p,
.forum-topic-main p,
.forum-post-body {
  color: #c8bda8;
}

.intro-bullet-panel {
  border-radius: 4px;
  background: rgba(5, 7, 8, .76);
}

.intro-bullet-grid span::before {
  color: #62dcf2;
  text-shadow: 0 0 10px rgba(83, 217, 241, .7);
}

.review-strip span {
  border-radius: 4px;
  background: rgba(57, 35, 10, .36);
}

.version-map {
  background:
    linear-gradient(rgba(9, 10, 10, .9), rgba(6, 8, 9, .95)),
    url("showcase/xiuxian.png") center / cover no-repeat;
}

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

.version-node {
  min-height: 142px;
}

.content-grid {
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 26px;
  margin-bottom: 40px;
}

.register-card,
.log-sidebar {
  top: 90px;
}

.register-card input,
.password-form input,
.forum-form input,
.forum-form select,
.forum-form textarea,
.forum-search input {
  width: 100%;
  border: 1px solid #5f492e;
  border-radius: 3px;
  color: #f7ecd4;
  outline: none;
  background: rgba(3, 5, 6, .9);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, .52);
}

.register-card input:focus,
.password-form input:focus,
.forum-form input:focus,
.forum-form select:focus,
.forum-form textarea:focus,
.forum-search input:focus {
  border-color: #4ac6e0;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, .52), 0 0 0 2px rgba(83, 217, 241, .13), 0 0 18px rgba(83, 217, 241, .1);
}

.service-links {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.log-hero,
.password-panel {
  min-height: 310px;
  border-color: #8a5f29;
}

.log-hero h1,
.password-copy h1 {
  margin: 6px 0 14px;
  font-size: 58px;
}

.systems-hero {
  background:
    linear-gradient(90deg, rgba(4, 6, 7, .94), rgba(4, 6, 7, .45)),
    url("showcase/ascension-build.png") center 35% / cover no-repeat;
}

.ranking-hero {
  background:
    linear-gradient(90deg, rgba(4, 6, 7, .94), rgba(4, 6, 7, .48)),
    url("showcase/xiuxian.png") center / cover no-repeat;
}

.system-index {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 7px;
  border-color: #805824;
}

.system-index a {
  border-color: rgba(152, 105, 42, .7);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(49, 40, 28, .9), rgba(7, 9, 10, .94));
}

.system-index a:hover {
  border-color: #edbd59;
  color: #fff4c8;
  transform: translateY(-2px);
  box-shadow: inset 0 0 15px rgba(246, 199, 91, .08), 0 0 14px rgba(246, 199, 91, .09);
}

.system-index-featured {
  color: #241200 !important;
  font-weight: 900;
  background: linear-gradient(180deg, #ffe694, #be7623) !important;
  box-shadow: inset 0 1px 0 #fff5bd, 0 0 18px rgba(246, 199, 91, .2);
}

.system-index-repair {
  border-color: rgba(70, 205, 225, .52) !important;
  color: #b8f4fa !important;
  background: linear-gradient(180deg, rgba(15, 67, 75, .8), rgba(7, 15, 17, .94)) !important;
}

.system-nav-group {
  margin: 22px 0 30px;
  padding: 24px 26px 26px;
  border: 1px solid rgba(155, 106, 43, .62);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(29, 23, 17, .94), rgba(6, 9, 10, .96));
  box-shadow: inset 0 0 28px rgba(0, 0, 0, .36), 0 14px 36px rgba(0, 0, 0, .26);
}

.repair-nav-group {
  border-color: rgba(62, 198, 219, .58);
  background: linear-gradient(135deg, rgba(7, 54, 63, .88), rgba(5, 11, 13, .97) 62%);
}

.feature-nav-group {
  margin-bottom: 42px;
  border-color: rgba(205, 143, 52, .68);
  background: linear-gradient(135deg, rgba(65, 38, 14, .86), rgba(8, 9, 9, .97) 62%);
}

.system-nav-title {
  display: grid;
  grid-template-columns: minmax(190px, .38fr) minmax(0, 1fr);
  gap: 4px 24px;
  align-items: end;
}

.system-nav-title .eyebrow {
  grid-column: 1 / -1;
}

.system-nav-title h2 {
  margin: 0;
  color: #a6f3fb;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 34px;
  line-height: 1.1;
  text-shadow: 0 2px 0 #041a1e, 0 0 14px rgba(60, 213, 233, .26);
}

.feature-nav-group .system-nav-title h2 {
  color: #f2d078;
  text-shadow: 0 2px 0 #281406, 0 0 14px rgba(235, 168, 57, .26);
}

.system-nav-title > p:not(.eyebrow) {
  margin: 0;
  color: #bcb19f;
  line-height: 1.6;
}

.system-nav-group .system-index {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.repair-system-index a {
  min-height: 48px;
}

.feature-system-index a {
  min-height: 48px;
  border-color: rgba(194, 133, 49, .62);
  color: #f2d486;
}

.core-repairs {
  position: relative;
  display: grid;
  gap: 22px;
  margin: 0 0 42px;
  padding: clamp(22px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(190, 131, 48, .72);
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(26, 20, 15, .98), rgba(7, 10, 11, .94) 52%, rgba(8, 27, 31, .94)),
    url("showcase/world.png") center / cover no-repeat;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, .42), 0 22px 58px rgba(0, 0, 0, .42);
}

.core-repairs::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 175, 58, .14), transparent 27%),
    linear-gradient(115deg, transparent 0 44%, rgba(61, 220, 238, .05) 56%, transparent 72%);
}

.core-repairs > * {
  position: relative;
  z-index: 1;
}

.core-repairs-head { max-width: 960px; }

.core-repairs-head h2,
.systems-showcase-head h2 {
  margin: 6px 0 10px;
  color: #f3d27d;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  text-shadow: 0 2px 0 #2b1608, 0 0 18px rgba(240, 175, 64, .24);
}

.core-repairs-head > p:not(.eyebrow),
.systems-showcase-head > p:not(.eyebrow) {
  margin: 0;
  color: #d9d0bf;
  font-size: 16px;
  line-height: 1.8;
}

.repair-proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 3px solid #49dced;
  background: linear-gradient(90deg, rgba(20, 117, 134, .2), transparent);
}

.repair-proof-line strong { color: #ffe28a; font-size: 15px; }

.repair-proof-line span {
  padding-right: 12px;
  border-right: 1px solid rgba(227, 191, 104, .34);
  color: #9debf3;
  font-size: 14px;
}

.repair-proof-line span:last-child { border-right: 0; }

.repair-grid { display: grid; gap: 18px; }

.repair-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(166, 113, 43, .72);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(33, 28, 21, .94), rgba(6, 9, 10, .96) 64%);
  box-shadow: inset 0 0 26px rgba(0, 0, 0, .36), 0 12px 28px rgba(0, 0, 0, .3);
  animation: frameReveal .7s ease both;
}

.repair-card:nth-child(even) { grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); }
.repair-card:nth-child(even) .repair-media { order: 2; }
.repair-card:nth-child(even) .repair-copy { order: 1; }

.repair-media {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: #030506;
  isolation: isolate;
}

.repair-media::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(245, 205, 112, .28);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, .4);
}

.repair-media img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  background: #030506;
  animation: repairShot 12s ease-in-out infinite;
}

.repair-media img:nth-child(2) { animation-delay: -6s; }
.repair-media img:only-child { opacity: 1; animation: none; }

.repair-media-4 img {
  animation-name: repairShotFour;
  animation-duration: 20s;
}

.repair-media-4 img:nth-child(2) { animation-delay: -5s; }
.repair-media-4 img:nth-child(3) { animation-delay: -10s; }
.repair-media-4 img:nth-child(4) { animation-delay: -15s; }

.repair-proof-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 5px 9px;
  border: 1px solid rgba(255, 220, 113, .66);
  border-radius: 2px;
  color: #fff0b4;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  background: rgba(16, 11, 7, .78);
  box-shadow: 0 0 12px rgba(255, 154, 31, .2);
}

.repair-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 32px;
}

.repair-copy h3 {
  margin: 5px 0 12px;
  color: #f3d27d;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1.12;
  text-shadow: 0 2px 0 #2b1608;
}

.repair-copy > p:not(.eyebrow) {
  margin: 0;
  color: #e4d9c4;
  font-size: 16px;
  line-height: 1.8;
}

.repair-copy ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.repair-copy li {
  position: relative;
  padding-left: 20px;
  color: #b7eff4;
  font-size: 14px;
  line-height: 1.65;
}

.repair-copy li::before {
  position: absolute;
  top: .65em;
  left: 2px;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: #ffcb4c;
  box-shadow: 0 0 9px rgba(255, 177, 37, .86);
}

.systems-showcase-head { margin: 8px 0 18px; }

@keyframes repairShot {
  0%, 40% { opacity: 1; }
  50%, 90% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes repairShotFour {
  0%, 20% { opacity: 1; }
  25%, 95% { opacity: 0; }
  100% { opacity: 1; }
}

.showcase-grid {
  gap: 24px;
}

.showcase-card {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  min-height: 390px;
  padding: 16px;
  animation: frameReveal .7s ease both;
}

.showcase-card:nth-child(even) {
  grid-template-columns: minmax(300px, .65fr) minmax(0, 1.35fr);
}

.showcase-card:nth-child(even) .showcase-image { order: 2; }
.showcase-card:nth-child(even) .showcase-copy { order: 1; padding-left: 12px; }

.showcase-image {
  aspect-ratio: 16 / 10;
  border-color: rgba(181, 122, 43, .7);
  border-radius: 3px;
  background: #020303;
}

.showcase-image img {
  object-fit: contain;
  transition: transform .55s ease, filter .55s ease;
}

.showcase-card:hover .showcase-image img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.018);
}

.showcase-image-slideshow {
  position: relative;
  isolation: isolate;
}

.showcase-image-slideshow img {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: repairShot 12s ease-in-out infinite;
}

.showcase-image-slideshow img:nth-child(2) { animation-delay: -6s; }

.showcase-copy h2 {
  margin: 5px 0 16px;
  font-size: 43px;
}

.ranking-board-head,
.ranking-board-row {
  border-radius: 3px;
}

.rank-no {
  border: 1px solid #f5cf70;
  border-radius: 3px;
  color: #241200;
  background: linear-gradient(180deg, #f7da81, #b97724);
}

.log-sidebar,
.log-content {
  border-color: rgba(166, 113, 43, .65);
}

.side-section a:hover {
  color: #ffe7a2;
  background: rgba(137, 87, 26, .26);
}

.back-top {
  border-color: #c88a35;
  border-radius: 3px;
  color: #241200;
  background: linear-gradient(180deg, #f3d679, #b97724);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .42);
}

.site-footer {
  border-top-color: #6e481e;
  color: #aa9a7e;
  background: rgba(5, 6, 6, .92);
}

/* Forum */
.forum-layout {
  padding: 30px 0 52px;
}

.forum-hero {
  background:
    linear-gradient(90deg, rgba(4, 6, 7, .95), rgba(4, 6, 7, .46)),
    url("showcase/world.png") center 42% / cover no-repeat;
}

.forum-stats {
  display: flex;
  gap: 10px;
}

.forum-stats span {
  min-width: 104px;
  padding: 14px 16px;
  border: 1px solid #775126;
  text-align: center;
}

.forum-stats strong {
  display: block;
  color: #f5d67a;
  font-size: 24px;
}

.forum-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 12px;
}

.forum-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.forum-categories a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid #654822;
  border-radius: 3px;
  color: #cdbf9f;
  text-decoration: none;
  background: rgba(7, 9, 10, .72);
}

.forum-categories a:hover,
.forum-categories a.active {
  border-color: #d09236;
  color: #ffeab1;
  background: rgba(121, 75, 22, .34);
}

.forum-search {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 76px;
  gap: 7px;
}

.forum-search input,
.forum-search button {
  min-height: 40px;
  padding: 8px 11px;
}

.forum-search button,
.forum-form button {
  border-style: solid;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 900;
}

.forum-board {
  overflow: hidden;
  margin-bottom: 24px;
}

.forum-board-head,
.forum-topic-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px 150px;
  gap: 16px;
  align-items: center;
}

.forum-board-head {
  padding: 12px 18px 12px 82px;
  border-bottom: 1px solid rgba(157, 107, 43, .5);
  color: #e1c98f;
  font-size: 13px;
  font-weight: 800;
  background: rgba(90, 55, 16, .24);
}

.forum-topic-row {
  position: relative;
  grid-template-columns: 48px minmax(0, 1fr) 86px 150px;
  min-height: 104px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(111, 79, 41, .45);
  background: rgba(6, 8, 9, .42);
  transition: background-color .2s ease, box-shadow .2s ease;
}

.forum-topic-row:last-child { border-bottom: 0; }
.forum-topic-row:hover { background: rgba(93, 59, 20, .18); box-shadow: inset 3px 0 #d9963d; }

.forum-topic-mark {
  color: #5ddbf0;
  font-size: 28px;
  text-align: center;
  text-shadow: 0 0 14px rgba(83, 217, 241, .48);
}

.forum-topic-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.forum-category,
.forum-state {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border: 1px solid rgba(83, 217, 241, .42);
  border-radius: 3px;
  color: #aeeefa;
  font-size: 12px;
  background: rgba(20, 93, 106, .18);
}

.forum-state {
  border-color: rgba(246, 199, 91, .48);
  color: #f7db8b;
  background: rgba(120, 74, 19, .2);
}

.forum-state.locked {
  border-color: rgba(228, 91, 85, .48);
  color: #f0aaa5;
  background: rgba(118, 31, 28, .2);
}

.forum-topic-main h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.forum-topic-main h2 a {
  color: #f3e3bd;
  text-decoration: none;
}

.forum-topic-main h2 a:hover { color: #f5ce69; }
.forum-topic-main p { margin: 0; font-size: 13px; }

.forum-reply-count {
  color: #f3cf72;
  font-size: 22px;
  text-align: center;
}

.forum-topic-row > time {
  color: #a89b83;
  font-size: 13px;
}

.forum-compose,
.forum-replies,
.forum-topic-detail,
.forum-empty {
  margin-bottom: 22px;
  padding: 22px;
}

.forum-form {
  display: grid;
  gap: 14px;
}

.forum-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.forum-form label span {
  display: block;
  margin-bottom: 7px;
  color: #d7c7a6;
  font-weight: 800;
}

.forum-form input,
.forum-form select,
.forum-form textarea {
  min-height: 46px;
  padding: 10px 12px;
  resize: vertical;
}

.forum-form textarea { line-height: 1.7; }
.forum-form button { min-height: 48px; padding: 0 22px; justify-self: start; }

.forum-breadcrumb {
  display: flex;
  gap: 9px;
  margin: 0 0 14px;
  color: #aa9c82;
}

.forum-breadcrumb a { color: #62dcf2; text-decoration: none; }

.forum-topic-head {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(150, 102, 40, .48);
}

.forum-topic-head h2 {
  margin: 10px 0 0;
  color: #f3db98;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 38px;
}

.forum-author {
  min-width: 150px;
  text-align: right;
}

.forum-author strong,
.forum-author time {
  display: block;
}

.forum-author strong { color: #62dcf2; }
.forum-author time { margin-top: 6px; color: #9d9079; font-size: 13px; }

.forum-post-body {
  padding: 22px 2px 8px;
  font-size: 16px;
  line-height: 1.9;
  word-break: break-word;
}

.forum-reply {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid rgba(111, 79, 41, .45);
}

.forum-reply-meta strong,
.forum-reply-meta time,
.reply-floor {
  display: block;
}

.reply-floor { color: #f0c968; font-size: 13px; }
.forum-reply-meta strong { margin-top: 7px; color: #67d7eb; }
.forum-reply-meta time { margin-top: 5px; color: #9d9079; font-size: 12px; }
.forum-reply .forum-post-body { padding: 0; }

.forum-empty {
  color: #bdae91;
  text-align: center;
}

.forum-empty.compact { padding: 16px; }

.intro-highlight-card,
.version-node,
.register-card,
.section-block,
.forum-board,
.forum-compose {
  animation: frameReveal .65s ease both;
}

@keyframes wowDust {
  from { background-position: 0 0, 40px 80px; }
  to { background-position: -150px 300px, 270px 540px; }
}

@keyframes emblemFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes goldPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08); }
}

@keyframes frameReveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes declarationPulse {
  0%, 100% { border-color: #a86d25; }
  50% { border-color: #f0bd5b; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .62), 0 18px 54px rgba(0, 0, 0, .6), 0 0 30px rgba(211, 137, 38, .24); }
}

@keyframes declarationSweep {
  0%, 18% { left: -20%; opacity: 0; }
  45% { opacity: 1; }
  72%, 100% { left: 120%; opacity: 0; }
}

@keyframes manifestoGlow {
  0%, 100% { opacity: .2; transform: rotate(18deg) translateX(-22%); }
  50% { opacity: .8; transform: rotate(18deg) translateX(28%); }
}

@keyframes promiseSweep {
  0%, 18% { left: -22%; opacity: 0; }
  42% { opacity: 1; }
  72%, 100% { left: 112%; opacity: 0; }
}

@keyframes flameTongue {
  0% { transform: rotate(31deg) scale(.72, .78) translateY(8px); opacity: .66; }
  45% { transform: rotate(42deg) scale(.9, 1.08) translateY(-9px); opacity: 1; }
  100% { transform: rotate(34deg) scale(.76, .92) translateY(2px); opacity: .82; }
}

@keyframes flameBase {
  0%, 100% { opacity: .66; transform: scaleX(.96); }
  50% { opacity: 1; transform: scaleX(1.04); }
}

@keyframes declarationTitleFire {
  0%, 100% { filter: brightness(1); text-shadow: 0 3px 0 #4a1405, 0 0 10px #ff5a16, 0 0 24px rgba(255, 96, 18, .64); }
  50% { filter: brightness(1.12); text-shadow: 0 3px 0 #4a1405, 0 0 16px #ff7a22, 0 0 42px rgba(255, 96, 18, .9); }
}

@keyframes shuiseFlash {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.45); }
}

@keyframes fireButton {
  0%, 100% { filter: brightness(1); box-shadow: inset 0 1px 0 #fff3bd, 0 0 12px #ff681c, 0 0 26px rgba(246, 199, 91, .42); }
  50% { filter: brightness(1.12); box-shadow: inset 0 1px 0 #fff3bd, 0 0 22px #ff7d27, 0 0 46px rgba(246, 199, 91, .68); }
}

@media (max-width: 1080px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .nav-links { justify-content: flex-start; }
  .portal-hero { min-height: 680px; grid-template-columns: .8fr 1.2fr; }
  .hero-copy h1 { font-size: 68px; }
  .content-grid { grid-template-columns: 1fr; }
  .register-card { position: static; }
  .version-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .showcase-card,
  .showcase-card:nth-child(even) { grid-template-columns: 1fr; }
  .showcase-card:nth-child(even) .showcase-image,
  .showcase-card:nth-child(even) .showcase-copy { order: initial; }
  .repair-card,
  .repair-card:nth-child(even) { grid-template-columns: 1fr; }
  .repair-card:nth-child(even) .repair-media,
  .repair-card:nth-child(even) .repair-copy { order: initial; }
}

@media (max-width: 760px) {
  body { background-attachment: scroll; }
  main { width: min(100% - 22px, 1320px); }
  .site-header { position: relative; padding: 10px 12px; }
  .brand span { font-size: 21px; }
  .nav-links { gap: 4px; }
  .nav-links a { min-height: 34px; padding: 6px 8px; font-size: 13px; }
  .portal-hero {
    width: 100%;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 46px 18px 80px;
  }
  .portal-hero::before { left: 50%; width: 340px; height: 340px; transform: translate(-50%, -50%); }
  .hero-media { order: -1; }
  .hero-media img { width: min(280px, 74vw); }
  .hero-copy { text-align: center; }
  .hero-copy h1 { font-size: 54px; }
  .hero-text { font-size: 16px; }
  .hero-actions,
  .server-strip,
  .faction-strip { justify-content: center; }
  .watercolor-declaration { grid-template-columns: 1fr; gap: 13px; min-height: 260px; margin-top: -40px; padding: 26px 18px 44px; text-align: center; }
  .declaration-lead { font-size: 30px; }
  .declaration-copy strong { font-size: 19px; }
  .declaration-copy span { font-size: 15px; }
  .declaration-copy .declaration-finale { font-size: 16px; }
  .watercolor-declaration > a { justify-self: stretch; }
  .declaration-flames { height: 60px; opacity: .75; }
  .quick-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-section { padding: 28px 0; }
  .version-promise {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: auto;
    padding: 25px 18px;
    text-align: center;
  }
  .version-promise-kicker { align-self: auto; }
  .version-promise-main { grid-row: auto; }
  .version-promise-main strong { font-size: 49px; }
  .version-promise-main h3 { font-size: 32px; }
  .version-promise p { font-size: 15px; line-height: 1.75; }
  .version-promise b { border-left: 0; border-top: 2px solid #5ee6f4; font-size: 15px; }
  .intro-hero-copy h2,
  .section-head h2,
  .register-head h2,
  .forum-compose h2,
  .forum-replies h2 { font-size: 30px; }
  .intro-highlight-grid,
  .value-manifesto,
  .version-grid,
  .service-links { grid-template-columns: 1fr; }
  .value-manifesto > div { min-height: 0; padding: 23px 20px; }
  .value-manifesto span { font-size: 25px; }
  .value-manifesto strong { font-size: 16px; }
  .value-manifesto em { font-size: 18px; }
  .log-hero,
  .password-panel { min-height: auto; }
  .log-hero h1,
  .password-copy h1 { font-size: 44px; }
  .showcase-card { min-height: auto; padding: 10px; }
  .showcase-image { aspect-ratio: auto; }
  .showcase-image img { height: auto; }
  .showcase-copy { padding: 8px 4px 12px; }
  .showcase-copy h2 { font-size: 34px; }
  .core-repairs { padding: 24px 12px; }
  .core-repairs-head h2,
  .systems-showcase-head h2 { font-size: 31px; }
  .repair-proof-line { align-items: flex-start; flex-direction: column; gap: 5px; }
  .repair-proof-line span { padding-right: 0; border-right: 0; }
  .repair-card,
  .repair-card:nth-child(even) { min-height: auto; }
  .repair-media { min-height: 0; aspect-ratio: 16 / 10; }
  .repair-copy { padding: 23px 18px 26px; }
  .repair-copy h3 { font-size: 32px; }
  .forum-toolbar { align-items: stretch; flex-direction: column; }
  .forum-search { grid-template-columns: 1fr 74px; }
  .forum-board-head { display: none; }
  .forum-topic-row { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; }
  .forum-reply-count,
  .forum-topic-row > time { grid-column: 2; text-align: left; }
  .forum-reply-count::before { content: "回复 "; color: #9e9077; font-size: 12px; }
  .forum-form-row { grid-template-columns: 1fr; }
  .forum-topic-head { flex-direction: column; }
  .forum-author { text-align: left; }
  .forum-reply { grid-template-columns: 1fr; gap: 12px; }
  .forum-reply-meta strong,
  .forum-reply-meta time,
  .reply-floor { display: inline; margin-right: 8px; }
}

/* Grand account-security hall. */
.password-layout {
  width: min(1400px, calc(100% - 40px));
  padding: 36px 0 60px;
}

.password-layout .password-panel {
  position: relative;
  min-height: 760px;
  grid-template-columns: minmax(0, 1.08fr) minmax(470px, .92fr);
  gap: 54px;
  padding: 52px;
  border: 2px solid #a56f2d;
  background:
    linear-gradient(90deg, rgba(5, 8, 10, .97) 0 42%, rgba(8, 12, 14, .79) 66%, rgba(4, 7, 9, .94)),
    url("showcase/vip.png") center / cover no-repeat;
  box-shadow:
    inset 0 0 0 4px rgba(0, 0, 0, .74),
    inset 0 0 80px rgba(2, 10, 13, .64),
    0 28px 80px rgba(0, 0, 0, .66),
    0 0 34px rgba(83, 217, 241, .1);
}

.password-layout .password-panel::before {
  background:
    radial-gradient(circle at 20% 16%, rgba(246, 199, 91, .2), transparent 30%),
    linear-gradient(135deg, rgba(246, 199, 91, .14), transparent 25%, rgba(83, 217, 241, .1) 76%, transparent);
  opacity: 1;
}

.password-layout .password-panel::after {
  position: absolute;
  top: 9%;
  bottom: 9%;
  left: 56%;
  width: 1px;
  content: "";
  pointer-events: none;
  background: linear-gradient(transparent, rgba(246, 199, 91, .7), rgba(83, 217, 241, .6), transparent);
  box-shadow: 0 0 18px rgba(83, 217, 241, .18);
}

.password-copy,
.password-layout .password-form {
  position: relative;
  z-index: 2;
}

.password-seal {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 10px 8px 14px;
  border: 1px solid #a9732d;
  border-radius: 3px;
  color: #ecd18d;
  background: rgba(40, 27, 13, .72);
  box-shadow: inset 0 0 14px rgba(246, 199, 91, .08), 0 0 18px rgba(246, 199, 91, .08);
}

.password-seal span { font-weight: 900; }

.password-seal b {
  padding: 4px 7px;
  border: 1px solid rgba(83, 217, 241, .5);
  color: #8beeff;
  font-size: 12px;
  background: rgba(13, 84, 96, .22);
}

.password-layout .password-copy h1 {
  margin: 10px 0 20px;
  font-size: 72px;
}

.password-layout .password-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: #d9ccb4;
  font-size: 18px;
  line-height: 1.9;
}

.password-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 30px;
}

.password-trust-strip > span {
  min-height: 120px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 15px;
  border: 1px solid rgba(158, 108, 44, .62);
  border-radius: 3px;
  background: linear-gradient(145deg, rgba(55, 39, 20, .68), rgba(3, 7, 8, .86));
  box-shadow: inset 0 0 18px rgba(0, 0, 0, .38);
}

.password-trust-strip b {
  color: #5eddf2;
  font-size: 12px;
}

.password-trust-strip strong {
  color: #f1d487;
  font-size: 16px;
}

.password-trust-strip small {
  color: #a99b83;
  line-height: 1.5;
}

.password-layout .security-note {
  max-width: none;
  margin-top: 18px;
  padding: 18px 20px;
  border-color: rgba(83, 217, 241, .38);
  border-radius: 3px;
  background: rgba(2, 18, 22, .7);
  box-shadow: inset 0 0 22px rgba(0, 0, 0, .38), 0 0 18px rgba(83, 217, 241, .06);
}

.password-layout .security-note strong {
  color: #73e4f6;
  font-size: 16px;
}

.password-layout .password-form {
  width: 100%;
  max-width: 560px;
  justify-self: end;
  gap: 16px;
  padding: 30px;
  border: 2px solid #855c28;
  border-radius: 4px;
  background: linear-gradient(150deg, rgba(33, 29, 23, .96), rgba(3, 7, 9, .97) 58%, rgba(8, 26, 30, .94));
  box-shadow:
    inset 0 0 0 3px rgba(0, 0, 0, .7),
    inset 0 0 36px rgba(0, 0, 0, .4),
    0 22px 54px rgba(0, 0, 0, .54),
    0 0 24px rgba(83, 217, 241, .08);
}

.password-form-head {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(153, 106, 43, .5);
}

.password-form-head h2 {
  margin: 7px 0 8px;
  color: #f2d488;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 32px;
}

.password-form-head > span {
  color: #9f927d;
  font-size: 13px;
}

.password-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.password-layout .password-form label span {
  color: #dfd0b2;
  font-size: 14px;
}

.password-layout .password-form input {
  min-height: 52px;
  padding: 11px 13px;
  border-radius: 3px;
}

.password-layout .password-form button {
  min-height: 56px;
  margin-top: 2px;
  border-radius: 3px;
  font-size: 17px;
}

.password-form-foot {
  margin: -4px 0 0;
  color: #978b77;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 1080px) {
  .password-layout .password-panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .password-layout .password-panel::after { display: none; }
  .password-layout .password-form { max-width: none; justify-self: stretch; }
}

@media (max-width: 760px) {
  .password-layout { width: min(100% - 22px, 1400px); padding-top: 20px; }
  .password-layout .password-panel { padding: 24px 14px; }
  .password-layout .password-copy h1 { font-size: 50px; }
  .password-trust-strip,
  .password-form-row { grid-template-columns: 1fr; }
  .password-trust-strip > span { min-height: 92px; }
  .password-layout .password-form { padding: 22px 16px; }
}

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

/* Final warfront presentation layer. */
body {
  background:
    linear-gradient(180deg, rgba(4, 7, 10, .14), rgba(4, 6, 8, .82) 78%, #040506),
    radial-gradient(circle at 50% 20%, rgba(53, 189, 218, .12), transparent 34%),
    url("warfront-hero.png") center top / cover fixed no-repeat,
    #040506;
}

.portal-hero {
  min-height: 820px;
  padding-top: 96px;
  padding-bottom: 150px;
  background:
    linear-gradient(90deg, rgba(3, 6, 8, .22) 0, rgba(3, 6, 8, .48) 46%, rgba(3, 6, 8, .82) 100%),
    linear-gradient(0deg, rgba(3, 5, 7, .86), transparent 26%),
    url("warfront-hero.png") center / cover no-repeat;
}

.portal-hero .hero-media {
  position: relative;
  isolation: isolate;
}

.portal-hero .hero-media::before {
  position: absolute;
  inset: 8%;
  z-index: -1;
  content: "";
  border: 1px solid rgba(83, 217, 241, .48);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(246, 199, 91, .05), 0 0 60px rgba(83, 217, 241, .34);
  animation: crestOrbit 22s linear infinite;
}

.portal-hero .hero-media::after {
  position: absolute;
  right: 2%;
  bottom: 5%;
  left: 2%;
  height: 28%;
  content: "";
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(83, 217, 241, .32), transparent 70%);
  filter: blur(16px);
  opacity: .8;
  animation: crestGlow 4.6s ease-in-out infinite;
}

.portal-hero .hero-media img {
  position: relative;
  width: min(468px, 78vw);
  padding: 12px;
  border: 1px solid #e0ad4d;
  border-radius: 8px;
  outline: 6px solid rgba(21, 17, 11, .82);
  background: radial-gradient(circle, rgba(4, 35, 46, .72), #020304 68%);
  box-shadow:
    0 0 0 2px rgba(83, 217, 241, .32),
    0 0 0 11px rgba(140, 85, 25, .38),
    0 32px 90px rgba(0, 0, 0, .78),
    0 0 55px rgba(83, 217, 241, .26);
  animation: crestPower 5.6s ease-in-out infinite;
}

.portal-hero .hero-copy {
  max-width: 720px;
  padding: 34px 0;
}

.portal-hero .hero-copy h1 {
  font-size: 98px;
  letter-spacing: 4px;
  text-shadow: 0 4px 0 #281507, 0 0 24px rgba(246, 199, 91, .42), 0 0 70px rgba(83, 217, 241, .18);
}

.portal-hero .hero-text {
  max-width: 670px;
  color: #eee2cc;
  font-size: 20px;
  line-height: 1.9;
}

.portal-hero .hero-actions .btn {
  min-height: 54px;
  padding-inline: 24px;
  font-size: 16px;
}

.portal-hero .hero-actions .repair-link {
  border-color: rgba(72, 215, 234, .68);
  color: #b6f7ff;
  background: linear-gradient(180deg, rgba(13, 75, 85, .76), rgba(5, 21, 24, .88));
  box-shadow: inset 0 0 14px rgba(53, 210, 231, .08), 0 0 16px rgba(53, 210, 231, .08);
}

.portal-hero .hero-actions .feature-link {
  border-color: rgba(211, 148, 53, .74);
  color: #ffe7a0;
  background: linear-gradient(180deg, rgba(83, 53, 20, .78), rgba(24, 14, 7, .9));
  box-shadow: inset 0 0 14px rgba(246, 199, 91, .08), 0 0 16px rgba(246, 199, 91, .08);
}

.class-repair-meter {
  position: relative;
  max-width: 670px;
  margin: 20px 0 18px;
  padding: 15px 17px 14px;
  overflow: hidden;
  border: 1px solid rgba(80, 220, 237, .66);
  border-radius: 3px;
  background: linear-gradient(110deg, rgba(5, 34, 39, .88), rgba(7, 11, 12, .94) 54%, rgba(57, 33, 13, .88));
  box-shadow: inset 0 0 22px rgba(0, 0, 0, .42), 0 0 22px rgba(45, 209, 230, .1);
}

.class-repair-meter-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 9px;
}

.class-repair-meter-head span {
  color: #f5e7c8;
  font-size: 17px;
  font-weight: 900;
}

.class-repair-meter-head strong {
  color: #7cf0ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  line-height: 1;
  text-shadow: 0 0 10px #28cfe6, 0 0 25px rgba(40, 207, 230, .46);
}

.class-repair-track {
  position: relative;
  height: 15px;
  overflow: hidden;
  border: 1px solid rgba(196, 222, 218, .34);
  border-radius: 2px;
  background: #040707;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .86);
}

.class-repair-track i {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  background: linear-gradient(90deg, #15869a, #36d9ed 44%, #f0c456 78%, #fff0a7);
  box-shadow: 0 0 14px rgba(55, 219, 238, .76);
  transform-origin: left center;
  animation: classRepairFill 1.5s cubic-bezier(.16, .78, .24, 1) both;
}

.class-repair-track i::after {
  position: absolute;
  top: -8px;
  bottom: -8px;
  left: -22%;
  width: 18%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .86), transparent);
  transform: skewX(-18deg);
  animation: classRepairSweep 2.8s 1.3s ease-in-out infinite;
}

.class-repair-meter > p {
  margin: 9px 0 0;
  color: #b9dfe1;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

@keyframes classRepairFill {
  from { transform: scaleX(0); filter: brightness(.78); }
  to { transform: scaleX(1); filter: brightness(1); }
}

@keyframes classRepairSweep {
  0%, 18% { left: -22%; opacity: 0; }
  42% { opacity: 1; }
  72%, 100% { left: 112%; opacity: 0; }
}

.hero-console {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 8px;
  max-width: 560px;
  margin-top: 24px;
}

.hero-console span {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 10px 14px;
  border: 1px solid rgba(148, 105, 43, .72);
  border-radius: 3px;
  background: linear-gradient(145deg, rgba(50, 37, 20, .78), rgba(3, 8, 10, .82));
  box-shadow: inset 0 0 18px rgba(0, 0, 0, .48), 0 0 16px rgba(246, 199, 91, .07);
}

.hero-console b {
  color: #f7d578;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 26px;
  line-height: 1;
  text-shadow: 0 0 15px rgba(246, 199, 91, .34);
}

.hero-console span:nth-child(2) b { color: #72e5f7; }
.hero-console span:nth-child(3) b { color: #dca5ff; }

.hero-console small {
  color: #a99c87;
  font-size: 12px;
}

@keyframes crestPower {
  0%, 100% { transform: translateY(0) scale(1); filter: brightness(1); }
  50% { transform: translateY(-10px) scale(1.012); filter: brightness(1.08); }
}

@keyframes crestOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes crestGlow {
  0%, 100% { transform: scale(.86); opacity: .54; }
  50% { transform: scale(1.08); opacity: .96; }
}

@media (max-width: 1080px) {
  .portal-hero { min-height: 740px; padding-bottom: 125px; }
  .portal-hero .hero-copy h1 { font-size: 74px; }
}

@media (max-width: 760px) {
  .portal-hero { min-height: auto; padding: 52px 0 92px; }
  .portal-hero .hero-copy { padding: 10px 0; }
  .portal-hero .hero-copy h1 { font-size: 56px; letter-spacing: 1px; }
  .portal-hero .hero-text { font-size: 16px; }
  .portal-hero .hero-media img { width: min(320px, 78vw); }
  .hero-console { max-width: none; }
  .class-repair-meter { margin-inline: auto; text-align: left; }
  .class-repair-meter-head span { font-size: 15px; }
  .class-repair-meter-head strong { font-size: 25px; }
  .class-repair-meter > p { font-size: 12px; }
  .system-nav-group { padding: 21px 12px; }
  .system-nav-title { grid-template-columns: 1fr; }
  .system-nav-title h2 { font-size: 30px; }
}
