:root {
  color-scheme: dark;
  --bg: #070910;
  --panel: rgba(17, 21, 34, 0.78);
  --line: rgba(133, 162, 255, 0.18);
  --text: #f3f7ff;
  --muted: #a8b1c7;
  --soft: #68748e;
  --gold: #ffc766;
  --blue: #59d7ff;
  --green: #51e0a6;
  --radius: 8px;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 8%, rgba(89, 215, 255, 0.17), transparent 24rem),
    radial-gradient(circle at 86% 18%, rgba(255, 199, 102, 0.1), transparent 25rem),
    linear-gradient(180deg, #070910 0%, #0b0f1b 44%, #070910 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(6, 8, 14, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  position: relative;
  isolation: isolate;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 18%, rgba(142, 255, 242, 0.18), transparent 28%),
    radial-gradient(circle at 80% 82%, rgba(82, 109, 255, 0.28), transparent 42%),
    linear-gradient(145deg, rgba(14, 27, 50, 0.98), rgba(3, 8, 18, 0.98));
  border: 1px solid rgba(128, 239, 255, 0.28);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.42),
    0 0 30px rgba(40, 219, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 8px;
  width: 27px;
  height: 34px;
  border-radius: 2px;
  background: linear-gradient(135deg, #8efff2 0%, #28d6ff 48%, #526dff 100%);
  clip-path: polygon(36% 0, 94% 0, 62% 42%, 100% 42%, 22% 100%, 42% 56%, 0 56%);
  box-shadow:
    0 0 22px rgba(62, 223, 255, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 8px;
  width: 25px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(126, 255, 221, 0.92), rgba(72, 151, 255, 0.72));
  filter: blur(0.2px);
  opacity: 0.88;
}

.brand-mark span {
  width: 1px;
  height: 1px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
}

.brand strong {
  display: flex;
  align-items: baseline;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 31px;
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.025em;
}

.brand-word-num {
  color: #f8fbff;
  text-shadow: 0 0 18px rgba(97, 224, 255, 0.14);
}

.brand-word-gf {
  margin-left: 1px;
  color: transparent;
  background: linear-gradient(120deg, #8ffcf0 0%, #58d9ff 42%, #6f8cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 18px rgba(92, 224, 255, 0.18);
}

.brand-copy > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.navlinks a {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.navlinks a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  padding: 54px 0 28px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 30%, rgba(89, 215, 255, 0.18), transparent 18rem),
    radial-gradient(circle at 82% 20%, rgba(255, 199, 102, 0.12), transparent 14rem);
}

.detail-hero-card {
  isolation: isolate;
  overflow: hidden;
  margin-top: 16px;
  padding: 30px;
  border: 1px solid rgba(255, 199, 102, 0.24);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(8, 12, 22, 0.94) 0%, rgba(8, 12, 22, 0.82) 43%, rgba(8, 12, 22, 0.48) 100%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.16), rgba(5, 7, 12, 0.76)),
    var(--detail-cover),
    linear-gradient(135deg, rgba(13, 31, 47, 0.88), rgba(23, 20, 30, 0.88));
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.detail-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.96) 0%, rgba(5, 8, 15, 0.82) 39%, rgba(5, 8, 15, 0.44) 68%, rgba(5, 8, 15, 0.68) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(89, 215, 255, 0.2), transparent 15rem),
    radial-gradient(circle at 8% 88%, rgba(255, 199, 102, 0.18), transparent 13rem);
}

.detail-hero-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  z-index: 2;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 199, 102, 0.55), transparent);
}

.detail-hero-card .crumb,
.detail-hero-card .hero-grid {
  position: relative;
  z-index: 3;
}

.detail-bg-marquee {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.5;
  filter: saturate(1.12) contrast(1.06);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
}

.detail-bg-marquee::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 20%, rgba(89, 215, 255, 0.22), transparent 18rem),
    linear-gradient(180deg, rgba(5, 7, 12, 0.08), rgba(5, 7, 12, 0.36));
}

.detail-bg-track {
  position: absolute;
  top: 20px;
  left: 38%;
  display: flex;
  gap: 14px;
  width: max-content;
  transform: rotate(-4deg);
  animation: detailBgScroll 46s linear infinite;
}

