/* Hazy - hazyrsps.com
   Theme taken from the Hazy client's login screen (Cathedral HD): the moonlit observatory backdrop,
   violet smoke, the gold-and-oxblood HAZY wordmark, black-stone panels with violet trim, braziers
   with live flame, Cinzel for labels and buttons and EB Garamond for text.
   Layout follows SpawnPK's site: split navigation around a centre emblem, a hero with the logo and
   a Join button, content panels, call-to-action cards and leaderboards. */

@font-face { font-family: 'Cinzel'; src: url('/fonts/Cinzel.woff2') format('woff2'), url('/fonts/Cinzel.ttf') format('truetype'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Cinzel Decorative'; src: url('/fonts/CinzelDecorative-Bold.woff2') format('woff2'), url('/fonts/CinzelDecorative-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'EB Garamond'; src: url('/fonts/EBGaramond.woff2') format('woff2'), url('/fonts/EBGaramond.ttf') format('truetype'); font-weight: 400 800; font-display: swap; }

:root {
  color-scheme: dark;
  --ink-0: #0b0710;
  --ink-1: #120b18;
  --ink-2: #1a1222;
  --ink-3: #241a2e;
  --stone: #170f1f;
  --line: rgba(180, 138, 216, 0.22);
  --line-strong: rgba(196, 169, 229, 0.45);
  --violet: #9e74c9;
  --violet-hi: #b48ad8;
  --lavender: #c4a9e5;
  --electric: #7b3fd0;
  --gold: #d9a84e;
  --gold-hi: #f3d38a;
  --gold-lo: #8a6326;
  --crimson: #8f1d2c;
  --crimson-hi: #c43a4f;
  --fire: #ff9a3c;
  --text: #e9e1f1;
  --muted: #b1a7bd;
  --dim: #85789a;
  --ok: #8fd18f;
  --bad: #ef7a7a;
  --radius: 4px;
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  --serif: 'EB Garamond', 'Garamond', 'Georgia', serif;
  --caps: 'Cinzel', 'Trajan Pro', 'Georgia', serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(123, 63, 208, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(11, 7, 16, 0.55), rgba(11, 7, 16, 0.92) 70%),
    url('/img/observatory-page.jpg') center top / cover fixed,
    var(--ink-0);
  color: var(--text);
  font: 400 18px/1.55 var(--serif);
  font-variant-numeric: lining-nums;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; }
a { color: var(--lavender); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--lavender); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--caps); font-weight: 700; letter-spacing: 0.04em; margin: 0 0 0.5em; line-height: 1.2; }
code { font-family: ui-monospace, Consolas, monospace; font-size: 0.86em; background: rgba(196, 169, 229, 0.12); border: 1px solid var(--line); padding: 1px 6px; border-radius: 3px; color: var(--gold-hi); }
button { font: inherit; }
.ico { width: 1.1em; height: 1.1em; vertical-align: -0.18em; flex: none; }
.hz-skip { position: absolute; left: -999px; top: 8px; background: var(--ink-2); padding: 8px 12px; z-index: 100; }
.hz-skip:focus { left: 8px; }
.hz-dim { color: var(--dim); }
.hz-small { font-size: 0.85em; }
.hz-center { text-align: center; }
.hz-sep { color: var(--dim); margin: 0 4px; }
.hz-empty { color: var(--dim); font-style: italic; padding: 10px 4px; text-align: center; }
.hz-error { color: var(--bad); margin: 6px 0; }
.hz-inline { display: inline; }

/* ------------------------------------------------------------------ navigation (SpawnPK split nav) */
.hz-nav { position: sticky; top: 0; z-index: 50; }
.hz-nav__bar {
  position: relative;
  height: 62px;
  background: linear-gradient(180deg, rgba(8, 5, 12, 0.97), rgba(20, 12, 28, 0.95));
  border-bottom: 1px solid rgba(217, 168, 78, 0.35);
  box-shadow: 0 1px 0 rgba(123, 63, 208, 0.35), 0 10px 30px rgba(0, 0, 0, 0.55);
  display: flex; align-items: center; justify-content: center;
}
.hz-nav__menu { display: flex; align-items: center; justify-content: center; width: min(100%, 1100px); }
.hz-nav__list { display: flex; list-style: none; margin: 0; padding: 0; flex: 1; gap: 6px; }
.hz-nav__list--left { justify-content: flex-end; }
.hz-nav__list--right { justify-content: flex-start; }
.hz-nav__link {
  display: flex; align-items: center; gap: 10px; padding: 8px 18px;
  font: 600 14px/1 var(--caps); letter-spacing: 0.1em; text-transform: uppercase; color: #e7d6b8;
}
.hz-nav__link::before {
  content: ''; width: 7px; height: 7px; border: 1px solid var(--violet-hi); transform: rotate(45deg);
  background: rgba(158, 116, 201, 0.25); transition: background 0.15s, box-shadow 0.15s;
}
.hz-nav__link:hover, .hz-nav__link.is-active { color: var(--gold-hi); text-shadow: 0 0 12px rgba(196, 169, 229, 0.55); }
.hz-nav__link:hover::before, .hz-nav__link.is-active::before { background: var(--lavender); box-shadow: 0 0 8px var(--lavender); }
.hz-nav__emblem {
  flex: none; width: 82px; height: 82px; margin: 0 14px; position: relative; top: 14px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 10px rgba(123, 63, 208, 0.55));
  transition: transform 0.2s;
}
.hz-nav__emblem:hover { transform: translateY(-2px) scale(1.04); }
.hz-nav__emblem img { width: 82px; height: 82px; display: block; }
.hz-nav__toggle { display: none; }
.hz-account { position: absolute; right: 48px; top: 50%; transform: translateY(-50%); font: 600 13px var(--caps); letter-spacing: 0.06em; }
.hz-account__signin { display: flex; align-items: center; gap: 8px; color: var(--muted); text-transform: uppercase; }
.hz-account--menu summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; color: var(--gold-hi); }
.hz-account__name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Mid widths: the full nav is ~900 px wide and centred while the account link sits on the right edge, so below
   1400 px the nav gets tighter and the account link shows only its icon/avatar; they never meet. */
