:root {
  --bg: #07060a;
  --bg-deep: #090711;
  --panel: #120e1c;
  --panel-soft: #0d0a14;
  --ink: #e6dfd2;
  --ink-dim: rgba(230, 223, 210, 0.7);
  --ink-mute: rgba(230, 223, 210, 0.55);
  --ink-faint: rgba(230, 223, 210, 0.4);
  --gold: #c9a35c;
  --gold-bright: #e0be7a;
  --violet: #a76ee0;
  --violet-deep: #8a4fbf;
  --blood: #c75844;
  --blood-soft: #d07a68;
  --ok: #7fae8e;
  --line: rgba(201, 163, 92, 0.18);
  --line-violet: rgba(158, 124, 255, 0.12);
  --font-display: "Cormorant Unicase", serif;
  --font-body: "EB Garamond", serif;
  --font-mono: ui-monospace, Menlo, Consolas, monospace;
  --max: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--font-body);
  color: var(--ink);
  min-height: 100vh;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }
button { font: inherit; }
img { max-width: 100%; display: block; }

@keyframes drGlow {
  0%, 100% { box-shadow: 0 0 26px rgba(138, 79, 191, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
  50% { box-shadow: 0 0 52px rgba(138, 79, 191, 0.6), 0 0 20px rgba(201, 163, 92, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
}
@keyframes drFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes drPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}
@keyframes drSheen {
  0% { background-position: 200% 0; }
  60%, 100% { background-position: -100% 0; }
}
@keyframes drRise {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 0.9; }
  100% { transform: translateY(-95px); opacity: 0; }
}
@keyframes drFloat {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50% { transform: rotate(45deg) translate(-8px, 8px); }
}

.site { min-height: 100vh; background: var(--bg); }
.site--account { background: radial-gradient(1200px 800px at 50% 0%, #0d0a16, #07060a); }

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 34px;
  height: 62px;
  background: rgba(9, 7, 13, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.nav__brand:hover { color: var(--ink); }
.nav__mark {
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(201, 163, 92, 0.6);
  animation: drPulse 4s ease-in-out infinite;
}
.nav__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 4px;
}
.nav__spacer { flex: 1; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav__links a {
  font-size: 15px;
  color: var(--ink-dim);
}
.nav__links a:hover { color: var(--gold-bright); }
.nav__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--ink-faint);
}
.nav__user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--panel);
  border: 1px solid rgba(201, 163, 92, 0.35);
  border-radius: 3px;
}
.nav__avatar {
  width: 24px;
  height: 24px;
  background: radial-gradient(circle at 50% 35%, #2a1f45, #161028);
  border: 1px solid rgba(201, 163, 92, 0.35);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav__avatar canvas {
  width: 24px;
  height: 24px;
  image-rendering: pixelated;
}
.nav__user-name { font-size: 15px; font-weight: 600; }
.nav__user-lvl {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
}
.btn--ghost {
  padding: 8px 18px;
  border: 1px solid rgba(201, 163, 92, 0.5);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 3px;
  background: transparent;
}
.btn--ghost:hover {
  background: rgba(201, 163, 92, 0.1);
  color: var(--gold-bright);
}
.btn--danger {
  padding: 8px 16px;
  background: none;
  border: 1px solid rgba(184, 66, 46, 0.5);
  border-radius: 3px;
  color: var(--blood-soft);
  font-size: 14px;
  cursor: pointer;
}
.btn--danger:hover { background: rgba(184, 66, 46, 0.12); }
.btn--cta {
  position: relative;
  overflow: hidden;
  padding: 0 44px;
  height: 58px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 6px;
  color: #f2ead9;
  background: linear-gradient(180deg, #5c2f8c, #381c58);
  border: 1px solid rgba(201, 163, 92, 0.65);
  animation: drGlow 3.2s ease-in-out infinite;
}
.btn--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 224, 160, 0.22) 50%, transparent 65%);
  background-size: 250% 100%;
  animation: drSheen 3.4s ease-in-out infinite;
}
.btn--cta:hover {
  background: linear-gradient(180deg, #7440b0, #4a2573);
  border-color: var(--gold-bright);
}
.btn--outline {
  display: inline-flex;
  align-items: center;
  padding: 0 32px;
  height: 58px;
  border: 1px solid rgba(201, 163, 92, 0.5);
  border-radius: 3px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 4px;
}
.btn--outline:hover { background: rgba(201, 163, 92, 0.1); }
.btn--solid {
  padding: 0 30px;
  height: 44px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 3px;
  color: #f2ead9;
  background: linear-gradient(180deg, #5c2f8c, #381c58);
  border: 1px solid rgba(201, 163, 92, 0.65);
  border-radius: 3px;
  cursor: pointer;
}
.btn--solid:hover {
  background: linear-gradient(180deg, #6d3aa6, #44226b);
  box-shadow: 0 0 20px rgba(138, 79, 191, 0.4);
}
.btn--mini {
  padding: 10px 20px;
  background: none;
  border: 1px solid rgba(201, 163, 92, 0.5);
  border-radius: 3px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  cursor: pointer;
}
.btn--mini:hover { background: rgba(201, 163, 92, 0.1); }
.btn--mini-muted {
  border-color: rgba(158, 124, 255, 0.3);
  color: rgba(230, 223, 210, 0.6);
}
.btn--mini-muted:hover {
  border-color: rgba(230, 223, 210, 0.5);
  color: var(--ink);
}

.hero {
  position: relative;
  height: min(680px, 92vh);
  overflow: hidden;
  background: radial-gradient(700px 520px at 50% 46%, #1c1330, #0d0a16 60%, #07060a);
}
.hero__gate {
  position: absolute;
  left: 50%;
  top: 70px;
  transform: translateX(-50%);
  width: min(440px, 70vw);
  height: 560px;
  pointer-events: none;
}
.hero__gate-outer {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 163, 92, 0.35);
  border-radius: 220px 220px 0 0;
  box-shadow: inset 0 0 60px rgba(138, 79, 191, 0.25), 0 0 80px rgba(138, 79, 191, 0.18);
}
.hero__gate-inner {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(158, 124, 255, 0.25);
  border-radius: 210px 210px 0 0;
  background: radial-gradient(60% 70% at 50% 40%, rgba(138, 79, 191, 0.22), rgba(13, 10, 22, 0.9) 75%);
}
.hero__jewel {
  position: absolute;
  top: -7px;
  left: 50%;
  margin-left: -7px;
  width: 14px;
  height: 14px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 14px rgba(201, 163, 92, 0.7);
}
.hero__side {
  position: absolute;
  bottom: 110px;
  width: 10px;
  height: 10px;
  background: rgba(201, 163, 92, 0.7);
  transform: rotate(45deg);
}
.hero__side--l { left: -5px; }
.hero__side--r { right: -5px; }
.hero__orb {
  position: absolute;
  left: 50%;
  bottom: 200px;
  margin-left: -11px;
  width: 22px;
  height: 22px;
  background: rgba(201, 163, 92, 0.9);
  box-shadow: 0 0 26px rgba(201, 163, 92, 0.8);
  animation: drFloat 3.6s ease-in-out infinite;
}
.hero__spark {
  position: absolute;
  border-radius: 50%;
  animation: drRise 4.6s linear infinite;
}
.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: 10px;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.95);
  margin: 0;
}
.hero__sub {
  font-style: italic;
  font-size: 20px;
  color: var(--ink-dim);
  margin-top: 8px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}
.hero__live {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 15px;
  color: var(--ink-dim);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}
.dot--violet {
  background: var(--violet);
  box-shadow: 0 0 8px rgba(167, 110, 224, 0.8);
  animation: drPulse 2.4s infinite;
}
.dot--ok {
  background: var(--ok);
  box-shadow: 0 0 8px rgba(127, 174, 142, 0.8);
  animation: drPulse 2.2s infinite;
}
.dot--blood {
  width: 12px;
  height: 12px;
  background: var(--blood);
  box-shadow: 0 0 14px rgba(199, 88, 68, 0.8);
  animation: drPulse 2.2s infinite;
}

.ticker {
  background: #0a0810;
  border-top: 1px solid rgba(158, 124, 255, 0.1);
  border-bottom: 1px solid rgba(158, 124, 255, 0.1);
}
.ticker__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 13px 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.ticker__label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.ticker__label span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(230, 223, 210, 0.45);
}
.ticker__text {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  color: rgba(230, 223, 210, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: drFade 0.5s ease;
}
.ticker__time {
  flex: none;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--gold);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 40px 0;
}
.wrap--faq { max-width: 860px; padding-bottom: 80px; }
.wrap--account { padding: 34px 40px 70px; }

.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--gold);
}
.section-head__rule {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 80px;
}
.section-head__rule::before {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 163, 92, 0.35), rgba(201, 163, 92, 0.05));
}
.section-head__rule::after {
  content: "";
  width: 4px;
  height: 4px;
  background: rgba(201, 163, 92, 0.5);
  transform: rotate(45deg);
}
.section-head__note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--ink-faint);
}