.detail-bg-track.is-alt {
  top: auto;
  bottom: 18px;
  left: 30%;
  opacity: 0.66;
  transform: rotate(3deg);
  animation-name: detailBgScrollReverse;
  animation-duration: 58s;
}

.detail-bg-tile {
  flex: 0 0 auto;
  width: 218px;
  height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background-size: cover;
  background-position: center;
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@keyframes detailBgScroll {
  from {
    transform: translate3d(0, 0, 0) rotate(-4deg);
  }
  to {
    transform: translate3d(-50%, 0, 0) rotate(-4deg);
  }
}

@keyframes detailBgScrollReverse {
  from {
    transform: translate3d(-50%, 0, 0) rotate(3deg);
  }
  to {
    transform: translate3d(0, 0, 0) rotate(3deg);
  }
}

.detail-hero-card h1,
.detail-hero-card .lead {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.detail-hero-card .cover {
  border-color: rgba(255, 199, 102, 0.28);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.54);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 28px;
  align-items: center;
}

.crumb {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 199, 102, 0.26);
  color: #ffe1a0;
  background: rgba(255, 199, 102, 0.08);
  font-size: 13px;
  font-weight: 800;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

main,
.hero,
.grid,
.card,
.flow-card {
  min-width: 0;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 780px;
  color: #dbe5fb;
  font-size: 18px;
  line-height: 1.8;
}

.cover {
  height: 178px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.icon {
  width: 82px;
  height: 82px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.42);
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
  gap: 16px;
  margin: 18px auto 42px;
}

.card {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(17, 24, 39, 0.78);
  border-radius: var(--radius);
  padding: 20px;
}

.card h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.card h3 {
  margin: 18px 0 8px;
  font-size: 18px;
}

.detail-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.detail-section-head span {
  color: #fff4c8;
  font-size: 21px;
  font-weight: 950;
}

.detail-section-head small {
  padding: 4px 9px;
  border-radius: 999px;
  color: #9ee7ff;
  background: rgba(89, 215, 255, 0.09);
  font-size: 12px;
  font-weight: 800;
}

.card p,
.card li {
  color: #d7e0f2;
  line-height: 1.82;
}

.benefit-panel {
  display: grid;
  gap: 10px;
  margin: 10px 0 16px;
  padding: 14px;
  border: 1px solid rgba(255, 199, 102, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 199, 102, 0.13), transparent 11rem),
    radial-gradient(circle at 92% 20%, rgba(89, 215, 255, 0.11), transparent 12rem),
    rgba(8, 14, 24, 0.66);
}

.benefit-panel-head {
  display: grid;
  gap: 4px;
}

.benefit-panel-head strong {
  color: #fff4c8;
  font-size: 20px;
}

.benefit-panel-head span {
  color: #9ee7ff;
  font-size: 13px;
}

.benefit-summary {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(158, 231, 255, 0.18);
  border-radius: 8px;
  background: rgba(89, 215, 255, 0.08);
  color: #dff7ff !important;
  font-size: 14px;
  line-height: 1.75;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 9px;
}

.benefit-card {
  display: grid;
  gap: 5px;
  min-width: 0;
  min-height: 78px;
  padding: 12px;
  border: 1px solid rgba(255, 199, 102, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 199, 102, 0.13), rgba(89, 215, 255, 0.07)),
    rgba(255, 255, 255, 0.045);
}

.benefit-card small {
  width: fit-content;
  padding: 2px 7px;
  border-radius: 999px;
  color: #ffd782;
  background: rgba(255, 199, 102, 0.14);
  font-size: 11px;
  font-weight: 900;
}

.benefit-card strong {
  color: #f7fbff;
  font-size: 17px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.benefit-card span {
  color: #bed0e5;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.benefit-card[data-copy-code] {
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.benefit-card[data-copy-code]:hover,
.copy-code-card:hover {
  transform: translateY(-2px);
}

.copy-code-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(156px, 1fr));
  gap: 9px;
  margin: 0 0 10px;
}

.copy-code-card {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 88px;
  padding: 12px;
  border: 1px solid rgba(255, 199, 102, 0.22);
  border-radius: 8px;
  color: #eef7ff;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(255, 199, 102, 0.13), rgba(89, 215, 255, 0.08)),
    rgba(255, 255, 255, 0.045);
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.copy-code-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 199, 102, 0.48);
  background:
    linear-gradient(135deg, rgba(255, 199, 102, 0.2), rgba(89, 215, 255, 0.12)),
    rgba(255, 255, 255, 0.06);
}