@media (min-width: 961px) and (max-width: 1399px) {
  .hz-nav__list { gap: 2px; }
  .hz-nav__link { padding: 8px 10px; gap: 7px; font-size: 13px; letter-spacing: 0.07em; }
  .hz-nav__emblem { margin: 0 8px; }
  .hz-account { right: 18px; }
  .hz-account__signin span, .hz-account__name { display: none; }
}
.hz-account--menu summary::-webkit-details-marker { display: none; }
.hz-account__drop {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 200px; padding: 6px;
  background: var(--ink-1); border: 1px solid var(--line-strong); box-shadow: var(--shadow); border-radius: var(--radius);
}
.hz-account__drop a, .hz-account__drop button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; color: var(--text);
  background: none; border: 0; cursor: pointer; text-align: left; font: 500 14px var(--serif); border-radius: 3px;
}
.hz-account__drop a:hover, .hz-account__drop button:hover { background: rgba(196, 169, 229, 0.1); color: var(--gold-hi); }
.hz-announce { text-align: center; padding: 8px 16px; background: linear-gradient(90deg, transparent, rgba(143, 29, 44, 0.6), transparent); font: 600 14px var(--caps); letter-spacing: 0.05em; }

/* ------------------------------------------------------------------ hero: the login scene */
.hz-hero {
  position: relative; overflow: hidden; display: grid; place-items: center; text-align: center;
  background: url('/img/observatory.jpg') center 30% / cover no-repeat;
  background-image: image-set(url('/img/observatory.webp') type('image/webp'), url('/img/observatory.jpg') type('image/jpeg'));
  border-bottom: 1px solid rgba(217, 168, 78, 0.2);
}
.hz-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, transparent 35%, rgba(11, 7, 16, 0.55) 100%), linear-gradient(180deg, transparent 60%, var(--ink-0)); }
.hz-hero--home { min-height: 600px; }
.hz-hero--inner { min-height: 400px; }
.hz-hero--compact { min-height: 230px; }
.hz-hero--compact .hz-hero__content { padding: 46px 16px 26px; }
.hz-hero--compact .hz-hero__logo img { width: min(300px, 70vw); }
.hz-hero--compact .hz-hero__smoke { top: 6%; width: min(560px, 120vw); }
.hz-hero--compact .hz-status { margin-top: 10px; }
.hz-hero__scene { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hz-hero__content { position: relative; z-index: 3; padding: 70px 16px 56px; display: flex; flex-direction: column; align-items: center; }
.hz-hero__logo { margin: 0; line-height: 0; }
.hz-hero__logo img { width: min(600px, 84vw); filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 22px rgba(123, 63, 208, 0.35)); }
.hz-hero--inner .hz-hero__logo img { width: min(430px, 78vw); }
.hz-hero__tag { font: 600 15px var(--caps); letter-spacing: 0.32em; text-transform: uppercase; color: var(--lavender); margin: 6px 0 26px; text-shadow: 0 2px 8px #000; }
.hz-hero--inner .hz-btn--ornate { margin-top: 18px; }
.hz-hero__smoke {
  position: absolute; left: 50%; top: 8%; width: min(980px, 130vw); aspect-ratio: 3; transform: translateX(-50%);
  background: url('/img/smoke.webp') center / contain no-repeat; opacity: 0.85; mix-blend-mode: screen;
  animation: hz-smoke 16s ease-in-out infinite alternate;
}
.hz-hero--inner .hz-hero__smoke { top: 4%; width: min(760px, 130vw); }
@keyframes hz-smoke {
  0% { transform: translateX(-52%) scale(1) rotate(-1deg); opacity: 0.7; }
  50% { transform: translateX(-48%) scale(1.06) rotate(1deg); opacity: 0.95; }
  100% { transform: translateX(-50%) scale(1.02) rotate(0deg); opacity: 0.8; }
}
.hz-brazier { position: absolute; bottom: 9%; width: 120px; height: 190px; z-index: 2; }
.hz-brazier--left { left: max(2%, calc(50% - 560px)); }
.hz-brazier--right { right: max(2%, calc(50% - 560px)); }
.hz-hero--inner .hz-brazier { bottom: 7%; transform: scale(0.82); transform-origin: bottom center; }
.hz-brazier__img { position: absolute; bottom: 0; left: 0; width: 120px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.7)); }
.hz-flame {
  position: absolute; left: 50%; bottom: 112px; width: 86px; height: 104px; margin-left: -43px; transform: scale(1.18); transform-origin: bottom center;
  background: url('/img/flame-frames-web.webp') 0 0 / 1032px 1040px no-repeat; mix-blend-mode: screen;
  animation: hz-flame-x 1.8s steps(12) infinite, hz-flame-y 18s steps(10) infinite;
}
.hz-flame::after { content: ''; position: absolute; left: -60%; right: -60%; top: 30%; bottom: -40%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 154, 60, 0.35), transparent); animation: hz-glow 2.4s ease-in-out infinite alternate; }
@keyframes hz-flame-x { to { background-position-x: -1032px; } }
@keyframes hz-flame-y { to { background-position-y: -1040px; } }
@keyframes hz-glow { from { opacity: 0.65; } to { opacity: 1; } }

.hz-status { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 5px 14px; border-radius: 99px;
  background: rgba(11, 7, 16, 0.7); border: 1px solid var(--line); font: 600 13px var(--caps); letter-spacing: 0.06em; color: var(--muted); }
.hz-status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 8px var(--bad); }
.hz-status.is-online .hz-status__dot { background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: hz-pulse 2s infinite; }
.hz-status__sep { color: var(--dim); }
@keyframes hz-pulse { 50% { opacity: 0.45; } }