[data-reveal] {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.feature {
  position: relative;
  padding: 22px 24px;
  background: var(--panel);
  border: 1px solid var(--line-violet);
  border-radius: 3px;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.feature:hover {
  border-color: rgba(201, 163, 92, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}
.feature__icon {
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent, var(--gold));
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--accent, var(--gold));
}
.feature h3 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
}
.feature p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(230, 223, 210, 0.6);
}
.feature__tag {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--accent, var(--gold));
}

.vow {
  position: relative;
  padding: 24px 22px;
  background: var(--panel);
  border: 1px solid var(--line-violet);
  border-radius: 3px;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.vow.is-on {
  background: #1a1430;
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}
.vow__icon {
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 12px var(--accent);
}
.vow h3 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 1px;
}
.vow__motto {
  margin: 6px 0 0;
  font-style: italic;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-mute);
  min-height: 42px;
}
.vow__extra {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
.vow.is-on .vow__extra {
  max-height: 90px;
  opacity: 1;
}
.vow__divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 10px;
}
.vow__divider::before,
.vow__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(201, 163, 92, 0.25);
}
.vow__divider i {
  width: 4px;
  height: 4px;
  background: rgba(201, 163, 92, 0.5);
  transform: rotate(45deg);
}
.vow__bonus {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--accent);
}
.vow__extra p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--ink-mute);
}
.vow__hint {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  color: rgba(230, 223, 210, 0.25);
  transition: opacity 0.2s;
}
.vow.is-on .vow__hint { opacity: 0; }

