: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: 72.5rem; /* ~1160px */
  /* Fluid scale: tracks viewport + zoom */
  --pad-x: clamp(0.875rem, 2.8vw, 2.5rem);
  --pad-section: clamp(2.5rem, 6vw, 4.5rem);
  --gap: clamp(0.625rem, 1.4vw, 0.875rem);
  --fs-body: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --fs-lead: clamp(0.95rem, 0.88rem + 0.35vw, 1.125rem);
  --fs-h2: clamp(1.15rem, 0.95rem + 1.1vw, 1.625rem);
  --fs-h3: clamp(1.1rem, 1rem + 0.45vw, 1.3rem);
  --fs-display: clamp(1.75rem, 1.2rem + 3.2vw, 4rem);
  --nav-h: clamp(3.5rem, 3.2rem + 0.6vw, 3.875rem);
  --radius: 3px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--ink);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
}

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;
  min-height: 100dvh;
  background: var(--bg);
  width: 100%;
  overflow-x: clip;
}
.site--account { background: radial-gradient(75rem 50rem at 50% 0%, #0d0a16, #07060a); }

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 1.6rem);
  padding: 0 var(--pad-x);
  height: var(--nav-h);
  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: clamp(0.95rem, 0.85rem + 0.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: clamp(1px, 0.25vw, 4px);
  white-space: nowrap;
}
.nav__spacer { flex: 1; min-width: 0.5rem; }
.nav__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(0.65rem, 1.4vw, 1.35rem);
}
.nav__links a {
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.95rem);
  color: var(--ink-dim);
  white-space: nowrap;
}
.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: clamp(0.4rem, 0.35rem + 0.2vw, 0.5rem) clamp(0.7rem, 0.5rem + 0.6vw, 1.125rem);
  border: 1px solid rgba(201, 163, 92, 0.5);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 0.65rem + 0.2vw, 0.8125rem);
  letter-spacing: clamp(1px, 0.2vw, 3px);
  background: transparent;
  white-space: nowrap;
  flex: none;
}
.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 clamp(1.1rem, 0.8rem + 1.5vw, 2.75rem);
  height: clamp(3rem, 2.7rem + 0.8vw, 3.625rem);
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 0.85rem + 0.55vw, 1.25rem);
  font-weight: 600;
  letter-spacing: clamp(2px, 0.4vw, 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;
  max-width: 100%;
}
.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;
  justify-content: center;
  padding: 0 clamp(1rem, 0.7rem + 1.2vw, 2rem);
  height: clamp(3rem, 2.7rem + 0.8vw, 3.625rem);
  border: 1px solid rgba(201, 163, 92, 0.5);
  border-radius: var(--radius);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 0.82rem + 0.35vw, 1.05rem);
  letter-spacing: clamp(2px, 0.3vw, 4px);
  max-width: 100%;
}
.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: clamp(28rem, 72vh, 42.5rem);
  min-height: min(32rem, 100dvh);
  overflow: hidden;
  background: radial-gradient(44rem 32rem at 50% 46%, #1c1330, #0d0a16 60%, #07060a);
}
.hero__gate {
  position: absolute;
  left: 50%;
  top: clamp(2rem, 6vh, 4.5rem);
  transform: translateX(-50%);
  width: min(27.5rem, 72vw);
  height: min(35rem, 70vh);
  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 var(--pad-x);
  width: 100%;
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 600;
  letter-spacing: clamp(0.15em, 0.4vw + 0.15em, 0.55em);
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.95);
  margin: 0;
  max-width: 100%;
  line-height: 1.1;
}
.hero__sub {
  font-style: italic;
  font-size: var(--fs-lead);
  color: var(--ink-dim);
  margin-top: 0.5rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
  max-width: 36rem;
  padding: 0 0.5rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.65rem, 1.5vw, 0.9rem);
  margin-top: clamp(1.25rem, 3vw, 2.125rem);
  width: min(100%, 28rem);
}
.hero__live {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: clamp(1rem, 2.5vw, 1.625rem);
  font-size: clamp(0.8rem, 0.75rem + 0.2vw, 0.95rem);
  color: var(--ink-dim);
  padding: 0 0.5rem;
  text-align: center;
}
.hero__actions .btn--cta,
.hero__actions .btn--outline {
  flex: 1 1 11rem;
  min-width: min(100%, 11rem);
}
.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: 0.8rem var(--pad-x);
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  flex-wrap: wrap;
}
.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 1 12rem;
  min-width: 0;
  font-size: var(--fs-lead);
  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);
  width: 100%;
  margin: 0 auto;
  padding: var(--pad-section) var(--pad-x) 0;
}
.wrap--faq { max-width: min(53.75rem, 100%); padding-bottom: clamp(3rem, 6vw, 5rem); }
.wrap--account { padding: clamp(1.5rem, 3vw, 2.125rem) var(--pad-x) clamp(3rem, 6vw, 4.5rem); }

