@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/manrope-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/manrope-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/manrope-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/manrope-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("./fonts/manrope-latin-800-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
}

:root {
  /* Brand - Electric Purple (A/B) */
  --brand-1: #0b0b12;
  --brand-2: #1d1824;
  --brand-3: #2e2542;
  --brand-4: #8a4dff;
  --brand-5: #e2d4ff;

  /* Surfaces */
  --bg: var(--brand-1);
  --bg-secondary: var(--brand-2);
  --surface: var(--brand-2);
  --border: var(--brand-3);

  /* Type */
  --ink: var(--brand-5);
  --muted: color-mix(in srgb, var(--brand-5) 52%, var(--brand-3));

  /* Accent - sparingly */
  --accent: var(--brand-4);
  --accent-hover: color-mix(in srgb, var(--brand-4) 78%, var(--brand-5));

  /* Layout */
  --nav-h: 4.75rem;
  --nav-inset: 0.85rem;
  --radius: 0.5rem;
  --radius-pill: 999px;
  --space: 1.25rem;
  --page: min(76rem, calc(100% - 3rem));
  --font: "Manrope", system-ui, sans-serif;
  --display: "Barlow Condensed", "Manrope", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

#main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  z-index: 100;
}

.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

/* -- Nav -- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background:
    linear-gradient(105deg, rgba(138, 77, 255, 0.42), rgba(46, 37, 66, 0.88) 38%, rgba(11, 11, 18, 0.92) 78%),
    rgba(13, 10, 22, 0.88);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(180, 140, 255, 0.28);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(226, 212, 255, 0.1);
}

.nav__shell {
  width: var(--page);
  margin-inline: auto;
  min-height: var(--nav-h);
  display: grid;
  /* Seiten gleich breit → Logo links, Links mittig, Login rechts (horizontal getrennt) */
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: clamp(1.5rem, 3.5vw, 3rem);
  row-gap: 0.75rem;
  padding: 0.75rem 0;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #fff;
  justify-self: start;
}

.nav__brand-logo {
  height: 2.35rem;
  width: auto;
  display: block;
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.55))
    drop-shadow(0 0 14px rgba(138, 77, 255, 0.65))
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
  transition: filter 0.18s ease, transform 0.18s ease;
}

.nav__brand:hover .nav__brand-logo {
  transform: translateY(-1px);
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.7))
    drop-shadow(0 0 18px rgba(138, 77, 255, 0.85))
    drop-shadow(0 3px 8px rgba(0, 0, 0, 0.55));
}

.nav__brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  line-height: 1;
}

.nav__brand-kicker {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav__brand-word {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
}

.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-self: center;
}

.nav__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  justify-self: end;
}