.season {
  display: flex;
  gap: 22px;
  margin-top: 26px;
}
.season__hero {
  flex: 1.2;
  min-width: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 163, 92, 0.35);
  border-radius: 3px;
  background: linear-gradient(180deg, #0e0a1a, #1c1330);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.season__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(230, 223, 210, 0.3);
  background: repeating-linear-gradient(-45deg, transparent 0 26px, rgba(158, 124, 255, 0.05) 26px 52px);
}
.season__caption {
  position: relative;
  padding: 22px 26px;
  background: linear-gradient(180deg, transparent, rgba(7, 6, 10, 0.92) 55%);
}
.season__badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  padding: 4px 10px;
  border: 1px solid rgba(201, 163, 92, 0.5);
  color: var(--gold);
  background: rgba(12, 10, 16, 0.55);
}
.season__caption h3 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 2px;
}
.season__caption p {
  margin: 6px 0 0;
  font-style: italic;
  font-size: 16px;
  color: rgba(230, 223, 210, 0.65);
}
.season__news {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.news {
  display: flex;
  gap: 16px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line-violet);
  border-radius: 3px;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.news:hover {
  border-color: rgba(201, 163, 92, 0.5);
  transform: translateX(5px);
  box-shadow: inset 3px 0 0 var(--gold);
}
.news__date {
  width: 86px;
  flex: none;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.6;
  color: var(--gold);
  letter-spacing: 1px;
}
.news__title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 17px;
  font-weight: 600;
}
.news__tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  color: rgba(167, 110, 224, 0.9);
}
.news__excerpt {
  margin-top: 2px;
  font-size: 14px;
  color: var(--ink-mute);
}

.stat {
  padding: 20px 22px;
  background: var(--panel-soft);
  border: 1px solid rgba(158, 124, 255, 0.14);
  border-radius: 3px;
  text-align: center;
}
.stat__value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  color: var(--accent, var(--ink));
  text-shadow: 0 0 20px var(--glow, transparent);
}
.stat__label {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(230, 223, 210, 0.45);
}