.section-head {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.2vw, 0.875rem);
  flex-wrap: wrap;
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 500;
  letter-spacing: clamp(2px, 0.25vw, 4px);
  color: var(--gold);
  line-height: 1.2;
}
.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(auto-fit, minmax(min(100%, 16.5rem), 1fr));
  gap: var(--gap);
  margin-top: clamp(1.25rem, 2.5vw, 1.625rem);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr));
  gap: var(--gap);
  margin-top: clamp(1.25rem, 2.5vw, 1.625rem);
}

.feature {
  position: relative;
  padding: clamp(1.1rem, 1rem + 0.6vw, 1.5rem) clamp(1rem, 0.9rem + 0.6vw, 1.5rem);
  background: var(--panel);
  border: 1px solid var(--line-violet);
  border-radius: var(--radius);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
  min-width: 0;
}
.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: 0.875rem 0 0;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: 1px;
}
.feature p {
  margin: 0.5rem 0 0;
  font-size: var(--fs-lead);
  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: clamp(1.1rem, 1rem + 0.6vw, 1.5rem) clamp(1rem, 0.9rem + 0.5vw, 1.375rem);
  background: var(--panel);
  border: 1px solid var(--line-violet);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
  min-width: 0;
}
.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: 1rem 0 0;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: 1px;
}
.vow__motto {
  margin: 0.4rem 0 0;
  font-style: italic;
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.95rem);
  line-height: 1.5;
  color: var(--ink-mute);
  min-height: 0;
}
.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;
  flex-wrap: wrap;
  gap: clamp(0.85rem, 2vw, 1.375rem);
  margin-top: clamp(1.25rem, 2.5vw, 1.625rem);
}
.season__hero {
  flex: 1.2 1 18rem;
  min-width: min(100%, 18rem);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 163, 92, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #0e0a1a, #1c1330);
  min-height: clamp(14rem, 40vw, 20rem);
  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: clamp(1rem, 2vw, 1.375rem) clamp(1rem, 2vw, 1.625rem);
  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: 0.6rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.125rem);
  font-weight: 600;
  letter-spacing: clamp(1px, 0.2vw, 2px);
}
.season__caption p {
  margin: 0.4rem 0 0;
  font-style: italic;
  font-size: var(--fs-lead);
  color: rgba(230, 223, 210, 0.65);
}
.season__news {
  flex: 1 1 16rem;
  min-width: min(100%, 16rem);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.news {
  display: flex;
  gap: clamp(0.65rem, 1.5vw, 1rem);
  padding: clamp(0.75rem, 1.2vw, 0.9rem) clamp(0.85rem, 1.4vw, 1rem);
  background: var(--panel);
  border: 1px solid var(--line-violet);
  border-radius: var(--radius);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
  min-width: 0;
}
.news:hover {
  border-color: rgba(201, 163, 92, 0.5);
  transform: translateX(5px);
  box-shadow: inset 3px 0 0 var(--gold);
}
.news__date {
  width: clamp(4.5rem, 12vw, 5.4rem);
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  line-height: 1.6;
  color: var(--gold);
  letter-spacing: 1px;
}
.news__title {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  font-weight: 600;
  min-width: 0;
}
.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: clamp(1rem, 1.5vw, 1.25rem) clamp(1rem, 1.5vw, 1.375rem);
  background: var(--panel-soft);
  border: 1px solid rgba(158, 124, 255, 0.14);
  border-radius: var(--radius);
  text-align: center;
  min-width: 0;
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
  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: clamp(0.6rem, 1.5vw, 0.875rem);
  margin-top: 0.875rem;
  padding: clamp(0.75rem, 1.5vw, 0.875rem) clamp(0.9rem, 2vw, 1.25rem);
  background: rgba(184, 66, 46, 0.08);
  border: 1px solid rgba(184, 66, 46, 0.35);
  border-radius: var(--radius);
  flex-wrap: wrap;
}
.alert strong {
  font-size: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  font-weight: 600;
  color: var(--blood-soft);
}
.alert span {
  font-size: clamp(0.8rem, 0.75rem + 0.2vw, 0.9rem);
  color: rgba(230, 223, 210, 0.5);
  flex: 1 1 12rem;
  min-width: 0;
}