.nav__chip {
  position: relative;
  display: inline-flex;
  text-decoration: none;
  color: #efe7ff;
  isolation: isolate;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.nav__chip-face {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.45rem;
  padding: 0 1rem;
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  transform: skewX(-12deg);
  border: 1px solid rgba(196, 166, 255, 0.35);
  background: linear-gradient(135deg, rgba(138, 77, 255, 0.55), rgba(70, 40, 140, 0.72));
  box-shadow: 0 8px 20px rgba(70, 30, 140, 0.28);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.nav__chip-label,
.nav__chip-meta,
.nav__chip-icon {
  transform: skewX(12deg);
}

.nav__chip-icon {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
  opacity: 0.92;
}

.nav__chip-meta {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

.nav__chip:hover .nav__chip-face,
.nav__chip.is-active .nav__chip-face {
  color: #fff;
  background: linear-gradient(135deg, #a56bff, #7b3dff);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(226, 212, 255, 0.18), 0 10px 28px rgba(138, 77, 255, 0.45);
}

.nav__chip:hover .nav__chip-face {
  transform: skewX(-12deg) translateY(-1px);
}

.nav__chip.is-active .nav__chip-face {
  box-shadow:
    0 0 0 1px rgba(226, 212, 255, 0.28),
    0 10px 28px rgba(138, 77, 255, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.nav__chip--login .nav__chip-face {
  background: linear-gradient(135deg, #9b63ff, #6b35e8);
  border-color: rgba(255, 255, 255, 0.28);
}

.nav__chip--discord .nav__chip-face {
  background: linear-gradient(135deg, #6ea0ff, #4458f5);
  border-color: rgba(180, 205, 255, 0.35);
  box-shadow: 0 8px 20px rgba(68, 88, 245, 0.28);
}

.nav__chip--login:hover .nav__chip-face,
.nav__chip--login.is-active .nav__chip-face {
  color: #fff;
  background: linear-gradient(135deg, #b07aff, #8a4dff);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(226, 212, 255, 0.2), 0 12px 30px rgba(138, 77, 255, 0.5);
}

.nav__chip--login:hover .nav__chip-face {
  transform: skewX(-12deg) translateY(-1px);
}

.nav__chip--discord:hover .nav__chip-face {
  color: #fff;
  background: linear-gradient(135deg, #84b2ff, #5a6dff);
  border-color: rgba(210, 225, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(180, 205, 255, 0.22), 0 12px 30px rgba(68, 88, 245, 0.5);
  transform: skewX(-12deg) translateY(-1px);
}

.nav__menu {
  display: none;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(196, 166, 255, 0.35);
  background: rgba(138, 77, 255, 0.2);
  border-radius: 0.7rem;
  cursor: pointer;
}

.nav__menu span,
.nav__menu span::before,
.nav__menu span::after {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  margin-inline: auto;
  background: #fff;
  position: relative;
  border-radius: 2px;
}

.nav__menu span::before,
.nav__menu span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav__menu span::before { top: -6px; }
.nav__menu span::after { top: 6px; }

.nav__drawer {
  display: none;
  flex-direction: column;
  width: var(--page);
  margin: 0 auto;
  padding: 0.35rem 0 0.9rem;
  gap: 0.2rem;
  border-top: 1px solid rgba(180, 140, 255, 0.18);
}

.nav__drawer-link {
  text-decoration: none;
  padding: 0.85rem 0.9rem;
  border-radius: 0.7rem;
  color: #d7c9f5;
  font-weight: 560;
}

.nav__drawer-link:hover,
.nav__drawer-link.is-active {
  color: #fff;
  background: color-mix(in srgb, var(--accent) 32%, transparent);
}

.nav__drawer-login,
.nav__drawer-discord {
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  border-radius: 0.8rem;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
}

.nav__drawer-login {
  border: 0;
  cursor: pointer;
  font: inherit;
  background: linear-gradient(135deg, #9b63ff, #6b35e8);
}

.nav__drawer-discord {
  margin-top: 0.25rem;
  background: linear-gradient(135deg, #6ea0ff, #4458f5);
}

/* -- Account menu (logged in) -- */
.nav-account {
  position: relative;
  z-index: 40;
}

.nav-account__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.45rem;
  padding: 0.2rem 0.55rem 0.2rem 0.3rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  background: transparent;
  color: #f4f0ff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}

.nav-account__trigger:hover,
.nav-account.is-open .nav-account__trigger {
  background: rgba(138, 77, 255, 0.18);
  border-color: rgba(196, 166, 255, 0.28);
}

.nav-account__avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  object-fit: cover;
  background: #1a1528;
  flex: 0 0 auto;
}

.nav-account__name {
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-account__chevron {
  width: 0.95rem;
  height: 0.95rem;
  opacity: 0.7;
  flex: 0 0 auto;
  transition: transform 0.18s ease;
}

.nav-account.is-open .nav-account__chevron {
  transform: rotate(180deg);
}

.nav-account__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 13.5rem;
  padding: 0.4rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #121218;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-account__menu[hidden] {
  display: none;
}

.nav-account__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.6rem;
  color: #e8e4f2;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 560;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-account__item svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  opacity: 0.85;
}

.nav-account__item:hover,
.nav-account__item:focus-visible,
.nav-account__item.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}

.nav-account__item.is-active {
  background: rgba(138, 77, 255, 0.16);
  color: #e2d4ff;
}

.nav-account__item--danger {
  color: #e57373;
}

.nav-account__item--danger:hover,
.nav-account__item--danger:focus-visible {
  background: rgba(229, 115, 115, 0.12);
  color: #ff8a8a;
}

.nav-account__sep {
  height: 1px;
  margin: 0.25rem 0.35rem;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1080px) {
  .nav__shell {
    grid-template-columns: 1fr auto;
  }

  .nav__links { display: none; }
  .nav__menu { display: grid; place-items: center; }
  .nav__drawer:not([hidden]) { display: flex; }
}

@media (max-width: 420px) {
  .nav__brand-word { letter-spacing: 0.16em; font-size: 0.85rem; }
}

/* -- Hero (brand lockup) -- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  align-items: center;
  overflow: clip;
  background: var(--bg);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__poster,
.hero__video {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.58) brightness(0.28) contrast(1.08) hue-rotate(-4deg);
  opacity: 0.58;
  transform: scale(1.04);
  animation: heroDrift 28s ease-in-out infinite alternate;
}

.hero__poster {
  z-index: 0;
  background: center 42% / cover no-repeat url("./branding/bg.webp");
}

.hero__video {
  z-index: 1;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero__video.is-ready {
  opacity: 0.55;
}

.hero.has-video .hero__poster {
  opacity: 0;
  transition: opacity 1s ease;
}

.hero__haze {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 46% 42% at 82% 48%, rgba(138, 77, 255, 0.22), transparent 70%),
    radial-gradient(ellipse 30% 28% at 18% 70%, rgba(90, 47, 208, 0.14), transparent 72%);
  pointer-events: none;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(
      115deg,
      rgba(11, 11, 18, 0.92) 0%,
      rgba(11, 11, 18, 0.7) 34%,
      rgba(11, 11, 18, 0.22) 58%,
      rgba(11, 11, 18, 0.48) 100%
    ),
    linear-gradient(
      180deg,
      rgba(11, 11, 18, 0.45) 0%,
      rgba(11, 11, 18, 0.08) 38%,
      rgba(11, 11, 18, 0.62) 86%,
      var(--bg) 100%
    );
  pointer-events: none;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center end;
  pointer-events: none;
  overflow: hidden;
}

.hero__watermark {
  font-family: var(--display);
  font-size: clamp(6rem, 22vw, 16rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  transform: translate(6%, 8%) rotate(-6deg);
  user-select: none;
  white-space: nowrap;
  animation: watermarkIn 1.1s ease both;
}

.hero__boss {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
  animation: rise 1s ease 0.1s both;
}

.hero__boss-img {
  display: block;
  width: auto;
  /* height-led - stays proportional to type, not crushed by vw */
  height: clamp(28rem, 68vh, 38rem);
  max-width: min(34rem, 40vw);
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
}

.hero__stage {
  position: relative;
  z-index: 4;
  width: var(--page);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 34rem) minmax(12rem, 22rem);
  justify-content: center;
  align-items: center;
  gap: clamp(0.35rem, 1.2vw, 1rem);
  padding: clamp(2.2rem, 6vh, 4rem) 0 clamp(3.5rem, 9vh, 5.5rem);
}

.hero__copy {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 40rem;
  animation: rise 0.75s ease both;
}

.hero__brand {
  margin: 0 0 0.75rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  color: #d8d0e6;
  animation: rise 0.7s ease 0.05s both;
}

.hero__brand-v {
  font-family: var(--display);
  font-size: 1.35em;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent, #8a4dff);
  line-height: 1;
}

.hero__title {
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.4rem;
  line-height: 0.9;
  font-family: var(--font);
  font-size: clamp(2.6rem, 5.4vw, 4.1rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #f2edf8;
  white-space: nowrap;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
  animation: rise 0.8s ease 0.08s both;
}

.hero__title-static {
  color: #e8e2f4;
}

.hero__rotate {
  display: inline-block;
  color: var(--accent, #8a4dff);
  vertical-align: baseline;
}

.hero__rotate-viewport {
  display: inline-grid;
  overflow: hidden;
  vertical-align: baseline;
  height: 1em;
  /* locked to longest word via JS - no width tween */
}

.hero__rotate-word {
  grid-area: 1 / 1;
  display: block;
  white-space: nowrap;
  line-height: 1;
  opacity: 0;
  transform: translateY(110%);
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__rotate-word.is-active {
  opacity: 1;
  transform: translateY(0);
}

.hero__rotate-word.is-leave {
  opacity: 0;
  transform: translateY(-110%);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero__line {
  margin: 1.2rem 0 0;
  max-width: 28rem;
  color: #b3abbf;
  font-size: clamp(1.02rem, 1.7vw, 1.15rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.015em;
  animation: rise 0.85s ease 0.2s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
  animation: rise 0.9s ease 0.28s both;
}

.hero__actions .nav__chip {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.hero__visual {
  position: relative;
  justify-self: start;
  width: clamp(18rem, 28vw, 30rem);
  aspect-ratio: 400 / 420;
  margin-left: -1.25rem;
  animation: rise 1s ease 0.12s both;
}

.hero__core {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 1;
  width: 100%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.hero__mark-aura {
  position: absolute;
  width: 110%;
  height: 110%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 77, 255, 0.26) 0%, transparent 68%);
  filter: blur(10px);
  animation: auraPulse 4.8s ease-in-out infinite;
}

.hero__mark {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.55));
  animation: markFloat 5.2s ease-in-out 0.35s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero__mark,
  .hero__mark-aura {
    animation: none !important;
  }
}

.hero__floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
  z-index: 4;
  width: var(--page);
  margin-inline: auto;
  pointer-events: none;
}

.hero__floor-line {
  display: block;
  height: 1px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(138, 77, 255, 0.15) 12%,
    rgba(196, 166, 255, 0.55) 50%,
    rgba(138, 77, 255, 0.15) 88%,
    transparent 100%
  );
  transform-origin: left center;
  animation: floorDraw 1.2s ease 0.35s both;
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }

  .hero__poster {
    opacity: 0.58;
    animation: none;
  }

  .hero__mark,
  .hero__mark-aura,
  .hero__watermark,
  .hero__floor-line,
  .hero__poster {
    animation: none !important;
  }

  .hero__rotate-word {
    transition: none;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes markFloat {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes auraPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes watermarkIn {
  from { opacity: 0; transform: translate(8%, 12%) rotate(-6deg); }
  to { opacity: 1; transform: translate(6%, 8%) rotate(-6deg); }
}

@keyframes floorDraw {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes triDraw {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}

/* -- Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.35rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--brand-1);
}

.btn--primary:hover {
  background: color-mix(in srgb, var(--accent) 78%, var(--accent-hover));
}

.btn--ghost {
  border-color: var(--border);
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: color-mix(in srgb, var(--border) 55%, var(--accent));
  color: var(--accent-hover);
}

/* -- Content band -- */
.band {
  width: var(--page);
  margin: 0 auto;
  padding: 5.5rem 0 6rem;
}

.band__title,
.page__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--ink);
}

.band__lead,
.page__lead {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

.band__list {
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.75rem;
}

.band__list a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.15rem;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.band__list a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent);
}

/* -- Inner pages -- */
.page {
  width: var(--page);
  margin: 0 auto;
  padding: 4.5rem 0 5.5rem;
  min-height: calc(100vh - var(--nav-h) - 6rem);
}

.page__kicker {
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page__intro {
  max-width: 40rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

/* -- Footer -- */
.foot {
  margin-top: auto;
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.foot__inner {
  width: var(--page);
  margin: 0 auto;
  padding: 2.75rem 0 1.75rem;
}

.foot__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 3rem;
  padding-bottom: 2.25rem;
}

.foot__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.foot__heading {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.foot__col > a {
  color: #9a93a8;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.18s ease;
}

.foot__col > a:hover {
  color: #fff;
}

.foot__ext {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.foot__icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  opacity: 0.85;
}

.foot__arrow {
  margin-left: 0.15rem;
  font-size: 0.78rem;
  opacity: 0.55;
}

.foot__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(180, 140, 255, 0.12);
}

.foot__copy {
  margin: 0;
  max-width: 48rem;
  color: #7d768c;
  font-size: 0.78rem;
  line-height: 1.55;
}

.foot__social {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.foot__social a {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  color: #cfc6e0;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.foot__social a:hover {
  color: #fff;
}

.foot__social svg {
  width: 1.05rem;
  height: 1.05rem;
}

@media (max-width: 800px) {
  .foot__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .foot__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 980px) {
  .hero__stage {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    padding-left: 0;
  }

  .hero__visual {
    justify-self: center;
    width: min(100%, 20rem);
    margin-left: 0;
    margin-top: 0.35rem;
    order: -1;
  }

  .hero__watermark {
    font-size: clamp(5rem, 28vw, 10rem);
    opacity: 0.7;
  }
}

@media (max-width: 720px) {
  .hero__boss {
    display: none;
  }

  .hero__stage {
    gap: 1.25rem;
  }

  .hero__title {
    font-size: clamp(2.5rem, 10.5vw, 3.6rem);
  }

  .hero__visual {
    width: min(100%, 17.5rem);
  }

  .hero__floor {
    bottom: 4%;
  }
}

@media (max-width: 640px) {
  :root {
    --page: min(76rem, calc(100% - 1.75rem));
  }

  .hero__stage {
    padding: 1.75rem 0 3rem;
  }

  .band {
    padding: 3.5rem 0 4.5rem;
  }
}

/* -- Login modal -- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 1.25rem;
}

.modal.is-open {
  display: grid;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 45%, rgba(138, 77, 255, 0.22), transparent 70%),
    rgba(4, 3, 10, 0.78);
  backdrop-filter: blur(12px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: min(26rem, 100%);
  padding: 2.4rem 1.7rem 2rem;
  border: 1px solid rgba(196, 166, 255, 0.38);
  border-radius: 1.25rem;
  background:
    linear-gradient(145deg, rgba(138, 77, 255, 0.38) 0%, rgba(46, 37, 66, 0.55) 28%, rgba(14, 11, 24, 0.98) 62%),
    #0d0b14;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(138, 77, 255, 0.12),
    inset 0 1px 0 rgba(226, 212, 255, 0.16);
  animation: modalIn 0.32s ease both;
}

.modal__panel--art {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(34rem, calc(100vw - 2rem));
  aspect-ratio: 1 / 1;
  max-height: min(34rem, calc(100vh - 2.5rem));
  padding: 0;
}

.modal__panel--art .modal__close {
  top: 0.75rem;
  right: 0.75rem;
}

.modal__art {
  position: relative;
  overflow: hidden;
  background: #050508;
  min-height: 100%;
}

.modal__art .page-banner__poster,
.modal__art .page-banner__video {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  object-fit: cover;
  object-position: center 55%;
  filter: saturate(0.78) brightness(0.46) contrast(1.06);
}

.modal__art .page-banner__haze,
.modal__art .page-banner__veil {
  z-index: 2;
}

.modal__art .page-banner__veil {
  z-index: 3;
}

.modal__art-label {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 28px rgba(138, 77, 255, 0.35);
  pointer-events: none;
}

.modal__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem 1.45rem;
  background:
    linear-gradient(160deg, rgba(138, 77, 255, 0.28) 0%, rgba(29, 24, 36, 0.55) 30%, rgba(13, 11, 20, 0.98) 70%),
    #0d0b14;
}

.modal__content .modal__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 55%;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(138, 77, 255, 0.4), transparent 65%),
    radial-gradient(ellipse at 80% 60%, rgba(68, 88, 245, 0.16), transparent 55%);
  pointer-events: none;
}

.modal__content .modal__scan {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 70%);
  transform: skewY(-8deg);
  pointer-events: none;
  opacity: 0.45;
}

.modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(196, 166, 255, 0.35);
  border-radius: 0.65rem;
  background: rgba(11, 11, 18, 0.45);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.modal__close:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: color-mix(in srgb, var(--accent) 28%, transparent);
}

.modal__brand {
  position: relative;
  z-index: 1;
  text-align: center;
}

.modal__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 0.38rem 0.8rem;
  transform: skewX(-12deg);
  border: 1px solid rgba(196, 166, 255, 0.4);
  background: linear-gradient(135deg, rgba(138, 77, 255, 0.35), rgba(70, 40, 140, 0.45));
  color: #efe7ff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(70, 30, 140, 0.25);
}

.modal__eyebrow > span {
  display: inline-block;
  transform: skewX(12deg);
}

.modal__title {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.85rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: none;
  color: #fff;
  line-height: 1.05;
  text-shadow: 0 0 24px rgba(138, 77, 255, 0.35);
}

.modal__rule {
  width: min(9.5rem, 52%);
  height: 2px;
  margin: 0.85rem auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(138, 77, 255, 0.25) 20%,
    #8a4dff 50%,
    rgba(138, 77, 255, 0.25) 80%,
    transparent
  );
  box-shadow: 0 0 16px rgba(138, 77, 255, 0.45);
}

.modal__help {
  margin: 1.05rem auto 0;
  max-width: 15.5rem;
  padding: 0.85rem 0.95rem;
  border-left: 2px solid #8a4dff;
  background: linear-gradient(90deg, rgba(138, 77, 255, 0.14), rgba(138, 77, 255, 0.02));
  border-radius: 0 0.65rem 0.65rem 0;
  color: #c5becf;
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: left;
}

.modal__help-hi {
  color: #fff;
  font-weight: 700;
}

.modal__help-ucp {
  color: #c4a6ff;
  font-weight: 700;
}

.modal__actions {
  position: relative;
  z-index: 1;
  margin-top: 1.45rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal__cta {
  width: 100%;
  justify-content: center;
  filter: drop-shadow(0 10px 22px rgba(138, 77, 255, 0.28));
}

.modal__cta .nav__chip-face {
  width: 100%;
  justify-content: center;
  min-height: 2.85rem;
  padding-inline: 1rem;
  font-size: 0.92rem;
}

.modal__dev-hint {
  margin: 0.55rem 0 0;
  color: #8f879d;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* -- Profile -- */
.profile-page {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

.profile {
  width: min(56rem, var(--page));
  margin: 1.5rem auto 3.5rem;
}

.profile__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.profile__identity {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.profile__avatar {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(196, 166, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(138, 77, 255, 0.12);
  background: #1a1524;
}

.profile__hello {
  margin: 0;
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}

.profile__wave {
  display: inline-block;
  transform-origin: 70% 70%;
}

@media (prefers-reduced-motion: no-preference) {
  .profile__wave {
    animation: profile-wave 1.6s ease-in-out 0.4s 2;
  }
}

@keyframes profile-wave {
  0%,
  100% { transform: rotate(0deg); }
  20% { transform: rotate(16deg); }
  40% { transform: rotate(-8deg); }
  60% { transform: rotate(12deg); }
  80% { transform: rotate(-4deg); }
}

.profile__sub {
  margin: 0.3rem 0 0;
  color: #9a93a8;
  font-size: 0.95rem;
}

.profile__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.profile__logout {
  margin: 0;
}

.profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.45rem;
  padding: 0 0.95rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(180, 140, 255, 0.2);
  background: rgba(24, 20, 34, 0.95);
  color: #e8e2f4;
  text-decoration: none;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.profile-btn__icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  opacity: 0.9;
}

.profile-btn:hover {
  border-color: rgba(196, 166, 255, 0.4);
  color: #fff;
  background: rgba(36, 28, 52, 0.98);
}

.profile-btn--danger {
  color: #ff8fa0;
  border-color: rgba(220, 70, 90, 0.28);
}

.profile-btn--danger:hover {
  color: #ffb3bd;
  border-color: rgba(220, 70, 90, 0.5);
  background: rgba(42, 16, 24, 0.95);
}

.profile__tabs {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.25rem;
  border-top: 1px solid rgba(180, 140, 255, 0.14);
  border-bottom: 1px solid rgba(180, 140, 255, 0.14);
}

.profile__tab {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0 0.95rem;
  text-decoration: none;
  color: #b7b0c4;
  font-weight: 650;
  font-size: 0.92rem;
}

.profile__tab-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  opacity: 0.85;
}

.profile__tab:hover {
  color: #fff;
}

.profile__tab:hover .profile__tab-icon {
  opacity: 1;
}

.profile__tab.is-active {
  color: #c4a6ff;
}

.profile__tab.is-active .profile__tab-icon {
  opacity: 1;
}

.profile__tab.is-active::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: #8a4dff;
  box-shadow: 0 0 12px rgba(138, 77, 255, 0.45);
}

.profile__body {
  min-height: 18rem;
  padding: 2rem 0 1rem;
}

.profile-empty {
  min-height: 14rem;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.75rem;
  text-align: center;
}

.profile-empty__icon {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(180, 140, 255, 0.16);
  background: rgba(20, 16, 30, 0.7);
  color: #7d768c;
}

.profile-empty__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.profile-empty__text {
  margin: 0;
  color: #8f879d;
  font-size: 0.95rem;
}

.profile-chars {
  display: grid;
  gap: 0.85rem;
}

.profile-char {
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(180, 140, 255, 0.18);
  border-radius: 1rem;
  background: rgba(16, 13, 24, 0.92);
}

.profile-char__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.profile-char__name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 750;
  color: #fff;
}

.profile-char__meta {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.profile-char__meta dt {
  margin: 0;
  color: #8f879d;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-char__meta dd {
  margin: 0.3rem 0 0;
  color: #fff;
  font-weight: 650;
  font-size: 0.95rem;
}

@media (max-width: 800px) {
  .profile-char__meta {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .profile-char__meta {
    grid-template-columns: 1fr;
  }
}

/* -- Settings cards -- */
.settings-page,
.login-page {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

.settings {
  width: min(52rem, var(--page));
  margin: 1.5rem auto 3.5rem;
  display: grid;
  gap: 0.9rem;
}

.login-panel {
  width: min(32rem, var(--page));
  margin: 2rem auto 3.5rem;
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(180, 140, 255, 0.16);
  background: rgba(16, 13, 24, 0.92);
  text-align: center;
}

.login-panel__text {
  margin: 0;
  color: #9a93a8;
  font-size: 0.95rem;
  line-height: 1.55;
}

.login-panel__actions {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.settings__hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.settings__hero--plain {
  display: block;
}

.settings__back {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: 0.35rem;
  width: fit-content;
  color: #c4a6ff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.settings__back svg {
  width: 1.05rem;
  height: 1.05rem;
}

.settings__back:hover {
  color: #fff;
}

.settings__title--solo {
  margin-top: 0;
}

.settings__avatar {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 1.1rem;
  object-fit: cover;
  border: 1px solid rgba(196, 166, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(138, 77, 255, 0.16), 0 12px 28px rgba(0, 0, 0, 0.35);
  background: #1a1524;
}

.settings__kicker {
  margin: 0;
  color: #c4a6ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.settings__title {
  margin: 0.25rem 0 0;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.15;
}

.settings__title span {
  color: #c4a6ff;
}

.settings__lead {
  margin: 0.4rem 0 0;
  color: #9a93a8;
  font-size: 0.92rem;
}

.settings-card {
  padding: 1.15rem 1.15rem 1.2rem;
  border: 1px solid rgba(180, 140, 255, 0.18);
  border-radius: 1rem;
  background: rgba(16, 13, 24, 0.92);
  box-shadow: inset 0 1px 0 rgba(226, 212, 255, 0.04);
}

.settings-card--danger {
  border-color: rgba(220, 70, 90, 0.35);
  background: rgba(28, 12, 18, 0.88);
}

.settings-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}

.settings-card__icon {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.65rem;
  background: rgba(138, 77, 255, 0.16);
  color: #c4a6ff;
  font-weight: 800;
  flex: 0 0 auto;
}

.settings-card__icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.settings-card__icon--danger {
  background: rgba(220, 70, 90, 0.16);
  color: #ff8fa0;
}

.settings-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 750;
  color: #fff;
}

.settings-card__desc {
  margin: 0.3rem 0 0;
  color: #9a93a8;
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 42rem;
}

.settings-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.settings-grid {
  display: grid;
  gap: 0.7rem;
}

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

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

.settings-box {
  padding: 0.85rem 0.9rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(180, 140, 255, 0.12);
  background: rgba(10, 9, 16, 0.72);
}

.settings-box--state {
  background: linear-gradient(145deg, rgba(68, 88, 245, 0.14), rgba(10, 9, 16, 0.82));
}

.settings-box--crime {
  background: linear-gradient(145deg, rgba(138, 77, 255, 0.16), rgba(10, 9, 16, 0.82));
}

.settings-box__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.settings-box__label {
  margin: 0.35rem 0 0;
  color: #8f879d;
  font-size: 0.78rem;
  font-weight: 650;
}

.settings-box__tag {
  color: #c4a6ff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.settings-box__value {
  margin: 0.35rem 0 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 750;
}

.settings-box > .settings-box__label:first-child {
  margin-top: 0;
}

.settings-box__value--wrap {
  font-size: 0.98rem;
  line-height: 1.3;
}

.settings-box__value--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
  font-weight: 650;
  word-break: break-all;
}

.settings-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 166, 255, 0.22);
  background: rgba(11, 11, 18, 0.45);
  color: #b7b0c4;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.settings-pill.is-on {
  color: #d9ffe8;
  border-color: rgba(80, 220, 150, 0.35);
  background: rgba(40, 160, 100, 0.18);
}

.settings-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0 1.05rem;
  border: 0;
  border-radius: 0.7rem;
  background: linear-gradient(135deg, #9b63ff, #6b35e8);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.settings-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.settings-btn--danger {
  background: linear-gradient(135deg, #c4455a, #8e2436);
}

.settings-btn--ghost {
  background: transparent;
  border: 1px solid rgba(196, 166, 255, 0.28);
  color: #ddd2ff;
}

.settings-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.settings__logout {
  margin-top: 0.35rem;
}

@media (max-width: 900px) {
  .settings-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .settings__hero {
    align-items: flex-start;
  }

  .settings-grid--2,
  .settings-grid--4 {
    grid-template-columns: 1fr;
  }
}

body.is-modal-open {
  overflow: hidden;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .modal__panel--art {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    aspect-ratio: auto;
    width: min(22rem, calc(100vw - 1.5rem));
    max-height: calc(100vh - 2rem);
  }

  .modal__art {
    order: -1;
    min-height: 11rem;
    max-height: 12.5rem;
  }

  .modal__content {
    padding: 1.25rem 1.2rem 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal__panel {
    animation: none;
  }
}

/* -- Page banner (compact) -- */
.page-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(12.6rem, 26.4vw, 17.4rem);
  display: grid;
  place-items: center;
  border-bottom: 0;
}

.page-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: center 55% / cover no-repeat url("./branding/bg.webp");
  /* Soft dissolve into page background - no hard edge */
  -webkit-mask-image:
    linear-gradient(180deg, #000 0%, #000 48%, rgba(0, 0, 0, 0.85) 68%, rgba(0, 0, 0, 0.35) 84%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, #000 0%, #000 48%, rgba(0, 0, 0, 0.85) 68%, rgba(0, 0, 0, 0.35) 84%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
}

.page-banner__poster,
.page-banner__video {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  object-fit: cover;
  object-position: center 55%;
  filter: saturate(0.55) brightness(0.26) contrast(1.05) hue-rotate(-6deg);
  opacity: 0.55;
}

.page-banner__grade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(70, 40, 140, 0.14), rgba(138, 77, 255, 0.06) 45%, rgba(11, 11, 18, 0.28)),
    color-mix(in srgb, var(--accent) 10%, transparent);
  mix-blend-mode: soft-light;
}

.page-banner__poster {
  z-index: 0;
}

.page-banner__video {
  z-index: 1;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.page-banner__video.is-ready {
  opacity: 0.52;
}

.page-banner.has-video .page-banner__poster {
  opacity: 0;
  transition: opacity 1s ease;
}

@media (prefers-reduced-motion: reduce) {
  .page-banner__video {
    display: none;
  }

  .page-banner__poster {
    opacity: 0.55;
  }
}

.page-banner__haze {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 38% 48% at 50% 42%, rgba(138, 77, 255, 0.08), transparent 72%);
  pointer-events: none;
}

.page-banner__veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    /* Soft center - keep media as a hint, not the hero */
    radial-gradient(
      ellipse 42% 58% at 50% 40%,
      rgba(11, 11, 18, 0.35) 0%,
      rgba(11, 11, 18, 0.55) 42%,
      rgba(11, 11, 18, 0.82) 72%,
      rgba(11, 11, 18, 0.96) 100%
    ),
    /* Harder left / right black frame */
    linear-gradient(
      90deg,
      #0b0b12 0%,
      rgba(11, 11, 18, 0.98) 6%,
      rgba(11, 11, 18, 0.78) 14%,
      rgba(11, 11, 18, 0.4) 24%,
      rgba(11, 11, 18, 0.18) 34%,
      rgba(11, 11, 18, 0.18) 66%,
      rgba(11, 11, 18, 0.4) 76%,
      rgba(11, 11, 18, 0.78) 86%,
      rgba(11, 11, 18, 0.98) 94%,
      #0b0b12 100%
    ),
    /* Soft top into nav + bottom fade */
    linear-gradient(
      180deg,
      rgba(11, 11, 18, 0.72) 0%,
      rgba(11, 11, 18, 0.28) 16%,
      rgba(11, 11, 18, 0.15) 40%,
      rgba(11, 11, 18, 0.55) 78%,
      #0b0b12 100%
    );
  pointer-events: none;
}

.page-banner__stage {
  position: relative;
  z-index: 1;
  width: min(var(--page), calc(100% - 2.5rem));
  margin-inline: auto;
  padding: clamp(2.4rem, 5vw, 3.4rem) 0 clamp(2.6rem, 5.5vw, 3.6rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.page-banner__heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.page-banner__title {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  text-transform: none;
  text-shadow: none;
}

.page-banner__icon {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  color: var(--accent, #8a4dff);
  flex-shrink: 0;
  transform: translateY(0.08rem);
}

.page-banner__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.page-banner__lead {
  margin: 0.7rem 0 0;
  max-width: 38rem;
  color: #9a93a8;
  font-size: clamp(0.92rem, 1.5vw, 1.02rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* -- Team hero (distinct lockup) -- */
.team-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(13.5rem, 28vw, 18rem);
  display: grid;
  place-items: center;
}

.team-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: center 48% / cover no-repeat url("./branding/bg.webp");
  -webkit-mask-image:
    linear-gradient(180deg, #000 0%, #000 45%, rgba(0, 0, 0, 0.75) 70%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, #000 0%, #000 45%, rgba(0, 0, 0, 0.75) 70%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-composite: intersect;
}

.team-hero__media .page-banner__poster,
.team-hero__media .page-banner__video {
  filter: saturate(0.55) brightness(0.26) contrast(1.05) hue-rotate(-6deg);
  opacity: 0.55;
}

.team-hero.has-video .page-banner__video.is-ready {
  opacity: 0.52;
}

.team-hero__grade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 40% 50% at 50% 40%, rgba(138, 77, 255, 0.08), transparent 70%),
    color-mix(in srgb, var(--accent) 10%, transparent);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.team-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(
      ellipse 42% 58% at 50% 40%,
      rgba(11, 11, 18, 0.35) 0%,
      rgba(11, 11, 18, 0.55) 42%,
      rgba(11, 11, 18, 0.82) 72%,
      rgba(11, 11, 18, 0.96) 100%
    ),
    linear-gradient(
      90deg,
      #0b0b12 0%,
      rgba(11, 11, 18, 0.98) 6%,
      rgba(11, 11, 18, 0.78) 14%,
      rgba(11, 11, 18, 0.4) 24%,
      rgba(11, 11, 18, 0.18) 34%,
      rgba(11, 11, 18, 0.18) 66%,
      rgba(11, 11, 18, 0.4) 76%,
      rgba(11, 11, 18, 0.78) 86%,
      rgba(11, 11, 18, 0.98) 94%,
      #0b0b12 100%
    ),
    linear-gradient(
      180deg,
      rgba(11, 11, 18, 0.72) 0%,
      rgba(11, 11, 18, 0.28) 16%,
      rgba(11, 11, 18, 0.15) 40%,
      rgba(11, 11, 18, 0.55) 78%,
      #0b0b12 100%
    );
  pointer-events: none;
}

.team-hero__stage {
  position: relative;
  z-index: 4;
  width: min(var(--page), calc(100% - 2.5rem));
  margin-inline: auto;
  padding: clamp(2.4rem, 5vw, 3.4rem) 0 clamp(2.6rem, 5.5vw, 3.6rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.team-hero__heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.team-hero__title {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: none;
  color: #fff;
  line-height: 1.05;
  text-shadow: none;
}

.team-hero__icon {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  color: var(--accent, #8a4dff);
  flex-shrink: 0;
  transform: translateY(0.08rem);
}

.team-hero__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.team-hero__lead {
  margin: 0.7rem 0 0;
  max-width: 40rem;
  color: #9a93a8;
  font-size: clamp(0.92rem, 1.5vw, 1.02rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.team-hero.has-video .page-banner__poster {
  opacity: 0;
  transition: opacity 1s ease;
}

/* -- Team roster -- */
.team-page {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

.team {
  width: var(--page);
  margin: 0 auto;
  padding: 2.5rem 0 3.75rem;
  display: grid;
  gap: 2.4rem;
}

.team-group__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid color-mix(in srgb, var(--rank, var(--accent)) 28%, rgba(180, 140, 255, 0.1));
}

.team-group__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--rank, var(--accent));
  box-shadow: 0 0 14px var(--rank, var(--accent));
  flex: 0 0 auto;
}

.team-group__title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rank, #c4a6ff);
}

.team-group__count {
  margin-left: auto;
  color: #7d768c;
  font-size: 0.78rem;
  font-weight: 650;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 0.95rem;
}

.team-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1.35rem 1rem 1.2rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(180, 140, 255, 0.14);
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, var(--rank-soft, rgba(138, 77, 255, 0.18)), transparent 62%),
    rgba(14, 12, 22, 0.96);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.team-card__accent {
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 2px;
  border-radius: 999px;
  background: var(--rank, var(--accent));
  box-shadow: 0 0 12px var(--rank, var(--accent));
  opacity: 0.9;
}

.team-card:hover {
  border-color: color-mix(in srgb, var(--rank, var(--accent)) 55%, rgba(180, 140, 255, 0.2));
  transform: translateY(-3px);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.32),
    0 0 0 1px color-mix(in srgb, var(--rank, var(--accent)) 18%, transparent);
}

.team-card__avatar {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0.15rem 0 0.55rem;
  border-radius: 999px;
  object-fit: cover;
  background: #1a1524;
  border: 2px solid color-mix(in srgb, var(--rank, #8a4dff) 70%, #fff 8%);
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--rank, #8a4dff) 18%, transparent),
    0 8px 20px rgba(0, 0, 0, 0.35);
}

.team-card__name {
  margin: 0;
  max-width: 100%;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-card__role {
  margin: 0;
  max-width: 100%;
  color: #9a93a8;
  font-size: 0.8rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-card__presence {
  margin-top: 0.45rem;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7d768c;
}

.team-card__presence.is-online {
  color: #5fd1a0;
}

@media (max-width: 560px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .team-card {
    padding: 1.1rem 0.7rem 1rem;
  }

  .team-card__avatar {
    width: 3.75rem;
    height: 3.75rem;
  }
}

/* -- UCP Tickets -- */
.tickets {
  display: grid;
  gap: 1.1rem;
}

.tickets__toolbar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.tickets__toolbar--list {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.tickets__back {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin-bottom: 0.35rem;
  color: #c4a6ff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.tickets__back svg {
  width: 1.05rem;
  height: 1.05rem;
}

.tickets__back:hover {
  color: #fff;
}

.tickets__heading {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.tickets__sub {
  margin: 0.2rem 0 0;
  color: #8f879d;
  font-size: 0.88rem;
}

.tickets__toolbar-main {
  display: grid;
  gap: 0.35rem;
  width: 100%;
}

.tickets__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tickets__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  color: #8f879d;
  font-size: 0.82rem;
}

.tickets__error {
  margin: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(220, 70, 90, 0.35);
  background: rgba(42, 16, 24, 0.7);
  color: #ff8fa0;
  font-size: 0.9rem;
}

.tickets__closed-note {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px dashed rgba(180, 140, 255, 0.2);
  color: #8f879d;
  font-size: 0.9rem;
  text-align: center;
}

.tickets-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.ticket-row {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(180, 140, 255, 0.12);
  background: rgba(16, 13, 24, 0.92);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.ticket-row:hover {
  border-color: rgba(138, 77, 255, 0.35);
  background:
    linear-gradient(90deg, rgba(138, 77, 255, 0.1), transparent 42%),
    rgba(16, 13, 24, 0.95);
}

.ticket-row__icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.65rem;
  display: grid;
  place-items: center;
  background: rgba(138, 77, 255, 0.14);
  color: #c4a6ff;
  flex: 0 0 auto;
}

.ticket-row__icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.ticket-row__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ticket-row__title {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 750;
}

.ticket-row__desc {
  margin: 0.2rem 0 0;
  color: #9a93a8;
  font-size: 0.82rem;
  line-height: 1.4;
}

.tickets-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.4rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  flex: 0 0 auto;
}

.tickets-status--open {
  color: #d4c0ff;
  background: rgba(138, 77, 255, 0.2);
}

.tickets-status--pending {
  color: #f5c542;
  background: rgba(245, 197, 66, 0.14);
}

.tickets-status--answered {
  color: #5fd1a0;
  background: rgba(95, 209, 160, 0.14);
}

.tickets-status--closed {
  color: #8f879d;
  background: rgba(255, 255, 255, 0.06);
}

.tickets-empty {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding: 2rem 1rem;
  text-align: center;
}

.tickets-empty__text {
  margin: 0;
  color: #9a93a8;
  font-size: 0.92rem;
}

.tickets-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem;
  border-radius: 1.05rem;
  border: 1px solid rgba(180, 140, 255, 0.16);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(138, 77, 255, 0.12), transparent 55%),
    rgba(14, 12, 22, 0.96);
}

.tickets-form__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0.85rem;
}

.tickets-form__actions {
  display: flex;
  justify-content: flex-end;
}

.tickets-field {
  display: grid;
  gap: 0.4rem;
}

.tickets-field > span {
  color: #9a93a8;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tickets-field input,
.tickets-field select,
.tickets-field textarea,
.tickets-composer textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(180, 140, 255, 0.2);
  background: rgba(8, 7, 14, 0.9);
  color: #efe7ff;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.8rem 0.9rem;
  outline: none;
}

.tickets-field textarea {
  resize: vertical;
  min-height: 8rem;
  line-height: 1.55;
}

.tickets-field input:focus,
.tickets-field select:focus,
.tickets-field textarea:focus,
.tickets-composer textarea:focus {
  border-color: rgba(196, 166, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(138, 77, 255, 0.18);
}

.tickets-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.55rem;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, #a56bff, #6b35e8);
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  cursor: pointer;
  width: fit-content;
  box-shadow: 0 8px 20px rgba(107, 53, 232, 0.28);
}

.tickets-btn svg {
  width: 0.95rem;
  height: 0.95rem;
}

.tickets-btn:hover {
  filter: brightness(1.06);
}

.tickets-thread {
  display: grid;
  gap: 0.85rem;
  padding: 0.25rem 0.15rem;
}

.tickets-msg {
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
}

.tickets-msg--you {
  direction: ltr;
}

.tickets-msg__avatar {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: rgba(138, 77, 255, 0.35);
  object-fit: cover;
  flex-shrink: 0;
}

.tickets-msg__avatar--img {
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: rgba(20, 16, 28, 0.9);
}

.tickets-msg--staff .tickets-msg__avatar {
  background: linear-gradient(135deg, #8a4dff, #5a2fd0);
  border-color: color-mix(in srgb, var(--msg-rank, #8a4dff) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--msg-rank, #8a4dff) 35%, transparent);
}

.tickets-msg--you .tickets-msg__avatar {
  background: rgba(255, 255, 255, 0.1);
  color: #cfc6e0;
}

.tickets-msg__bubble {
  padding: 0.85rem 0.95rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(180, 140, 255, 0.12);
  background: rgba(16, 13, 24, 0.92);
}

.tickets-msg--staff .tickets-msg__bubble {
  border-color: color-mix(in srgb, var(--msg-rank, #8a4dff) 42%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--msg-rank, #8a4dff) 18%, transparent), transparent 60%),
    rgba(16, 13, 24, 0.95);
}

.tickets-msg__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  color: #c4a6ff;
  font-size: 0.84rem;
}

.tickets-msg__who {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  min-width: 0;
}

.tickets-msg__name {
  color: #e8e2f4;
  font-weight: 700;
  line-height: 1.2;
}

.tickets-msg--staff .tickets-msg__name {
  color: var(--msg-rank, #c4a6ff);
}

.tickets-msg--you .tickets-msg__name {
  color: #c4a6ff;
}

.tickets-msg__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #fff;
  background: color-mix(in srgb, var(--msg-rank, #8a4dff) 82%, #1a1228);
  border: 1px solid color-mix(in srgb, var(--msg-rank, #8a4dff) 55%, transparent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.tickets-msg__head time {
  color: #7d768c;
  font-size: 0.74rem;
  flex-shrink: 0;
  padding-top: 0.1rem;
}

.tickets-msg__body {
  margin: 0;
  color: #e8e2f4;
  font-size: 0.93rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.tickets-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: end;
  padding: 0.85rem;
  border-radius: 1rem;
  border: 1px solid rgba(180, 140, 255, 0.18);
  background: rgba(14, 12, 22, 0.96);
}

.tickets-composer textarea {
  min-height: 3.4rem;
  resize: vertical;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .tickets-form__grid {
    grid-template-columns: 1fr;
  }

  .tickets-composer {
    grid-template-columns: 1fr;
  }

  .tickets-composer .tickets-btn {
    width: 100%;
  }
}

/* -- UCP Achievements (numbered list) -- */
.achievements {
  display: grid;
  gap: 1rem;
}

.achievements__toolbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.achievements__heading {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 750;
}

.achievements__progress {
  margin: 0;
  color: #8f879d;
  font-size: 0.88rem;
}

.achievements__progress span {
  color: #c4a6ff;
  font-weight: 750;
}

.achievements-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  counter-reset: none;
}

.ach-row {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(180, 140, 255, 0.12);
  background: rgba(16, 13, 24, 0.92);
}

.ach-row.is-locked {
  opacity: 0.5;
}

.ach-row.is-unlocked {
  border-color: rgba(138, 77, 255, 0.28);
  background:
    linear-gradient(90deg, rgba(138, 77, 255, 0.1), transparent 42%),
    rgba(16, 13, 24, 0.95);
}

.ach-row__icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.65rem;
  display: grid;
  place-items: center;
  background: rgba(138, 77, 255, 0.14);
  color: #c4a6ff;
}

.ach-row.is-locked .ach-row__icon {
  background: rgba(255, 255, 255, 0.05);
  color: #7d768c;
}

.ach-row__icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.ach-row__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ach-row__title {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 750;
}

.ach-row__desc {
  margin: 0.2rem 0 0;
  color: #9a93a8;
  font-size: 0.82rem;
  line-height: 1.4;
}

.ach-row__state {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7d768c;
  white-space: nowrap;
}

.ach-row.is-unlocked .ach-row__state {
  color: #5fd1a0;
}

/* Home about */
.home-about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid rgba(180, 140, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(18, 14, 28, 0.98) 0%, #0b0b12 42%, #0b0b12 100%);
}

.home-about__glow {
  position: absolute;
  inset: auto -10% -35% 35%;
  height: 70%;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(138, 77, 255, 0.22), transparent 62%),
    radial-gradient(ellipse at 30% 80%, rgba(68, 88, 245, 0.1), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.home-about__inner {
  position: relative;
  z-index: 1;
  width: var(--page);
  margin: 0 auto;
  padding: clamp(3rem, 6.5vw, 5rem) 0 clamp(3.6rem, 7vw, 5.75rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.9rem, 4.5vw, 3.5rem);
  align-items: center;
}

.home-about__copy {
  display: grid;
  gap: 0.85rem;
  max-width: 36rem;
}

.home-about__kicker {
  margin: 0;
  color: rgba(180, 170, 200, 0.58);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-about__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.02;
  text-shadow: 0 0 40px rgba(138, 77, 255, 0.12);
}

.home-about__rule {
  width: 3.25rem;
  height: 2px;
  margin: 0.15rem 0 0.2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #9b5cff, rgba(109, 53, 232, 0.15));
}

.home-about__text {
  margin: 0;
  color: rgba(198, 190, 214, 0.78);
  font-size: 0.98rem;
  line-height: 1.65;
  font-weight: 500;
}

.home-about__text--lead {
  color: rgba(232, 226, 244, 0.92);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.55;
}

.home-about__media {
  min-width: 0;
  position: relative;
}

.home-about__media::before {
  content: \"\";
  position: absolute;
  inset: 12% -8% -10% 18%;
  border-radius: 1.4rem;
  background: radial-gradient(ellipse at center, rgba(138, 77, 255, 0.28), transparent 70%);
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
}

.home-about__frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 1.05rem;
  border: 1px solid rgba(180, 140, 255, 0.22);
  background: #09080f;
  aspect-ratio: 16 / 11;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(138, 77, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-about__frame:hover {
  transform: translateY(-3px);
  border-color: rgba(180, 140, 255, 0.36);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(138, 77, 255, 0.14),
    0 0 36px rgba(109, 53, 232, 0.16);
}

.home-about__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

.home-about__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(138, 77, 255, 0.12), transparent 42%),
    linear-gradient(180deg, transparent 48%, rgba(11, 11, 18, 0.45));
}

.home-about__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.3rem 0.6rem;
  border-radius: 0.45rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(145, 70, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 20px rgba(109, 53, 232, 0.28);
}

@media (max-width: 900px) {
  .home-about__inner {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .home-about__media {
    order: -1;
  }

  .home-about__frame {
    aspect-ratio: 16 / 10;
  }

  .home-about__copy {
    max-width: none;
  }

  .home-about__glow {
    inset: auto -20% -20% -20%;
  }
}



/* Ankuendigung - plain text list */
.an-list {
  display: grid;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(12, 10, 18, 0.72);
}

.an-item {
  display: grid;
  gap: 0.45rem;
  padding: 1.35rem 1.4rem 1.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.an-item:last-child {
  border-bottom: 0;
}

.an-item__label {
  color: rgba(180, 170, 200, 0.55);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.an-item__title {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.an-item__text {
  margin: 0;
  max-width: 48rem;
  color: rgba(198, 190, 214, 0.78);
  font-size: 0.95rem;
  line-height: 1.55;
}



/* Home close CTA */
.home-close {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4.5rem, 10vw, 7.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.home-close__glow {
  position: absolute;
  inset: -20% 10% auto;
  height: 70%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 35% 55%, rgba(138, 77, 255, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 70% 40%, rgba(90, 40, 160, 0.12) 0%, transparent 72%);
  filter: blur(8px);
}

.home-close__inner {
  position: relative;
  z-index: 1;
  width: var(--page);
  margin-inline: auto;
  display: grid;
  gap: 1.6rem;
  justify-items: start;
}

.home-close__kicker {
  margin: 0;
  color: color-mix(in srgb, var(--accent) 82%, #fff);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-close__title {
  margin: 0;
  display: grid;
  gap: 0.05em;
  font-family: var(--display);
  font-size: clamp(3.2rem, 9vw, 6.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.home-close__line {
  color: #fff;
}

.home-close__line--mute {
  color: rgba(198, 190, 214, 0.42);
}

.home-close__line--accent {
  color: var(--accent);
}

.home-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.55rem;
}

.home-close__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.home-close__btn--primary {
  background: var(--accent);
  color: #0b0b12;
}

.home-close__btn--primary:hover {
  background: color-mix(in srgb, var(--accent) 78%, #fff);
  transform: translateY(-1px);
}

.home-close__btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: transparent;
}

.home-close__btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.home-close__arrow {
  font-size: 0.95em;
  line-height: 1;
}

@media (max-width: 640px) {
  .home-close__actions {
    width: 100%;
  }

  .home-close__btn {
    justify-content: center;
    flex: 1 1 12rem;
  }
}



/* Home close CTA - match li-city + hero actions */
.home-close {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0b0b12;
}
.home-close__glow {
  position: absolute;
  inset: -30% 20% auto -10%;
  height: 85%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 30% 40%, rgba(109, 53, 232, 0.14) 0%, transparent 72%);
}
.home-close__inner {
  position: relative;
  z-index: 1;
  width: var(--page);
  margin: 0 auto;
  padding: clamp(2.75rem, 5.5vw, 4.25rem) 0 clamp(3.1rem, 6vw, 4.75rem);
  display: grid;
  gap: 1.4rem;
}
.home-close__copy { display: grid; gap: 0.35rem; max-width: 36rem; }
.home-close__kicker {
  margin: 0; color: #c4a6ff; font-size: 0.7rem; font-weight: 750;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.home-close__title {
  margin: 0; font-family: var(--display, inherit);
  font-size: clamp(2rem, 4vw, 2.85rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1; color: #fff;
}
.home-close__lead {
  margin: 0.2rem 0 0; color: rgba(198, 190, 214, 0.68);
  font-size: 0.92rem; line-height: 1.5; font-weight: 500;
}
.home-close__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem;
}

/* Lifeinvader counts */
.li-shot__meta { display: grid; gap: 0.28rem; min-width: 0; }
.li-shot__caption {
  margin: 0; color: rgba(230, 224, 242, 0.78); font-size: 0.72rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.li-shot.is-feature .li-shot__caption { font-size: 0.84rem; -webkit-line-clamp: 3; max-width: 36rem; }
.li-shot__stats { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem 0.75rem; margin-top: 0.1rem; }
.li-shot__stat { display: inline-flex; align-items: center; gap: 0.28rem; color: rgba(236, 230, 248, 0.88); font-size: 0.7rem; font-weight: 700; }
.li-shot.is-feature .li-shot__stat { font-size: 0.78rem; }
.li-shot__ico { width: 0.85rem; height: 0.85rem; opacity: 0.9; flex: 0 0 auto; }
.li-shot.is-feature .li-shot__ico { width: 0.95rem; height: 0.95rem; }

/* recovered-section:updates */
/* Home updates / Neuigkeiten */
.home-updates {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0b0b12;
}

.home-updates__inner {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(2.75rem, 5.5vw, 4.25rem) 0;
  display: grid;
  gap: 1.5rem;
}

.home-updates__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.home-updates__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.home-updates__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
}

.home-updates__tab {
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: rgba(198, 190, 214, 0.55);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  padding: 0.15rem 0 0.4rem;
  cursor: pointer;
}

.home-updates__tab:hover {
  color: rgba(255, 255, 255, 0.88);
}

.home-updates__tab.is-active {
  color: #fff;
  border-bottom-color: #8a4dff;
}

.upd-bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
  min-height: clamp(22rem, 38vw, 28rem);
}

.upd-bento--notes {
  grid-template-columns: 1fr 1fr;
  min-height: 0;
}

.upd-tile {
  position: relative;
  display: grid;
  align-content: end;
  gap: 0.45rem;
  padding: 1.25rem 1.3rem 1.3rem;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #15131d;
  min-height: 11rem;
}

.upd-tile.is-hero {
  grid-row: span 2;
  min-height: 100%;
  padding: 1.6rem 1.6rem 1.7rem;
  background:
    linear-gradient(160deg, rgba(109, 53, 232, 0.34) 0%, rgba(20, 16, 32, 0.2) 42%, #121018 100%),
    #14121c;
}

.upd-tile__kind {
  color: rgba(198, 190, 214, 0.55);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.upd-tile__mark {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.upd-tile:not(.is-hero) .upd-tile__mark {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.upd-tile__title {
  margin: 0.35rem 0 0;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.upd-tile.is-hero .upd-tile__title {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  max-width: 16ch;
}

.upd-tile__text {
  margin: 0;
  color: rgba(198, 190, 214, 0.74);
  font-size: 0.92rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.upd-tile.is-hero .upd-tile__text {
  max-width: 34rem;
  -webkit-line-clamp: 4;
  font-size: 0.98rem;
}

.upd-tile__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: 0.55rem;
  color: rgba(180, 170, 200, 0.5);
  font-size: 0.78rem;
  font-weight: 650;
}

.upd-tile__cta {
  appearance: none;
  border: 0;
  background: transparent;
  color: #d4c0ff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  cursor: pointer;
  padding: 0;
}

.upd-tile__cta:hover {
  color: #fff;
}

/* Changelog console - own layout, not Homestate sidebar clone */
.cl {
  display: grid;
  gap: 1.1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  background: #101018;
}

.cl__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
}

.cl__ver {
  appearance: none;
  display: grid;
  gap: 0.28rem;
  min-width: 8.5rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
  color: rgba(198, 190, 214, 0.72);
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.cl__ver:hover {
  color: #fff;
  border-color: rgba(180, 140, 255, 0.28);
}

.cl__ver.is-active {
  color: #fff;
  border-color: rgba(138, 77, 255, 0.55);
  background: rgba(138, 77, 255, 0.12);
}

.cl__ver-id {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.cl__ver-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 650;
  color: rgba(180, 170, 200, 0.55);
}

.cl__pill {
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(138, 77, 255, 0.45);
  background: rgba(138, 77, 255, 0.18);
  color: #dcc8ff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cl__stage {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.1rem;
}

.cl__detail {
  display: grid;
  gap: 1.35rem;
}

.cl__head {
  display: grid;
  gap: 0.85rem;
}

.cl__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cl__stat {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(220, 210, 235, 0.78);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cl__stat--new {
  color: #9fdfb4;
  border-color: rgba(90, 170, 120, 0.35);
  background: rgba(70, 140, 100, 0.1);
}

.cl__stat--changed {
  color: #e6d08a;
  border-color: rgba(180, 150, 60, 0.35);
  background: rgba(160, 130, 40, 0.1);
}

.cl__stat--fix {
  color: #9eb7e8;
  border-color: rgba(90, 120, 180, 0.35);
  background: rgba(70, 100, 160, 0.1);
}

.cl__stat--removed {
  color: #e3a0b0;
  border-color: rgba(180, 80, 100, 0.35);
  background: rgba(150, 60, 80, 0.1);
}

.cl__heading {
  display: grid;
  gap: 0.25rem;
}

.cl__version {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #fff;
}

.cl__subtitle {
  margin: 0;
  color: rgba(198, 190, 214, 0.7);
  font-size: 1rem;
  font-weight: 550;
}

.cl__block {
  display: grid;
  gap: 0.55rem;
}

.cl__block-title {
  margin: 0;
  color: rgba(198, 190, 214, 0.55);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cl__rows {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.cl__row {
  display: grid;
  grid-template-columns: 5.6rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.cl__tag {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 1.35rem;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
}

.cl__tag--new {
  color: #9fdfb4;
  border-color: rgba(90, 170, 120, 0.4);
}

.cl__tag--changed {
  color: #e6d08a;
  border-color: rgba(180, 150, 60, 0.4);
}

.cl__tag--fix {
  color: #9eb7e8;
  border-color: rgba(90, 120, 180, 0.4);
}

.cl__tag--removed {
  color: #e3a0b0;
  border-color: rgba(180, 80, 100, 0.4);
}

.cl__row-text {
  color: rgba(232, 226, 244, 0.88);
  font-size: 0.92rem;
  line-height: 1.45;
  padding-top: 0.08rem;
}

@media (max-width: 860px) {
  .upd-bento,
  .upd-bento--notes {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .upd-tile.is-hero {
    grid-row: span 1;
    min-height: 16rem;
  }
}

@media (max-width: 640px) {
  .cl__row {
    grid-template-columns: 4.8rem minmax(0, 1fr);
    gap: 0.55rem;
  }
}

/* recovered-section:li-board */
/* Lifeinvader city board */
.li-city {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0b0b12;
}

.li-city__inner {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(2.75rem, 5.5vw, 4.25rem) 0 clamp(3.1rem, 6vw, 4.75rem);
  display: grid;
  gap: 1.65rem;
}

.li-city__copy {
  display: grid;
  gap: 0.35rem;
  max-width: 34rem;
}

.li-city__kicker {
  margin: 0;
  color: #c4a6ff;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.li-city__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}

.li-city__lead {
  margin: 0.2rem 0 0;
  color: rgba(198, 190, 214, 0.68);
  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 500;
}

.li-city__board {
  display: grid;
  gap: 0.65rem;
}

.li-city__mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(9rem, 17vw);
  gap: 0.65rem;
}

.li-city__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  min-height: clamp(9.5rem, 16vw, 13rem);
}

.li-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 0.65rem;
  background: #121018;
  min-height: 0;
  height: 100%;
}

.li-shot.is-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.li-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.li-shot:hover img {
  transform: scale(1.03);
  filter: brightness(1.04);
}

.li-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(8, 7, 14, 0.72) 100%);
}

.li-shot__credit {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.6rem;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.55rem;
}

.li-shot.is-feature .li-shot__credit {
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.8rem;
}

.li-shot__who {
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.li-shot.is-feature .li-shot__who {
  font-size: 0.9rem;
}

.li-shot__when {
  color: rgba(220, 210, 235, 0.55);
  font-size: 0.66rem;
  font-weight: 650;
  flex: 0 0 auto;
}

.li-shot.is-feature .li-shot__when {
  font-size: 0.72rem;
}

@media (prefers-reduced-motion: reduce) {
  .li-shot img {
    transition: none;
  }

  .li-shot:hover img {
    transform: none;
    filter: none;
  }
}

@media (max-width: 900px) {
  .li-city__mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(9.5rem, 26vw);
  }

  .li-shot.is-feature {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 13.5rem;
  }

  .li-city__row {
    min-height: 10rem;
  }
}

@media (max-width: 640px) {
  .li-city__mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .li-city__row {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .li-city__row .li-shot {
    min-height: 11.5rem;
  }
}

@media (max-width: 480px) {
  .li-city__mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 13rem;
  }

  .li-shot.is-feature {
    grid-column: span 1;
  }
}

/* recovered-section:changelog */
/* Home updates / Neuigkeiten */
.home-updates {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0b0b12;
}

.home-updates__inner {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(2.75rem, 5.5vw, 4.25rem) 0;
  display: grid;
  gap: 1.5rem;
}

.home-updates__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.home-updates__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.home-updates__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
}

.home-updates__tab {
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: rgba(198, 190, 214, 0.55);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  padding: 0.15rem 0 0.4rem;
  cursor: pointer;
}

.home-updates__tab:hover {
  color: rgba(255, 255, 255, 0.88);
}

.home-updates__tab.is-active {
  color: #fff;
  border-bottom-color: #8a4dff;
}

.upd-bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
  min-height: clamp(22rem, 38vw, 28rem);
}

.upd-bento--notes {
  grid-template-columns: 1fr 1fr;
  min-height: 0;
}

.upd-tile {
  position: relative;
  display: grid;
  align-content: end;
  gap: 0.45rem;
  padding: 1.25rem 1.3rem 1.3rem;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #15131d;
  min-height: 11rem;
}

.upd-tile.is-hero {
  grid-row: span 2;
  min-height: 100%;
  padding: 1.6rem 1.6rem 1.7rem;
  background:
    linear-gradient(160deg, rgba(109, 53, 232, 0.34) 0%, rgba(20, 16, 32, 0.2) 42%, #121018 100%),
    #14121c;
}

.upd-tile__kind {
  color: rgba(198, 190, 214, 0.55);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.upd-tile__mark {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.upd-tile:not(.is-hero) .upd-tile__mark {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.upd-tile__title {
  margin: 0.35rem 0 0;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.upd-tile.is-hero .upd-tile__title {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  max-width: 16ch;
}

.upd-tile__text {
  margin: 0;
  color: rgba(198, 190, 214, 0.74);
  font-size: 0.92rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.upd-tile.is-hero .upd-tile__text {
  max-width: 34rem;
  -webkit-line-clamp: 4;
  font-size: 0.98rem;
}

.upd-tile__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: 0.55rem;
  color: rgba(180, 170, 200, 0.5);
  font-size: 0.78rem;
  font-weight: 650;
}

.upd-tile__cta {
  appearance: none;
  border: 0;
  background: transparent;
  color: #d4c0ff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  cursor: pointer;
  padding: 0;
}

.upd-tile__cta:hover {
  color: #fff;
}

/* Changelog console - own layout, not Homestate sidebar clone */
.cl {
  display: grid;
  gap: 1.1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  background: #101018;
}

.cl__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
}

.cl__ver {
  appearance: none;
  display: grid;
  gap: 0.28rem;
  min-width: 8.5rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
  color: rgba(198, 190, 214, 0.72);
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.cl__ver:hover {
  color: #fff;
  border-color: rgba(180, 140, 255, 0.28);
}

.cl__ver.is-active {
  color: #fff;
  border-color: rgba(138, 77, 255, 0.55);
  background: rgba(138, 77, 255, 0.12);
}

.cl__ver-id {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.cl__ver-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 650;
  color: rgba(180, 170, 200, 0.55);
}

.cl__pill {
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(138, 77, 255, 0.45);
  background: rgba(138, 77, 255, 0.18);
  color: #dcc8ff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cl__stage {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.1rem;
}

.cl__detail {
  display: grid;
  gap: 1.35rem;
}

.cl__head {
  display: grid;
  gap: 0.85rem;
}

.cl__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cl__stat {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(220, 210, 235, 0.78);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cl__stat--new {
  color: #9fdfb4;
  border-color: rgba(90, 170, 120, 0.35);
  background: rgba(70, 140, 100, 0.1);
}

.cl__stat--changed {
  color: #e6d08a;
  border-color: rgba(180, 150, 60, 0.35);
  background: rgba(160, 130, 40, 0.1);
}

.cl__stat--fix {
  color: #9eb7e8;
  border-color: rgba(90, 120, 180, 0.35);
  background: rgba(70, 100, 160, 0.1);
}

.cl__stat--removed {
  color: #e3a0b0;
  border-color: rgba(180, 80, 100, 0.35);
  background: rgba(150, 60, 80, 0.1);
}

.cl__heading {
  display: grid;
  gap: 0.25rem;
}

.cl__version {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #fff;
}

.cl__subtitle {
  margin: 0;
  color: rgba(198, 190, 214, 0.7);
  font-size: 1rem;
  font-weight: 550;
}

.cl__block {
  display: grid;
  gap: 0.55rem;
}

.cl__block-title {
  margin: 0;
  color: rgba(198, 190, 214, 0.55);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cl__rows {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.cl__row {
  display: grid;
  grid-template-columns: 5.6rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.cl__tag {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 1.35rem;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
}

.cl__tag--new {
  color: #9fdfb4;
  border-color: rgba(90, 170, 120, 0.4);
}

.cl__tag--changed {
  color: #e6d08a;
  border-color: rgba(180, 150, 60, 0.4);
}

.cl__tag--fix {
  color: #9eb7e8;
  border-color: rgba(90, 120, 180, 0.4);
}

.cl__tag--removed {
  color: #e3a0b0;
  border-color: rgba(180, 80, 100, 0.4);
}

.cl__row-text {
  color: rgba(232, 226, 244, 0.88);
  font-size: 0.92rem;
  line-height: 1.45;
  padding-top: 0.08rem;
}

@media (max-width: 860px) {
  .upd-bento,
  .upd-bento--notes {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .upd-tile.is-hero {
    grid-row: span 1;
    min-height: 16rem;
  }
}

@media (max-width: 640px) {
  .cl__row {
    grid-template-columns: 4.8rem minmax(0, 1fr);
    gap: 0.55rem;
  }
}

/* recovered-section:hero */
/* -- Hero scene (Boss + copy, no mark) -- */
.hero--scene .hero__poster,
.hero--scene .hero__video {
  filter: saturate(0.7) brightness(0.34) contrast(1.1) hue-rotate(-2deg);
  opacity: 0.64;
  object-position: center 40%;
}

.hero--scene .hero__video.is-ready {
  opacity: 0.62;
}

.hero--scene .hero__haze {
  background:
    radial-gradient(ellipse 48% 55% at 88% 42%, rgba(138, 77, 255, 0.38), transparent 68%),
    radial-gradient(ellipse 34% 40% at 72% 78%, rgba(90, 47, 208, 0.18), transparent 72%),
    radial-gradient(ellipse 28% 32% at 18% 62%, rgba(40, 20, 80, 0.16), transparent 70%);
}

.hero--scene .hero__veil {
  background:
    linear-gradient(
      100deg,
      rgba(8, 7, 14, 0.94) 0%,
      rgba(8, 7, 14, 0.78) 32%,
      rgba(8, 7, 14, 0.2) 58%,
      rgba(8, 7, 14, 0.12) 78%,
      rgba(8, 7, 14, 0.35) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 7, 14, 0.5) 0%,
      rgba(8, 7, 14, 0.06) 40%,
      rgba(8, 7, 14, 0.55) 86%,
      var(--bg) 100%
    );
}

.hero--scene .hero__watermark {
  font-size: clamp(5rem, 18vw, 12rem);
  opacity: 0.4;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
  transform: translate(-18%, 12%) rotate(-8deg);
  justify-self: start;
}

.hero--scene .hero__backdrop {
  place-items: center start;
}

.hero--scene .hero__boss {
  z-index: 4;
  left: auto;
  right: max(-2rem, calc((100vw - min(76rem, 100% - 3rem)) / 2 - 6rem));
  height: 100%;
  justify-content: flex-end;
  align-items: flex-end;
}

.hero--scene .hero__boss::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: 8%;
  bottom: 8%;
  width: min(28rem, 70%);
  height: min(34rem, 78%);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 55% 55%,
    rgba(168, 120, 255, 0.34) 0%,
    rgba(138, 77, 255, 0.16) 38%,
    transparent 72%
  );
  filter: blur(28px);
  opacity: 0.9;
}

.hero--scene .hero__boss-img {
  position: relative;
  z-index: 1;
  height: min(96%, 54rem);
  max-width: min(48rem, 56vw);
  object-position: right bottom;
  filter:
    drop-shadow(0 28px 56px rgba(0, 0, 0, 0.7))
    drop-shadow(0 0 36px rgba(168, 120, 255, 0.22));
}

.hero--scene .hero__stage {
  display: block;
  z-index: 5;
  justify-content: start;
  grid-template-columns: none;
  padding: clamp(3.5rem, 12vh, 7rem) 0 clamp(4rem, 10vh, 6rem);
  padding-right: clamp(12rem, 42vw, 30rem);
  padding-left: 0;
  width: var(--page);
  margin-inline: auto;
}

.hero--scene .hero__copy {
  max-width: 34rem;
}

.hero--scene .hero__brand {
  margin: 0 0 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(220, 214, 232, 0.72);
  animation: rise 0.7s ease 0.05s both;
}

.hero--scene .hero__brand-mark {
  width: 1.55rem;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, #9b5cff, rgba(155, 92, 255, 0.15));
  box-shadow: 0 0 12px rgba(155, 92, 255, 0.45);
  flex: 0 0 auto;
}

.hero--scene .hero__brand-v {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #b07cff;
  line-height: 1;
  text-shadow: 0 0 18px rgba(138, 77, 255, 0.45);
}

.hero--scene .hero__brand-name {
  letter-spacing: 0.2em;
}

.hero--scene .hero__title {
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.38em;
  font-family: var(--display);
  font-size: clamp(3.6rem, 8.2vw, 6.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.88;
  color: #f6f2fb;
  white-space: nowrap;
  text-shadow:
    0 2px 28px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(138, 77, 255, 0.12);
  animation: rise 0.8s ease 0.08s both;
}

.hero--scene .hero__title-static {
  font-weight: 600;
  color: rgba(246, 242, 251, 0.92);
  letter-spacing: -0.015em;
}

.hero--scene .hero__rotate {
  color: #b07cff;
  text-shadow:
    0 0 28px rgba(138, 77, 255, 0.4),
    0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero--scene .hero__line {
  margin: 1.45rem 0 0;
  max-width: 27rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-left: 0.95rem;
  border-left: 2px solid rgba(155, 92, 255, 0.45);
  animation: rise 0.85s ease 0.18s both;
}

.hero--scene .hero__line-lead {
  color: rgba(230, 224, 242, 0.9);
  font-size: clamp(1.05rem, 1.7vw, 1.18rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.hero--scene .hero__line-soft {
  color: rgba(176, 168, 192, 0.88);
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.hero--scene .hero__actions {
  margin-top: 2.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem 1.6rem;
  animation: rise 0.9s ease 0.26s both;
}

.hero__cta {
  appearance: none;
  border: 0;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0 1.35rem 0 1.45rem;
  border-radius: 0.4rem;
  overflow: hidden;
  background: linear-gradient(135deg, #a66bff 0%, #7a3ef0 48%, #5c27d6 100%);
  color: #fff;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.015em;
  text-decoration: none;
  box-shadow:
    0 12px 32px rgba(109, 53, 232, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.hero__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.16) 48%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.hero__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 16px 38px rgba(109, 53, 232, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.hero__cta:hover::before {
  transform: translateX(120%);
}

.hero__cta-arrow {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
  opacity: 0.92;
  transition: transform 0.16s ease;
}

.hero__cta:hover .hero__cta-arrow {
  transform: translateX(2px);
}

.hero__ghosts {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.hero__ghost-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(180, 140, 255, 0.55);
}

.hero__ghost {
  color: rgba(220, 214, 232, 0.78);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.08rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.hero__ghost:hover {
  color: #fff;
  border-bottom-color: rgba(180, 140, 255, 0.55);
}

@media (max-width: 980px) {
  .hero--scene .hero__stage {
    padding-right: clamp(8rem, 38vw, 18rem);
  }

  .hero--scene .hero__boss {
    right: -1rem;
    opacity: 0.9;
  }

  .hero--scene .hero__boss-img {
    max-width: min(42rem, 58vw);
    height: min(82%, 40rem);
  }

  .hero--scene .hero__title {
    font-size: clamp(3.2rem, 9vw, 4.6rem);
  }
}

@media (max-width: 720px) {
  .hero--scene .hero__boss {
    display: none;
  }

  .hero--scene .hero__stage {
    padding-right: 0;
    padding-top: clamp(3rem, 10vh, 5rem);
  }

  .hero--scene .hero__title {
    font-size: clamp(2.9rem, 13vw, 3.8rem);
  }

  .hero--scene .hero__actions {
    gap: 1rem;
  }
}

/* News tiles - compact equal cards */
.upd-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 0.75rem;
  min-height: 0;
}

.upd-tile {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 0;
  padding: 0;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #15131d;
  min-height: 0;
}

.upd-tile.is-hero {
  grid-row: auto;
  min-height: 0;
  padding: 0;
  background: #15131d;
}

.upd-tile.has-media {
  background: #121018;
}

.upd-tile__media {
  position: relative;
  height: 8.5rem;
  overflow: hidden;
  background: #0e0c14;
}

.upd-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.upd-tile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18, 16, 24, 0.55) 100%);
  pointer-events: none;
}

.upd-tile__body {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 1.05rem 1.05rem;
  align-content: start;
}

.upd-tile__kind {
  color: rgba(198, 190, 214, 0.55);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.upd-tile__mark,
.upd-tile:not(.is-hero) .upd-tile__mark,
.upd-tile.is-hero .upd-tile__mark {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.upd-tile__title,
.upd-tile.is-hero .upd-tile__title {
  margin: 0.1rem 0 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  max-width: none;
}

.upd-tile__text,
.upd-tile.is-hero .upd-tile__text {
  margin: 0;
  color: rgba(198, 190, 214, 0.74);
  font-size: 0.86rem;
  line-height: 1.45;
  max-width: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.upd-tile__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin-top: 0.35rem;
  color: rgba(180, 170, 200, 0.5);
  font-size: 0.74rem;
  font-weight: 650;
}

@media (max-width: 960px) {
  .upd-bento {
    grid-template-columns: 1fr;
  }
}

/* recovered-pages:start */

/* recovered-pages:streams.css */
/* -- Streams -- */
.streams-page {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

.streams {
  width: var(--page);
  margin: 0 auto;
  padding: 1.75rem 0 4.5rem;
  display: grid;
  gap: 1.5rem;
}

.streams-stats {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.75rem;
}

.streams-stats li {
  display: grid;
  gap: 0.2rem;
}

.streams-stats__label {
  color: rgba(180, 170, 200, 0.58);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.streams-stats strong {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  color: #f0eaf8;
  line-height: 1;
}

.streams-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(180, 140, 255, 0.12);
}

.streams-toolbar__kicker {
  margin: 0 0 0.25rem;
  color: rgba(180, 170, 200, 0.58);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.streams-toolbar__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}

.streams-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.streams-filter {
  appearance: none;
  border: 1px solid rgba(180, 140, 255, 0.14);
  background: rgba(14, 12, 22, 0.85);
  color: rgba(232, 226, 244, 0.72);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.streams-filter:hover {
  color: #fff;
  border-color: rgba(180, 140, 255, 0.32);
}

.streams-filter.is-active {
  color: #fff;
  background: rgba(145, 70, 255, 0.22);
  border-color: rgba(145, 70, 255, 0.5);
}

.streams-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stream-card {
  display: grid;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(180, 140, 255, 0.12);
  background: rgba(14, 12, 22, 0.9);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.stream-card:hover {
  transform: translateY(-2px);
  border-color: rgba(180, 140, 255, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.stream-card.is-live {
  border-color: rgba(145, 70, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(145, 70, 255, 0.12), 0 18px 40px rgba(109, 53, 232, 0.16);
}

.stream-card.is-filtered-out {
  display: none !important;
}

.stream-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0910;
}

.stream-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
}

.stream-card__badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.28rem 0.55rem;
  border-radius: 0.4rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 226, 244, 0.86);
  background: rgba(10, 9, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stream-card__badge.is-live {
  color: #fff;
  background: #9146ff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 16px rgba(145, 70, 255, 0.45);
}

.stream-card__body {
  display: grid;
  gap: 0.85rem;
  padding: 0.95rem 1rem 1.05rem;
}

.stream-card__identity {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.stream-card__avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.7rem;
  object-fit: cover;
  border: 1px solid rgba(180, 140, 255, 0.2);
  flex: 0 0 auto;
}

.stream-card__copy {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}

.stream-card__channel {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #f4eefc;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.stream-card__verified {
  color: #9146ff;
  font-size: 0.85rem;
}

.stream-card__title {
  margin: 0;
  color: rgba(198, 190, 214, 0.78);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stream-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.stream-card__meta span {
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(180, 140, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(198, 190, 214, 0.78);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.stream-card__viewers {
  color: #c4a6ff !important;
  border-color: rgba(145, 70, 255, 0.28) !important;
}

.stream-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  color: #c4a6ff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 750;
  border-bottom: 1px solid rgba(145, 70, 255, 0.28);
  padding-bottom: 0.08rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.stream-card__cta:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.streams__empty,
.streams__empty-filter {
  margin: 0;
  color: rgba(198, 190, 214, 0.72);
  font-size: 0.95rem;
  font-weight: 650;
}

@media (max-width: 980px) {
  .streams-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .streams {
    padding: 1.25rem 0 3.5rem;
  }

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

  .streams-toolbar {
    align-items: stretch;
  }
}

/* recovered-pages:guides.css */
/* -- Guides (docs layout) -- */
.guides-page {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  background: #0c0b10;
}

.guides-layout {
  width: var(--page);
  margin: 0 auto;
  padding: 1.75rem 0 4rem;
  display: grid;
  grid-template-columns: minmax(14rem, 17.5rem) minmax(0, 1fr);
  gap: 2.5rem 3.5rem;
  align-items: start;
  min-height: calc(100vh - var(--nav-h) - 6rem);
}

.guides-side {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}

.guides-side__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}

.guides-side__title {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}

.guides-side__icon {
  display: inline-grid;
  place-items: center;
  color: var(--accent, #8a4dff);
  transform: translateY(0.1rem);
}

.guides-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.15rem;
}

.guides-nav__link {
  display: block;
  padding: 0.28rem 0;
  color: rgba(232, 226, 244, 0.72);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  transition: color 0.15s ease;
}

.guides-nav__link:hover {
  color: #fff;
}

.guides-nav__link.is-active {
  color: var(--accent, #8a4dff);
  font-weight: 700;
}

.guides-empty {
  min-height: 22rem;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  text-align: center;
}

.guides-empty__icon {
  color: rgba(180, 170, 200, 0.22);
}

.guides-empty__text {
  margin: 0;
  color: rgba(232, 226, 244, 0.88);
  font-size: 1.05rem;
  font-weight: 600;
}

.guide-article {
  min-width: 0;
  max-width: 48rem;
  padding-top: 0.35rem;
}

.guide-article__title {
  margin: 0 0 1.1rem;
  font-family: var(--font);
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1.1;
}

.guide-notice {
  margin: 0 0 1.5rem;
  padding: 0.95rem 1.1rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.045);
  color: #f0eaf8;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.guide-article__body {
  display: grid;
  gap: 1.65rem;
}

.guide-section {
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.guide-section__title {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.guide-section__body {
  margin: 0;
  color: rgba(232, 226, 244, 0.78);
  font-size: 0.98rem;
  line-height: 1.65;
}

.guide-links {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.guide-links__a {
  color: var(--accent, #8a4dff);
  text-decoration: none;
  font-weight: 650;
}

.guide-links__a:hover {
  text-decoration: underline;
}

.guide-items {
  margin: 0.85rem 0 0;
  padding: 0 0 0 1.1rem;
  display: grid;
  gap: 0.85rem;
  color: rgba(232, 226, 244, 0.55);
}

.guide-items__row {
  padding-left: 0.15rem;
}

.guide-items__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
}

.guide-items__name {
  color: #fff;
  font-weight: 750;
}

.guide-items__url {
  color: var(--accent, #8a4dff);
  text-decoration: none;
  font-size: 0.92rem;
  word-break: break-all;
}

.guide-items__url:hover {
  text-decoration: underline;
}

.guide-items__desc {
  margin: 0.25rem 0 0;
  color: rgba(232, 226, 244, 0.55);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .guides-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: 0;
  }

  .guides-side {
    position: static;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .guides-empty {
    min-height: 14rem;
  }
}

@media (max-width: 720px) {
  .guides-layout {
    padding: 1.25rem 0 3rem;
  }
}

/* recovered-pages:ranking.css */
/* -- Ranking -- */
.ranking-page {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

.ranking {
  width: var(--page);
  margin: 0 auto;
  padding: 1.75rem 0 4.5rem;
}

.ranking__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 1.35rem;
}

.ranking__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ranking__filter {
  appearance: none;
  border: 1px solid rgba(180, 140, 255, 0.14);
  background: rgba(14, 12, 22, 0.9);
  color: rgba(232, 226, 244, 0.72);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  padding: 0.55rem 0.95rem;
  border-radius: 0.55rem;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.ranking__filter:hover {
  color: #fff;
  border-color: rgba(180, 140, 255, 0.32);
  transform: translateY(-1px);
}

.ranking__filter.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(155, 92, 255, 0.34), rgba(90, 40, 180, 0.28));
  border-color: rgba(155, 92, 255, 0.5);
  box-shadow: 0 8px 22px rgba(109, 53, 232, 0.22);
}

.ranking__search {
  position: relative;
  min-width: min(100%, 16rem);
  flex: 0 1 18rem;
}

.ranking__search-icon {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  translate: 0 -50%;
  color: rgba(180, 170, 200, 0.55);
  pointer-events: none;
}

.ranking__search-input {
  width: 100%;
  min-height: 2.55rem;
  padding: 0.55rem 0.85rem 0.55rem 2.35rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(180, 140, 255, 0.14);
  background: rgba(18, 15, 28, 0.92);
  color: #f0eaf8;
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ranking__search-input::placeholder {
  color: rgba(180, 170, 200, 0.42);
}

.ranking__search-input:focus {
  border-color: rgba(138, 77, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(138, 77, 255, 0.12);
}

.ranking__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ranking__kicker {
  margin: 0 0 0.2rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}

.ranking__meta {
  margin: 0;
  color: rgba(180, 170, 200, 0.62);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ranking-list__legend {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) minmax(8rem, 14rem);
  gap: 0.85rem 1rem;
  padding: 0 0.85rem 0.55rem;
  color: rgba(180, 170, 200, 0.45);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ranking-list__legend span:last-child {
  text-align: right;
}

.ranking-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.ranking-list__row {
  --i: 0;
  --bar: 40%;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) minmax(8rem, 14rem);
  align-items: center;
  gap: 0.85rem 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.055);
  background:
    linear-gradient(90deg, rgba(138, 77, 255, 0.05), transparent 28%),
    rgba(14, 12, 20, 0.78);
  animation: rankingRowIn 0.45s ease both;
  animation-delay: calc(var(--i) * 35ms);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.ranking-list__row:hover {
  transform: translateY(-1px);
  border-color: rgba(180, 140, 255, 0.22);
  background:
    linear-gradient(90deg, rgba(138, 77, 255, 0.1), transparent 34%),
    rgba(18, 15, 28, 0.92);
}

.ranking-list__row--gold {
  border-color: rgba(240, 198, 88, 0.32);
  background:
    linear-gradient(90deg, rgba(240, 198, 88, 0.16), transparent 40%),
    rgba(18, 14, 10, 0.88);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.ranking-list__row--silver {
  border-color: rgba(196, 205, 220, 0.24);
  background:
    linear-gradient(90deg, rgba(196, 205, 220, 0.12), transparent 40%),
    rgba(14, 12, 20, 0.88);
}

.ranking-list__row--bronze {
  border-color: rgba(205, 137, 84, 0.28);
  background:
    linear-gradient(90deg, rgba(205, 137, 84, 0.14), transparent 40%),
    rgba(16, 12, 10, 0.88);
}

.ranking-list__rank {
  display: grid;
  place-items: center;
}

.ranking-list__rank-num {
  display: inline-grid;
  place-items: center;
  min-width: 2.15rem;
  min-height: 2.15rem;
  padding: 0 0.35rem;
  border-radius: 0.55rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(210, 200, 230, 0.7);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ranking-list__row--gold .ranking-list__rank-num {
  color: #1a1204;
  background: linear-gradient(145deg, #ffe29a, #f0c658 55%, #c9942a);
  border-color: rgba(255, 220, 140, 0.55);
  box-shadow: 0 0 18px rgba(240, 198, 88, 0.35);
}

.ranking-list__row--silver .ranking-list__rank-num {
  color: #12151a;
  background: linear-gradient(145deg, #f2f5f8, #c4cddc 60%, #9aa6b8);
  border-color: rgba(220, 228, 238, 0.45);
}

.ranking-list__row--bronze .ranking-list__rank-num {
  color: #1a1008;
  background: linear-gradient(145deg, #e8b48a, #cd8954 58%, #a86532);
  border-color: rgba(232, 180, 130, 0.4);
}

.ranking-list__player {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.ranking-list__avatar {
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #e8dff8;
  background:
    linear-gradient(145deg, rgba(155, 92, 255, 0.35), rgba(60, 30, 120, 0.55));
  border: 1px solid rgba(180, 140, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ranking-list__row--gold .ranking-list__avatar {
  background: linear-gradient(145deg, rgba(240, 198, 88, 0.4), rgba(120, 80, 20, 0.55));
  border-color: rgba(240, 198, 88, 0.35);
  color: #fff4d4;
}

.ranking-list__who {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.ranking-list__name {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f4eefc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ranking-list__tag {
  width: fit-content;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ranking-list__tag--gold { color: #f0c658; }
.ranking-list__tag--silver { color: #c4cddc; }
.ranking-list__tag--bronze { color: #cd8954; }

.ranking-list__score {
  display: grid;
  gap: 0.4rem;
  justify-items: end;
}

.ranking-list__value {
  color: #d7c6ff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.015em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ranking-list__bar {
  display: block;
  width: min(100%, 12rem);
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.ranking-list__bar-fill {
  display: block;
  height: 100%;
  width: var(--bar);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(138, 77, 255, 0.35), #9b5cff);
  box-shadow: 0 0 12px rgba(155, 92, 255, 0.35);
}

.ranking-list__row--gold .ranking-list__bar-fill {
  background: linear-gradient(90deg, rgba(240, 198, 88, 0.35), #f0c658);
  box-shadow: 0 0 12px rgba(240, 198, 88, 0.3);
}

.ranking-list__row--silver .ranking-list__bar-fill {
  background: linear-gradient(90deg, rgba(196, 205, 220, 0.35), #c4cddc);
}

.ranking-list__row--bronze .ranking-list__bar-fill {
  background: linear-gradient(90deg, rgba(205, 137, 84, 0.35), #cd8954);
}

.ranking__empty {
  margin: 2rem 0 0;
  text-align: center;
  color: rgba(232, 226, 244, 0.7);
  font-weight: 650;
}

.ranking-list__row[hidden] {
  display: none !important;
}

@keyframes rankingRowIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ranking-list__row {
    animation: none !important;
  }
}

@media (max-width: 720px) {
  .ranking-list__legend {
    display: none;
  }

  .ranking-list__row {
    grid-template-columns: 2.6rem minmax(0, 1fr);
    gap: 0.55rem 0.75rem;
  }

  .ranking-list__score {
    grid-column: 2;
    justify-items: start;
    width: 100%;
  }

  .ranking-list__bar {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .ranking {
    padding: 1.25rem 0 3.5rem;
  }

  .ranking__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .ranking__search {
    flex: 1 1 auto;
  }
}

/* recovered-pages:rules.css */
/* -- Rules page -- */
.rules-page {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

.rules {
  width: var(--page);
  margin: 0 auto;
  padding: 0.5rem 0 3.75rem;
  display: grid;
  gap: 1.75rem;
}

.rules__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.rules__toc-link {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(180, 140, 255, 0.14);
  background: rgba(16, 13, 24, 0.72);
  color: #b7b0c4;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.rules__toc-link:hover {
  color: #fff;
  border-color: rgba(138, 77, 255, 0.4);
  background: rgba(138, 77, 255, 0.12);
}

.rules__body {
  display: grid;
  gap: 2.1rem;
}

.rules-section {
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.rules-section__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(180, 140, 255, 0.12);
}

.rules-section__title {
  margin: 0;
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.rules-section__count {
  display: inline-grid;
  place-items: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #c4a6ff;
  background: rgba(138, 77, 255, 0.14);
  border: 1px solid rgba(138, 77, 255, 0.22);
}

.rules-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.rules-row {
  padding: 0.95rem 1.05rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(180, 140, 255, 0.1);
  background: rgba(14, 12, 22, 0.78);
}

.rules-row__title {
  margin: 0;
  color: #f0eaf8;
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.rules-row__body {
  margin: 0.35rem 0 0;
  color: #9a93a8;
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 46rem;
}

@media (max-width: 720px) {
  .rules {
    padding-bottom: 3rem;
  }

  .rules-row {
    padding: 0.85rem 0.9rem;
  }
}
'@
/* recovered-pages:end */


/* Ranking category chips - same language as login/nav chips */
.ranking__tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.ranking__tabs .nav__chip .nav__chip-face {
  min-height: 2.35rem;
  padding: 0 0.9rem;
  font-size: 0.82rem;
  background: linear-gradient(135deg, rgba(40, 32, 58, 0.92), rgba(28, 22, 44, 0.95));
  border-color: rgba(196, 166, 255, 0.22);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  color: rgba(232, 226, 244, 0.82);
}

.ranking__tabs .nav__chip:hover .nav__chip-face,
.ranking__tabs .nav__chip.is-active .nav__chip-face {
  color: #fff;
  background: linear-gradient(135deg, #a56bff, #7b3dff);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(226, 212, 255, 0.18), 0 10px 28px rgba(138, 77, 255, 0.45);
}


/* Hero actions use skewed nav chips */
.hero--scene .hero__actions {
  gap: 0.75rem 0.85rem;
}

.hero--scene .hero__actions .nav__chip .nav__chip-face {
  min-height: 2.85rem;
  padding: 0 1.2rem;
  font-size: 0.9rem;
  font-weight: 750;
}

.hero--scene .hero__actions .nav__chip--login .nav__chip-face {
  min-height: 3rem;
  padding: 0 1.35rem;
  font-size: 0.94rem;
  font-weight: 800;
}


/* Home close actions - skewed chips */
.home-close__actions .nav__chip .nav__chip-face {
  min-height: 2.85rem;
  padding: 0 1.2rem;
  font-size: 0.9rem;
  font-weight: 750;
}

.home-close__actions .nav__chip--login .nav__chip-face {
  min-height: 3rem;
  padding: 0 1.35rem;
  font-size: 0.94rem;
  font-weight: 800;
}