.alert {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 14px 20px;
  background: rgba(184, 66, 46, 0.08);
  border: 1px solid rgba(184, 66, 46, 0.35);
  border-radius: 3px;
  flex-wrap: wrap;
}
.alert strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--blood-soft);
}
.alert span {
  font-size: 14px;
  color: rgba(230, 223, 210, 0.5);
}

.download {
  position: relative;
  padding: 44px 48px;
  background: linear-gradient(180deg, #171226, #110d1a);
  border: 1px solid rgba(201, 163, 92, 0.5);
  border-radius: 2px;
  box-shadow:
    inset 0 0 0 4px #110d1a,
    inset 0 0 0 5px rgba(201, 163, 92, 0.22),
    0 40px 90px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 36px;
}
.download__jewel {
  position: absolute;
  top: -6px;
  left: 50%;
  margin-left: -6px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(201, 163, 92, 0.6);
}
.download h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 3px;
}
.download p {
  margin: 8px 0 0;
  font-size: 17px;
  color: rgba(230, 223, 210, 0.65);
}
.download__meta {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--ink-faint);
}
.download__cta {
  position: relative;
  flex: none;
}
.download__cta .btn--cta {
  width: 320px;
  height: 64px;
  font-size: 22px;
}

.faq { display: flex; flex-direction: column; gap: 8px; margin-top: 26px; }
.faq__item {
  padding: 16px 20px;
  background: var(--panel);
  border: 1px solid var(--line-violet);
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.18s;
}
.faq__item:hover,
.faq__item.is-open { border-color: rgba(201, 163, 92, 0.5); }
.faq__q {
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq__diamond {
  width: 8px;
  height: 8px;
  flex: none;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
  background: transparent;
  transition: background 0.18s;
}
.faq__item.is-open .faq__diamond { background: var(--gold); }
.faq__q span {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
}
.faq__mark {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
}
.faq__a {
  display: none;
  margin: 12px 0 2px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(230, 223, 210, 0.65);
  animation: drFade 0.2s ease;
}
.faq__item.is-open .faq__a { display: block; }

.footer {
  border-top: 1px solid rgba(201, 163, 92, 0.15);
  background: var(--bg-deep);
  margin-top: 72px;
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__brand i {
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}
.footer__brand span {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 3px;
}
.footer__note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(230, 223, 210, 0.35);
}
.footer__spacer { flex: 1; }
.footer a { font-size: 14px; }
.footer__copy {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(230, 223, 210, 0.3);
}

/* Account */
.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.tab {
  padding: 10px 20px;
  background: #0f0c17;
  border: 1px solid rgba(158, 124, 255, 0.2);
  border-radius: 3px;
  color: rgba(230, 223, 210, 0.5);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.tab:hover {
  border-color: rgba(201, 163, 92, 0.7);
  color: var(--ink);
}
.tab.is-on {
  background: rgba(201, 163, 92, 0.12);
  border-color: rgba(201, 163, 92, 0.7);
  color: var(--gold);
}
.panel { display: none; animation: drFade 0.25s ease; }
.panel.is-on { display: flex; gap: 22px; }

.frame {
  position: relative;
  padding: 24px;
  background: linear-gradient(180deg, #171226, #110d1a);
  border: 1px solid rgba(201, 163, 92, 0.5);
  border-radius: 2px;
  box-shadow: inset 0 0 0 4px #110d1a, inset 0 0 0 5px rgba(201, 163, 92, 0.22);
}
.frame__jewel {
  position: absolute;
  top: -6px;
  left: 50%;
  margin-left: -6px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(201, 163, 92, 0.6);
}
.profile-side {
  width: 320px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.skin-box {
  height: 200px;
  position: relative;
  background: radial-gradient(circle at 50% 30%, #2a1f45, #161028);
  border: 1px solid rgba(201, 163, 92, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(230, 223, 210, 0.35);
}
.skin-box canvas,
.skin-view canvas {
  image-rendering: pixelated;
  max-width: 100%;
  max-height: 100%;
}
.skin-box__orb {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 12px;
  height: 12px;
  background: rgba(201, 163, 92, 0.85);
  box-shadow: 0 0 14px rgba(201, 163, 92, 0.7);
  animation: drFloat 3.6s ease-in-out infinite;
}
.profile-name {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2px;
}
.profile-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 14px;
  flex-wrap: wrap;
}
.profile-meta .mark {
  width: 8px;
  height: 8px;
  background: var(--violet);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--violet);
}
.profile-meta .vow-name { color: var(--violet); }
.profile-meta .title { font-style: italic; color: var(--gold); }
.xp-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(230, 223, 210, 0.45);
  margin: 16px 0 5px;
}
.bar {
  height: 8px;
  background: var(--panel-soft);
  border: 1px solid rgba(158, 124, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}
.bar > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--violet-deep), var(--gold));
}
.card {
  padding: 16px 20px;
  background: var(--panel);
  border: 1px solid var(--line-violet);
  border-radius: 3px;
}
.card__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--ink-faint);
}
.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 15px;
}
.status-line .dot { animation: none; }
.card__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-faint);
  margin-top: 8px;
}
.profile-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.qstat {
  padding: 14px 16px;
  background: var(--panel-soft);
  border: 1px solid rgba(158, 124, 255, 0.14);
  border-radius: 3px;
}
.qstat__n {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--ink-faint);
}
.qstat__v {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
}
.block-title {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 3px;
  color: var(--gold);
}
.attr {
  display: flex;
  align-items: center;
  gap: 12px;
}
.attr__n {
  width: 110px;
  flex: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
}
.attr__bar {
  flex: 1;
  height: 6px;
  background: var(--panel-soft);
  border-radius: 2px;
  overflow: hidden;
}
.attr__bar > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(138, 79, 191, 0.7), var(--violet));
}
.attr__v {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  width: 36px;
  text-align: right;
}
.deed {
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.deed__t {
  width: 96px;
  flex: none;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 1px;
}
.deed__text {
  font-size: 15px;
  color: rgba(230, 223, 210, 0.75);
}

.skin-panel { flex: 1; min-width: 0; }
.skin-panel .frame { padding: 28px; }
.skin-views {
  display: flex;
  gap: 24px;
  margin-top: 18px;
}
.skin-view {
  flex: 1;
  height: 380px;
  position: relative;
  background: radial-gradient(circle at 50% 32%, #2a1f45, #161028);
  border: 1px solid rgba(201, 163, 92, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(230, 223, 210, 0.35);
}
.skin-view--back {
  border-color: rgba(158, 124, 255, 0.2);
  background: radial-gradient(circle at 50% 32%, #221a38, #130f20);
  justify-content: center;
}
.skin-view__label {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  text-align: center;
}
.skin-view__orb {
  position: absolute;
  bottom: 120px;
  left: 50%;
  margin-left: -9px;
  width: 18px;
  height: 18px;
  background: rgba(201, 163, 92, 0.85);
  box-shadow: 0 0 20px rgba(201, 163, 92, 0.7);
  animation: drFloat 3.6s ease-in-out infinite;
}
.skin-view__glow {
  width: 130px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(138, 79, 191, 0.55), transparent 70%);
  margin-bottom: 28px;
  filter: blur(2px);
}
.skin-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.skin-side {
  width: 380px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.upload {
  padding: 34px 24px;
  background: var(--panel);
  border: 1px dashed rgba(201, 163, 92, 0.45);
  border-radius: 3px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.upload:hover {
  border-color: var(--gold);
  background: #171126;
}
.upload__icon {
  width: 14px;
  height: 14px;
  margin: 0 auto;
  background: rgba(201, 163, 92, 0.8);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(201, 163, 92, 0.5);
}
.upload h3 {
  margin: 14px 0 0;
  font-size: 17px;
  font-weight: 600;
}
.upload p {
  margin: 4px 0 0;
  font-size: 14px;
  color: rgba(230, 223, 210, 0.5);
}
.upload__meta {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  color: rgba(230, 223, 210, 0.35);
}
.notice-ok {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(127, 174, 142, 0.08);
  border: 1px solid rgba(127, 174, 142, 0.4);
  border-radius: 3px;
  animation: drFade 0.2s ease;
  font-size: 14px;
  color: var(--ok);
}
.notice-ok.is-on { display: flex; }
.notice-ok i {
  width: 7px;
  height: 7px;
  background: var(--ok);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(127, 174, 142, 0.7);
}
.model-row { display: flex; gap: 8px; margin-top: 10px; }
.model-btn {
  flex: 1;
  padding: 9px;
  background: none;
  border: 1px solid rgba(158, 124, 255, 0.25);
  border-radius: 3px;
  color: rgba(230, 223, 210, 0.6);
  font-size: 15px;
  cursor: pointer;
}
.model-btn.is-on {
  background: rgba(201, 163, 92, 0.12);
  border-color: rgba(201, 163, 92, 0.7);
  color: var(--gold);
}
.history-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.history-item {
  width: 56px;
  height: 56px;
  background: radial-gradient(circle at 50% 35%, #2a1f45, #161028);
  border: 1px solid rgba(158, 124, 255, 0.2);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(230, 223, 210, 0.35);
}
.history-item.is-on { border-color: rgba(201, 163, 92, 0.7); }
.history-item:hover { border-color: rgba(201, 163, 92, 0.6); }

.security-main { flex: 1; min-width: 0; }
.security-main .frame { padding: 28px 30px; }
.security-main h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 500;
}
.security-main .lead {
  margin: 6px 0 0;
  font-style: italic;
  font-size: 15px;
  color: rgba(230, 223, 210, 0.5);
}
.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
  max-width: 420px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(230, 223, 210, 0.45);
}
.field input {
  width: 100%;
  padding: 11px 13px;
  background: var(--panel-soft);
  border: 1px solid rgba(158, 124, 255, 0.25);
  border-radius: 3px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
}
.field input::placeholder { color: rgba(230, 223, 210, 0.3); }
.field input:focus {
  border-color: rgba(201, 163, 92, 0.7);
  box-shadow: 0 0 12px rgba(201, 163, 92, 0.15);
}
.strength { display: flex; gap: 4px; margin-top: 2px; }
.strength i {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(158, 124, 255, 0.15);
}
.strength-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  color: rgba(230, 223, 210, 0.35);
}
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  align-items: center;
}
.save-ok {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ok);
  animation: drFade 0.2s ease;
}
.save-ok.is-on { display: flex; }
.save-ok i {
  width: 7px;
  height: 7px;
  background: var(--ok);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(127, 174, 142, 0.7);
}
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.toggle-row h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.toggle-row p {
  margin: 2px 0 0;
  font-size: 13px;
  color: rgba(230, 223, 210, 0.5);
}
.toggle {
  position: relative;
  width: 46px;
  height: 24px;
  flex: none;
  background: var(--panel-soft);
  border: 1px solid rgba(158, 124, 255, 0.3);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.toggle::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  transition: left 0.2s;
}
.toggle.is-on {
  background: linear-gradient(180deg, #5c2f8c, #381c58);
  border-color: rgba(201, 163, 92, 0.6);
}
.toggle.is-on::before { left: 24px; }
.tfa-note {
  display: none;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--ok);
  margin-top: 10px;
}
.tfa-note.is-on { display: block; }
.login-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.login-item .dot {
  width: 6px;
  height: 6px;
  align-self: center;
  animation: none;
}
.login-item__what {
  font-size: 14px;
  color: rgba(230, 223, 210, 0.8);
}
.login-item__when {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(230, 223, 210, 0.35);
  margin-top: 1px;
}
.danger-card {
  padding: 18px 20px;
  background: rgba(184, 66, 46, 0.06);
  border: 1px solid rgba(184, 66, 46, 0.3);
  border-radius: 3px;
}
.danger-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--blood-soft);
}
.danger-card p {
  margin: 4px 0 12px;
  font-size: 13px;
  color: rgba(230, 223, 210, 0.5);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(201, 163, 92, 0.4);
  color: var(--gold);
  padding: 8px 12px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  cursor: pointer;
}