.download {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.75rem) clamp(1.1rem, 3vw, 3rem);
  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;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.1rem, 3vw, 2.25rem);
}
.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 > div:not(.download__cta) {
  flex: 1 1 16rem;
  min-width: 0;
}
.download h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 600;
  letter-spacing: clamp(1px, 0.25vw, 3px);
}
.download p {
  margin: 0.5rem 0 0;
  font-size: var(--fs-lead);
  color: rgba(230, 223, 210, 0.65);
}
.download__meta {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: clamp(0.56rem, 0.5rem + 0.2vw, 0.625rem);
  letter-spacing: 1px;
  color: var(--ink-faint);
  line-height: 1.5;
  word-break: break-word;
}
.download__cta {
  position: relative;
  flex: 1 1 14rem;
  min-width: min(100%, 14rem);
  max-width: 100%;
}
.download__cta .btn--cta {
  width: 100%;
  max-width: 22rem;
  height: clamp(3.25rem, 3rem + 0.8vw, 4rem);
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.375rem);
}

.faq {
  display: flex;
  flex-direction: column;
  gap: clamp(0.4rem, 1vw, 0.5rem);
  margin-top: clamp(1.25rem, 2.5vw, 1.625rem);
}
.faq__item {
  padding: clamp(0.85rem, 1.5vw, 1rem) clamp(0.9rem, 1.8vw, 1.25rem);
  background: var(--panel);
  border: 1px solid var(--line-violet);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.18s;
  overflow: hidden;
}
.faq__item:hover,
.faq__item.is-open { border-color: rgba(201, 163, 92, 0.5); }
.faq__q {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.2vw, 0.75rem);
}
.faq__diamond {
  display: block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  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__text {
  flex: 1;
  min-width: 0;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  font-weight: 600;
  line-height: 1.35;
}
.faq__mark {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-faint);
}
.faq__a {
  display: none;
  margin: 0.75rem 0 0.125rem clamp(0, 2vw, 1.25rem);
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 0.95rem);
  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: clamp(2.5rem, 5vw, 4.5rem);
}
.footer__inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(1.25rem, 2.5vw, 1.625rem) var(--pad-x);
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  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: clamp(0.55rem, 1vw, 0.65rem) clamp(0.9rem, 1.8vw, 1.25rem);
  background: #0f0c17;
  border: 1px solid rgba(158, 124, 255, 0.2);
  border-radius: var(--radius);
  font-size: clamp(0.8rem, 0.75rem + 0.2vw, 0.9rem);
  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;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.2vw, 1.375rem);
}