.copy-code-card small {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  color: #ffd782;
  background: rgba(255, 199, 102, 0.14);
  font-size: 11px;
  font-weight: 900;
}

.copy-code-card strong {
  color: #f4fbff;
  font-size: 18px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.copy-code-card span {
  color: #9ee7ff;
  font-size: 12px;
  font-weight: 800;
}

.detail-code-panel {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid rgba(255, 199, 102, 0.26);
  border-radius: 10px;
  background:
    radial-gradient(circle at 9% 0%, rgba(255, 199, 102, 0.15), transparent 12rem),
    radial-gradient(circle at 94% 18%, rgba(89, 215, 255, 0.11), transparent 12rem),
    linear-gradient(180deg, rgba(15, 24, 39, 0.88), rgba(9, 15, 27, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.code-empty-box {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px dashed rgba(255, 199, 102, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 199, 102, 0.08), rgba(89, 215, 255, 0.06)),
    rgba(255, 255, 255, 0.035);
}

.code-empty-box strong {
  color: #fff3cf;
  font-size: 17px;
}

.code-empty-box span {
  color: #c7d4e8;
  line-height: 1.7;
}

.code-empty-box.is-note {
  border-style: solid;
}

.claim-guide-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 199, 102, 0.34);
  border-radius: 10px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 199, 102, 0.22), transparent 13rem),
    radial-gradient(circle at 92% 22%, rgba(89, 215, 255, 0.16), transparent 12rem),
    linear-gradient(135deg, rgba(255, 199, 102, 0.08), rgba(89, 215, 255, 0.07)),
    rgba(255, 255, 255, 0.04);
}

.claim-guide-copy {
  display: grid;
  gap: 6px;
}

.claim-guide-copy small {
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  color: #ffd782;
  background: rgba(255, 199, 102, 0.16);
  font-size: 12px;
  font-weight: 900;
}

.claim-guide-copy strong {
  color: #fff3cf;
  font-size: 20px;
  line-height: 1.25;
}

.claim-guide-copy span {
  color: #c9d7ea;
  line-height: 1.65;
}

.claim-guide-card .claim-guide-btn {
  white-space: nowrap;
}

.related-games,
.related-games-panel {
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 0%, rgba(89, 215, 255, 0.12), transparent 18rem),
    radial-gradient(circle at 88% 30%, rgba(255, 199, 102, 0.12), transparent 16rem),
    rgba(15, 21, 34, 0.82);
}

.related-head,
.related-games-panel {
  display: grid;
  gap: 6px;
}

.related-head {
  margin-bottom: 14px;
}