.hero__brand {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 8px;
  color: var(--gold);
}

.howto {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(201, 163, 92, 0.2);
}
.howto__step {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(158, 124, 255, 0.12);
}
.howto__num {
  flex: none;
  width: 42px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
  line-height: 1;
}
.howto__step h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
}
.howto__step p {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(230, 223, 210, 0.65);
}
.howto__step code {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--gold-bright);
  background: rgba(201, 163, 92, 0.08);
  padding: 1px 6px;
  border-radius: 2px;
}
.howto__link {
  display: inline-block;
  margin-top: 10px;
  font-size: 15px;
}

.wrap--rules { padding-bottom: 80px; }
.rules__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--gold);
}
.rules__lead {
  margin: 22px 0 0;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(230, 223, 210, 0.65);
  font-style: italic;
}
.rules-list {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  counter-reset: rule;
}
.rules-list li {
  position: relative;
  padding: 20px 22px 20px 72px;
  background: var(--panel);
  border: 1px solid var(--line-violet);
  border-radius: 3px;
  counter-increment: rule;
}
.rules-list li::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 22px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--gold);
}
.rules-list h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
}
.rules-list p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(230, 223, 210, 0.65);
}
.rules__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.auth-gate {
  max-width: 480px;
  margin: 10px auto 40px;
}
.auth-gate__card { padding: 32px 30px; }
.auth-gate__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  text-align: center;
}
.auth-gate__lead {
  margin: 10px 0 0;
  text-align: center;
  font-style: italic;
  font-size: 15px;
  color: rgba(230, 223, 210, 0.55);
}
.auth-gate__tabs {
  justify-content: center;
  margin: 22px 0 8px;
}
.auth-gate__error {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--blood-soft);
}
.auth-gate__hint {
  margin: 18px 0 0;
  text-align: center;
  font-size: 14px;
  color: rgba(230, 223, 210, 0.45);
}