/* ------------------------------------------------------------------ buttons */
.hz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 18px; cursor: pointer;
  font: 600 13px/1.1 var(--caps); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text);
  background: linear-gradient(180deg, #2a1d38, #1a1124); border: 1px solid var(--line-strong); border-radius: 3px;
  transition: border-color 0.15s, box-shadow 0.15s, color 0.15s;
}
.hz-btn:hover { color: var(--gold-hi); border-color: var(--lavender); box-shadow: 0 0 14px rgba(158, 116, 201, 0.35); }
.hz-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.hz-btn--block { width: 100%; }
.hz-btn--ornate {
  position: relative; padding: 12px 38px; color: #f2dfae; text-shadow: 0 1px 2px #000;
  background: linear-gradient(180deg, #34204a, #1b1027 55%, #140b1d);
  border: 1px solid var(--violet-hi);
  box-shadow: inset 0 0 0 1px rgba(217, 168, 78, 0.35), inset 0 1px 12px rgba(196, 169, 229, 0.18), 0 6px 18px rgba(0, 0, 0, 0.55);
  border-radius: 14px;
}
.hz-btn--ornate::before, .hz-btn--ornate::after {
  content: ''; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; transform: rotate(45deg);
  background: var(--lavender); box-shadow: 0 0 8px var(--violet-hi);
}
.hz-btn--ornate::before { left: 14px; }
.hz-btn--ornate::after { right: 14px; }
.hz-btn--ornate:hover { color: #fff3cf; box-shadow: inset 0 0 0 1px rgba(243, 211, 138, 0.55), inset 0 1px 14px rgba(196, 169, 229, 0.3), 0 0 22px rgba(158, 116, 201, 0.45); }
.hz-btn--lg { padding: 16px 54px; font-size: 17px; letter-spacing: 0.14em; }
.hz-btn--lg::before { left: 20px; }
.hz-btn--lg::after { right: 20px; }
.hz-link { background: none; border: 0; padding: 0; color: var(--lavender); cursor: pointer; display: inline-flex; align-items: center; gap: 5px; font: inherit; }
.hz-link:hover { color: var(--gold-hi); }
.hz-link--danger { color: #e79a9a; }

/* ------------------------------------------------------------------ main layout */
.hz-main { width: min(100% - 32px, var(--wrap)); margin: 0 auto; padding: 34px 0 20px; }
.hz-grid { display: grid; gap: 22px; margin-bottom: 22px; }
.hz-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hz-grid--home { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; }
.hz-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; margin-bottom: 22px; }
.hz-with-sidebar--left { grid-template-columns: 250px minmax(0, 1fr); }
.hz-with-sidebar--store { grid-template-columns: minmax(0, 1fr) 340px; }
.hz-sidebar { display: grid; gap: 18px; }
.hz-narrow { max-width: 720px; margin: 0 auto; }
.hz-page-title { font-size: clamp(24px, 3vw, 32px); color: var(--gold-hi); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7); margin-bottom: 12px; }
.hz-subtitle { font-size: 19px; color: var(--gold); margin: 22px 0 12px; }

/* A plain violet line that fades out at both ends (no gem in the middle). */
.hz-divider { display: flex; align-items: center; margin: 30px auto; width: min(100%, var(--wrap)); }
.hz-divider span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(158, 116, 201, 0.5)); }
.hz-divider span:last-child { background: linear-gradient(90deg, rgba(158, 116, 201, 0.5), transparent); }
.hz-divider i { display: none; }