.related-head > span,
.related-games-panel > .section-kicker {
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  color: #122033;
  background: linear-gradient(135deg, #8ffcf0, #ffd782);
  font-size: 12px;
  font-weight: 900;
}

.related-head h2,
.related-games-panel > h2 {
  margin: 0;
}

.related-head p,
.related-games-panel > p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.related-filter-note {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 5px;
}

.related-filter-note span {
  padding: 4px 9px;
  border: 1px solid rgba(89, 215, 255, 0.2);
  border-radius: 999px;
  color: #bff3ff;
  background: rgba(89, 215, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

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

.related-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(133, 162, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(7, 11, 20, 0.74);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 199, 102, 0.45);
  background:
    linear-gradient(180deg, rgba(255, 199, 102, 0.08), rgba(89, 215, 255, 0.045)),
    rgba(8, 13, 24, 0.86);
}

.related-cover {
  position: relative;
  display: block;
  min-height: 112px;
  background:
    linear-gradient(135deg, rgba(33, 46, 70, 0.9), rgba(8, 12, 22, 0.94));
  background-size: cover;
  background-position: center;
}

.related-cover img {
  position: absolute;
  left: 12px;
  bottom: -20px;
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
}

.related-body {
  display: grid;
  gap: 7px;
  padding: 28px 12px 12px;
}

.related-reason {
  width: fit-content;
  margin-bottom: -2px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #152234;
  background: linear-gradient(135deg, #8ffcf0, #ffd782);
  font-size: 11px;
  font-weight: 900;
}

.related-body strong {
  color: #f7fbff;
  font-size: 17px;
  line-height: 1.25;
}

.related-body em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  line-height: 1.45;
}

.related-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.related-tags span {
  padding: 3px 7px;
  border: 1px solid rgba(89, 215, 255, 0.18);
  border-radius: 999px;
  color: #bfeaff;
  background: rgba(89, 215, 255, 0.08);
  font-size: 11px;
}

.related-body small {
  color: #ffd782;
  font-size: 12px;
  font-weight: 800;
}

.related-games-panel .related-card > strong,
.related-games .related-card > strong {
  padding: 12px 12px 0;
  color: #f7fbff;
  font-size: 17px;
  line-height: 1.25;
}

.related-games-panel .related-card > small,
.related-games .related-card > small {
  padding: 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.related-games-panel .related-card > em,
.related-games .related-card > em {
  padding: 0 12px 12px;
  color: #ffd782;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.copy-code-card.copied {
  border-color: rgba(81, 224, 166, 0.5);
  background:
    linear-gradient(135deg, rgba(81, 224, 166, 0.22), rgba(89, 215, 255, 0.12)),
    rgba(255, 255, 255, 0.06);
}

.copy-code-tip {
  display: block;
  margin-top: -4px;
  color: #aebbd0;
  font-size: 12px;
  line-height: 1.65;
}

.invite-panel {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(116, 220, 255, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(21, 86, 93, 0.34), rgba(17, 24, 38, 0.82)),
    rgba(12, 20, 32, 0.86);
}

.invite-card {
  width: min(420px, 100%);
}

.inline-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin-left: 6px;
  padding: 3px 10px;
  border: 1px solid rgba(255, 199, 104, 0.48);
  border-radius: 999px;
  background: rgba(255, 199, 104, 0.14);
  color: #ffd58a;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.inline-copy.copied {
  border-color: rgba(116, 255, 199, 0.72);
  box-shadow: 0 0 0 1px rgba(116, 255, 199, 0.12), 0 14px 34px rgba(0, 0, 0, 0.2);
}

.benefit-card.copied {
  border-color: rgba(81, 224, 166, 0.48);
  background:
    linear-gradient(135deg, rgba(81, 224, 166, 0.2), rgba(89, 215, 255, 0.1)),
    rgba(255, 255, 255, 0.06);
}

.copy-status {
  justify-self: start;
  min-height: 24px;
  margin-top: 2px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 199, 102, 0.24);
  background: rgba(255, 199, 102, 0.1);
  color: #ffd27c !important;
  font-size: 12px !important;
  font-weight: 900;
}

.copied .copy-status {
  border-color: rgba(81, 224, 166, 0.38);
  background: rgba(81, 224, 166, 0.14);
  color: #8fffd4 !important;
}

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

.stat {
  display: block;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.stat strong {
  display: block;
  color: var(--gold);
  font-size: 24px;
}

.stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(89, 215, 255, 0.12);
  color: #cdefff;
  border: 1px solid rgba(89, 215, 255, 0.22);
  font-size: 13px;
}

.invite-box {
  margin: 18px 0;
  padding: 16px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 92% 18%, rgba(81, 224, 166, 0.18), transparent 8rem),
    linear-gradient(135deg, rgba(81, 224, 166, 0.12), rgba(89, 215, 255, 0.06)),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(81, 224, 166, 0.32);
}

.invite-box small {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #8fffd4;
  background: rgba(81, 224, 166, 0.14);
  font-weight: 900;
}

.invite-box strong {
  display: block;
  color: #f2fff9;
  font-size: 26px;
  letter-spacing: 0.01em;
}

.invite-box span {
  display: block;
  margin-top: 8px;
  color: #b9c9db;
  line-height: 1.7;
}

.actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.detail-side-card {
  background:
    radial-gradient(circle at 92% 0%, rgba(89, 215, 255, 0.12), transparent 12rem),
    linear-gradient(180deg, rgba(17, 24, 39, 0.88), rgba(10, 15, 27, 0.82));
}

.detail-side-card h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.detail-side-card h2::after {
  content: "实时参考";
  padding: 4px 9px;
  border-radius: 999px;
  color: #9ee7ff;
  background: rgba(89, 215, 255, 0.09);
  font-size: 12px;
  font-weight: 800;
}