.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: min(100%, 20rem);
  flex: 1 1 16rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  min-width: 0;
}
.skin-box {
  height: clamp(10rem, 28vw, 12.5rem);
  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: 2 1 20rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vw, 0.875rem);
}
.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;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  margin-top: 1.125rem;
}
.skin-view {
  flex: 1 1 12rem;
  min-width: min(100%, 12rem);
  height: clamp(16rem, 40vw, 23.75rem);
  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: min(100%, 23.75rem);
  flex: 1 1 16rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  min-width: 0;
}
.upload {
  padding: clamp(1.5rem, 3vw, 2.125rem) clamp(1rem, 2vw, 1.5rem);
  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 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  font-weight: 600;
  letter-spacing: clamp(0.2em, 0.5vw + 0.15em, 0.55em);
  color: var(--gold);
}

.howto {
  list-style: none;
  margin: clamp(1.25rem, 2.5vw, 1.625rem) 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: clamp(0.75rem, 2vw, 1.375rem);
  padding: clamp(1rem, 2vw, 1.375rem) 0;
  border-bottom: 1px solid rgba(158, 124, 255, 0.12);
}
.howto__num {
  flex: none;
  width: clamp(2rem, 5vw, 2.625rem);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
  line-height: 1;
}
.howto__step h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: 1px;
}
.howto__step p {
  margin: 0.4rem 0 0;
  font-size: var(--fs-lead);
  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: min(30rem, 100%);
  width: 100%;
  margin: 0.6rem auto 2.5rem;
}
.auth-gate__card { padding: clamp(1.5rem, 3vw, 2rem) clamp(1.1rem, 3vw, 1.875rem); }
.auth-gate__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  letter-spacing: clamp(1px, 0.25vw, 3px);
  color: var(--gold);
  text-align: center;
}
.auth-gate__lead {
  margin: 0.6rem 0 0;
  text-align: center;
  font-style: italic;
  font-size: var(--fs-lead);
  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;
  flex-wrap: wrap;
}

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;
  }
}

/* Structural breakpoints only — sizes stay fluid via clamp tokens */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    background: rgba(9, 7, 13, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
  }
  .nav.is-open .nav__links a {
    padding: 0.9rem var(--pad-x);
    width: 100%;
    font-size: 1rem;
    white-space: normal;
  }
  .nav-toggle { display: inline-flex; flex: none; }
  .nav__user-name { display: none; }
  .nav__meta { display: none; }

  .skin-views { flex-direction: column; }
  .skin-view { height: clamp(14rem, 50vw, 18rem); }
  .footer__spacer { display: none; }
}

@media (max-width: 720px) {
  .hero__actions {
    flex-direction: column;
    width: min(100%, 22rem);
  }
  .hero__actions .btn--cta,
  .hero__actions .btn--outline {
    width: 100%;
    flex: none;
  }

  .ticker__text {
    white-space: normal;
    line-height: 1.4;
    flex-basis: 100%;
  }
  .ticker__time { width: 100%; }

  .section-head__note { width: 100%; }
  .faq__a { margin-left: 0; }
  .howto__step { flex-direction: column; gap: 0.4rem; }
  .rules-list li { padding: 1rem 0.9rem 1rem 3.25rem; }
  .rules__cta { flex-direction: column; }
  .demo-banner { align-items: flex-start; }
  .auth-gate__card { padding: clamp(1.5rem, 4vw, 2rem) clamp(1rem, 3vw, 1.25rem); }
  .footer__copy { width: 100%; }
  .download__cta .btn--cta { max-width: none; }
}

@media (max-width: 480px) {
  .news {
    flex-direction: column;
    gap: 0.35rem;
  }
  .news__date { width: auto; }
  .qstat__v { font-size: clamp(1.25rem, 5vw, 1.6rem); }
}

@media (min-width: 1400px) {
  :root {
    --max: 76rem;
  }
}

@media (hover: none) {
  .feature:hover,
  .vow:hover,
  .news:hover {
    transform: none;
  }
}