/* ------------------------------------------------------------------ panels (black stone, violet trim) */
.hz-panel {
  position: relative; border-radius: var(--radius); margin-bottom: 22px;
  background: linear-gradient(180deg, rgba(25, 16, 33, 0.94), rgba(14, 9, 20, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(243, 211, 138, 0.07), inset 0 0 40px rgba(123, 63, 208, 0.05);
}
.hz-sidebar .hz-panel, .hz-grid > .hz-panel { margin-bottom: 0; }
.hz-panel--pad { padding: 18px 20px; }
.hz-panel__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 15px 20px 13px; border-bottom: 1px solid rgba(180, 138, 216, 0.16); }
.hz-panel__head h2 { margin: 0; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: #ecd7a8; display: flex; align-items: center; gap: 8px; }
.hz-panel__link { font: 600 12px var(--caps); letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.hz-panel__aside { font-size: 15px; color: var(--muted); }
.hz-panel__body { padding: 16px 20px 18px; }
.hz-panel--notice { text-align: center; }
.hz-panel--notice .hz-panel__body { display: grid; gap: 4px; }
.hz-notice__title { margin: 0 0 4px; font: 700 15px var(--caps); color: var(--crimson-hi); letter-spacing: 0.05em; }
.hz-notice { padding: 10px 14px; border-left: 3px solid var(--violet-hi); background: rgba(123, 63, 208, 0.1); border-radius: 3px; margin: 10px 0; }
.hz-flashes { margin-bottom: 18px; }
.hz-flash { padding: 11px 16px; border-radius: 3px; margin-bottom: 8px; border: 1px solid var(--line); background: rgba(123, 63, 208, 0.12); }
.hz-flash--ok { border-color: rgba(143, 209, 143, 0.4); background: rgba(64, 140, 64, 0.14); }
.hz-flash--error { border-color: rgba(239, 122, 122, 0.45); background: rgba(143, 29, 44, 0.25); }

/* ------------------------------------------------------------------ home: slider + updates */
.hz-slider { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 340px; background: var(--ink-1); }
.hz-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 0.8s ease; }
.hz-slide.is-active { opacity: 1; z-index: 1; }
.hz-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hz-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 30px 46px; background: linear-gradient(180deg, transparent, rgba(8, 5, 12, 0.9)); }
.hz-slide strong { display: block; font: 700 clamp(22px, 2.6vw, 32px) var(--caps); color: #f2dfae; letter-spacing: 0.05em; text-transform: uppercase; text-shadow: 0 2px 10px #000; }
.hz-slide span { display: block; font: 600 13px var(--caps); letter-spacing: 0.08em; text-transform: uppercase; color: var(--lavender); }
.hz-slider__arrow { position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px; display: grid; place-items: center; cursor: pointer;
  background: rgba(11, 7, 16, 0.6); border: 1px solid var(--line-strong); color: var(--gold-hi); border-radius: 50%; }
.hz-slider__arrow--prev { left: 14px; }
.hz-slider__arrow--next { right: 14px; }
.hz-slider__arrow:hover { background: rgba(123, 63, 208, 0.45); }
.hz-slider__dots { position: absolute; z-index: 2; left: 30px; bottom: 18px; display: flex; gap: 8px; }
/* 24 px tap targets; the visible dot is drawn inside. */
.hz-slider__dots { gap: 2px; left: 20px; bottom: 10px; }
.hz-slider__dots button { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.hz-slider__dots button::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; border: 1px solid var(--lavender); }
.hz-slider__dots button.is-active::before { background: var(--lavender); box-shadow: 0 0 8px var(--violet-hi); }

/* "About Hazy RSPS" block on the homepage */
.hz-about__lead { font-size: 19px; margin: 0 0 18px; color: var(--text); }
.hz-features { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 22px; }
.hz-feature { display: flex; gap: 12px; align-items: flex-start; }
.hz-feature__icon { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-hi);
  background: radial-gradient(circle at 35% 30%, #3a2350, #160d1f 70%); border: 1px solid rgba(217, 168, 78, 0.5); }
.hz-feature h3 { margin: 2px 0 2px; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: #f2dfae; }
.hz-feature p { margin: 0; font-size: 16px; color: var(--muted); }
.hz-about__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; }
.hz-panel--updates { margin-bottom: 0; display: flex; flex-direction: column; }
.hz-updates { list-style: none; margin: 0; padding: 0; }
.hz-updates a { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 10px 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: var(--text); }
.hz-updates li:last-child a { border-bottom: 0; }
.hz-updates a:hover .hz-updates__title { color: var(--gold-hi); }
.hz-updates__tag { grid-row: span 2; align-self: start; margin-top: 3px; font: 700 10px var(--caps); letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 7px; border-radius: 2px; background: rgba(123, 63, 208, 0.35); color: var(--lavender); border: 1px solid var(--line-strong); }
.hz-updates__tag--announcements { background: rgba(143, 29, 44, 0.5); color: #f3c1c8; border-color: rgba(196, 58, 79, 0.5); }
.hz-updates__title { font-size: 17px; line-height: 1.3; }
.hz-updates time { font-size: 13px; color: var(--dim); }

/* call-to-action cards */
.hz-ctas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; }
.hz-ctas--stacked { grid-template-columns: 1fr; margin: 0; }
.hz-cta {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius); color: var(--text);
  background: linear-gradient(135deg, rgba(124, 26, 46, 0.6), rgba(52, 22, 78, 0.78) 60%, rgba(25, 14, 36, 0.9));
  border: 1px solid rgba(217, 168, 78, 0.4);
  box-shadow: inset 0 0 0 1px rgba(196, 169, 229, 0.12), inset 0 0 30px rgba(196, 58, 79, 0.18), var(--shadow);
  transition: transform 0.18s, box-shadow 0.18s;
}
.hz-cta:hover { transform: translateY(-2px); color: var(--text); box-shadow: inset 0 0 0 1px rgba(243, 211, 138, 0.4), inset 0 0 40px rgba(196, 58, 79, 0.28), 0 18px 40px rgba(0, 0, 0, 0.6); }
.hz-cta__medal { flex: none; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-hi);
  background: radial-gradient(circle at 35% 30%, #3e2656, #170d20 70%); border: 2px solid var(--gold); box-shadow: 0 0 16px rgba(217, 168, 78, 0.35), inset 0 0 12px rgba(0, 0, 0, 0.6); }
.hz-cta__medal .ico { width: 28px; height: 28px; }
.hz-cta__text strong { display: block; font: 700 16px var(--caps); letter-spacing: 0.06em; text-transform: uppercase; color: #f2dfae; }
.hz-cta__text small { display: block; font-size: 15px; color: var(--lavender); }

/* tables */
.hz-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.hz-table th { font: 600 11px var(--caps); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(180, 138, 216, 0.16); }
.hz-table td { padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.045); }
.hz-table tbody tr:hover td { background: rgba(196, 169, 229, 0.05); }
.hz-table .num { text-align: right; font-variant-numeric: tabular-nums lining-nums; }
.hz-table--compact td { padding: 7px 10px; font-size: 15px; }
.hz-table--hiscores tr.is-top td:first-child { font: 700 15px var(--caps); }
.hz-table--hiscores tr.is-top-1 td:first-child { color: var(--gold-hi); }
.hz-table--hiscores tr.is-top-2 td:first-child { color: #d6d6e4; }
.hz-table--hiscores tr.is-top-3 td:first-child { color: #d99a6c; }
.hz-table__total td { font-weight: 700; color: var(--gold-hi); }

/* names and ranks */
.hz-name { font-weight: 600; color: var(--text); }
.hz-name--owner { color: var(--gold-hi); text-shadow: 0 0 10px rgba(217, 168, 78, 0.35); }
.hz-name--dev { color: var(--lavender); }
.hz-name--admin { color: #ef8f9c; }
.hz-name--mod, .hz-name--support { color: #9fc5ff; }
.hz-name--lord { color: #c48cff; }
.hz-name--yt { color: #ff8080; }
.hz-name--ruby { color: #ff6f91; } .hz-name--sapphire { color: #7aa7ff; } .hz-name--emerald { color: #64d996; } .hz-name--diamond { color: #c9f3ff; }
.hz-name--dragonstone { color: #d39bff; } .hz-name--onyx { color: #c9c1d4; } .hz-name--zenyte { color: #ffb347; }
.hz-rank { display: inline-flex; align-items: center; font: 700 10px var(--caps); letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px;
  border: 1px solid var(--line-strong); background: rgba(196, 169, 229, 0.1); color: var(--lavender); margin: 2px 4px 2px 0; }
.hz-rank--owner { background: linear-gradient(180deg, #5b4216, #2c1f08); border-color: var(--gold); color: var(--gold-hi); }
.hz-rank--dev { background: rgba(123, 63, 208, 0.35); }
.hz-rank--admin { background: rgba(143, 29, 44, 0.5); border-color: rgba(196, 58, 79, 0.6); color: #f6c4cb; }
.hz-rank--mod, .hz-rank--support { background: rgba(60, 100, 170, 0.35); border-color: rgba(120, 160, 230, 0.5); color: #cfe0ff; }
.hz-rank--lord { background: rgba(110, 40, 160, 0.45); }
.hz-rank--gem { background: rgba(0, 0, 0, 0.3); }
.hz-rank--ruby { color: #ff8fab; border-color: #b8325b; } .hz-rank--sapphire { color: #a3c1ff; border-color: #3c63c4; } .hz-rank--emerald { color: #8ae6b0; border-color: #2e9b60; }
.hz-rank--diamond { color: #e2f9ff; border-color: #8cc9dc; } .hz-rank--dragonstone { color: #e2b8ff; border-color: #8e4dcb; } .hz-rank--onyx { color: #e4dff0; border-color: #6c6478; }
.hz-rank--zenyte { color: #ffd08a; border-color: #d9822b; }

.hz-avatar {
  --hue: 280; display: inline-grid; place-items: center; flex: none; border-radius: 50%; font: 700 14px var(--caps); color: #f6e7c4; letter-spacing: 0.02em;
  background: radial-gradient(circle at 30% 25%, hsl(var(--hue) 45% 42%), hsl(var(--hue) 50% 16%) 70%);
  border: 2px solid rgba(217, 168, 78, 0.55); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 4px 10px rgba(0, 0, 0, 0.5);
}
.hz-avatar--xs { width: 26px; height: 26px; font-size: 10px; border-width: 1px; }
.hz-avatar--sm { width: 34px; height: 34px; font-size: 12px; }
.hz-avatar--md { width: 44px; height: 44px; }
.hz-avatar--lg { width: 96px; height: 96px; font-size: 30px; border-width: 3px; }
.hz-avatar--xl { width: 120px; height: 120px; font-size: 38px; border-width: 3px; }
.hz-avatar--owner { border-color: var(--gold-hi); box-shadow: 0 0 14px rgba(217, 168, 78, 0.5); }
.hz-avatar--admin { border-color: var(--crimson-hi); }

/* ------------------------------------------------------------------ forms */
.hz-field { display: grid; gap: 5px; margin-bottom: 14px; }
.hz-field--wide { grid-column: 1 / -1; }
.hz-field__label, .hz-login__label { font: 600 12px var(--caps); letter-spacing: 0.1em; text-transform: uppercase; color: #dcc7a0; }
.hz-field__hint { font-size: 13px; color: var(--dim); }
input:not([type='checkbox']):not([type='hidden']), select, textarea {
  width: 100%; padding: 10px 12px; font: 400 17px var(--serif); color: var(--text);
  background: rgba(10, 6, 15, 0.85); border: 1px solid #5e4280; border-radius: 6px; box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--lavender); box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6), 0 0 0 3px rgba(158, 116, 201, 0.25); }
textarea { resize: vertical; min-height: 140px; }
.hz-input-icon { position: relative; display: block; }
.hz-input-icon .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--dim); }
.hz-input-icon input { padding-left: 38px !important; }
.hz-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 16px; align-items: end; padding: 16px 20px; }
.hz-form-grid .hz-btn { margin-bottom: 14px; justify-self: start; }
.hz-search { display: flex; align-items: center; }
.hz-search input { border-radius: 6px 0 0 6px !important; padding: 7px 10px !important; font-size: 15px !important; }
.hz-search button { padding: 7px 11px; border: 1px solid #5e4280; border-left: 0; border-radius: 0 6px 6px 0; background: #2a1d38; color: var(--gold-hi); cursor: pointer; }
.hz-search--wide { max-width: 360px; margin-bottom: 12px; }

/* username gate (store / vote) */
.hz-gate__form { display: grid; gap: 12px; justify-items: center; padding: 22px 20px 24px; }
.hz-gate__form .hz-input-icon { width: 100%; }
.hz-gate__retry { font: 700 11px var(--caps); color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; }
.hz-steps { margin: 0; padding-left: 22px; }
.hz-steps li { margin: 6px 0; }
.hz-steps--big li { margin: 12px 0; }
.hz-rewards { padding: 18px 22px; margin-bottom: 22px; border-radius: var(--radius); border: 1px solid rgba(217, 168, 78, 0.35); background: linear-gradient(135deg, rgba(124, 26, 46, 0.35), rgba(30, 16, 44, 0.8)); }
.hz-rewards h3 { font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: #f2dfae; display: flex; gap: 8px; align-items: center; }
.hz-rewards ul { margin: 6px 0; padding-left: 20px; }

/* vote sites */
.hz-votesites { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hz-votesite { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10, 6, 15, 0.5); }
.hz-votesite strong { display: block; font: 700 15px var(--caps); letter-spacing: 0.04em; }
.hz-votesite small { color: var(--dim); }
.hz-votesite__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-hi); }
.hz-votesite.is-waiting { opacity: 0.75; }
.hz-votesite__timer { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font: 600 13px var(--caps); }

/* store */
.hz-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 16px; }
.hz-product { position: relative; display: flex; flex-direction: column; padding: 18px; border-radius: var(--radius); text-align: center;
  background: linear-gradient(180deg, rgba(30, 19, 41, 0.95), rgba(14, 9, 20, 0.97)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hz-product.is-featured { border-color: rgba(217, 168, 78, 0.6); box-shadow: var(--shadow), 0 0 22px rgba(217, 168, 78, 0.18); }
.hz-product h3 { font-size: 17px; color: #f2dfae; margin: 12px 0 6px; }
.hz-product p { flex: 1; margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.hz-product__buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hz-product__buy strong { font: 700 20px var(--caps); color: var(--gold-hi); }
.hz-product__badge { position: absolute; top: 10px; right: -6px; padding: 3px 10px; font: 700 10px var(--caps); letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--crimson); color: #fde7c5; border: 1px solid var(--gold); }
.hz-bond { position: relative; margin: 0 auto; width: 150px; height: 96px; border-radius: 8px; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 30%, #4b2f69, #1b0f26 70%); border: 2px solid var(--gold); box-shadow: inset 0 0 0 3px rgba(11, 7, 16, 0.8), inset 0 0 0 4px rgba(196, 169, 229, 0.45), 0 6px 16px rgba(0, 0, 0, 0.6); }
.hz-bond .hz-bond__emblem { width: 44px; height: 44px; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); opacity: 0.95; }
.hz-bond__value { font: 700 28px 'Cinzel Decorative', var(--caps); color: var(--gold-hi); text-shadow: 0 2px 6px #000; padding-left: 36px; }
.hz-bond__label { position: absolute; bottom: 5px; right: 12px; font: 700 9px var(--caps); letter-spacing: 0.2em; text-transform: uppercase; color: var(--lavender); }
.hz-cart__who { margin-bottom: 10px; }
.hz-cart__items { list-style: none; padding: 0; margin: 0 0 12px; }
.hz-cart__items li { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 15px; }
.hz-cart__items input { width: 56px !important; padding: 4px 6px !important; font-size: 14px !important; }
.hz-cart__total { display: flex; justify-content: space-between; font: 700 16px var(--caps); color: var(--gold-hi); margin: 10px 0; }
.hz-order-state { font: 700 18px var(--caps); display: flex; align-items: center; gap: 8px; }
.hz-order-state--pending { color: var(--gold); }
.hz-order-state--ready, .hz-order-state--done { color: var(--ok); }

/* ------------------------------------------------------------------ forums (SpawnPK community layout) */
.hz-forumbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; margin-bottom: 12px;
  background: rgba(10, 6, 15, 0.75); border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; }
.hz-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 9px 16px; margin-bottom: 20px; font: 600 13px var(--caps); letter-spacing: 0.04em;
  background: linear-gradient(90deg, rgba(36, 26, 46, 0.9), rgba(18, 11, 24, 0.9)); border: 1px solid var(--line); border-radius: var(--radius); }
.hz-crumbs > span { color: var(--dim); }
.hz-crumbs b { color: var(--muted); font-weight: 600; }
.hz-crumbs__right { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; }
.hz-forumcat .hz-panel__head h2 { color: var(--lavender); }
.hz-boards, .hz-topics { list-style: none; margin: 0; padding: 0; }
.hz-board { display: grid; grid-template-columns: 52px minmax(0, 1fr) 90px minmax(0, 260px); align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.hz-board:last-child { border-bottom: 0; }
.hz-board:hover { background: rgba(196, 169, 229, 0.035); }
.hz-board__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-hi); background: radial-gradient(circle at 35% 30%, #3a2350, #160d1f 70%); border: 1px solid rgba(217, 168, 78, 0.5); }
.hz-board__icon .ico { width: 22px; height: 22px; }
.hz-board__title { font: 700 16px var(--caps); letter-spacing: 0.03em; color: #f0dcb0; }
.hz-board__main p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.hz-board__count { text-align: center; line-height: 1.1; }
.hz-board__count strong { display: block; font: 700 18px var(--caps); }
.hz-board__count small, .hz-topic__stats { color: var(--dim); font-size: 13px; }
.hz-board__last { display: flex; gap: 10px; align-items: center; min-width: 0; }
.hz-board__last div, .hz-topic__last div { min-width: 0; }
.hz-board__last a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.hz-board__last small, .hz-topic__last small, .hz-topic__main small { display: block; color: var(--dim); font-size: 13px; }
.hz-forum-main { min-width: 0; }
.hz-online { line-height: 1.9; }
.hz-online-count { margin: 0 0 6px; color: var(--muted); }
.hz-board-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.hz-board-head p { margin: 0; }
.hz-topic { display: grid; grid-template-columns: 44px minmax(0, 1fr) 150px 200px; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.hz-topic.is-pinned { background: linear-gradient(90deg, rgba(217, 168, 78, 0.07), transparent 60%); }
.hz-topic__title { font-size: 17px; font-weight: 600; color: var(--text); }
.hz-topic__title:hover { color: var(--gold-hi); }
.hz-topic__stats { display: grid; text-align: right; }
.hz-topic__stats strong { color: var(--text); }
.hz-topic__last { display: flex; gap: 10px; align-items: center; }
.hz-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; margin-right: 6px; border-radius: 2px; font: 700 10px var(--caps); letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--line-strong); color: var(--lavender); background: rgba(196, 169, 229, 0.08); vertical-align: 2px; }
a.hz-chip { padding: 6px 12px; font-size: 11px; }
a.hz-chip.is-active, a.hz-chip:hover { border-color: var(--gold); color: var(--gold-hi); background: rgba(217, 168, 78, 0.12); }
.hz-chip--pin { border-color: rgba(217, 168, 78, 0.55); color: var(--gold-hi); }
.hz-thread-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.hz-thread-head h1 { margin-bottom: 2px; }
.hz-thread-head p { margin: 0; }
.hz-posts { display: grid; gap: 16px; margin-bottom: 16px; }
.hz-post { display: grid; grid-template-columns: 210px minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(14, 9, 20, 0.95); box-shadow: var(--shadow); scroll-margin-top: 90px; }
.hz-post__author { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 14px; border-right: 1px solid rgba(180, 138, 216, 0.14);
  background: linear-gradient(180deg, rgba(36, 22, 50, 0.65), rgba(18, 11, 24, 0.4)); }
.hz-post__author > .hz-name { font-family: var(--caps); font-size: 16px; }
.hz-post__role { font-size: 14px; color: var(--muted); font-style: italic; }
.hz-post__ranks { display: flex; flex-wrap: wrap; justify-content: center; }
.hz-profile .hz-post__ranks, .hz-panel .hz-profile__card .hz-post__ranks { justify-content: flex-start; }
.hz-post__meta { width: 100%; margin: 6px 0 0; display: grid; gap: 2px; font-size: 14px; }
.hz-post__meta div { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 3px; }
.hz-post__meta dt { color: var(--dim); }
.hz-post__meta dd { margin: 0; }
.hz-post__body { display: flex; flex-direction: column; min-width: 0; }
.hz-post__head { display: flex; justify-content: space-between; padding: 10px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 14px; color: var(--dim); }
.hz-post__head a { color: var(--dim); }
.hz-post__content { padding: 16px 20px; flex: 1; overflow-wrap: anywhere; }
.hz-post__actions { display: flex; gap: 16px; justify-content: flex-end; padding: 8px 20px 12px; font-size: 14px; }
.hz-modbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 12px; margin-bottom: 14px; border: 1px dashed rgba(217, 168, 78, 0.4); border-radius: var(--radius); font: 600 12px var(--caps); }
.hz-modbar button { background: #2a1d38; border: 1px solid var(--line-strong); color: var(--text); padding: 4px 10px; cursor: pointer; border-radius: 3px; font: 600 12px var(--caps); }
.hz-editor { padding: 16px 20px; }
.hz-editor__tools { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.hz-editor__tools button { background: #1e1429; border: 1px solid var(--line); color: var(--muted); padding: 4px 9px; cursor: pointer; border-radius: 3px; font: 600 11px var(--caps); letter-spacing: 0.04em; }
.hz-editor__tools button:hover { color: var(--gold-hi); border-color: var(--line-strong); }
.hz-editor__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.hz-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hz-mini li { display: flex; gap: 10px; }
.hz-mini a { font-weight: 600; line-height: 1.25; display: block; }
.hz-mini small { color: var(--dim); font-size: 13px; }
.hz-mini p { margin: 3px 0 0; font-size: 14px; color: var(--muted); }
.hz-stats { margin: 0; display: grid; gap: 6px; font-size: 15px; }
.hz-stats div { display: flex; justify-content: space-between; gap: 10px; }
.hz-stats dt { color: var(--muted); }
.hz-stats dd { margin: 0; font-weight: 600; text-align: right; }
.hz-stats__newest { flex-direction: column; border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 6px; }
.hz-stats__newest dd { text-align: left; }
.hz-discord__head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 10px; border-radius: 4px; background: linear-gradient(90deg, #4d3a8f, #352668); color: #fff; }
.hz-discord__head strong { font-family: var(--caps); }
.hz-discord__head span { margin-left: auto; font-size: 13px; opacity: 0.9; }
.hz-discord__channels, .hz-discord__members { list-style: none; margin: 0 0 10px; padding: 0; font-size: 15px; }
.hz-discord__label { margin: 8px 0 4px; font: 600 11px var(--caps); letter-spacing: 0.08em; color: var(--dim); text-transform: uppercase; }
.hz-discord__members { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; max-height: 190px; overflow: auto; }
.hz-discord__dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--ok); }
.hz-discord__dot--idle { background: #f0b232; }
.hz-discord__dot--dnd { background: #f23f43; }
.hz-activity { list-style: none; margin: 0; padding: 0; }
.hz-activity li { display: flex; gap: 14px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.hz-activity p { margin: 0; }
.hz-activity blockquote { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.hz-latest { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.hz-latest li { display: flex; gap: 10px; align-items: center; }
.hz-latest small { display: block; color: var(--dim); font-size: 13px; }

/* bbcode */
.bb-quote { margin: 10px 0; padding: 10px 14px; border-left: 3px solid var(--violet-hi); background: rgba(123, 63, 208, 0.08); border-radius: 0 4px 4px 0; }
.bb-quote cite { display: block; font: 600 12px var(--caps); color: var(--gold); margin-bottom: 4px; font-style: normal; }
.bb-code { overflow: auto; padding: 12px; background: #0a0610; border: 1px solid var(--line); border-radius: 4px; font: 14px/1.5 ui-monospace, Consolas, monospace; }
.bb-img { max-height: 520px; border-radius: 3px; }
.bb-video { position: relative; aspect-ratio: 16 / 9; max-width: 720px; }
.bb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bb-h { font-size: 18px; color: var(--gold); margin: 16px 0 6px; }
.bb-center { text-align: center; }
.bb-list { margin: 8px 0; padding-left: 22px; }
.bb-spoiler { border: 1px solid var(--line); padding: 6px 10px; border-radius: 4px; }
.bb-spoiler summary { cursor: pointer; font: 600 12px var(--caps); color: var(--lavender); }
.bb-size-1 { font-size: 0.75em; } .bb-size-2 { font-size: 0.9em; } .bb-size-3 { font-size: 1.1em; } .bb-size-4 { font-size: 1.35em; } .bb-size-5 { font-size: 1.7em; }
.bb-c-red, .bb-c-crimson { color: #ef7a7a; } .bb-c-orange { color: #ffae5c; } .bb-c-yellow, .bb-c-gold { color: var(--gold-hi); } .bb-c-green { color: var(--ok); }
.bb-c-blue { color: #8fb4ff; } .bb-c-purple, .bb-c-violet, .bb-c-lavender { color: var(--lavender); } .bb-c-white { color: #fff; } .bb-c-gray { color: var(--dim); }

/* ------------------------------------------------------------------ hiscores and profile */
.hz-hiscores-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.hz-tabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.hz-tabs a { padding: 10px 20px; font: 700 13px var(--caps); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border: 1px solid transparent; border-bottom: 0; border-radius: 4px 4px 0 0; margin-bottom: -1px; }
.hz-tabs a.is-active { color: var(--gold-hi); background: rgba(25, 16, 33, 0.95); border-color: var(--line); }
.hz-filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; font-size: 15px; color: var(--dim); }
.hz-filters--sort { margin-bottom: 14px; }
.hz-skillnav { display: grid; gap: 2px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(14, 9, 20, 0.92); max-height: 760px; overflow: auto; }
.hz-skillnav a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 3px; color: var(--muted); font-size: 16px; }
.hz-skillnav a.is-active, .hz-skillnav a:hover { background: rgba(196, 169, 229, 0.1); color: var(--gold-hi); }
.hz-skillnav img { image-rendering: pixelated; }
.hz-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 10px 0 20px; }
.hz-page { min-width: 36px; height: 36px; padding: 0 10px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 3px; font: 600 14px var(--caps); color: var(--muted); background: rgba(14, 9, 20, 0.85); }
.hz-page.is-current { border-color: var(--gold); color: var(--gold-hi); background: rgba(217, 168, 78, 0.12); }
.hz-page--gap { border: 0; background: none; }
.hz-profile { padding: 22px; }
.hz-profile__card { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.hz-profile__card p { margin: 4px 0; }
.hz-statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 20px 0 0; }
.hz-statgrid div { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10, 6, 15, 0.6); text-align: center; }
.hz-statgrid dt { font: 600 11px var(--caps); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.hz-statgrid dd { margin: 4px 0 0; font: 700 22px var(--caps); color: var(--gold-hi); }
.hz-statgrid small { color: var(--muted); font-size: 13px; }
.hz-skillgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hz-skill { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; padding: 7px 10px; border-radius: 3px; background: rgba(10, 6, 15, 0.55); border: 1px solid rgba(255, 255, 255, 0.04); color: var(--text); font-size: 15px; }
.hz-skill strong { color: var(--gold-hi); font-family: var(--caps); }
.hz-skill img { image-rendering: pixelated; }
.hz-kc { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.hz-kc li { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); break-inside: avoid; font-size: 15px; }
.hz-kc strong { color: var(--gold-hi); }
.hz-staff { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.hz-staffcard { display: grid; justify-items: center; gap: 8px; padding: 22px; text-align: center; margin: 0; }
.hz-staffcard h2 { font-size: 18px; margin: 0; }

/* downloads */
.hz-downloads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 20px 0 26px; }
.hz-download { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 24px 18px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(36, 22, 50, 0.92), rgba(14, 9, 20, 0.95)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hz-download h2 { font-size: 17px; color: #f2dfae; margin: 4px 0 0; }
.hz-download p { flex: 1; margin: 0; color: var(--muted); font-size: 15px; }
.hz-faq { margin: 0; display: grid; gap: 12px; }
.hz-faq dt { font: 700 15px var(--caps); color: var(--gold); }
.hz-faq dd { margin: 2px 0 0; color: var(--muted); }

/* ------------------------------------------------------------------ login: the client login screen */
.hz-login-stage { min-height: calc(100vh - 62px); margin: -34px calc(50% - 50vw) -20px; padding: 40px 16px 60px; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(11, 7, 16, 0.7)), url('/img/observatory.jpg') center / cover; position: relative;
  background-image: radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(11, 7, 16, 0.7)), image-set(url('/img/observatory.webp') type('image/webp'), url('/img/observatory.jpg') type('image/jpeg')); }
.hz-login-stage::before { content: ''; position: absolute; left: 50%; top: 2%; width: min(900px, 120vw); aspect-ratio: 3; transform: translateX(-50%);
  background: url('/img/smoke.webp') center / contain no-repeat; mix-blend-mode: screen; opacity: 0.75; animation: hz-smoke 16s ease-in-out infinite alternate; pointer-events: none; }
.hz-login { position: relative; width: min(640px, 100%); text-align: center; }
.hz-login__mark { margin: 0 auto -18px; line-height: 0; position: relative; z-index: 2; }
.hz-login__mark img { width: min(430px, 80vw); filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 18px rgba(123, 63, 208, 0.4)); }
.hz-login__frame { position: relative; aspect-ratio: 812 / 502; }
.hz-login__art img { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.7)); }
.hz-login__form { position: absolute; left: 13%; right: 13%; top: 11%; bottom: 7%; display: flex; flex-direction: column; justify-content: center; text-align: left; }
.hz-login__title { text-align: center; margin: 0 0 6px; font: 500 clamp(22px, 4.2vw, 31px) var(--serif); letter-spacing: 0.01em; color: #f3ead7; text-transform: none; }
.hz-login__label { font-size: clamp(10px, 1.6vw, 12px); margin: 4px 0 3px; }
.hz-login__form input:not([type='checkbox']):not([type='hidden']) { padding: clamp(5px, 1vw, 8px) 10px; border-radius: 7px; border-color: #8b62b8; background: rgba(13, 8, 18, 0.92); font-size: clamp(14px, 2vw, 17px); }
.hz-login__remember { display: flex; align-items: center; gap: 10px; margin: 10px 0 6px; font: 600 clamp(10px, 1.6vw, 12px) var(--caps); letter-spacing: 0.08em; text-transform: uppercase; color: #dcc7a0; cursor: pointer; }
.hz-login__remember input { position: absolute; opacity: 0; }
.hz-diamond { width: 12px; height: 12px; transform: rotate(45deg); border: 1px solid var(--lavender); background: rgba(158, 116, 201, 0.15); }
.hz-login__remember input:checked + .hz-diamond { background: var(--lavender); box-shadow: 0 0 8px var(--lavender); }
.hz-login__remember input:focus-visible + .hz-diamond { outline: 2px solid var(--lavender); outline-offset: 3px; }
.hz-login__submit { align-self: center; margin-top: 6px; }
.hz-login__error { margin: 4px 0; text-align: center; color: #ffb3b3; font-size: 15px; }
.hz-login__help { margin-top: 18px; text-shadow: 0 2px 6px #000; }

/* ------------------------------------------------------------------ staff panel */
.hz-admin { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 22px; align-items: start; }
.hz-admin__nav { display: grid; gap: 2px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(14, 9, 20, 0.92); position: sticky; top: 80px; }
.hz-admin__nav a { padding: 9px 12px; border-radius: 3px; font: 600 13px var(--caps); letter-spacing: 0.04em; color: var(--muted); }
.hz-admin__nav a.is-active, .hz-admin__nav a:hover { background: rgba(196, 169, 229, 0.1); color: var(--gold-hi); }
.hz-admin__item summary { padding: 14px 18px; cursor: pointer; font-weight: 600; }
.hz-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hz-checklist li { display: flex; gap: 8px; align-items: center; }
.hz-checklist .ok .ico { color: var(--ok); }
.hz-checklist .bad .ico { color: var(--bad); }
.hz-checklist .warn .ico { color: var(--gold); }

/* ------------------------------------------------------------------ footer */
.hz-footer { padding: 10px 16px 30px; background: linear-gradient(180deg, transparent, rgba(8, 5, 12, 0.9) 40%); }
.hz-footer__links { width: min(100%, var(--wrap)); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; }
.hz-footer__links a { font: 700 13px var(--caps); letter-spacing: 0.1em; text-transform: uppercase; color: #e7d6b8; }
.hz-footer__links a:hover { color: var(--gold-hi); }
.hz-footer__legal { text-align: center; color: var(--dim); font-size: 14px; margin: 26px 0 0; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .hz-downloads { grid-template-columns: repeat(2, 1fr); }
  .hz-board { grid-template-columns: 46px minmax(0, 1fr) 70px; }
  .hz-board__last { display: none; }
  .hz-topic { grid-template-columns: 44px minmax(0, 1fr) 120px; }
  .hz-topic__last { display: none; }
}
@media (max-width: 960px) {
  .hz-nav__toggle { display: grid; place-items: center; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px;
    background: none; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--gold-hi); cursor: pointer; }
  .hz-nav__menu { display: contents; }
  .hz-nav__list { display: none; }
  .hz-nav.is-open .hz-nav__list { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; background: rgba(12, 7, 17, 0.98); }
  .hz-nav.is-open .hz-nav__list--left { top: 62px; padding: 44px 16px 0; }
  .hz-nav.is-open .hz-nav__list--right { top: calc(62px + 44px + 3 * 40px); padding: 0 16px 10px; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(0, 0, 0, 0.6); }
  .hz-nav__link { padding: 10px 6px; height: 40px; }
  .hz-nav__emblem { width: 64px; height: 64px; top: 12px; }
  .hz-nav__emblem img { width: 64px; height: 64px; }
  .hz-account { right: 14px; }
  .hz-account__signin span, .hz-account__name { display: none; }
  .hz-grid--home, .hz-grid--2, .hz-with-sidebar, .hz-with-sidebar--left, .hz-with-sidebar--store, .hz-admin { grid-template-columns: 1fr; }
  .hz-ctas { grid-template-columns: 1fr; }
  .hz-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hz-slider { min-height: 300px; }
  .hz-latest { grid-template-columns: 1fr; }
  .hz-skillnav { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); max-height: none; }
  .hz-admin__nav { position: static; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .hz-hero--home { min-height: 460px; }
  .hz-hero--inner { min-height: 320px; }
  .hz-brazier { display: none; }
  .hz-hero__content { padding: 54px 16px 44px; }
  .hz-btn--lg { padding: 14px 44px; font-size: 15px; }
  .hz-post { grid-template-columns: 1fr; }
  .hz-post__author { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; text-align: left; border-right: 0; border-bottom: 1px solid rgba(180, 138, 216, 0.14); padding: 12px 14px; }
  .hz-post__author .hz-avatar--lg { width: 44px; height: 44px; font-size: 14px; border-width: 2px; order: -1; }
  .hz-post__meta { display: none; }
  .hz-topic { grid-template-columns: 1fr; }
  .hz-topic > .hz-avatar, .hz-topic__stats { display: none; }
  .hz-board { grid-template-columns: 40px minmax(0, 1fr); }
  .hz-board__count { display: none; }
  .hz-board__icon { width: 38px; height: 38px; }
  .hz-downloads { grid-template-columns: 1fr; }
  .hz-skillgrid { grid-template-columns: repeat(2, 1fr); }
  .hz-features { grid-template-columns: 1fr; }
  .hz-kc { columns: 1; }
  .hz-table { font-size: 14px; }
  .hz-table th, .hz-table td { padding: 8px 6px; }
  .hz-table--hiscores th:nth-child(3), .hz-table--hiscores td:nth-child(3) { display: none; }
  .hz-footer__links { justify-content: center; }
  .hz-votesite { grid-template-columns: auto 1fr; }
  .hz-votesite > :last-child { grid-column: 1 / -1; justify-self: stretch; }
  .hz-login__form { left: 10%; right: 10%; }
  .hz-login-stage { padding-top: 24px; }
}
@media (max-width: 480px) {
  .hz-login__frame { aspect-ratio: auto; }
  .hz-login__art { display: none; }
  .hz-login__form { position: static; padding: 24px 20px; background: linear-gradient(180deg, rgba(25, 16, 33, 0.96), rgba(14, 9, 20, 0.97)); border: 1px solid var(--violet-hi); border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(217, 168, 78, 0.3), var(--shadow); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