.detail-side-actions {
  display: none;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.flow-guide {
  margin: 10px auto 0;
}

.flow-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 199, 102, 0.24);
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.09), transparent 34%),
    linear-gradient(135deg, rgba(255, 199, 102, 0.12), rgba(89, 215, 255, 0.06)),
    rgba(17, 24, 39, 0.78);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.32);
}

.flow-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius) - 1px);
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 199, 102, 0.16), transparent 26%, rgba(89, 215, 255, 0.1) 74%, transparent),
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 100% 100%, 100% 32px;
  opacity: 0.62;
}

.flow-card > * {
  position: relative;
  z-index: 1;
}

.flow-card h2 {
  margin: 0 0 6px;
  font-size: 24px;
  letter-spacing: 0;
}

.flow-card > p {
  margin: 0 0 12px;
  color: #c8d5eb;
  line-height: 1.7;
}

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

.flow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  min-height: 92px;
  padding: 12px;
  border: 1px solid rgba(255, 199, 102, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.2);
}

.flow-step b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #160b08;
  background: linear-gradient(135deg, #ffd27c, #ff8a5f);
  font-size: 13px;
  box-shadow: 0 10px 26px rgba(255, 138, 95, 0.22);
}

.flow-step strong {
  display: block;
  color: #fff3cf;
  font-size: 15px;
}

.flow-step span {
  display: block;
  margin-top: 3px;
  color: #aebbd0;
  font-size: 12px;
  line-height: 1.55;
}

.flow-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.flow-actions.is-compact {
  grid-template-columns: 1fr;
}

.flow-entry-jump {
  min-height: 50px;
  letter-spacing: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 900;
}

button.btn {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.btn.primary {
  color: #160b08;
  background: linear-gradient(135deg, #ffd27c, #ff8a5f);
  border-color: transparent;
}

.btn.green {
  background: rgba(81, 224, 166, 0.12);
  border-color: rgba(81, 224, 166, 0.28);
  color: #a8ffd7;
}

.mobile-action-bar {
  display: none;
}

.support-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 72;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 5, 10, 0.74);
  backdrop-filter: blur(18px);
}

.support-qr-modal[hidden] {
  display: none;
}

.support-qr-card {
  position: relative;
  width: min(360px, 100%);
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 199, 102, 0.26);
  border-radius: 14px;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 199, 102, 0.22), transparent 7rem),
    linear-gradient(135deg, rgba(89, 215, 255, 0.13), rgba(255, 140, 90, 0.11)),
    rgba(13, 20, 34, 0.96);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
}

.support-qr-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 13px;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 42%);
}

.support-qr-card > * {
  position: relative;
  z-index: 1;
}

.support-qr-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #f3f7ff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 20px;
  cursor: pointer;
}

.support-qr-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: #071018;
  background: linear-gradient(135deg, #9ee7ff, #ffc766);
  font-size: 12px;
  font-weight: 900;
}

.support-qr-card h3 {
  margin: 12px 42px 6px 0;
  color: #fff4c8;
  font-size: 24px;
}

.support-qr-card p {
  margin: 0 0 14px;
  color: #dce6ff;
  font-size: 13px;
  line-height: 1.7;
}

.support-qr-image {
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
}

.support-qr-image img {
  width: min(236px, 72vw);
  aspect-ratio: 1;
  object-fit: contain;
}

.support-qr-tip {
  display: block;
  margin-top: 12px;
  color: #9ee7ff;
  font-size: 12px;
  text-align: center;
}

.detail-categories {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 6%, rgba(255, 199, 102, 0.16), transparent 13rem),
    radial-gradient(circle at 18% 100%, rgba(89, 215, 255, 0.13), transparent 16rem),
    linear-gradient(180deg, rgba(16, 27, 45, 0.94), rgba(11, 17, 30, 0.88));
  border-color: rgba(255, 199, 102, 0.24);
}

.detail-categories::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 44%, rgba(255, 255, 255, 0.08) 46%, transparent 49%),
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 100% 100%, 100% 38px;
  opacity: 0.42;
}

.detail-categories > * {
  position: relative;
  z-index: 1;
}

.category-note {
  max-width: 820px;
  margin: -2px 0 18px;
  color: #b8c5dc;
  line-height: 1.8;
}

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