.demo-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 14px 18px;
  background: rgba(201, 163, 92, 0.08);
  border: 1px solid rgba(201, 163, 92, 0.4);
  border-radius: 3px;
  flex-wrap: wrap;
}
.demo-banner__mark {
  width: 10px;
  height: 10px;
  flex: none;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(201, 163, 92, 0.5);
}
.demo-banner strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 2px;
}
.demo-banner span {
  font-size: 14px;
  color: rgba(230, 223, 210, 0.65);
}
.demo-banner > div { flex: 1; min-width: 220px; }
.demo-banner a {
  flex: none;
  font-size: 14px;
}

.panel[hidden] { display: none !important; }
.panel:not(.is-on) { display: none !important; }
.panel.is-on { display: flex; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
.tab:focus-visible,
.vow:focus-visible,
.faq__item:focus-visible,
.upload:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1100px) {
  .nav__links { gap: 14px; }
  .btn--ghost { letter-spacing: 1px; font-size: 11px; padding: 8px 12px; }
}

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .season { flex-direction: column; }
  .download { flex-direction: column; align-items: stretch; }
  .download__cta .btn--cta { width: 100%; }
  .panel.is-on { flex-direction: column; }
  .profile-side,
  .skin-side { width: 100%; }
  .skin-views { flex-direction: column; }
  .skin-view { height: 280px; }
  .howto__step { gap: 16px; }
}

@media (max-width: 720px) {
  .nav { padding: 0 16px; gap: 10px; position: sticky; }
  .nav__links { display: none; }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(9, 7, 13, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .nav.is-open .nav__links a {
    padding: 12px 20px;
    width: 100%;
  }
  .nav-toggle { display: inline-flex; }
  .nav__user-name { display: none; }
  .nav__meta { display: none; }
  .wrap { padding: 48px 20px 0; }
  .wrap--account,
  .wrap--rules { padding: 24px 16px 48px; }
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; width: 100%; max-width: 360px; }
  .btn--cta,
  .btn--outline { width: 100%; justify-content: center; }
  .btn--cta { padding: 0 20px; letter-spacing: 3px; font-size: 16px; }
  .ticker__inner { padding: 12px 16px; flex-wrap: wrap; }
  .footer__inner { padding: 22px 16px; }
  .download { padding: 28px 20px; }
  .profile-main .grid-4 { grid-template-columns: 1fr 1fr; }
  .howto__step { flex-direction: column; gap: 8px; }
  .rules-list li { padding: 18px 16px 18px 58px; }
  .rules__cta { flex-direction: column; }
  .demo-banner { align-items: flex-start; }
  .hero__title { letter-spacing: 4px; }
  .hero__brand { letter-spacing: 4px; }
}