.category-card {
  position: relative;
  min-height: 142px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 199, 102, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 199, 102, 0.13), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.category-card::after {
  content: "";
  position: absolute;
  right: -24px;
  top: -28px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(89, 215, 255, 0.16), transparent 64%);
  opacity: 0.9;
}

.category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 199, 102, 0.48);
}

.category-card small {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #15100a;
  background: linear-gradient(135deg, #ffe09a, #ffae5f);
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 8px 22px rgba(255, 168, 80, 0.14);
}

.category-card > div {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
  margin-top: auto;
}

.category-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 8px;
  color: #120b06;
  background: linear-gradient(135deg, #ffd27c, #ff9a64);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(255, 154, 100, 0.16);
}

.category-link::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.category-empty {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #d9e5f7;
  line-height: 1.65;
  background: rgba(255, 255, 255, 0.035);
}

.category-card.is-empty {
  border-color: rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 44%),
    rgba(255, 255, 255, 0.025);
}

.category-card.is-empty small {
  color: #d4dded;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.faq details {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.footer {
  padding: 26px 0 42px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 13px 0;
  }

  .hero-grid,
  .grid {
    grid-template-columns: 1fr;
  }

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

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

  .navlinks {
    gap: 6px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
    overflow-x: hidden;
  }

  html,
  body {
    max-width: 100%;
  }

  .page {
    width: min(100% - 20px, 1120px);
  }

  .nav {
    min-height: 56px;
    padding: 8px 0;
  }

  .navlinks {
    display: none;
  }

  .brand {
    width: 100%;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 12px;
  }

  .brand strong {
    font-size: 28px;
  }

  .brand-copy > span {
    margin-top: 2px;
    font-size: 11px;
  }

  .hero {
    padding: 18px 0 8px;
  }

  .detail-hero-card {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    margin-top: 10px;
    padding: 14px;
    min-height: 248px;
    background:
      linear-gradient(180deg, rgba(7, 10, 18, 0.42) 0%, rgba(7, 10, 18, 0.78) 42%, rgba(7, 10, 18, 0.96) 100%),
      linear-gradient(90deg, rgba(7, 10, 18, 0.9), rgba(7, 10, 18, 0.32)),
      var(--detail-cover),
      linear-gradient(135deg, rgba(13, 31, 47, 0.88), rgba(23, 20, 30, 0.88));
    background-size: cover;
    background-position: center top;
  }

  .detail-bg-marquee {
    opacity: 0.34;
    mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
  }

  .detail-bg-track {
    top: 18px;
    left: 18%;
    gap: 9px;
    animation-duration: 64s;
  }

  .detail-bg-track.is-alt {
    display: none;
  }

  .detail-bg-tile {
    width: 142px;
    height: 86px;
    border-radius: 7px;
  }

  .detail-hero-card .crumb {
    display: inline-flex;
    max-width: 100%;
    padding: 6px 8px;
    border: 1px solid rgba(89, 215, 255, 0.18);
    border-radius: 999px;
    background: rgba(6, 10, 18, 0.58);
    backdrop-filter: blur(10px);
  }

  .hero-grid {
    width: 100%;
    max-width: 100%;
    gap: 12px;
  }

  .hero-grid > div:last-child {
    display: none;
  }

  .crumb {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .eyebrow {
    margin-bottom: 8px;
    padding: 5px 9px;
    font-size: 12px;
  }

  h1 {
    font-size: 23px;
    line-height: 1.18;
    width: min(100%, 318px);
    max-width: 318px;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .cover {
    height: 150px;
  }

  .lead {
    width: min(100%, 318px);
    max-width: 318px;
    word-break: break-all;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.66;
  }

  .flow-guide {
    margin-top: 8px;
  }

  .flow-card {
    overflow: hidden;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
    padding: 13px;
  }

  .flow-card *,
  .benefit-panel *,
  .copy-code-list * {
    min-width: 0;
  }

  .flow-card h2 {
    font-size: 18px;
  }

  .flow-card > p {
    margin-bottom: 10px;
    font-size: 13px;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
  }

  .flow-steps {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .flow-step {
    min-height: 0;
    padding: 10px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
      rgba(4, 8, 15, 0.28);
  }

  .flow-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .flow-actions .btn {
    min-height: 38px;
    font-size: 13px;
  }

  .flow-actions .btn.primary {
    grid-column: 1 / -1;
  }

  .flow-entry-jump {
    min-height: 42px;
  }

  .grid {
    margin-top: 10px;
  }

  .page.grid {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  #entry-panel,
  .detail-categories,
  .detail-code-panel,
  .related-games-panel,
  .related-games,
  .faq {
    scroll-margin-bottom: calc(112px + env(safe-area-inset-bottom));
  }

  .grid > aside.card {
    order: 1;
  }

  .detail-side-card {
    padding-bottom: 12px;
  }

  .detail-side-card h2 {
    margin-bottom: 10px;
    font-size: 18px;
  }

  .detail-side-card h2::after {
    font-size: 10px;
  }

  .grid > article.card {
    order: 3;
  }

  .detail-categories {
    order: -1;
  }

  .related-games,
  .related-games-panel {
    order: 3;
  }

  .faq {
    order: 4;
  }

  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .stat {
    padding: 9px 6px;
    text-align: center;
  }

  .stat strong {
    font-size: 15px;
  }

  .stat span {
    font-size: 10px;
  }

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

  .actions .btn:first-child {
    grid-column: 1 / -1;
  }

  .detail-side-actions {
    display: none;
  }

  .card {
    padding: 15px;
  }

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

  .related-games,
  .related-games-panel {
    padding-right: 0;
  }

  .related-head,
  .related-games-panel {
    padding-right: 0;
  }

  .related-head h2,
  .related-games-panel > h2 {
    font-size: 19px;
  }

  .related-head p,
  .related-games-panel > p {
    font-size: 13px;
  }

  .related-grid,
  .related-games-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
    padding: 2px 0 0;
    scroll-snap-type: none;
  }

  .related-card {
    min-height: 0;
  }

  .related-cover {
    min-height: 74px;
  }

  .related-cover img {
    left: 9px;
    bottom: -17px;
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }

  .related-body {
    gap: 5px;
    padding: 24px 10px 10px;
  }

  .related-reason {
    padding: 2px 7px;
    font-size: 10px;
  }

  .related-body strong {
    font-size: 14px;
  }

  .related-body em {
    font-size: 11px;
  }

  .related-tags {
    gap: 4px;
  }

  .related-tags span {
    padding: 2px 6px;
    font-size: 10px;
  }

  .related-body small {
    font-size: 11px;
  }

  .related-games-panel .related-card > strong,
  .related-games .related-card > strong {
    padding: 10px 10px 0;
    font-size: 14px;
  }

  .related-games-panel .related-card > small,
  .related-games .related-card > small {
    padding: 0 10px;
    font-size: 11px;
  }

  .related-games-panel .related-card > em,
  .related-games .related-card > em {
    padding: 0 10px 10px;
    font-size: 11px;
  }

  .copy-code-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .detail-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .detail-section-head span {
    font-size: 18px;
  }

  .detail-code-panel {
    margin-top: 16px;
    padding: 12px;
  }

  .copy-code-card {
    min-height: 74px;
    padding: 10px;
  }

  .copy-code-card strong {
    font-size: 15px;
  }

  .claim-guide-card {
    grid-template-columns: 1fr;
  }

  .claim-guide-card .claim-guide-btn {
    width: 100%;
    justify-content: center;
  }

  .category-card {
    min-height: 92px;
    padding: 12px;
  }

  .category-card > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .category-link,
  .category-empty {
    min-width: 0;
    width: 100%;
    min-height: 38px;
    padding: 7px 9px;
    font-size: 13px;
  }

  .mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 0.86fr 1.18fr 0.86fr 0.86fr;
    gap: 7px;
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
    width: 100%;
    max-width: 100vw;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background:
      linear-gradient(180deg, rgba(12, 17, 28, 0.82), rgba(8, 11, 18, 0.98)),
      rgba(8, 11, 18, 0.98);
    backdrop-filter: blur(16px);
  }

  .mobile-action-bar .btn {
    min-height: 40px;
    min-width: 0;
    padding: 0 5px;
    font-size: 12px;
    white-space: nowrap;
  }

  .mobile-action-bar .mobile-nav-download {
    font-size: 13px;
  }
}
