:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --bg-soft: #101013;
  --surface: #141417;
  --surface-strong: #1a1a1e;
  --text: #f4f3ef;
  --muted: #969690;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --green: #c7a7ff;
  --green-strong: #ad83f3;
  --cyan: #e3b6ff;
  --pink: #dd87bb;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  --page: min(1360px, calc(100% - 80px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

.release-page {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(199, 167, 255, 0.08), transparent 28rem),
    #050506;
  color: var(--text);
}

.release-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  align-content: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 104px 0 72px;
}

.release-header,
.release-map-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 6, 0.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.release-logo {
  color: #f5f2ee;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.34em;
  text-decoration: none;
  text-transform: uppercase;
}

.release-header span {
  color: rgba(245, 242, 238, 0.46);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.release-card {
  position: relative;
  z-index: 2;
  width: min(790px, 100%);
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 48%),
    rgba(18, 18, 21, 0.88);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.release-kicker {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(199, 167, 255, 0.26);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.release-card h1 {
  max-width: 680px;
  margin: 0;
  color: #f7f4f0;
  font-size: clamp(44px, 8vw, 86px);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.release-text {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(222, 217, 226, 0.78);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
}

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

.release-action {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  color: #f5f2ee;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.release-action:hover,
.release-action:focus-visible {
  border-color: rgba(199, 167, 255, 0.34);
  background: rgba(199, 167, 255, 0.075);
  transform: translateY(-3px);
}

.release-action-primary {
  background: rgba(199, 167, 255, 0.16);
}

.release-action span {
  font-size: 17px;
  font-weight: 900;
}

.release-action small {
  color: rgba(222, 217, 226, 0.62);
  font-size: 13px;
  line-height: 1.45;
}

.release-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(222, 217, 226, 0.68);
}

.release-note strong {
  color: #f5f2ee;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.04em;
}

.release-petal {
  position: fixed;
  z-index: 1;
  width: 34px;
  height: 34px;
  opacity: 0.48;
  pointer-events: none;
  background-size: contain;
  background-repeat: no-repeat;
}

.release-petal-1 {
  top: 18%;
  left: 10%;
  background-image: url("/assets/sakura/petal-3.png");
  transform: rotate(-18deg);
}

.release-petal-2 {
  right: 14%;
  top: 19%;
  background-image: url("/assets/sakura/petal-9.png");
  transform: rotate(21deg);
}

.release-petal-3 {
  left: 15%;
  bottom: 18%;
  background-image: url("/assets/sakura/petal-14.png");
  transform: rotate(32deg);
}

.release-petal-4 {
  right: 19%;
  bottom: 17%;
  background-image: url("/assets/sakura/petal-17.png");
  transform: rotate(-11deg);
}

.release-petal-5 {
  right: 34%;
  top: 58%;
  width: 24px;
  height: 24px;
  background-image: url("/assets/sakura/petal-6.png");
  transform: rotate(8deg);
}

.release-map-body {
  background: #050506;
}

.release-map-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.release-map-nav a {
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(245, 242, 238, 0.72);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.release-map-nav a:hover,
.release-map-nav a:focus-visible,
.release-map-nav a.is-active {
  border-color: rgba(199, 167, 255, 0.28);
  color: #f5f2ee;
  background: rgba(199, 167, 255, 0.1);
}

.release-map-frame {
  padding-top: 78px;
}

.release-map-frame iframe {
  height: calc(100vh - 78px);
}

@media (max-width: 780px) {
  .release-header,
  .release-map-header {
    min-height: 70px;
    padding-inline: 18px;
  }

  .release-header span {
    display: none;
  }

  .release-actions {
    grid-template-columns: 1fr;
  }

  .release-action {
    min-height: 96px;
  }

  .release-map-nav {
    gap: 5px;
    overflow-x: auto;
    padding-left: 12px;
  }

  .release-map-nav a {
    padding: 9px 12px;
    white-space: nowrap;
  }

  .release-logo {
    font-size: 15px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: #333338 var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
}

[hidden] {
  display: none !important;
}

.clip-definitions {
  position: absolute;
  overflow: hidden;
  pointer-events: none;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

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

::selection {
  background: var(--green);
  color: #07100a;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 82px;
  padding: 0 40px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(18, 18, 22, 0.86), rgba(11, 11, 13, 0.72)),
    rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(18px);
}

.header-brand {
  color: var(--text);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.header-brand:hover {
  color: #fff;
  text-shadow: 0 0 22px rgba(199, 167, 255, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: max-content;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 13px);
  grid-template-rows: repeat(2, 13px);
  gap: 2px;
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 12px rgba(199, 167, 255, 0.28));
  transform: rotate(45deg);
}

.brand-mark span {
  display: block;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.brand-mark span:nth-child(2),
.brand-mark span:nth-child(3) {
  opacity: 0.68;
}

.brand-mark span:nth-child(4) {
  background: transparent;
  box-shadow: inset 0 0 0 3px var(--green);
}

.brand-name {
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 3px;
  min-width: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.018);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.main-nav a:hover {
  transform: translateY(-1px);
}

.nav-icon {
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  color: #8f879a;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.nav-icon-cut {
  fill: none;
  stroke: #0b0b0d;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.main-nav a.is-active .nav-icon,
.main-nav a:hover .nav-icon {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.account-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 5px 8px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 12px 30px rgba(0, 0, 0, 0.16);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.account-trigger:hover,
.account-menu.is-open .account-trigger {
  border-color: rgba(199, 167, 255, 0.25);
  background: rgba(199, 167, 255, 0.075);
  transform: translateY(-1px);
}

.account-head {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: #202026;
  image-rendering: pixelated;
  object-fit: cover;
}

.account-name {
  max-width: 112px;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-chevron {
  display: grid;
  width: 16px;
  height: 30px;
  place-items: center;
  color: #a99db8;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  transition: color 180ms ease, transform 180ms ease;
}

.account-menu.is-open .account-chevron {
  color: var(--green);
  transform: translateX(2px) rotate(90deg);
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 90;
  display: grid;
  min-width: 156px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(199, 167, 255, 0.055), transparent 48%),
    rgba(14, 14, 17, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  transition:
    opacity 160ms ease,
    transform 180ms ease;
  backdrop-filter: blur(18px);
}

.account-menu.is-open .account-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.account-dropdown a,
.account-dropdown button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #ddd8e6;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.account-menu-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  place-items: center;
  color: #b9b0c4;
}

.account-menu-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.account-dropdown a:hover,
.account-dropdown button:hover,
.account-dropdown a:focus-visible,
.account-dropdown button:focus-visible {
  background: rgba(199, 167, 255, 0.11);
  color: var(--text);
}

.account-logout-action {
  color: #ffb6bd !important;
}

.account-logout-action .account-menu-icon {
  color: #ff8f9b;
}

.account-logout-action:hover,
.account-logout-action:focus-visible {
  background: rgba(255, 98, 113, 0.12) !important;
  color: #ffd7dc !important;
}

.social-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-link:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
}

.button-light {
  background: var(--text);
  color: #111114;
  box-shadow: 0 9px 28px rgba(0, 0, 0, 0.18);
}

.button-primary {
  background: var(--green);
  color: #17101f;
  box-shadow: 0 10px 28px rgba(173, 131, 243, 0.14);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(360px, 1fr);
  min-height: calc(100svh - 82px);
  border-bottom: 1px solid var(--line);
}

.hero-glow {
  display: none;
}

.hero-petal {
  z-index: 3;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(760px, calc(100% - 80px));
  margin-left: max(64px, calc((100vw - 1360px) / 2));
  padding: 68px 24px 72px 0;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(58px, 5.35vw, 86px);
  line-height: 0.97;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(105deg, var(--green) 3%, var(--cyan) 85%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 560px;
  margin: 27px 0 0;
  color: #d7d4da;
  font-size: 18px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.hero-description {
  max-width: 580px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.server-address {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 5px 6px 5px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.server-address:hover {
  border-color: rgba(199, 167, 255, 0.52);
  background: rgba(255, 255, 255, 0.045);
}

.server-address-label {
  margin-right: 12px;
  color: var(--muted);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.server-address strong {
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
}

.copy-label {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  margin-left: 16px;
  padding: 0 13px;
  border-radius: 9px;
  background: rgba(199, 167, 255, 0.09);
  color: #bca7d3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.server-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
  color: #777771;
  font-size: 13px;
}

.server-meta span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-visual {
  position: relative;
  min-height: calc(100svh - 82px);
  margin-left: -34px;
  overflow: hidden;
  background: #1a1417;
  clip-path: url("#hero-organic-edge");
  filter: drop-shadow(-7px 0 14px rgba(156, 108, 222, 0.06));
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  transform: scale(1.015);
}

.hero-image-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 13, 0.82) 0%, rgba(39, 27, 51, 0.42) 13%, transparent 36%),
    linear-gradient(0deg, rgba(11, 11, 13, 0.5), transparent 40%),
    linear-gradient(180deg, rgba(11, 11, 13, 0.22), transparent 25%);
}

.hero-visual::before {
  position: absolute;
  top: -4%;
  bottom: -4%;
  left: 4.5%;
  z-index: 2;
  width: 64px;
  border-left: 1px solid rgba(211, 181, 255, 0.2);
  border-radius: 42% 58% 38% 62% / 13% 23% 18% 27%;
  box-shadow:
    -10px 0 0 rgba(199, 167, 255, 0.025),
    -6px 0 12px rgba(173, 131, 243, 0.05);
  content: "";
  pointer-events: none;
}

.hero-visual::after {
  position: absolute;
  top: 4%;
  bottom: 3%;
  left: 8%;
  z-index: 2;
  width: 42px;
  border-left: 1px solid rgba(227, 182, 255, 0.07);
  border-radius: 57% 43% 61% 39% / 19% 31% 24% 36%;
  box-shadow: none;
  content: "";
  pointer-events: none;
}

.has-reveal [data-reveal="text"] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  filter: blur(8px);
  transition:
    opacity 780ms cubic-bezier(0.2, 0.82, 0.2, 1),
    transform 880ms cubic-bezier(0.18, 0.9, 0.22, 1),
    filter 780ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.has-reveal [data-reveal="text"].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.has-reveal [data-reveal="image"] {
  opacity: 0;
  transform: translate3d(18px, 0, 0) scale(0.992);
  transition:
    opacity 860ms cubic-bezier(0.2, 0.82, 0.2, 1),
    transform 1120ms cubic-bezier(0.18, 0.9, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.has-reveal [data-reveal="image"].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.hero-image-fade {
  pointer-events: none;
}

.has-reveal .hero-visual[data-reveal="image"] .hero-image-fade::after {
  position: absolute;
  inset: -8% -18% -8% -10%;
  z-index: 3;
  border-right: 1px solid rgba(227, 182, 255, 0.18);
  background:
    linear-gradient(108deg, rgba(11, 11, 13, 0.99) 0%, rgba(16, 13, 19, 0.98) 42%, rgba(44, 31, 58, 0.82) 68%, rgba(44, 31, 58, 0) 86%),
    repeating-linear-gradient(108deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px);
  clip-path: polygon(0 0, 76% 0, 100% 50%, 76% 100%, 0 100%);
  content: "";
  transform: translateX(0);
  transition: transform 1280ms cubic-bezier(0.18, 0.9, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.has-reveal .hero-visual[data-reveal="image"].is-visible .hero-image-fade::after {
  transform: translateX(112%) skewX(-4deg);
}

.server-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.72fr 0.68fr 1.25fr auto;
  align-items: stretch;
  width: var(--page);
  margin: 28px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #111114;
}

.server-strip > * {
  min-height: 82px;
  padding: 17px 22px;
  border-left: 1px solid var(--line);
}

.server-strip > *:first-child {
  border-left: 0;
}

.server-strip-status,
.server-strip-item,
.server-strip-ip {
  display: flex;
  align-items: center;
}

.server-strip-status {
  gap: 13px;
}

.server-strip-status div,
.server-strip-item,
.server-strip-ip {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
}

.server-strip-status strong,
.server-strip-item strong,
.server-strip-ip strong {
  font-size: 14px;
}

.server-strip-status small,
.server-strip-item span,
.server-strip-ip span {
  color: var(--muted);
  font-size: 11px;
}

.server-strip-ip {
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background 180ms ease;
}

.server-strip-ip:hover {
  background: rgba(199, 167, 255, 0.045);
}

.server-strip-ip strong {
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

.server-strip-ip i {
  color: #8f7aa7;
  font-size: 10px;
  font-style: normal;
}

.server-strip-community {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #c9c6cd;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.server-strip-community:hover {
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

.server-strip-community span {
  color: var(--green);
  transition: transform 180ms ease;
}

.server-strip-community:hover span {
  transform: translateX(3px);
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: 108px 0;
}

.sakura-petal {
  position: absolute;
  z-index: 0;
  display: block;
  width: 28px;
  aspect-ratio: 1;
  background-image: var(--sakura-image, url("/assets/sakura/petal-1.png"));
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.24;
  pointer-events: none;
  filter: saturate(0.95);
}

.features-section,
.reviews-section,
.community-banner,
.faq-section {
  position: relative;
}

.features-section > :not(.sakura-petal),
.reviews-section > :not(.sakura-petal),
.community-banner > :not(.sakura-petal),
.faq-section > :not(.sakura-petal) {
  position: relative;
  z-index: 1;
}

.sakura-01 { --sakura-image: url("/assets/sakura/petal-1.png"); top: 14%; left: 39%; width: 25px; transform: rotate(-16deg); }
.sakura-02 { --sakura-image: url("/assets/sakura/petal-2.png"); top: 26%; left: 57%; width: 31px; transform: rotate(21deg); }
.sakura-03 { --sakura-image: url("/assets/sakura/petal-3.png"); right: 38%; bottom: 19%; width: 24px; transform: rotate(-9deg); }
.sakura-04 { --sakura-image: url("/assets/sakura/petal-4.png"); bottom: 9%; left: 45%; width: 30px; transform: rotate(24deg); }
.sakura-05 { --sakura-image: url("/assets/sakura/petal-5.png"); top: 42%; left: 62%; width: 22px; transform: rotate(-28deg); }

.sakura-06 { --sakura-image: url("/assets/sakura/petal-6.png"); top: 62px; right: 4%; width: 29px; transform: rotate(14deg); }
.sakura-07 { --sakura-image: url("/assets/sakura/petal-7.png"); top: 38px; left: 43%; width: 22px; transform: rotate(-21deg); }
.sakura-08 { --sakura-image: url("/assets/sakura/petal-8.png"); bottom: 95px; left: 3%; width: 31px; transform: rotate(19deg); }
.sakura-09 { --sakura-image: url("/assets/sakura/petal-9.png"); right: 18%; bottom: 45px; width: 27px; transform: rotate(-11deg); }

.sakura-10 { --sakura-image: url("/assets/sakura/petal-10.png"); top: 55px; left: 2.5%; width: 24px; transform: rotate(27deg); }
.sakura-11 { --sakura-image: url("/assets/sakura/petal-11.png"); top: 32px; right: 15%; width: 36px; transform: rotate(-13deg); }
.sakura-12 { --sakura-image: url("/assets/sakura/petal-12.png"); bottom: 30px; left: 30%; width: 28px; transform: rotate(17deg); }
.sakura-13 { --sakura-image: url("/assets/sakura/petal-13.png"); right: 4%; bottom: 70px; width: 25px; transform: rotate(-24deg); }

.sakura-14 { --sakura-image: url("/assets/sakura/petal-14.png"); top: 14px; right: 8%; width: 34px; transform: rotate(12deg); }
.sakura-15 { --sakura-image: url("/assets/sakura/petal-15.png"); bottom: 10px; left: 5%; width: 24px; transform: rotate(-20deg); }
.sakura-16 { --sakura-image: url("/assets/sakura/petal-16.png"); top: 32px; left: 48%; width: 28px; transform: rotate(24deg); }

.sakura-17 { --sakura-image: url("/assets/sakura/petal-17.png"); top: 70px; right: 3%; width: 22px; transform: rotate(-18deg); }
.sakura-18 { --sakura-image: url("/assets/sakura/petal-18.png"); bottom: 52px; left: 42%; width: 30px; transform: rotate(9deg); }
.sakura-19 { --sakura-image: url("/assets/sakura/petal-19.png"); right: 28%; bottom: 18px; width: 24px; transform: rotate(-26deg); }

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 42px;
}

.section-heading > p {
  max-width: 440px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--green);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.reviews-section {
  width: 100%;
  padding-bottom: 94px;
}

.reviews-section .section-heading {
  width: var(--page);
  margin-right: auto;
  margin-left: auto;
}

.reviews-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
}

.reviews-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 6px 0 18px;
  animation: review-scroll 42s linear infinite;
  will-change: transform;
}

.reviews-track:hover {
  animation-play-state: paused;
}

.review-card {
  width: 410px;
  min-height: 205px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #121215;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.review-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 11px;
  color: #0e1010;
  font-weight: 900;
}

.avatar-green { background: linear-gradient(135deg, #a1efb9, #62c98a); }
.avatar-purple { background: linear-gradient(135deg, #c5a3ef, #8273c8); }
.avatar-blue { background: linear-gradient(135deg, #8ee1ee, #5d9ed8); }
.avatar-orange { background: linear-gradient(135deg, #ffc78a, #e88665); }
.avatar-pink { background: linear-gradient(135deg, #f1a2cb, #ca72ac); }

.review-top div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.review-top strong {
  font-size: 14px;
}

.review-top div span {
  color: var(--muted);
  font-size: 12px;
}

.stars {
  color: #f4d56a;
  font-size: 11px;
  letter-spacing: 1px;
}

.review-card p {
  margin: 21px 0 0;
  color: #d7d7d1;
  font-size: 15px;
  line-height: 1.65;
}

@keyframes review-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 8px)); }
}

.features-section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.compact-heading {
  margin-bottom: 32px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.feature-card {
  position: relative;
  grid-column: span 6;
  min-height: 225px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #121215;
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.feature-card:hover {
  z-index: 1;
  border-color: rgba(199, 167, 255, 0.22);
  background: #151518;
  transform: translateY(-2px);
}

.feature-card-main {
  grid-column: span 7;
  min-height: 244px;
}

.feature-card-main + .feature-card {
  grid-column: span 5;
}

.feature-card-offset {
  grid-column: span 5;
  margin-top: 8px;
}

.feature-card-offset + .feature-card {
  grid-column: span 7;
  margin-top: 8px;
}

.feature-mark {
  position: absolute;
  top: 22px;
  right: 23px;
  color: #56535a;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.feature-kicker {
  display: inline-block;
  margin-bottom: 47px;
  color: var(--green);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.feature-card p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.feature-details {
  display: flex;
  gap: 18px;
  margin: 20px 0 0;
  padding: 0;
  color: #75747a;
  font-size: 11px;
  list-style: none;
}

.feature-details li::before {
  margin-right: 7px;
  color: #81708f;
  content: "—";
}

.feature-caption {
  position: absolute;
  right: 24px;
  bottom: 21px;
  color: #68666c;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.feature-link {
  display: inline-block;
  margin-top: 19px;
  color: #bda5d6;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.feature-link:hover {
  color: #d6c2ea;
}

.rules-note {
  display: grid;
  grid-template-columns: 0.7fr 1.65fr auto;
  align-items: center;
  gap: 34px;
  margin-top: 13px;
  padding: 24px 25px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
}

.rules-note div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rules-note-label {
  color: #77747c;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rules-note strong {
  font-size: 15px;
}

.rules-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.rules-note a {
  color: #b59bce;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.community-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 64px;
  overflow: hidden;
  border: 1px solid rgba(199, 167, 255, 0.17);
  border-radius: 18px;
  background: #131316;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
}

.community-banner h2 {
  max-width: 790px;
  font-size: clamp(36px, 3.4vw, 53px);
}

.community-copy p {
  max-width: 690px;
  margin: 21px 0 0;
  color: #a8a8a2;
  line-height: 1.65;
}

.community-banner .button {
  flex: none;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(500px, 1.28fr);
  gap: 100px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 34px;
}

.faq-intro p {
  max-width: 400px;
  margin: 22px 0;
  color: var(--muted);
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 27px 4px;
  list-style: none;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  background: var(--green);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.faq-list summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-list details p {
  max-width: 700px;
  margin: -5px 52px 27px 4px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-list details p strong {
  color: #d9d9d3;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.coming-soon {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  background: rgba(199, 167, 255, 0.05);
}

.coming-soon p {
  margin: 0;
  color: #b8b8b2;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.coming-soon span {
  margin-right: 9px;
  color: var(--green);
}

.page-main {
  min-height: calc(100vh - 82px);
}

.page-hero {
  position: relative;
  width: var(--page);
  margin: 0 auto;
  padding: 88px 0 54px;
}

.page-hero::before {
  position: absolute;
  top: 42px;
  right: 4%;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(199, 167, 255, 0.08);
  border-radius: 43% 57% 48% 52% / 45% 41% 59% 55%;
  content: "";
  opacity: 0.42;
  pointer-events: none;
}

.page-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--green);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.page-hero-kicker::before {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--green);
  content: "";
  opacity: 0.72;
  transform: rotate(45deg);
}

.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.page-hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: #b8b7b2;
  font-size: 17px;
  line-height: 1.7;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-section {
  width: var(--page);
  margin: 0 auto;
  padding: 36px 0 92px;
}

.page-section + .page-section {
  padding-top: 0;
}

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

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

.page-card,
.page-panel,
.online-stat,
.donate-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #121215;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.page-card {
  min-height: 230px;
  padding: 26px;
}

.page-card.tall {
  min-height: 300px;
}

.page-card-number {
  display: block;
  margin-bottom: 34px;
  color: #716878;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
}

.page-card h2,
.page-card h3,
.page-panel h2,
.donate-card h2 {
  margin: 0;
  letter-spacing: -0.035em;
}

.page-card h2,
.page-panel h2,
.donate-card h2 {
  font-size: 27px;
}

.page-card h3 {
  font-size: 22px;
}

.page-card p,
.page-panel p,
.donate-card p {
  color: var(--muted);
  line-height: 1.68;
}

.page-card p:last-child,
.page-panel p:last-child,
.donate-card p:last-child {
  margin-bottom: 0;
}

.page-list {
  display: grid;
  gap: 11px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-list li {
  position: relative;
  padding-left: 18px;
  color: #d8d6dc;
  line-height: 1.55;
}

.page-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--green);
  content: "";
  opacity: 0.72;
  transform: translateY(-50%) rotate(45deg);
}

.page-panel {
  padding: 32px;
}

.page-panel.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.page-note {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 9px 12px;
  border: 1px solid rgba(199, 167, 255, 0.16);
  border-radius: 11px;
  color: #c8badc;
  font-size: 12px;
  font-weight: 700;
}

.map-preview {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    radial-gradient(circle at 24% 28%, rgba(199, 167, 255, 0.16), transparent 18%),
    radial-gradient(circle at 74% 62%, rgba(221, 135, 187, 0.12), transparent 20%),
    #0f0f12;
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

.map-preview::before,
.map-preview::after {
  position: absolute;
  border: 1px solid rgba(199, 167, 255, 0.16);
  border-radius: 999px;
  content: "";
}

.map-preview::before {
  top: 26%;
  left: 18%;
  width: 150px;
  height: 88px;
  transform: rotate(-18deg);
}

.map-preview::after {
  right: 14%;
  bottom: 18%;
  width: 210px;
  height: 120px;
  transform: rotate(12deg);
}

.map-pin {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(15, 15, 18, 0.82);
  color: #e7e1ef;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.map-pin::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.map-pin.one { top: 24%; left: 22%; }
.map-pin.two { top: 52%; right: 20%; }
.map-pin.three { bottom: 21%; left: 38%; }

.live-map-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.014)),
    #111114;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.live-map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.live-map-toolbar div {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.live-map-toolbar strong {
  font-size: 14px;
}

.live-map-toolbar small {
  color: #7e7786;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.live-map-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.live-map-status {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(199, 167, 255, 0.38);
}

.live-map-frame {
  position: relative;
  height: min(760px, calc(100vh - 190px));
  min-height: 560px;
  background:
    radial-gradient(circle at 18% 24%, rgba(199, 167, 255, 0.08), transparent 25%),
    #0d0d10;
}

.live-map-frame iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0d0d10;
}

.live-map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #8c8792;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.map-body {
  height: 100vh;
  overflow: hidden;
  background: #050607;
}

.map-body .site-header {
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.map-fullscreen {
  height: calc(100svh - 82px);
  min-height: 420px;
  background: #050607;
}

.map-fullscreen iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #050607;
}

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

.online-stat {
  min-height: 160px;
  padding: 24px;
}

.online-stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.online-stat strong {
  display: block;
  margin-top: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.online-page {
  overflow: hidden;
  background: var(--bg);
}

.online-hero {
  padding-bottom: 34px;
}

.online-section {
  padding-top: 20px;
  padding-bottom: 28px;
}

.online-section:last-of-type {
  padding-bottom: 96px;
}

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

.stats-card,
.stats-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.012)),
    #121215;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.16);
}

.stats-card {
  min-height: 152px;
  padding: 22px;
  border-radius: 22px;
}

.stats-card.is-accent {
  border-color: rgba(199, 167, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(199, 167, 255, 0.14), rgba(255, 255, 255, 0.015)),
    #141419;
}

.stats-card span,
.stats-eyebrow,
.stats-mini-list span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats-card strong {
  display: block;
  margin-top: 18px;
  color: var(--text);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.stats-card p {
  margin: 12px 0 0;
  color: #a8a2ae;
  font-size: 13px;
}

.online-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
  gap: 18px;
}

.stats-panel {
  border-radius: 26px;
  padding: 22px;
}

.stats-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.stats-panel h2 {
  margin: 7px 0 0;
  color: var(--text);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.045em;
}

.stats-live-pill {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(199, 167, 255, 0.2);
  border-radius: 999px;
  background: rgba(199, 167, 255, 0.08);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.stats-toolbar {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.stats-tabs {
  display: inline-flex;
  gap: 5px;
  width: fit-content;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.026);
}

.stats-tabs button {
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.stats-tabs button:hover,
.stats-tabs button:focus-visible {
  color: var(--text);
}

.stats-tabs button.is-active {
  background: var(--green);
  color: #17101f;
}

.stats-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
  outline: none;
}

.stats-search input:focus {
  border-color: rgba(199, 167, 255, 0.42);
  background: rgba(255, 255, 255, 0.055);
}

.stats-search input::placeholder {
  color: #716b79;
}

.player-list {
  display: grid;
  gap: 9px;
}

.player-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  min-height: 68px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.player-row:hover {
  border-color: rgba(199, 167, 255, 0.22);
  background: rgba(199, 167, 255, 0.055);
  transform: translateY(-1px);
}

.player-row[hidden] {
  display: none;
}

.player-row img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  image-rendering: pixelated;
  background: rgba(255, 255, 255, 0.06);
}

.player-row strong {
  display: block;
  color: var(--text);
  font-size: 15px;
}

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

.player-row b {
  color: var(--green);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.stats-empty {
  margin: 14px 0 0;
  padding: 14px;
  border: 1px dashed rgba(199, 167, 255, 0.22);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
}

.activity-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  min-height: 210px;
  padding: 18px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.024);
}

.activity-chart span {
  position: relative;
  display: flex;
  height: 170px;
  align-items: end;
  justify-content: center;
}

.activity-chart span::before {
  display: block;
  width: 100%;
  min-height: 18px;
  height: var(--value);
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--green), rgba(199, 167, 255, 0.18));
  content: "";
}

.activity-chart i {
  position: absolute;
  right: 0;
  bottom: -22px;
  left: 0;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.stats-mini-list {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.stats-mini-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.stats-mini-list div:last-child {
  border-bottom: 0;
}

.stats-mini-list strong {
  color: var(--text);
  font-size: 18px;
}

.online-shell {
  position: relative;
  width: var(--page);
  margin: 0 auto;
  padding: 54px 0 96px;
}

.online-top,
.online-summary,
.online-chart-card,
.online-card {
  position: relative;
  z-index: 1;
}

.online-petal {
  position: absolute;
  z-index: 0;
  width: 34px;
  height: 34px;
  background: center / contain no-repeat;
  opacity: 0.5;
  pointer-events: none;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.24));
}

.online-petal-1 {
  top: 54px;
  left: -26px;
  width: 29px;
  height: 29px;
  background-image: url("/assets/sakura/petal-3.png");
  opacity: 0.38;
  transform: rotate(-18deg);
}

.online-petal-2 {
  top: 208px;
  right: -18px;
  width: 42px;
  height: 42px;
  background-image: url("/assets/sakura/petal-12.png");
  opacity: 0.34;
  transform: rotate(24deg);
}

.online-petal-3 {
  top: 418px;
  left: -34px;
  background-image: url("/assets/sakura/petal-7.png");
  opacity: 0.3;
  transform: rotate(54deg);
}

.online-petal-4 {
  top: 720px;
  right: -30px;
  width: 28px;
  height: 28px;
  background-image: url("/assets/sakura/petal-16.png");
  opacity: 0.32;
  transform: rotate(-42deg);
}

.online-petal-5 {
  top: 930px;
  left: 7%;
  width: 24px;
  height: 24px;
  background-image: url("/assets/sakura/petal-1.png");
  opacity: 0.22;
  transform: rotate(18deg);
}

.online-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}

.online-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.online-kicker::before {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  opacity: 0.72;
  transform: rotate(45deg);
}

.online-top h1 {
  margin: 14px 0 0;
  color: var(--text);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.online-top p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #b8b2bf;
  font-size: 16px;
  line-height: 1.65;
}

.online-ip {
  min-width: 260px;
}

.online-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.online-summary article {
  position: relative;
  min-height: 132px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.008)),
    #121215;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.online-summary article::after {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(199, 167, 255, 0.1);
  border-radius: 999px;
  content: "";
  opacity: 0.8;
}

.online-summary span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.online-summary strong {
  display: block;
  margin-top: 20px;
  color: var(--text);
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.online-summary p {
  max-width: 320px;
  margin: 12px 0 0;
  color: #aaa5af;
  font-size: 13px;
  line-height: 1.5;
}

.online-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.online-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.01)),
    #121215;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.16);
}

.online-player-panel {
  padding: 22px;
}

.online-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.online-card h2 {
  margin: 8px 0 0;
  color: var(--text);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.045em;
}

.online-live {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(199, 167, 255, 0.2);
  border-radius: 999px;
  background: rgba(199, 167, 255, 0.08);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.online-tools {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.online-tabs {
  display: flex;
  gap: 5px;
  width: fit-content;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.026);
}

.online-tabs button {
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.online-tabs button.is-active {
  background: var(--green);
  color: #17101f;
}

.online-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
  outline: none;
}

.online-search input:focus {
  border-color: rgba(199, 167, 255, 0.42);
}

.online-search input::placeholder {
  color: #716b79;
}

.online-table {
  display: grid;
  gap: 8px;
}

.online-table-head,
.online-table-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) 0.75fr 0.6fr 0.9fr;
  gap: 12px;
  align-items: center;
}

.online-table-head {
  padding: 0 12px 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.online-table-row {
  min-height: 60px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.023);
  transition: border-color 160ms ease, background 160ms ease;
}

.online-table-row:hover {
  border-color: rgba(199, 167, 255, 0.22);
  background: rgba(199, 167, 255, 0.05);
}

.online-table-row[hidden] {
  display: none;
}

.online-player-main {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.online-player-main img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  image-rendering: pixelated;
  background: rgba(255, 255, 255, 0.06);
}

.online-player-main strong {
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.online-table-row span,
.online-table-row em {
  color: #aaa4b1;
  font-size: 13px;
  font-style: normal;
}

.online-table-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.online-table-row b {
  color: var(--green);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #6f6b74;
}

.status-dot.is-online {
  background: #9df0a6;
  box-shadow: 0 0 0 4px rgba(157, 240, 166, 0.08);
}

.online-status-card {
  position: sticky;
  top: 104px;
  padding: 22px;
}

.online-status-card h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.online-status-main {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid rgba(157, 240, 166, 0.14);
  border-radius: 17px;
  background: rgba(157, 240, 166, 0.045);
}

.online-status-main strong,
.online-status-main span {
  display: block;
}

.online-status-main strong {
  color: var(--text);
  font-size: 14px;
}

.online-status-main span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.online-status-list {
  display: grid;
  gap: 0;
  margin: 18px 0;
}

.online-status-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.online-status-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.online-status-list dd {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.online-side-actions {
  display: grid;
  gap: 10px;
}

.online-side-actions .button {
  width: 100%;
  justify-content: center;
}

.online-chart-card {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.01)),
    #121215;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.16);
}

.online-chart {
  position: relative;
  min-height: 244px;
  overflow: hidden;
  padding: 8px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 20px;
  background: #151519;
  cursor: default;
  outline: none;
}

.online-chart:focus-visible {
  border-color: rgba(199, 167, 255, 0.42);
}

.online-chart-svg {
  display: block;
  width: 100%;
  height: 236px;
}

.online-chart-fill {
  fill: url("#onlineChartFill");
}

.online-chart-line {
  fill: none;
  stroke: #b894ff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  filter: drop-shadow(0 0 10px rgba(199, 167, 255, 0.18));
}

.online-chart-dot {
  position: absolute;
  z-index: 3;
  width: 13px;
  height: 13px;
  border: 3px solid rgba(17, 17, 20, 0.92);
  border-radius: 50%;
  background: #f4f3ef;
  box-shadow:
    0 0 0 4px rgba(244, 243, 239, 0.14),
    0 0 16px rgba(199, 167, 255, 0.36);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.online-chart-dot[hidden] {
  display: none;
}

.online-chart-tooltip {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 0;
  width: max-content;
  max-width: 190px;
  padding: 8px 10px;
  border: 1px solid rgba(37, 129, 255, 0.32);
  border-radius: 12px;
  background: rgba(13, 13, 16, 0.94);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
  color: var(--text);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, calc(-100% - 12px));
}

.online-chart-tooltip.is-left-edge {
  transform: translate(0, calc(-100% - 12px));
}

.online-chart-tooltip.is-right-edge {
  transform: translate(-100%, calc(-100% - 12px));
}

.online-chart-tooltip[hidden] {
  display: none;
}

.online-chart-axis {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 4px 0;
  color: var(--muted);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
}

.online-chart-axis span {
  text-align: center;
}

.online-tools {
  grid-template-columns: auto minmax(220px, 1fr) minmax(180px, 0.35fr);
}

.online-sort select {
  width: 100%;
  min-height: 46px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) right 18px center / 7px 7px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) right 13px center / 7px 7px no-repeat,
    rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  outline: none;
  appearance: none;
}

.online-sort select:focus {
  border-color: rgba(199, 167, 255, 0.42);
}

.online-player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.online-player-card {
  position: relative;
  display: grid;
  min-height: 184px;
  padding: 18px 14px 16px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.012)),
    #151519;
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.online-player-card:hover,
.online-player-card:focus-visible {
  border-color: rgba(199, 167, 255, 0.26);
  background:
    linear-gradient(180deg, rgba(199, 167, 255, 0.075), rgba(255, 255, 255, 0.012)),
    #17171d;
  transform: translateY(-2px);
}

.online-player-card:focus-visible {
  outline: 2px solid rgba(199, 167, 255, 0.46);
  outline-offset: 3px;
}

.online-player-card[hidden] {
  display: none;
}

.online-player-card img {
  width: 74px;
  height: 74px;
  margin-top: 8px;
  border-radius: 18px;
  image-rendering: pixelated;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.online-player-card strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  margin-top: 13px;
  color: var(--text);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.online-player-card div {
  min-width: 0;
  width: 100%;
}

.online-player-card div span {
  display: block;
  margin-top: 5px;
  color: var(--green);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
}

.player-card-status {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

.player-card-status.is-online {
  background: rgba(157, 240, 166, 0.1);
  color: #bff4c4;
}

.donate-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.donate-price {
  color: var(--green);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.donate-page {
  background:
    radial-gradient(circle at 12% 12%, rgba(199, 167, 255, 0.055), transparent 24%),
    radial-gradient(circle at 84% 26%, rgba(221, 135, 187, 0.045), transparent 28%),
    var(--bg);
}

.donate-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.42fr);
  gap: 34px;
  align-items: stretch;
  padding-bottom: 36px;
}

.donate-hero::before {
  right: 42%;
}

.donate-hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}

.donate-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.donate-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(199, 167, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: #cfc9d9;
  font-size: 12px;
  font-weight: 750;
}

.donate-hero-panel,
.donate-cart,
.donate-info-card,
.donate-product,
.donate-rule-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    #111114;
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.16);
}

.donate-hero-panel {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 380px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  overflow: hidden;
  border-radius: 24px;
}

.donate-hero-panel::before {
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(199, 167, 255, 0.12);
  border-radius: 43% 57% 48% 52% / 45% 41% 59% 55%;
  content: "";
  opacity: 0.9;
  pointer-events: none;
  transform: rotate(-14deg);
}

.donate-panel-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: center;
}

.donate-panel-top strong {
  font-size: 14px;
}

.donate-panel-top small {
  grid-column: 2;
  color: var(--muted);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.donate-status-dot {
  grid-row: span 2;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(199, 167, 255, 0.5);
}

.donate-panel-total {
  position: relative;
  z-index: 1;
  padding: 28px 0;
}

.donate-panel-total span,
.donate-cart-row span,
.donate-nickname span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.donate-panel-total strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(48px, 7vw, 78px);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.donate-panel-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 0;
}

.donate-panel-list div {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.donate-panel-list dt {
  color: #f0eef5;
  font-size: 12px;
  font-weight: 850;
}

.donate-panel-list dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.donate-store {
  padding-top: 26px;
}

.donate-store-heading {
  display: flex;
  justify-content: space-between;
  gap: 52px;
  margin-bottom: 24px;
}

.donate-store-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.donate-store-heading p {
  max-width: 480px;
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.donate-shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.33fr);
  gap: 16px;
  align-items: start;
}

.donate-products-area {
  min-width: 0;
}

.donate-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.018);
}

.donate-categories button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.donate-categories button.is-active {
  border-color: rgba(199, 167, 255, 0.2);
  background: rgba(199, 167, 255, 0.09);
  color: var(--text);
}

.donate-categories button:disabled {
  opacity: 0.45;
}

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

.donate-product {
  position: relative;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  border-radius: 20px;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.donate-product:hover,
.donate-product.is-selected {
  border-color: rgba(199, 167, 255, 0.32);
  background:
    linear-gradient(180deg, rgba(199, 167, 255, 0.075), rgba(255, 255, 255, 0.012)),
    #121216;
  transform: translateY(-2px);
}

.donate-product.is-selected {
  box-shadow: 0 24px 70px rgba(173, 131, 243, 0.1);
}

.donate-product-featured::before {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(199, 167, 255, 0.23);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.donate-product-label {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 7px 9px;
  border: 1px solid rgba(199, 167, 255, 0.18);
  border-radius: 999px;
  background: rgba(199, 167, 255, 0.08);
  color: #cfc0e6;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.donate-product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.donate-product-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--green);
  font-size: 20px;
}

.donate-product-price {
  color: var(--text);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
}

.donate-product h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.donate-product p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.donate-product ul,
.donate-info-card ul {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.donate-product li,
.donate-info-card li {
  position: relative;
  padding-left: 17px;
  color: #d7d4dc;
  font-size: 13px;
  line-height: 1.48;
}

.donate-product li::before,
.donate-info-card li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: var(--green);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.donate-select {
  min-height: 44px;
  margin-top: auto;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.donate-select:hover,
.donate-product.is-selected .donate-select {
  border-color: rgba(199, 167, 255, 0.28);
  background: rgba(199, 167, 255, 0.11);
}

.donate-select:hover {
  transform: translateY(-1px);
}

.donate-sidebar {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 14px;
}

.donate-cart,
.donate-info-card {
  border-radius: 20px;
  padding: 22px;
}

.donate-cart {
  display: grid;
  gap: 16px;
}

.donate-nickname {
  display: grid;
  gap: 8px;
}

.donate-nickname input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.donate-nickname input:focus {
  border-color: rgba(199, 167, 255, 0.42);
  background: rgba(255, 255, 255, 0.052);
}

.donate-nickname input::placeholder {
  color: #67616e;
}

.donate-cart-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.donate-cart-row strong {
  min-width: 0;
  text-align: right;
}

.donate-cart-total strong {
  color: var(--green);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

.donate-checkout {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  cursor: pointer;
}

.donate-cart p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.donate-info-card h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.donate-rules-section {
  padding-top: 0;
}

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

.donate-rule-card {
  min-height: 230px;
  padding: 24px;
  border-radius: 18px;
}

.donate-rule-card span {
  color: #716878;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
}

.donate-rule-card h3 {
  margin: 46px 0 0;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.donate-rule-card p {
  margin: 13px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.donate-page {
  background: #0b0b0d;
}

.donate-cover {
  position: relative;
  display: grid;
  width: var(--page);
  min-height: calc(100svh - 82px);
  margin: 0 auto;
  padding: 72px 0 96px;
  place-items: center;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.donate-cover::before {
  position: absolute;
  inset: 9% 8% auto auto;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(199, 167, 255, 0.07);
  border-radius: 42% 58% 47% 53% / 44% 40% 60% 56%;
  content: "";
  opacity: 0.7;
  pointer-events: none;
  transform: rotate(-10deg);
}

.donate-cart-pill {
  position: absolute;
  top: 34px;
  right: 0;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.028);
  color: var(--text);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
}

.donate-cover-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.donate-cover h1 {
  margin: 0;
  font-size: clamp(78px, 14vw, 172px);
  line-height: 0.78;
  letter-spacing: -0.09em;
}

.donate-cover p {
  max-width: 620px;
  margin: 34px auto 0;
  color: #bcb9c3;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.donate-cover .button {
  margin-top: 34px;
}

.donate-cover-stat {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 8px 11px;
  align-items: end;
  margin-top: 42px;
  color: var(--muted);
}

.donate-cover-stat strong {
  color: var(--text);
  font-size: 34px;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.donate-cover-stat span {
  padding-bottom: 2px;
  font-size: 13px;
}

.donate-simple-shop {
  width: var(--page);
  margin: 0 auto;
  padding: 72px 0 96px;
}

.donate-simple-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 18px;
}

.donate-simple-heading h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.donate-simple-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.donate-simple-heading .donate-nickname {
  width: min(320px, 100%);
}

.donate-simple-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.donate-simple-products .donate-product {
  min-height: 240px;
  padding: 22px;
  border-radius: 18px;
}

.donate-simple-products .donate-product h3 {
  margin-top: 38px;
  font-size: 25px;
}

.donate-simple-products .donate-product p {
  margin-top: 10px;
  font-size: 14px;
}

.donate-simple-products .donate-select {
  width: 100%;
  margin-top: auto;
}

.donate-order-line {
  position: sticky;
  bottom: 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(199, 167, 255, 0.18);
  border-radius: 18px;
  background: rgba(14, 14, 17, 0.9);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.donate-order-line span {
  min-width: 0;
  padding-left: 8px;
  overflow: hidden;
  color: #dcd8e6;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.donate-order-line strong {
  color: var(--green);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
}

.donate-order-line .donate-checkout {
  width: auto;
  min-height: 44px;
  padding: 0 20px;
}

.error-body {
  min-height: 100vh;
  padding: 28px;
  background:
    radial-gradient(circle at 72% 50%, rgba(199, 167, 255, 0.075), transparent 27%),
    radial-gradient(circle at 24% 18%, rgba(221, 135, 187, 0.045), transparent 24%),
    #0b0b0d;
}

.error-stage {
  position: relative;
  display: grid;
  min-height: calc(100vh - 60px);
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 36%),
    #121216;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
}

.error-stage::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 76px 76px;
  content: "";
  opacity: 0.28;
  pointer-events: none;
}

.error-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 30px;
}

.error-brand {
  color: #f4f3ef;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.error-menu {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.07);
}

.error-menu span {
  display: block;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: rgba(244, 243, 239, 0.88);
}

.error-menu span + span {
  margin-top: -8px;
}

.error-center {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100vh - 160px);
  place-items: center;
  padding: 10vh 24px 12vh;
  text-align: center;
}

.error-scene {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 48px));
}

.error-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  justify-items: center;
  text-align: center;
}

.error-copy {
  min-width: 0;
  display: contents;
}

.error-note,
.error-subnote {
  margin: 0;
  color: rgba(244, 243, 239, 0.58);
  font-size: 15px;
  line-height: 1.45;
}

.error-note {
  margin-bottom: 22px;
  color: var(--green);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.error-subnote {
  max-width: 360px;
  margin-top: 26px;
  margin-right: auto;
  margin-left: auto;
  color: #b9b4c1;
  font-size: clamp(18px, 2vw, 24px);
}

.error-code {
  margin: 0;
  color: #f4f3ef;
  font-size: clamp(118px, 20vw, 270px);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: -0.12em;
  text-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
}

.error-code > span:not(.error-cat) {
  transform: skewX(-6deg);
}

.error-cat {
  position: relative;
  display: grid;
  width: clamp(96px, 14vw, 190px);
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border-radius: 44% 56% 49% 51% / 45% 43% 57% 55%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 24px 44px rgba(0, 0, 0, 0.24);
  transform: translateY(0.04em) rotate(-5deg);
}

.error-cat::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 38%),
    radial-gradient(circle at 50% 72%, rgba(199, 167, 255, 0.12), transparent 54%);
  content: "";
  pointer-events: none;
}

.error-cat img {
  width: 118%;
  height: 118%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.04);
}

.error-cat-full {
  position: relative;
  display: grid;
  justify-items: center;
  margin: 0;
  order: 1;
}

.error-cat-full::before {
  position: absolute;
  inset: 12% -8% 8%;
  border: 1px solid rgba(199, 167, 255, 0.13);
  border-radius: 42% 58% 50% 50% / 46% 42% 58% 54%;
  background: rgba(199, 167, 255, 0.035);
  content: "";
  transform: rotate(-8deg);
}

.error-cat-full img {
  position: relative;
  z-index: 1;
  width: min(390px, 42vw);
  max-height: min(58vh, 540px);
  object-fit: contain;
  filter: saturate(0.96) contrast(1.03) drop-shadow(0 26px 38px rgba(0, 0, 0, 0.36));
}

.site-footer {
  padding: 70px max(40px, calc((100vw - 1360px) / 2)) 28px;
  background: #08080a;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  padding-bottom: 62px;
}

.footer-brand p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 60px;
}

.footer-nav div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav strong {
  margin-bottom: 7px;
  font-size: 13px;
}

.footer-nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #6e6e69;
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  padding: 13px 17px;
  border: 1px solid rgba(199, 167, 255, 0.32);
  border-radius: 11px;
  background: rgba(18, 18, 21, 0.94);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.profile-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(199, 167, 255, 0.08), transparent 28%),
    #0b0b0d;
}

.profile-header {
  display: flex;
  justify-content: space-between;
}

.profile-back {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.profile-back:hover {
  color: var(--text);
}

.profile-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 100px;
}

.profile-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 420px;
  color: var(--muted);
}

.profile-loader {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: profile-spin 800ms linear infinite;
}

@keyframes profile-spin {
  to { transform: rotate(360deg); }
}

.profile-login-card {
  max-width: 650px;
  margin: 70px auto;
  padding: 52px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  text-align: center;
}

.profile-login-card h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -0.05em;
}

.profile-login-card p {
  margin: 20px auto 30px;
  color: var(--muted);
  line-height: 1.7;
}

.profile-identity-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border: 1px solid rgba(199, 167, 255, 0.22);
  border-radius: 22px;
  background:
    linear-gradient(110deg, rgba(199, 167, 255, 0.11), transparent 52%),
    var(--surface);
}

.profile-avatar {
  width: 104px;
  height: 104px;
  border: 3px solid rgba(199, 167, 255, 0.42);
  border-radius: 26px;
  background: #202026;
  image-rendering: pixelated;
  object-fit: cover;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.profile-identity-card .eyebrow {
  margin-bottom: 8px;
}

.profile-identity-card h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.profile-handle {
  margin: 9px 0 0;
  color: var(--muted);
}

.profile-logout {
  padding: 11px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.profile-logout:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text);
}

.profile-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
  margin-top: 16px;
}

.profile-panel {
  min-height: 390px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.profile-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.profile-panel .eyebrow {
  margin-bottom: 9px;
}

.profile-panel h2,
.profile-danger h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.profile-status {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.profile-status.is-linked {
  border-color: rgba(199, 167, 255, 0.3);
  background: rgba(199, 167, 255, 0.08);
  color: var(--green);
}

.profile-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 32px 0 0;
}

.profile-details div {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.profile-details dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-details dd {
  margin: 0;
  overflow: hidden;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  text-overflow: ellipsis;
}

.profile-empty {
  margin-top: 34px;
}

.profile-empty h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.profile-empty p,
.security-panel > p,
.profile-danger p {
  color: var(--muted);
  line-height: 1.65;
}

.profile-copy-ip {
  margin-top: 12px;
}

.security-state {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 29px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.security-state > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(199, 167, 255, 0.55);
}

.security-state > span.is-locked {
  background: #ef828e;
  box-shadow: 0 0 14px rgba(239, 130, 142, 0.5);
}

.profile-actions {
  display: flex;
  gap: 10px;
}

.profile-actions .button {
  width: 100%;
  padding: 0 17px;
  font-size: 13px;
  cursor: pointer;
}

.button-outline {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
}

.profile-danger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 16px;
  padding: 28px 32px;
  border: 1px solid rgba(239, 130, 142, 0.18);
  border-radius: 18px;
  background: rgba(239, 130, 142, 0.035);
}

.profile-danger p {
  margin: 8px 0 0;
}

.profile-danger button {
  flex: none;
  padding: 11px 17px;
  border: 1px solid rgba(239, 130, 142, 0.35);
  border-radius: 10px;
  background: transparent;
  color: #f2a2ab;
  cursor: pointer;
}

.minecraft-auth-page {
  min-height: 100vh;
  background: #050506;
}

.minecraft-auth-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 48px 20px;
}

.minecraft-auth-card {
  position: relative;
  width: min(620px, 100%);
  padding: clamp(30px, 5vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 28px;
  background: #111113;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.minecraft-auth-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 22px;
}

.minecraft-auth-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 22px;
  color: #f4f3ef !important;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  line-height: 1;
  text-decoration: none !important;
  text-transform: uppercase;
}

.minecraft-auth-brand:visited,
.minecraft-auth-brand:hover,
.minecraft-auth-brand:focus-visible {
  color: #f4f3ef !important;
  text-decoration: none !important;
}

.minecraft-auth-kicker {
  display: none !important;
}

.minecraft-auth-status {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 7px 12px;
  border: 1px solid rgba(199, 167, 255, 0.16);
  border-radius: 999px;
  color: #cbb8ec;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.minecraft-auth-status.is-success {
  border-color: rgba(166, 218, 185, 0.2);
  color: #c8e6cf;
}

.minecraft-auth-status.is-blocked {
  border-color: rgba(239, 130, 142, 0.22);
  color: #f0a8b2;
}

.minecraft-auth-loading,
.minecraft-auth-state {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.minecraft-auth-loading[hidden],
.minecraft-auth-state[hidden] {
  display: none;
}

.minecraft-auth-state h1 {
  max-width: 520px;
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 3.45rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.minecraft-auth-state p,
.minecraft-auth-loading p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.minecraft-auth-head {
  width: 104px;
  height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: #1a1a1e;
  image-rendering: pixelated;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.minecraft-auth-warning {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #161619;
}

.minecraft-auth-timer {
  min-height: 24px;
  font-size: 0.92rem;
}

.minecraft-auth-page .button {
  border-radius: 13px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.minecraft-auth-page .button-primary {
  border: 1px solid rgba(199, 167, 255, 0.28);
  background: #c7a7ff;
  box-shadow: none;
  color: #151119;
}

.minecraft-auth-page .button-primary:hover {
  border-color: rgba(230, 214, 255, 0.42);
  background: #d1b6ff;
  filter: none;
}

.minecraft-auth-page .button-primary:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

@media (max-width: 520px) {
  .minecraft-auth-card {
    padding: 30px 20px;
  }

  .minecraft-auth-brand {
    margin-bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-reveal [data-reveal],
  .has-reveal [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .has-reveal .hero-visual[data-reveal="image"] .hero-image-fade::after {
    display: none;
  }
}

@media (max-width: 1180px) {
  :root {
    --page: min(100% - 48px, 1100px);
  }

  .site-header {
    padding: 0 24px;
  }

  .main-nav a {
    gap: 7px;
    padding: 8px 9px 8px 8px;
    font-size: 12px;
  }

  .nav-icon {
    width: 16px;
    height: 16px;
  }

  .social-link {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1.7fr) minmax(330px, 1fr);
  }

  .hero-copy {
    width: calc(100% - 48px);
    margin-left: 36px;
  }

  .hero h1 {
    font-size: clamp(51px, 6vw, 70px);
  }

  .server-strip {
    grid-template-columns: 1.1fr 0.65fr 0.65fr 1.1fr;
  }

  .server-strip-community {
    grid-column: 1 / -1;
    min-height: 50px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .faq-section {
    gap: 60px;
  }

  .page-grid,
  .online-grid,
  .online-summary,
  .stats-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .online-layout {
    grid-template-columns: 1fr;
  }

  .online-status-card {
    position: static;
  }

  .online-dashboard {
    grid-template-columns: 1fr;
  }

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

  .donate-hero-panel {
    min-height: 0;
  }

  .donate-sidebar {
    position: static;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr;
    gap: 14px;
  }

  .header-brand {
    justify-self: start;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text);
    cursor: pointer;
  }

  .menu-toggle-lines,
  .menu-toggle-lines::before,
  .menu-toggle-lines::after {
    display: block;
    width: 17px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle-lines::before {
    transform: translateY(-6px);
  }

  .menu-toggle-lines::after {
    transform: translateY(4px);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-lines {
    background: transparent;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
    transform: translateY(0) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
    transform: translateY(-2px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px 24px 18px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: rgba(11, 11, 13, 0.98);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 14px;
    font-size: 14px;
  }

  .nav-icon {
    width: 17px;
    height: 17px;
  }

  .header-actions {
    display: none;
  }

  .site-header.has-account-menu {
    grid-template-columns: auto 1fr auto;
  }

  .site-header.has-account-menu .header-actions {
    display: flex;
    justify-self: end;
    gap: 0;
  }

  .map-fullscreen {
    height: calc(100svh - 82px);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    width: var(--page);
    margin: 0 auto;
    padding: 72px 0 66px;
  }

  .hero-visual {
    min-height: 500px;
    margin-left: 0;
    border-top: 1px solid rgba(199, 167, 255, 0.2);
    border-left: 0;
    border-radius: 0;
    clip-path: none;
    filter: none;
  }

  .hero-image-fade {
    background: linear-gradient(180deg, var(--bg), transparent 22%, rgba(11, 11, 13, 0.22));
  }

  .hero-visual::before {
    inset: -1px 0 auto;
    width: auto;
    height: 3px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(90deg, transparent 4%, rgba(199, 167, 255, 0.72) 42%, rgba(227, 182, 255, 0.22) 72%, transparent 96%);
    box-shadow: none;
    filter: none;
  }

  .hero-visual::after {
    display: none;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

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

  .feature-card,
  .feature-card-main,
  .feature-card-main + .feature-card,
  .feature-card-offset,
  .feature-card-offset + .feature-card {
    grid-column: auto;
    margin-top: 0;
  }

  .rules-note {
    grid-template-columns: 0.8fr 1.5fr;
  }

  .rules-note a {
    grid-column: 2;
  }

  .community-banner {
    align-items: flex-start;
    flex-direction: column;
    padding: 48px;
  }

  .faq-section {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
  }

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

  .page-hero {
    padding: 70px 0 42px;
  }

  .page-panel.split {
    grid-template-columns: 1fr;
  }

  .online-top,
  .online-tools {
    grid-template-columns: 1fr;
  }

  .online-ip {
    width: 100%;
    min-width: 0;
  }

  .online-tabs {
    width: 100%;
  }

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

  .stats-tabs {
    width: 100%;
    justify-content: space-between;
  }

  .donate-store-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .donate-sidebar,
  .donate-rules-grid {
    grid-template-columns: 1fr;
  }

  .error-body {
    padding: 18px;
  }

  .error-stage {
    min-height: calc(100vh - 36px);
  }

  .error-topbar {
    padding: 22px;
  }

  .sakura-petal {
    opacity: 0.15;
  }

  .sakura-02,
  .sakura-04,
  .sakura-05,
  .sakura-07,
  .sakura-09,
  .sakura-11,
  .sakura-13,
  .sakura-15,
  .sakura-17,
  .sakura-19 {
    display: none;
  }

  .sakura-01 {
    top: 14%;
    right: 24px;
    left: auto;
  }

  .sakura-03 {
    bottom: 4%;
    left: 24px;
    right: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --page: calc(100% - 32px);
  }

  .site-header {
    min-height: 70px;
    padding: 0 16px;
  }

  .map-fullscreen {
    height: calc(100svh - 70px);
  }

  .account-trigger {
    min-height: 38px;
    padding: 4px 7px 4px 4px;
    border-radius: 12px;
  }

  .account-head {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .account-name {
    display: none;
  }

  .account-chevron {
    height: 28px;
    font-size: 20px;
  }

  .account-dropdown {
    min-width: 146px;
  }

  .sakura-petal {
    width: 22px;
    opacity: 0.12;
  }

  .sakura-06 {
    top: 48px;
    right: 10px;
  }

  .sakura-10 {
    top: 34px;
    left: 10px;
  }

  .sakura-14 {
    right: 2%;
  }

  .sakura-18 {
    left: 12px;
  }

  .sakura-01 {
    top: 16%;
    right: 18px;
    width: 22px;
  }

  .sakura-03 {
    bottom: 2%;
    left: 18px;
    width: 20px;
  }

  .hero-copy {
    min-width: 0;
  }

  .hero-copy > * {
    max-width: 100%;
  }

  .online-shell {
    padding: 40px 0 72px;
  }

  .online-summary {
    grid-template-columns: 1fr;
  }

  .online-summary article {
    min-height: 96px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .online-summary article:last-child {
    border-bottom: 1px solid var(--line);
  }

  .online-player-panel,
  .online-status-card {
    padding: 18px;
    border-radius: 20px;
  }

  .online-card-head {
    flex-direction: column;
  }

  .online-chart-card {
    padding: 18px;
    border-radius: 20px;
  }

  .online-chart {
    min-height: 180px;
    padding-top: 8px;
  }

  .online-chart-svg {
    height: 172px;
  }

  .online-chart-axis {
    font-size: 10px;
  }

  .online-tabs {
    overflow-x: auto;
  }

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

  .online-player-card {
    min-height: 162px;
    padding: 16px 10px 14px;
    border-radius: 18px;
  }

  .online-player-card img {
    width: 64px;
    height: 64px;
    border-radius: 15px;
  }

  .online-table-head {
    display: none;
  }

  .online-table-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
  }

  .online-table-row em {
    grid-column: 1 / -1;
  }

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

  .stats-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .stats-panel-head {
    flex-direction: column;
  }

  .stats-tabs {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .player-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .player-row b {
    grid-column: 2;
  }

  .activity-chart {
    gap: 7px;
    min-height: 180px;
  }

  .profile-shell {
    width: calc(100% - 32px);
    padding: 42px 0 70px;
  }

  .profile-identity-card {
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 22px;
  }

  .profile-avatar {
    width: 68px;
    height: 68px;
    border-radius: 18px;
  }

  .profile-identity-card h1 {
    font-size: 28px;
  }

  .profile-logout {
    grid-column: span 2;
    width: 100%;
  }

  .profile-panel {
    min-height: 0;
    padding: 24px;
  }

  .profile-panel-heading {
    flex-direction: column;
  }

  .profile-details {
    grid-template-columns: 1fr;
  }

  .profile-danger {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .brand-name {
    font-size: 13px;
  }

  .header-brand {
    font-size: 15px;
    letter-spacing: 0.14em;
  }

  .hero-copy {
    padding: 56px 0 50px;
  }

  .hero h1 {
    font-size: clamp(42px, 11.5vw, 52px);
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions,
  .server-address,
  .hero-actions .button {
    width: 100%;
  }

  .server-address {
    min-width: 0;
    overflow: hidden;
    justify-content: space-between;
  }

  .server-address strong {
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .copy-label {
    display: none;
  }

  .server-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .hero-visual {
    min-height: 400px;
  }

  .section {
    padding: 76px 0;
  }

  .page-section {
    padding: 28px 0 72px;
  }

  .page-grid,
  .page-grid.two-columns,
  .online-grid,
  .donate-products {
    grid-template-columns: 1fr;
  }

  .donate-hero {
    gap: 22px;
    padding-top: 62px;
  }

  .donate-hero-panel,
  .donate-product,
  .donate-cart,
  .donate-info-card,
  .donate-rule-card {
    border-radius: 16px;
  }

  .donate-hero-panel,
  .donate-product,
  .donate-cart,
  .donate-info-card,
  .donate-rule-card {
    padding: 22px;
  }

  .donate-panel-total strong {
    font-size: 48px;
  }

  .donate-categories {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .donate-categories button {
    flex: none;
  }

  .donate-product {
    min-height: 0;
  }

  .page-card,
  .page-panel,
  .donate-card,
  .online-stat {
    min-height: 0;
    padding: 24px;
  }

  .map-preview {
    min-height: 300px;
  }

  .error-body {
    padding: 0;
    background: #202020;
  }

  .error-stage {
    min-height: 100vh;
    box-shadow: none;
  }

  .error-topbar {
    padding: 18px;
  }

  .error-brand {
    font-size: 14px;
  }

  .error-menu {
    width: 30px;
    height: 30px;
  }

  .error-center {
    min-height: calc(100vh - 90px);
    padding: 8vh 16px 10vh;
  }

  .error-code {
    gap: 8px;
    letter-spacing: -0.14em;
  }

  .error-cat {
    width: clamp(82px, 24vw, 118px);
  }

  .review-card {
    width: min(350px, calc(100vw - 40px));
  }

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

  .feature-card,
  .feature-card-main {
    min-height: 0;
  }

  .server-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 16px;
  }

  .server-strip > * {
    min-height: 72px;
    border-top: 1px solid var(--line);
  }

  .server-strip-status,
  .server-strip-item:first-of-type {
    border-top: 0;
  }

  .server-strip-item:nth-of-type(3) {
    grid-column: 1 / -1;
    border-left: 0;
  }

  .server-strip > *:nth-child(odd) {
    border-left: 0;
  }

  .server-strip-ip,
  .server-strip-community {
    grid-column: 1 / -1;
    border-left: 0;
  }

  .server-strip-community {
    min-height: 52px;
  }

  .rules-note {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .rules-note a {
    grid-column: auto;
  }

  .feature-caption {
    position: static;
    display: block;
    margin-top: 17px;
  }

  .feature-details {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .rules-note p {
    font-size: 12px;
  }

  .reviews-section {
    padding-top: 70px;
  }

  .community-banner {
    width: var(--page);
    padding: 35px 28px;
  }

  .faq-list summary {
    font-size: 15px;
  }

  .site-footer {
    padding: 55px 16px 24px;
  }

  .footer-main {
    flex-direction: column;
    gap: 48px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 42px 28px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reviews-track {
    width: auto;
    padding-right: 16px;
    padding-left: 16px;
    overflow-x: auto;
  }
}

@media (max-width: 900px) {
  .donate-cover {
    min-height: auto;
    padding: 82px 0 78px;
  }

  .donate-cart-pill {
    top: 22px;
  }

  .donate-simple-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .donate-simple-heading .donate-nickname {
    width: 100%;
  }

  .donate-simple-products {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .donate-cover {
    width: var(--page);
    padding: 62px 0 64px;
  }

  .donate-cart-pill {
    position: static;
    justify-self: end;
    margin-bottom: 42px;
  }

  .donate-cover h1 {
    font-size: clamp(62px, 20vw, 92px);
  }

  .donate-cover p {
    margin-top: 24px;
    font-size: 16px;
  }

  .donate-simple-shop {
    padding: 54px 0 78px;
  }

  .donate-order-line {
    grid-template-columns: 1fr auto;
  }

  .donate-order-line .donate-checkout {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .error-layout {
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
  }

  .error-subnote {
    margin-right: auto;
    margin-left: auto;
  }

  .error-cat-full img {
    width: min(260px, 62vw);
    max-height: 42vh;
  }
}

@media (max-width: 640px) {
  .error-body {
    padding: 0;
    background: #0b0b0d;
  }

  .error-stage {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .error-scene {
    width: calc(100% - 32px);
    padding: 44px 0;
  }

  .error-note {
    margin-bottom: 18px;
  }

  .error-code {
    font-size: clamp(92px, 31vw, 132px);
  }

  .error-subnote {
    margin-top: 18px;
    font-size: 17px;
  }
}

.error-poster-body {
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  background: #000;
}

.error-poster {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
}

.error-poster::before {
  display: none;
}

.error-poster::after {
  display: none;
}

.error-poster-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: min(980px, calc(100% - 40px));
  min-height: min(760px, 100svh);
  gap: 18px;
  padding: 48px 20px 42px;
  text-align: center;
}

.error-poster-brand {
  position: static;
  z-index: 3;
  color: rgba(244, 243, 239, 0.72);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.error-poster-number {
  position: static;
  z-index: 0;
  color: #f4f3ef;
  font-size: clamp(96px, 18vw, 220px);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: -0.14em;
  pointer-events: none;
  text-shadow: 0 18px 70px rgba(0, 0, 0, 0.36);
  transform: skewX(-4deg);
  user-select: none;
}

.error-poster-cat {
  position: relative;
  z-index: 2;
  display: grid;
  margin: 0;
  place-items: center;
  transform: none;
}

.error-poster-cat::before {
  position: absolute;
  inset: 10% 4% 6%;
  z-index: -1;
  border: 1px solid rgba(199, 167, 255, 0.13);
  border-radius: 44% 56% 52% 48% / 44% 42% 58% 56%;
  background: rgba(199, 167, 255, 0.035);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  content: "";
  transform: rotate(-7deg);
}

.error-poster-cat img {
  width: min(340px, 36vw);
  max-height: min(48svh, 430px);
  object-fit: contain;
  filter:
    saturate(0.96)
    contrast(1.03)
    drop-shadow(0 30px 40px rgba(0, 0, 0, 0.42));
}

.error-poster-title {
  position: static;
  z-index: 3;
  margin: 0;
  color: #f4f3ef;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.error-poster-text {
  position: static;
  z-index: 3;
  margin: -6px 0 0;
  color: rgba(244, 243, 239, 0.48);
  font-size: 14px;
}

@media (max-width: 760px) {
  .error-poster-inner {
    width: calc(100% - 28px);
    min-height: 100svh;
    gap: 15px;
    padding: 44px 16px 34px;
  }

  .error-poster-brand {
    position: static;
  }

  .error-poster-number {
    font-size: clamp(84px, 32vw, 150px);
  }

  .error-poster-cat img {
    width: min(260px, 64vw);
    max-height: 42svh;
  }

  .error-poster-title {
    font-size: 26px;
  }
}

.hw-donate-page {
  min-height: calc(100vh - 82px);
  padding: 34px 0 86px;
  background: #f4f6fb;
  color: #17181d;
}

.hw-shop {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
}

.hw-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.36fr);
  gap: 24px;
  min-height: 330px;
  padding: 42px;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.35), transparent 28%),
    linear-gradient(135deg, #b996ff, #8f6be8 56%, #6e56cf);
  color: #fff;
  box-shadow: 0 24px 70px rgba(75, 52, 132, 0.24);
}

.hw-hero-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hw-hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.hw-hero p {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.55;
}

.hw-hero-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 20px;
  border-radius: 15px;
  background: #fff;
  color: #17181d;
  box-shadow: 0 12px 34px rgba(41, 31, 69, 0.18);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.hw-hero-art {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 220px;
}

.hw-hero-art::before {
  position: absolute;
  inset: 8% 0;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.16);
  content: "";
  transform: rotate(-8deg);
}

.hw-hero-art span,
.hw-hero-art strong {
  position: relative;
  z-index: 1;
}

.hw-hero-art span {
  font-size: 96px;
  line-height: 1;
  text-shadow: 0 16px 36px rgba(55, 38, 93, 0.26);
}

.hw-hero-art strong {
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.86);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.hw-store {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.hw-sidebar,
.hw-products-area,
.hw-checkout {
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(35, 39, 50, 0.08);
}

.hw-sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 18px;
}

.hw-side-block {
  display: grid;
  gap: 9px;
}

.hw-side-block h2 {
  margin: 0 0 2px;
  color: #17181d;
  font-size: 14px;
}

.hw-side-block button {
  min-height: 42px;
  padding: 0 13px;
  border: 0;
  border-radius: 14px;
  background: #f4f6fb;
  color: #646a78;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  text-align: left;
}

.hw-side-block button.is-active {
  background: #ece5ff;
  color: #6d4ec6;
}

.hw-side-block button:disabled {
  opacity: 0.55;
}

.hw-products-area {
  padding: 22px;
}

.hw-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.hw-section-heading h2 {
  margin: 0;
  color: #17181d;
  font-size: 32px;
  letter-spacing: -0.045em;
}

.hw-section-heading p {
  margin: 7px 0 0;
  color: #8a8f9c;
  font-size: 13px;
  font-weight: 750;
}

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

.hw-product {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #edf0f6;
  border-radius: 24px;
  background: #fff;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.hw-product:hover,
.hw-product.is-selected {
  border-color: #d7c8ff;
  background: #fff;
  box-shadow: 0 18px 44px rgba(112, 83, 177, 0.12);
  transform: translateY(-3px);
}

.hw-product-image {
  display: grid;
  min-height: 138px;
  place-items: center;
}

.hw-product-image span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 56px;
  filter: drop-shadow(0 12px 22px rgba(33, 31, 48, 0.18));
}

.hw-product-image-one { background: linear-gradient(135deg, #76a9ff, #6c7dff); }
.hw-product-image-two { background: linear-gradient(135deg, #f0a3d5, #b996ff); }
.hw-product-image-three { background: linear-gradient(135deg, #6b6ee8, #8b5bd6); }
.hw-product-image-four { background: linear-gradient(135deg, #ffb76d, #a977ff); }

.hw-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.hw-product h3 {
  margin: 0;
  color: #17181d;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.hw-product p {
  margin: 9px 0 16px;
  color: #777d8b;
  font-size: 13px;
  line-height: 1.48;
}

.hw-product-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: auto;
}

.hw-product-bottom strong {
  color: #17181d;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 18px;
}

.hw-product .donate-select {
  min-height: 42px;
  margin: 0;
  border: 0;
  border-radius: 14px;
  background: #387bff;
  color: #fff;
  box-shadow: 0 12px 26px rgba(56, 123, 255, 0.22);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.hw-product.is-selected .donate-select {
  background: #6d4ec6;
  box-shadow: 0 12px 26px rgba(109, 78, 198, 0.22);
}

.hw-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  margin-top: 16px;
  padding: 16px;
}

.hw-checkout div {
  display: grid;
  gap: 4px;
}

.hw-checkout span {
  color: #8a8f9c;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.hw-checkout strong {
  color: #17181d;
  font-size: 14px;
}

.hw-pay-button {
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 15px;
  background: #17181d;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

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

@media (max-width: 900px) {
  .hw-donate-page {
    padding-top: 22px;
  }

  .hw-shop {
    width: min(100% - 32px, 720px);
  }

  .hw-hero,
  .hw-store,
  .hw-section-heading {
    grid-template-columns: 1fr;
  }

  .hw-hero {
    padding: 28px;
  }

  .hw-hero-art {
    display: none;
  }

  .hw-sidebar {
    display: flex;
    overflow-x: auto;
  }

  .hw-side-block {
    min-width: 220px;
  }

  .hw-checkout {
    grid-template-columns: 1fr auto;
  }

  .hw-pay-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .hw-products {
    grid-template-columns: 1fr;
  }

  .hw-hero h1 {
    font-size: 42px;
  }
}

.hw-donate-page {
  position: relative;
  overflow: hidden;
  background: #0b0b0d;
  color: var(--text);
}

.hw-donate-page::before,
.hw-donate-page::after {
  position: absolute;
  z-index: 0;
  display: block;
  width: 34px;
  aspect-ratio: 1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
  opacity: 0.18;
  pointer-events: none;
}

.hw-donate-page::before {
  top: 190px;
  left: max(18px, calc((100vw - 1320px) / 2));
  background-image: url("/assets/sakura/petal-10.png");
  transform: rotate(-18deg);
}

.hw-donate-page::after {
  top: 340px;
  right: max(18px, calc((100vw - 1320px) / 2));
  width: 38px;
  background-image: url("/assets/sakura/petal-15.png");
  transform: rotate(16deg);
}

.hw-shop {
  position: relative;
  z-index: 1;
}

.hw-hero,
.hw-store {
  position: relative;
}

.hw-hero {
  border: 1px solid rgba(199, 167, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(199, 167, 255, 0.12), rgba(18, 18, 21, 0.96) 48%, rgba(12, 12, 15, 0.98)),
    #111114;
  color: var(--text);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.hw-hero > :not(.hw-petal) {
  position: relative;
  z-index: 1;
}

.hw-hero-kicker {
  color: var(--green);
}

.hw-hero p {
  color: #c7c1cf;
}

.hw-hero-button {
  background: var(--green);
  color: #17101f;
  box-shadow: 0 14px 34px rgba(173, 131, 243, 0.18);
}

.hw-hero-art::before {
  border: 1px solid rgba(199, 167, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
}

.hw-hero-art strong {
  border: 1px solid rgba(199, 167, 255, 0.18);
  background: rgba(12, 12, 15, 0.5);
}

.hw-petal {
  position: absolute;
  z-index: 0;
  display: block;
  width: 28px;
  aspect-ratio: 1;
  background-image: var(--hw-petal-image, url("/assets/sakura/petal-1.png"));
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.22;
  pointer-events: none;
  filter: saturate(0.95);
}

.hw-petal-1 { --hw-petal-image: url("/assets/sakura/petal-2.png"); top: 28px; left: 35%; width: 30px; transform: rotate(-18deg); }
.hw-petal-2 { --hw-petal-image: url("/assets/sakura/petal-8.png"); top: 52px; right: 7%; width: 34px; transform: rotate(16deg); }
.hw-petal-3 { --hw-petal-image: url("/assets/sakura/petal-14.png"); right: 30%; bottom: 38px; width: 28px; transform: rotate(-24deg); }
.hw-petal-4 { --hw-petal-image: url("/assets/sakura/petal-17.png"); bottom: 26px; left: 7%; width: 22px; transform: rotate(22deg); }
.hw-petal-5 { --hw-petal-image: url("/assets/sakura/petal-11.png"); top: 44%; right: 18%; width: 24px; transform: rotate(-8deg); }
.hw-petal-6 { --hw-petal-image: url("/assets/sakura/petal-6.png"); top: -18px; right: 11%; width: 26px; transform: rotate(18deg); }
.hw-petal-7 { --hw-petal-image: url("/assets/sakura/petal-12.png"); bottom: 22px; left: 16%; width: 24px; transform: rotate(-16deg); }

.hw-store::before,
.hw-store::after {
  position: absolute;
  z-index: 0;
  display: block;
  aspect-ratio: 1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
  opacity: 0.16;
  pointer-events: none;
}

.hw-store::before {
  top: 112px;
  left: -52px;
  width: 31px;
  background-image: url("/assets/sakura/petal-3.png");
  transform: rotate(22deg);
}

.hw-store::after {
  right: -48px;
  bottom: 88px;
  width: 36px;
  background-image: url("/assets/sakura/petal-18.png");
  transform: rotate(-14deg);
}

.hw-store > :not(.hw-petal) {
  position: relative;
  z-index: 1;
}

.hw-sidebar,
.hw-products-area,
.hw-checkout {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.012)),
    #121215;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
}

.hw-side-block h2,
.hw-section-heading h2,
.hw-product h3,
.hw-product-bottom strong,
.hw-checkout strong {
  color: var(--text);
}

.hw-section-heading p,
.hw-side-block button,
.hw-checkout span {
  color: var(--muted);
}

.hw-side-block button {
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.035);
}

.hw-side-block button.is-active {
  border-color: rgba(199, 167, 255, 0.22);
  background: rgba(199, 167, 255, 0.1);
  color: var(--green);
}

.hw-product {
  border-color: var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.012)),
    #16161a;
}

.hw-product:hover,
.hw-product.is-selected {
  border-color: rgba(199, 167, 255, 0.3);
  background:
    linear-gradient(180deg, rgba(199, 167, 255, 0.08), rgba(255, 255, 255, 0.014)),
    #181820;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.hw-product p {
  color: #a8a2ae;
}

.hw-product-image-one { background: linear-gradient(135deg, #5876d6, #6c55d8); }
.hw-product-image-two { background: linear-gradient(135deg, #cc79ac, #9e74ef); }
.hw-product-image-three { background: linear-gradient(135deg, #4b4ec4, #8b5bd6); }
.hw-product-image-four { background: linear-gradient(135deg, #d18a54, #8d63e5); }

.hw-product .donate-select {
  background: var(--green);
  color: #17101f;
  box-shadow: 0 12px 26px rgba(173, 131, 243, 0.18);
}

.hw-product.is-selected .donate-select {
  background: #f4f3ef;
  color: #17101f;
}

.hw-pay-button {
  background: var(--green);
  color: #17101f;
}

.donate-order-menu[hidden] {
  display: none !important;
}

.donate-order-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
}

.donate-order-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.donate-order-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(520px, 100%);
  max-height: calc(100vh - 48px);
  gap: 16px;
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(199, 167, 255, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    #121215;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.46);
  color: var(--text);
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 180ms ease, transform 180ms ease;
}

.donate-order-menu.is-open .donate-order-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.donate-order-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.donate-order-close:hover,
.donate-order-close:focus-visible {
  color: var(--text);
  border-color: rgba(199, 167, 255, 0.32);
}

.donate-order-kicker {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(199, 167, 255, 0.2);
  border-radius: 999px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.donate-order-panel h2 {
  margin: 0;
  padding-right: 42px;
  color: var(--text);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.05em;
}

.donate-order-note {
  margin: -7px 0 2px;
  color: #aaa4b1;
  font-size: 14px;
  line-height: 1.55;
}

.donate-order-summary {
  display: grid;
  grid-template-columns: 1fr 0.65fr 0.65fr;
  gap: 10px;
}

.donate-order-summary div {
  display: grid;
  gap: 5px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
}

.donate-order-summary span,
.donate-order-field span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.donate-order-summary strong {
  color: var(--text);
  font-size: 14px;
}

.donate-order-field {
  display: grid;
  gap: 8px;
}

.donate-order-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  outline: none;
}

.donate-order-field input:focus {
  border-color: rgba(199, 167, 255, 0.48);
  background: rgba(255, 255, 255, 0.06);
}

.donate-order-field input::placeholder {
  color: #716b79;
}

.donate-promo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.donate-promo-row button {
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(199, 167, 255, 0.24);
  border-radius: 15px;
  background: rgba(199, 167, 255, 0.1);
  color: var(--green);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.donate-promo-row button:hover,
.donate-promo-row button:focus-visible {
  background: rgba(199, 167, 255, 0.15);
}

.donate-promo-status {
  min-height: 18px;
  margin: -5px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.donate-promo-status.is-success {
  color: #bfe7c0;
}

.donate-promo-status.is-error {
  color: #ffb4c0;
}

.donate-order-panel .hw-pay-button {
  width: 100%;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .hw-petal {
    opacity: 0.16;
  }

  .hw-petal-2,
  .hw-petal-3,
  .hw-petal-5,
  .hw-petal-7 {
    display: none;
  }
}

@media (max-width: 620px) {
  .donate-order-menu {
    padding: 14px;
  }

  .donate-order-panel {
    padding: 22px;
    border-radius: 22px;
  }

  .donate-order-summary,
  .donate-promo-row {
    grid-template-columns: 1fr;
  }
}


.profile-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: #050506;
}

.profile-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 6, 0.88);
}

.profile-header-brand,
.profile-header-brand:visited,
.profile-header-brand:hover,
.profile-header-brand:focus-visible {
  color: #f4f3ef;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-shadow: none;
  text-transform: uppercase;
}

.profile-top-nav {
  display: flex;
  position: static;
  flex-direction: row;
  align-items: center;
  justify-self: center;
  max-width: 100%;
}

.profile-header-account {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  min-height: 42px;
  padding: 5px 9px 5px 5px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.profile-header-account-menu {
  justify-self: end;
}

.profile-header-account-menu[hidden] {
  display: none;
}

.profile-header-account:hover,
.profile-header-account:focus-visible {
  border-color: rgba(199, 167, 255, 0.22);
  background: rgba(199, 167, 255, 0.075);
  transform: translateY(-1px);
}

.profile-header-account img {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: #202026;
  image-rendering: pixelated;
}

.profile-header-account span:first-of-type {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-shell {
  position: relative;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 96px;
}

.profile-content,
.profile-loading,
.profile-login-card {
  position: relative;
  z-index: 1;
}

.profile-petal {
  position: absolute;
  z-index: 0;
  width: 34px;
  height: 34px;
  background: center / contain no-repeat;
  opacity: 0.34;
  pointer-events: none;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.28));
}

.profile-petal-front {
  z-index: 2;
  opacity: 0.42;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.34));
}

.profile-petal-1 {
  top: 82px;
  left: -28px;
  width: 30px;
  height: 30px;
  background-image: url("/assets/sakura/petal-5.png");
  transform: rotate(-18deg);
}

.profile-petal-2 {
  top: 230px;
  right: -18px;
  width: 42px;
  height: 42px;
  background-image: url("/assets/sakura/petal-13.png");
  opacity: 0.28;
  transform: rotate(28deg);
}

.profile-petal-3 {
  top: 560px;
  left: -34px;
  background-image: url("/assets/sakura/petal-8.png");
  opacity: 0.25;
  transform: rotate(54deg);
}

.profile-petal-4 {
  right: 5%;
  bottom: 70px;
  width: 26px;
  height: 26px;
  background-image: url("/assets/sakura/petal-17.png");
  opacity: 0.2;
  transform: rotate(-38deg);
}

.profile-petal-5 {
  top: 125px;
  left: 16%;
  width: 25px;
  height: 25px;
  background-image: url("/assets/sakura/petal-2.png");
  transform: rotate(18deg);
}

.profile-petal-6 {
  top: 318px;
  left: 3%;
  width: 40px;
  height: 40px;
  background-image: url("/assets/sakura/petal-11.png");
  opacity: 0.34;
  transform: rotate(-31deg);
}

.profile-petal-7 {
  top: 430px;
  right: 18%;
  width: 28px;
  height: 28px;
  background-image: url("/assets/sakura/petal-14.png");
  opacity: 0.38;
  transform: rotate(46deg);
}

.profile-petal-8 {
  right: 4%;
  bottom: 220px;
  width: 36px;
  height: 36px;
  background-image: url("/assets/sakura/petal-18.png");
  opacity: 0.3;
  transform: rotate(-12deg);
}

.profile-brow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 104px;
  margin-bottom: 26px;
  padding: 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: #111114;
}

.profile-brow > div {
  min-width: 0;
}

.profile-kicker {
  display: inline-flex;
  color: #bfa0f4;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.profile-brow h1 {
  margin: 8px 0 0;
  color: var(--text);
  font-size: clamp(36px, 5vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.player-profile-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.player-model-card,
.profile-panel {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.006)),
    #111114;
  box-shadow: none;
}

.player-model-card {
  position: sticky;
  top: 94px;
  overflow: hidden;
}

.player-model-stage {
  position: relative;
  display: grid;
  min-height: 500px;
  overflow: hidden;
  place-items: center;
  padding: 34px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0d10;
  cursor: grab;
  perspective: 900px;
  perspective-origin: 50% 42%;
  touch-action: none;
  user-select: none;
}

.player-model-stage.is-dragging {
  cursor: grabbing;
}

.skin-viewer-hint {
  position: absolute;
  left: 18px;
  top: 16px;
  z-index: 2;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: #a9a2b2;
  font-size: 11px;
  font-weight: 850;
  pointer-events: none;
}

.skin-viewer-state {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  max-width: calc(100% - 36px);
  padding: 8px 10px;
  border: 1px solid rgba(199, 167, 255, 0.16);
  border-radius: 999px;
  background: rgba(13, 13, 16, 0.74);
  color: #cfc8d8;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  pointer-events: none;
  text-align: right;
}

.skin-viewer-state.is-error {
  border-color: rgba(255, 116, 128, 0.24);
  color: #ffd0d6;
}

.minecraft-model-canvas {
  display: block;
  width: min(280px, 100%) !important;
  max-width: 100%;
  height: auto !important;
  border-radius: 18px;
  cursor: grab;
  outline: none;
  touch-action: none;
}

.player-model-stage.is-dragging .minecraft-model-canvas,
.minecraft-model-canvas:active {
  cursor: grabbing;
}

.minecraft-model {
  position: relative;
  --model-rotate-x: -8deg;
  --model-rotate-y: -28deg;
  width: 160px;
  height: 320px;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  transform: translateY(0) rotateX(var(--model-rotate-x)) rotateY(var(--model-rotate-y));
  transition: transform 120ms ease-out;
  animation: minecraft-model-idle 4.2s ease-in-out infinite;
}

.minecraft-model[data-model-type="slim"] {
  width: 150px;
}

.player-model-stage.is-dragging .minecraft-model {
  transform: rotateX(var(--model-rotate-x)) rotateY(var(--model-rotate-y));
  animation: none;
  transition: none;
}

@keyframes minecraft-model-idle {
  0%,
  100% {
    transform: translateY(0) rotateX(var(--model-rotate-x)) rotateY(var(--model-rotate-y));
  }

  50% {
    transform: translateY(-7px) rotateX(var(--model-rotate-x)) rotateY(var(--model-rotate-y));
  }
}

.skin-part,
.skin-face {
  position: absolute;
  display: block;
  transform-style: preserve-3d;
}

.skin-part {
  transform: translateZ(0);
}

.skin-part-head {
  transform-origin: 50% 90%;
  animation: skin-head-idle 3.8s ease-in-out infinite;
}

.skin-part-body {
  transform-origin: 50% 50%;
  animation: skin-body-idle 4.2s ease-in-out infinite;
}

.skin-part-right-arm {
  transform-origin: 50% 0;
  animation: skin-right-arm-idle 3.6s ease-in-out infinite;
}

.skin-part-left-arm {
  transform-origin: 50% 0;
  animation: skin-left-arm-idle 3.6s ease-in-out infinite;
}

.skin-part-right-leg {
  transform-origin: 50% 0;
  animation: skin-right-leg-idle 4.4s ease-in-out infinite;
}

.skin-part-left-leg {
  transform-origin: 50% 0;
  animation: skin-left-leg-idle 4.4s ease-in-out infinite;
}

.player-model-stage.is-dragging .skin-part {
  animation-play-state: paused;
}

@keyframes skin-head-idle {
  0%,
  100% { transform: rotateZ(0deg) rotateY(0deg); }
  42% { transform: rotateZ(-1.6deg) rotateY(3deg); }
  72% { transform: rotateZ(1.1deg) rotateY(-2deg); }
}

@keyframes skin-body-idle {
  0%,
  100% { transform: scaleY(1); }
  50% { transform: scaleY(1.012); }
}

@keyframes skin-right-arm-idle {
  0%,
  100% { transform: rotateX(0deg) rotateZ(1deg); }
  50% { transform: rotateX(6deg) rotateZ(-2deg); }
}

@keyframes skin-left-arm-idle {
  0%,
  100% { transform: rotateX(0deg) rotateZ(-1deg); }
  50% { transform: rotateX(-5deg) rotateZ(2deg); }
}

@keyframes skin-right-leg-idle {
  0%,
  100% { transform: rotateX(0deg); }
  50% { transform: rotateX(-2.5deg); }
}

@keyframes skin-left-leg-idle {
  0%,
  100% { transform: rotateX(0deg); }
  50% { transform: rotateX(2.5deg); }
}

.skin-face {
  left: 50%;
  top: 50%;
  background-repeat: no-repeat;
  backface-visibility: hidden;
  image-rendering: pixelated;
  outline: 1px solid rgba(0, 0, 0, 0.06);
}

.skin-face-overlay {
  outline-color: rgba(0, 0, 0, 0.03);
}

.skin-part-head .skin-face {
  outline-color: rgba(0, 0, 0, 0.08);
}

.player-skin {
  image-rendering: pixelated;
}

.player-name-plate {
  display: grid;
  gap: 6px;
  padding: 22px;
}

.player-name-plate strong {
  color: var(--text);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.04em;
  word-break: break-word;
}

.player-name-plate span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.player-profile-main {
  display: grid;
  gap: 18px;
}

.profile-panel {
  min-height: 0;
  padding: 26px;
}

.profile-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.profile-panel h2 {
  margin: 8px 0 0;
  color: var(--text);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.045em;
}

.profile-info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.profile-info-list div {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  min-width: 0;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.profile-info-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.profile-info-list dt {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.profile-info-list dd {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-status {
  flex: none;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #bab4c1;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-status.is-linked,
.profile-status.is-online {
  border-color: rgba(199, 167, 255, 0.22);
  background: rgba(199, 167, 255, 0.08);
  color: #d7c6ff;
}

.profile-status.is-locked {
  border-color: rgba(239, 130, 142, 0.24);
  background: rgba(239, 130, 142, 0.08);
  color: #f0a8b2;
}

.profile-empty {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(199, 167, 255, 0.14);
  border-radius: 18px;
  background: rgba(199, 167, 255, 0.045);
}

.profile-empty h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 18px;
}

.profile-empty p,
.profile-account-panel p,
.profile-friends-list p,
.profile-punishment-empty span {
  color: var(--muted);
  line-height: 1.65;
}

.profile-friends-list {
  min-height: 86px;
  display: grid;
  align-items: center;
  padding: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.018);
}

.profile-friends-list p {
  max-width: 500px;
  margin: 0;
}

.profile-punishment-empty {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.018);
}

.profile-punishment-empty strong {
  color: var(--text);
  font-size: 18px;
}

.profile-account-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.6fr);
  gap: 20px;
  align-items: end;
}

.security-state {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

.security-state span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bfa0f4;
}

.security-state span.is-locked {
  background: #ef828e;
}

.security-state strong {
  color: var(--text);
  font-size: 14px;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-actions .button,
.profile-unlink-button,
.profile-logout {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 13px;
  box-shadow: none;
}

.profile-logout {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.profile-unlink-button {
  border: 1px solid rgba(239, 130, 142, 0.24);
  background: rgba(239, 130, 142, 0.07);
  color: #f0a8b2;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.profile-logout:hover,
.profile-unlink-button:hover {
  background: rgba(255, 255, 255, 0.06);
}

.profile-loader {
  border-top-color: #bfa0f4;
}

.profile-login-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: #111114;
  box-shadow: none;
}

@media (max-width: 920px) {
  .profile-header {
    grid-template-columns: auto auto;
    row-gap: 12px;
  }

  .profile-top-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    overflow-x: auto;
    padding: 4px;
  }

  .profile-header-account {
    grid-column: 2;
    grid-row: 1;
  }

  .player-profile-layout,
  .profile-account-panel {
    grid-template-columns: 1fr;
  }

  .player-model-card {
    position: static;
  }

  .player-model-stage {
    min-height: 420px;
  }

  .profile-info-list div {
    grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .profile-shell {
    width: calc(100% - 32px);
    padding: 30px 0 72px;
  }

  .profile-brow {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
    border-radius: 20px;
  }

  .profile-logout {
    width: 100%;
  }

  .profile-top-nav {
    justify-content: flex-start;
  }

  .profile-panel,
  .player-name-plate {
    padding: 20px;
  }

  .profile-info-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .profile-panel-heading {
    flex-direction: column;
  }

  .player-model-stage {
    min-height: 360px;
  }

  .profile-petal {
    opacity: 0.18;
  }
}


.community-page {
  min-height: 100vh;
  background: #0b0b0d;
}

.community-shell {
  position: relative;
  display: grid;
  grid-template-columns: 210px minmax(0, 650px) 230px;
  gap: 34px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 90px;
}

.community-shell > *:not(.community-petal):not(.profile-petal) {
  position: relative;
  z-index: 1;
}


.community-social-page .profile-petal {
  opacity: 0.28;
}

.community-petal {
  position: absolute;
  z-index: 0;
  width: 30px;
  height: 30px;
  background: center / contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.3));
}

.community-petal-1 {
  top: 120px;
  left: 23%;
  background-image: url("/assets/sakura/petal-4.png");
  transform: rotate(-18deg);
}

.community-petal-2 {
  top: 410px;
  right: 22%;
  width: 38px;
  height: 38px;
  background-image: url("/assets/sakura/petal-13.png");
  opacity: 0.13;
  transform: rotate(24deg);
}

.community-petal-3 {
  bottom: 130px;
  left: 8%;
  width: 24px;
  height: 24px;
  background-image: url("/assets/sakura/petal-17.png");
  opacity: 0.15;
  transform: rotate(44deg);
}

.community-sidebar,
.community-rightbar {
  position: sticky;
  top: 96px;
  align-self: start;
}

.community-logo {
  display: flex;
  align-items: baseline;
  gap: 11px;
  min-height: 44px;
  padding: 0 14px 16px;
}

.community-logo span {
  color: var(--text);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.community-logo small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.community-side-nav {
  display: grid;
  gap: 7px;
}

.community-side-nav a,
.community-sidebar-bottom a {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 17px;
  color: #a8a4ad;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.community-side-nav a:hover,
.community-side-nav a.is-active {
  background: #222225;
  color: var(--text);
}

.community-side-nav a:hover {
  transform: translateX(2px);
}

.community-side-icon {
  display: grid;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  place-items: center;
  color: currentColor;
}

.community-side-icon svg,
.community-composer-tools svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.community-side-icon.is-event {
  color: #c7a7ff;
  filter: drop-shadow(0 0 8px rgba(199, 167, 255, 0.18));
}

.community-sidebar-bottom {
  display: grid;
  gap: 7px;
  margin-top: 330px;
}

.community-sidebar-bottom a {
  min-height: 42px;
  color: #8f8b94;
  font-size: 13px;
}

.community-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 999px;
  background: #1f1f22;
}

.community-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #9b979f;
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.community-tabs button:hover,
.community-tabs button.is-active {
  background: #333336;
  color: var(--text);
}

.community-composer,
.community-post,
.community-widget {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  background: #1e1e21;
  box-shadow: none;
}

.community-composer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 16px;
  padding: 24px;
}

.community-avatar,
.community-post-head img {
  border-radius: 14px;
  background: #111114;
  image-rendering: pixelated;
}

.community-composer-body {
  min-width: 0;
}

.community-composer textarea {
  display: block;
  width: 100%;
  min-height: 56px;
  resize: vertical;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  font-weight: 750;
  outline: none;
}

.community-composer textarea::placeholder {
  color: #8d8992;
}

.community-composer-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.community-composer-tools button:not(.community-post-button) {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  place-items: center;
  background: transparent;
  color: #a7a2ad;
  cursor: pointer;
  transition: color 150ms ease, transform 150ms ease;
}

.community-composer-tools button:not(.community-post-button):hover {
  color: var(--text);
  transform: translateY(-1px);
}

.community-composer-tools span {
  overflow: hidden;
  color: #7f7a84;
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-post-button {
  min-height: 44px;
  margin-left: auto;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #d8d6dc;
  color: #151519;
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
  transition: filter 150ms ease, opacity 150ms ease, transform 150ms ease;
}

.community-post-button:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.community-post-button:disabled {
  cursor: default;
  opacity: 0.42;
}

.community-posts {
  display: grid;
  gap: 14px;
}

.community-post {
  padding: 24px;
}

.community-post-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  margin-bottom: 18px;
}

.community-post-head strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 950;
}

.community-post-head span {
  display: block;
  margin-top: 2px;
  color: #8e8a94;
  font-size: 12px;
  font-weight: 800;
}

.community-post-head button {
  border: 0;
  background: transparent;
  color: #8d8992;
  font: inherit;
  font-size: 18px;
  font-weight: 950;
  cursor: pointer;
}

.community-post p {
  margin: 0 0 18px 57px;
  color: #ddd8e2;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.6;
}

.community-post-image {
  min-height: 310px;
  margin-left: 57px;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(199, 167, 255, 0.2), transparent 42%),
    linear-gradient(45deg, #172012, #2a3121 48%, #101113);
}

.community-post-image-build::before {
  display: block;
  width: 100%;
  height: 310px;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(0, 0, 0, 0.18) 18% 21%, transparent 21% 40%, rgba(0, 0, 0, 0.2) 40% 44%, transparent 44%),
    linear-gradient(0deg, #1b1b1e 0 18%, #7b6a53 18% 24%, #314827 24% 58%, #7792a0 58% 100%);
  content: "";
  opacity: 0.82;
}

.community-post-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 14px 0 0 57px;
  color: #a39ea8;
  font-size: 13px;
  font-weight: 850;
}

.community-views {
  margin-left: auto;
}

.community-rightbar {
  display: grid;
  gap: 14px;
  padding-top: 60px;
}

.community-widget {
  padding: 18px;
}

.community-widget-kicker {
  color: #9c84cf;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.community-widget h2 {
  margin: 8px 0 8px;
  color: var(--text);
  font-size: 18px;
}

.community-widget p {
  margin: 0;
  color: #aaa5af;
  font-size: 13px;
  line-height: 1.55;
}

.community-mini-stats {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.community-mini-stats span,
.community-widget a,
.community-mini-footer a,
.community-mini-footer span {
  color: #9c98a1;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.community-mini-stats strong {
  color: var(--text);
  font-size: 18px;
}

.community-widget a {
  display: block;
  padding: 9px 0;
}

.community-widget a:hover,
.community-mini-footer a:hover {
  color: var(--text);
}

.community-mini-footer {
  display: grid;
  gap: 9px;
  padding: 14px 3px;
}

@media (max-width: 1120px) {
  .community-shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .community-rightbar {
    display: none;
  }
}

@media (max-width: 820px) {
  .community-shell {
    grid-template-columns: 1fr;
    width: min(680px, calc(100% - 32px));
    padding-top: 22px;
  }

  .community-sidebar {
    position: static;
  }

  .community-logo {
    padding-inline: 0;
  }

  .community-side-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .community-side-nav a {
    flex: 0 0 auto;
    min-height: 44px;
  }

  .community-sidebar-bottom {
    display: none;
  }

  .community-tabs {
    border-radius: 20px;
  }
}

@media (max-width: 560px) {
  .community-tabs {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .community-composer {
    grid-template-columns: 1fr;
    padding: 18px;
    border-radius: 22px;
  }

  .community-avatar {
    display: none;
  }

  .community-composer-tools {
    flex-wrap: wrap;
  }

  .community-post {
    padding: 18px;
    border-radius: 22px;
  }

  .community-post p,
  .community-post-image,
  .community-post-actions {
    margin-left: 0;
  }

  .community-post-image,
  .community-post-image-build::before {
    min-height: 220px;
    height: 220px;
  }
}


.community-social-page .site-header {
  display: none;
}

.community-back {
  position: fixed;
  top: 28px;
  left: 30px;
  z-index: 80;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  place-items: center;
  background: #1c1c20;
  color: #ddd8e3;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.community-back:hover {
  border-color: rgba(199, 167, 255, 0.22);
  background: #242329;
  transform: translateX(-2px);
}

.community-back svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.community-social-page .community-shell {
  grid-template-columns: 210px minmax(0, 650px);
  justify-content: center;
  min-height: 100vh;
  padding-top: 42px;
}

.community-social-page .community-rightbar,
.community-social-page .community-logo,
.community-social-page .community-sidebar-bottom {
  display: none;
}

.community-social-page .community-sidebar {
  position: static;
  top: auto;
  padding-top: 8px;
}

.community-social-page .community-side-nav button,
.community-social-page .community-side-nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 17px;
  background: transparent;
  color: #a8a4ad;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.community-social-page .community-side-nav button:hover,
.community-social-page .community-side-nav a:hover,
.community-social-page .community-side-nav button.is-active,
.community-social-page .community-side-nav a.is-active {
  background: #222225;
  color: var(--text);
}

.community-social-page .community-side-nav button:hover,
.community-social-page .community-side-nav a:hover {
  transform: translateX(2px);
}

.community-social-page .community-petal {
  opacity: 0.2;
}

.community-petal-4 {
  top: 70px;
  right: 31%;
  width: 26px;
  height: 26px;
  background-image: url("/assets/sakura/petal-2.png");
  transform: rotate(18deg);
}

.community-petal-5 {
  top: 180px;
  right: 9%;
  width: 34px;
  height: 34px;
  background-image: url("/assets/sakura/petal-11.png");
  opacity: 0.14;
  transform: rotate(-22deg);
}

.community-petal-6 {
  top: 520px;
  left: 17%;
  width: 31px;
  height: 31px;
  background-image: url("/assets/sakura/petal-15.png");
  opacity: 0.16;
  transform: rotate(33deg);
}

.community-petal-7 {
  right: 16%;
  bottom: 280px;
  width: 28px;
  height: 28px;
  background-image: url("/assets/sakura/petal-8.png");
  opacity: 0.18;
  transform: rotate(-10deg);
}

.community-petal-8 {
  left: 2%;
  bottom: 120px;
  width: 38px;
  height: 38px;
  background-image: url("/assets/sakura/petal-18.png");
  opacity: 0.12;
  transform: rotate(24deg);
}

.community-petal-9 {
  top: 46%;
  right: 3%;
  width: 23px;
  height: 23px;
  background-image: url("/assets/sakura/petal-6.png");
  opacity: 0.17;
  transform: rotate(-34deg);
}

.community-view {
  display: grid;
  gap: 16px;
}

.community-view[hidden] {
  display: none !important;
}

.community-emoji-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: #17171a;
}

.community-emoji-panel button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #242329;
  cursor: pointer;
}

.community-attachment-preview {
  position: relative;
  overflow: hidden;
  max-width: 360px;
  margin: 8px 0 12px;
  border-radius: 16px;
  background: #111114;
}

.community-attachment-preview img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.community-attachment-preview button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  cursor: pointer;
}

.community-poll-builder,
.community-post-poll {
  display: grid;
  gap: 9px;
  margin: 8px 0 12px;
  padding: 12px;
  border: 1px solid rgba(199, 167, 255, 0.16);
  border-radius: 16px;
  background: #17171a;
}

.community-poll-builder span {
  color: #c7a7ff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.community-poll-builder input,
.community-search-input {
  width: 100%;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: #101013;
  color: var(--text);
  font: inherit;
  outline: none;
}

.community-poll-builder button,
.community-post-poll button {
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 11px;
  background: #28272d;
  color: #ddd8e2;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.community-empty,
.community-panel {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  background: #1e1e21;
}

.community-empty h2,
.community-panel h1 {
  margin: 0 0 8px;
  color: var(--text);
}

.community-empty p,
.community-panel p {
  margin: 0;
  color: #aaa5af;
  line-height: 1.6;
}

.community-panel-kicker {
  display: block;
  margin-bottom: 9px;
  color: #9c84cf;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.community-player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.community-player-grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: #17171a;
  color: var(--text);
  font-weight: 850;
  text-decoration: none;
}

.community-player-grid img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  image-rendering: pixelated;
}

.community-event-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.community-event-list div {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: #17171a;
}

.community-event-list strong,
.community-event-list span {
  display: block;
}

.community-event-list span {
  margin: 5px 0;
  color: #c7a7ff;
  font-size: 12px;
  font-weight: 950;
}

.community-post-like {
  border: 0;
  background: transparent;
  color: #a39ea8;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.community-post-like.is-liked {
  color: #ffc0cb;
}

.community-post-image-real {
  display: block;
  width: calc(100% - 57px);
  max-height: 430px;
  margin: 0 0 0 57px;
  border-radius: 14px;
  object-fit: cover;
}

@media (max-width: 820px) {
  .community-back {
    top: 18px;
    left: 16px;
  }

  .community-social-page .community-shell {
    grid-template-columns: 1fr;
    padding-top: 78px;
  }

  .community-social-page .community-sidebar {
    padding-top: 0;
  }

  .community-social-page .community-side-nav button,
  .community-social-page .community-side-nav a {
    width: auto;
  }
}

@media (max-width: 560px) {
  .community-post-image-real {
    width: 100%;
    margin-left: 0;
  }
}


.profile-social-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: #050506;
}

.profile-social-page .profile-social-shell {
  display: grid;
  grid-template-columns: 190px minmax(0, 620px) minmax(270px, 330px);
  justify-content: center;
  gap: 34px;
  width: min(1210px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 94px;
}

.profile-social-page .profile-social-shell > *:not(.profile-petal) {
  position: relative;
  z-index: 1;
}

.profile-social-page .profile-social-sidebar {
  top: 44px;
  padding-top: 44px;
}

.profile-social-page .profile-loading,
.profile-social-page .profile-login-card {
  grid-column: 2 / 4;
  align-self: start;
}

.profile-social-page .profile-social-content {
  display: grid;
  grid-column: 2 / 4;
  grid-template-columns: minmax(0, 620px) minmax(270px, 330px);
  gap: 34px;
  align-items: start;
}

.profile-social-page .profile-social-content[hidden] {
  display: none !important;
}

.profile-social-main {
  display: grid;
  gap: 16px;
}

.profile-social-card,
.profile-social-model-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 28px;
  background: #111114;
  box-shadow: none;
}

.profile-hero-card {
  padding: 0 22px 22px;
}

.profile-banner {
  display: grid;
  min-height: 118px;
  margin: 22px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 27px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(199, 167, 255, 0.08), transparent 48%),
    #0b0b0d;
  color: #8f8a95;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  margin-top: -29px;
  padding: 0 8px;
}

.profile-avatar-wrap {
  position: relative;
  width: 86px;
  height: 86px;
}

.profile-main-avatar {
  display: block;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: #202026;
  image-rendering: pixelated;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

.profile-online-dot {
  position: absolute;
  right: -2px;
  bottom: 6px;
  width: 18px;
  height: 18px;
  border: 4px solid #111114;
  border-radius: 50%;
  background: #29c267;
}

.profile-edit-button {
  margin-top: 47px;
  min-height: 34px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  background: transparent;
  color: #c4becb;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.profile-edit-button:hover {
  border-color: rgba(199, 167, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.profile-user-summary {
  padding: 4px 8px 0;
}

.profile-user-summary h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.profile-user-summary p,
.profile-register-line {
  margin: 11px 0 0;
  color: #aaa5af;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.55;
}

.profile-user-summary .profile-subline {
  margin-top: 4px;
  color: #85808b;
  font-size: 13px;
}

.profile-social-counters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 18px 8px 0;
  color: #aaa5af;
  font-size: 13px;
  font-weight: 800;
}

.profile-social-counters strong {
  color: var(--text);
}

.profile-register-line {
  margin-left: 8px;
}

.profile-short-info {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: #151518;
}

.profile-short-info > span {
  color: #aaa5af;
  font-size: 13px;
  font-weight: 850;
}

.profile-short-info p {
  margin: 0;
  color: #c0bac6;
  font-size: 14px;
  line-height: 1.45;
}

.profile-short-info strong {
  color: var(--text);
}

.profile-short-info button {
  justify-self: center;
  min-height: 28px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #c7a7ff;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.profile-posts-label {
  display: grid;
  min-height: 42px;
  border: 2px solid rgba(246, 219, 74, 0.9);
  border-radius: 16px;
  place-items: center;
  color: var(--text);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-composer-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 17px;
}

.profile-composer-avatar {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  image-rendering: pixelated;
}

.profile-composer-card textarea {
  min-height: 64px;
  resize: vertical;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  outline: none;
}

.profile-composer-card textarea::placeholder {
  color: #76717b;
}

.profile-composer-card button {
  grid-column: 2;
  justify-self: end;
  min-height: 34px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: #242328;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.profile-composer-card button:disabled {
  opacity: 0.45;
  cursor: default;
}

.profile-post-empty {
  display: grid;
  gap: 5px;
  padding: 18px;
}

.profile-post-empty strong {
  color: var(--text);
  font-size: 16px;
}

.profile-post-empty span,
.profile-model-note span {
  color: #9d98a3;
  font-size: 13px;
  line-height: 1.55;
}

.profile-social-model-card {
  position: sticky;
  top: 44px;
  display: grid;
  min-height: 560px;
  padding: 22px 20px 18px;
  align-content: start;
}

.profile-model-label {
  justify-self: center;
  color: #aaa5af;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-social-model-card .player-model-stage {
  min-height: 430px;
  padding: 28px 0 8px;
  border-bottom: 0;
  background: transparent;
}

.profile-social-model-card .minecraft-model-canvas {
  width: min(270px, 100%) !important;
}

.profile-model-note {
  display: grid;
  gap: 5px;
  margin-top: 4px;
  text-align: center;
}

.profile-model-note strong {
  color: var(--text);
  font-size: 18px;
}

.profile-social-page .profile-account-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
  gap: 16px;
  padding: 20px;
}

.profile-social-page .profile-account-panel h2 {
  margin: 6px 0 0;
  color: var(--text);
}

.profile-social-page .profile-account-panel p {
  margin: 8px 0 0;
}

.profile-logout-danger {
  border-color: rgba(239, 98, 111, 0.28);
  background: rgba(239, 98, 111, 0.12);
  color: #ff9ca8;
}

.profile-logout-danger:hover {
  background: rgba(239, 98, 111, 0.18);
}

.profile-social-page .profile-petal {
  opacity: 0.28;
}

.profile-petal-9 {
  top: 48%;
  left: 20%;
  width: 24px;
  height: 24px;
  background-image: url("/assets/sakura/petal-4.png");
  opacity: 0.34;
  transform: rotate(-22deg);
}

.profile-petal-10 {
  top: 22%;
  right: 10%;
  width: 30px;
  height: 30px;
  background-image: url("/assets/sakura/petal-15.png");
  opacity: 0.25;
  transform: rotate(37deg);
}

@media (max-width: 1040px) {
  .profile-social-page .profile-social-shell {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .profile-social-page .profile-social-content,
  .profile-social-page .profile-loading,
  .profile-social-page .profile-login-card {
    grid-column: 2;
  }

  .profile-social-page .profile-social-content {
    grid-template-columns: 1fr;
  }

  .profile-social-model-card {
    position: static;
    min-height: 500px;
  }
}

@media (max-width: 760px) {
  .profile-social-page .profile-social-shell {
    grid-template-columns: 1fr;
    width: min(680px, calc(100% - 32px));
    padding-top: 78px;
  }

  .profile-social-page .profile-social-sidebar,
  .profile-social-page .profile-social-content,
  .profile-social-page .profile-loading,
  .profile-social-page .profile-login-card {
    grid-column: 1;
  }

  .profile-social-page .profile-social-sidebar {
    position: static;
    padding-top: 0;
  }

  .profile-social-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .profile-social-nav a {
    flex: 0 0 auto;
  }

  .profile-head-row {
    align-items: flex-end;
  }

  .profile-edit-button {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .profile-hero-card,
  .profile-social-page .profile-account-panel {
    padding-inline: 16px;
  }

  .profile-banner {
    min-height: 96px;
  }

  .profile-user-summary h1 {
    font-size: 38px;
  }

  .profile-social-page .profile-account-panel,
  .profile-composer-card {
    grid-template-columns: 1fr;
  }

  .profile-composer-card button {
    grid-column: 1;
    justify-self: stretch;
  }

  .profile-social-model-card .player-model-stage {
    min-height: 360px;
  }
}


.profile-social-page .profile-social-shell {
  grid-template-columns: 210px minmax(0, 650px) minmax(270px, 330px);
  width: min(1180px, calc(100% - 48px));
}

.profile-social-logo {
  display: grid;
  gap: 2px;
  min-height: 48px;
  margin: 0 0 16px;
  padding: 0 14px;
  align-content: center;
}

.profile-social-logo span {
  color: var(--text);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.profile-social-logo small {
  color: #8e8795;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.profile-social-page .profile-social-sidebar {
  top: 34px;
  padding-top: 18px;
}

.profile-social-page .profile-posts-label {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: #111114;
}

.profile-social-page .profile-social-counters button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #aaa5af;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.profile-social-page .profile-social-counters button:hover {
  color: var(--text);
}

.profile-extra-info {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.profile-social-page .profile-composer-card {
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 22px;
  border-radius: 28px;
  background: #1e1e21;
}

.profile-social-page .profile-composer-card .community-composer-body {
  min-width: 0;
}

.profile-social-page .profile-composer-card textarea {
  width: 100%;
  min-height: 46px;
}

.profile-social-page .profile-composer-card .community-composer-tools button,
.profile-social-page .profile-composer-card .community-post-button {
  grid-column: auto;
}

.profile-social-page .profile-composer-card .community-post-button {
  justify-self: end;
}

.profile-social-page .profile-composer-card .community-attachment-preview {
  margin-left: 0;
}

.profile-post {
  background: #1e1e21;
}

.profile-friends-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.profile-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-section-heading span {
  color: var(--text);
  font-size: 15px;
  font-weight: 950;
}

.profile-section-heading button {
  border: 0;
  background: transparent;
  color: #c7a7ff;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.profile-mini-users,
.profile-user-list {
  display: grid;
  gap: 10px;
}

.profile-list-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-list-row .profile-mini-user {
  flex: 1 1 auto;
  min-width: 0;
}

.profile-list-action {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(199, 167, 255, 0.35);
  border-radius: 12px;
  background: rgba(199, 167, 255, 0.14);
  color: #d9c9ff;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.profile-list-action:hover {
  border-color: rgba(199, 167, 255, 0.5);
  background: rgba(199, 167, 255, 0.22);
}

.profile-list-action.is-unfollow {
  border-color: rgba(255, 255, 255, 0.14);
  background: #1c1c20;
  color: #b9b4bf;
}

.profile-list-action.is-unfollow:hover {
  border-color: rgba(255, 120, 120, 0.4);
  color: #ff9a9a;
}

.profile-mini-users {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.profile-mini-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  background: #17171a;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.profile-mini-user:hover {
  border-color: rgba(199, 167, 255, 0.2);
}

.profile-mini-user img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  image-rendering: pixelated;
}

.profile-mini-user span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  padding: 24px;
  place-items: center;
  background: rgba(0, 0, 0, 0.68);
}

.profile-modal[hidden] {
  display: none !important;
}

.profile-modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: #141417;
}

.profile-modal-card h2 {
  margin: 8px 0 18px;
  color: var(--text);
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.045em;
}

.profile-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #202025;
  color: var(--text);
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

.profile-modal-card label {
  display: grid;
  gap: 8px;
}

.profile-modal-card label span,
.profile-editor-info p,
.profile-list-empty {
  color: #aaa5af;
  font-size: 13px;
  font-weight: 800;
}

.profile-modal-card textarea {
  width: 100%;
  min-height: 118px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: #0f0f12;
  color: var(--text);
  font: inherit;
  resize: vertical;
  outline: none;
}

.profile-editor-info {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 14px;
  border-radius: 16px;
  background: #101013;
}

.profile-editor-info p {
  margin: 0;
}

.profile-editor-info strong {
  color: var(--text);
}

.profile-social-page .skin-viewer-hint,
.profile-social-page .profile-model-note span {
  display: none;
}

.community-notifications {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.community-notification {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #17171a;
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.community-notification:hover {
  border-color: rgba(199, 167, 255, 0.22);
}

.community-notification img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  image-rendering: pixelated;
}

@media (max-width: 1040px) {
  .profile-social-page .profile-social-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }
}


.profile-social-page,
.community-social-page {
  background: #0b0b0d;
}

.profile-user-summary .profile-name-line,
.profile-user-summary .profile-handle-line,
.profile-user-summary .profile-about-line {
  margin: 6px 0 0;
}

.profile-user-summary .profile-name-line {
  color: #f4f3ef;
  font-size: 16px;
  font-weight: 900;
}

.profile-user-summary .profile-handle-line {
  color: #aaa5af;
  font-size: 15px;
  font-weight: 800;
}

.profile-user-summary .profile-about-line {
  max-width: 520px;
  color: #c7c1cc;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.profile-subline,
[data-profile-hint],
[data-community-hint] {
  display: none !important;
}

.profile-social-page .profile-short-info {
  background: #1e1e21;
}

.profile-extra-info[hidden] {
  display: none !important;
}

.profile-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: #19191c;
}

.profile-list-row .profile-mini-user {
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
}

.profile-list-row .profile-mini-user:hover {
  border-color: transparent;
}

.profile-list-action {
  min-width: 108px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.055);
  color: #f4f3ef;
  font-weight: 900;
  cursor: pointer;
}

.profile-list-action.is-unfollow {
  color: #ffb0b0;
}

.community-panel-kicker,
.community-view .profile-kicker,
.community-event-list span,
.community-search-list span,
.community-notifications span {
  color: #aaa5af !important;
}

.composer-paperclip {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  color: currentColor;
  font-size: 20px;
  line-height: 1;
  transform: rotate(-18deg);
}

.community-emoji-panel {
  width: min(330px, 100%);
  max-height: 210px;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: #202024;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
}

.community-emoji-panel[hidden] {
  display: none !important;
}

.community-emoji-panel::before {
  content: "Эмодзи";
  grid-column: 1 / -1;
  padding: 2px 4px 6px;
  color: #aaa5af;
  font-size: 12px;
  font-weight: 900;
}

.community-emoji-panel button {
  border-radius: 10px;
  background: transparent;
  font-size: 20px;
}

.community-emoji-panel button:hover {
  background: rgba(255, 255, 255, 0.09);
}

.community-comments {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.community-comment {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
}

.community-comment img {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  image-rendering: pixelated;
}

.community-comment p {
  margin: 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: #d9d5df;
  font-size: 13px;
  line-height: 1.45;
}

.community-comment strong {
  color: #f4f3ef;
}

.community-comment-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.community-comment-form input {
  min-width: 0;
  height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: #151518;
  color: #f4f3ef;
  outline: none;
}

.community-comment-form button {
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 13px;
  background: #c7a7ff;
  color: #151119;
  font-weight: 950;
  cursor: pointer;
}

.profile-editor-card {
  width: min(760px, calc(100vw - 28px));
}

.profile-editor-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
}

.profile-editor-tabs {
  display: grid;
  align-content: start;
  gap: 8px;
}

.profile-editor-tabs button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: #aaa5af;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.profile-editor-tabs button.is-active,
.profile-editor-tabs button:hover {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.07);
  color: #f4f3ef;
}

.profile-editor-page {
  display: none;
}

.profile-editor-page.is-active {
  display: grid;
  gap: 14px;
}

.profile-editor-page h3 {
  margin: 0;
  color: #f4f3ef;
  font-size: 20px;
}

.profile-editor-muted {
  margin: 0;
  color: #aaa5af;
  line-height: 1.55;
}

.donate-redirect-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #0b0b0d;
  color: #f4f3ef;
}

.donate-redirect-card {
  width: min(520px, calc(100% - 32px));
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: #151518;
  text-align: center;
}

.donate-redirect-card h1 {
  margin: 18px 0 8px;
  font-size: clamp(34px, 6vw, 58px);
  letter-spacing: -0.06em;
}

.donate-redirect-card p {
  color: #aaa5af;
}

@media (max-width: 680px) {
  .profile-editor-layout,
  .community-comment-form {
    grid-template-columns: 1fr;
  }

  .profile-editor-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-editor-tabs button {
    text-align: center;
    padding-inline: 8px;
  }
}


.home-page {
  margin: 0;
  min-height: 100vh;
  background: #0c0a10;
  color: #efeaf6;
  overflow-x: hidden;
}

.home-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 48px;
}

.home-header-left {
  display: flex;
  align-items: center;
  gap: 42px;
}

.home-logo {
  display: inline-flex;
  flex: 0 0 auto;
}

.home-logo svg {
  width: 38px;
  height: 38px;
  display: block;
}

.home-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.home-nav a,
.home-account {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #c8c1d6;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: color 150ms ease;
}

.home-nav a:hover,
.home-account:hover {
  color: #ffffff;
}

.home-nav svg,
.home-account svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-main {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  width: min(1280px, calc(100% - 96px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 120px 0 60px;
}

.home-hero {
  max-width: 560px;
}

.home-title {
  margin: 0 0 22px;
  font-size: clamp(64px, 8vw, 118px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #a855f7;
}

.home-subtitle {
  margin: 0 0 30px;
  max-width: 440px;
  font-size: 19px;
  line-height: 1.5;
  color: #d7d0e2;
}

.home-online {
  margin: 0 0 26px;
  font-size: 19px;
  font-weight: 600;
  color: #d7d0e2;
}

.home-online span {
  color: #a855f7;
  font-weight: 800;
}

.home-version {
  margin: 0 0 18px;
  font-size: 16px;
  color: #b3abc4;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 30px;
  border: 0;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, filter 150ms ease, background 150ms ease;
}

.home-btn-primary {
  background: linear-gradient(180deg, #b06bff, #8a2be2);
  color: #ffffff;
}

.home-btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.home-btn-copy {
  background: #1a1622;
  color: #e9e3f2;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-btn-copy:hover {
  background: #221c2c;
}

.home-btn-copy svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.75;
}

.home-visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
}

.home-visual-glow {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.5), transparent 60%);
  filter: blur(46px);
}

.home-visual-shape {
  position: relative;
  width: min(480px, 44vw);
  aspect-ratio: 1;
  border-radius: 30px;
  background: center / cover no-repeat url("/assets/lumina-world.jpg");
  border: 1px solid rgba(199, 167, 255, 0.2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 46px rgba(138, 43, 226, 0.22);
  animation: home-visual-float 7s ease-in-out infinite;
}

@keyframes home-visual-float {
  0%, 100% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(8px);
  }
}

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

.home-toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%) translateY(20px);
  z-index: 20;
  padding: 12px 22px;
  border-radius: 12px;
  background: #7c3aed;
  color: #ffffff;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}

.home-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.home-nav a.is-active {
  color: #ffffff;
}

.home-account-wrap {
  position: relative;
  flex: 0 0 auto;
}

.home-account.is-authed {
  gap: 9px;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  background: #1a1622;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: inherit;
  cursor: pointer;
}

.home-account.is-authed:hover {
  border-color: rgba(199, 167, 255, 0.28);
  color: #ffffff;
}

.home-account-head {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  image-rendering: pixelated;
  object-fit: cover;
}

.home-account-name {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.home-account-caret {
  display: inline-flex;
  transition: transform 150ms ease;
}

.home-account-caret svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-account.is-open .home-account-caret {
  transform: rotate(180deg);
}

.home-account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  min-width: 168px;
  padding: 6px;
  border-radius: 14px;
  background: #17141f;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.home-account-menu[hidden] {
  display: none;
}

.home-account-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #e9e3f2;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.home-account-logout:hover {
  background: #241d30;
  color: #ffffff;
}

.home-account-logout svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
}


.map-page {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.home-header.map-header {
  position: relative;
  flex: 0 0 auto;
  padding: 14px 48px;
  background: #0c0a10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.map-main {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}

.map-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 560px) {
  .home-header.map-header {
    padding: 12px 20px;
  }
}


.minecraft-auth-page {
  margin: 0;
  min-height: 100vh;
  background: #0c0a10;
  color: #efeaf6;
  overflow-x: hidden;
}

.minecraft-auth-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 40px 20px;
}

.minecraft-auth-page .minecraft-auth-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(460px, 100%);
  padding: 40px 34px 36px;
  border-radius: 28px;
  background: #141019;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.minecraft-auth-page .minecraft-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  color: #efeaf6;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.minecraft-auth-page .minecraft-auth-brand svg {
  width: 34px;
  height: 34px;
}

.minecraft-auth-page .minecraft-auth-state {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 100%;
}

.minecraft-auth-page .minecraft-auth-loading {
  display: grid;
  justify-items: center;
  gap: 14px;
  color: #b7afc6;
}

.minecraft-auth-page h1 {
  margin: 0;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.minecraft-auth-page p {
  margin: 0;
  max-width: 340px;
  color: #c7c0d5;
  font-size: 15px;
  line-height: 1.55;
}

.minecraft-auth-page .minecraft-auth-head {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  image-rendering: pixelated;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.minecraft-auth-page .minecraft-auth-status {
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(176, 107, 255, 0.14);
  border: 1px solid rgba(199, 167, 255, 0.28);
  color: #d9c9ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.minecraft-auth-page .minecraft-auth-status.is-success {
  background: rgba(74, 222, 128, 0.14);
  border-color: rgba(74, 222, 128, 0.32);
  color: #86efac;
}

.minecraft-auth-page .minecraft-auth-status.is-blocked {
  background: rgba(248, 113, 113, 0.14);
  border-color: rgba(248, 113, 113, 0.32);
  color: #fca5a5;
}

.minecraft-auth-page .minecraft-auth-warning {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(176, 107, 255, 0.08);
  border: 1px solid rgba(199, 167, 255, 0.16);
  color: #ccc4da;
  font-size: 13.5px;
}

.minecraft-auth-page .minecraft-auth-timer {
  color: #8f88a0;
  font-size: 13px;
}

.minecraft-auth-page .home-btn {
  margin-top: 4px;
  justify-content: center;
}


.home-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 48px 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.home-footer-links a {
  color: #cdc6da;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 150ms ease;
}

.home-footer-links a:hover {
  color: #ffffff;
}

.home-footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-align: right;
}

.home-socials {
  display: flex;
  gap: 16px;
}

.home-socials a {
  display: inline-flex;
  color: #8f8a9c;
  transition: color 150ms ease;
}

.home-socials a:hover {
  color: #c9a2ff;
}

.home-socials svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.home-copyright {
  margin: 0;
  color: #cdc6da;
  font-size: 15px;
  font-weight: 600;
}

.home-disclaimer {
  margin: 0;
  max-width: 540px;
  color: #7d7789;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .home-header {
    padding: 16px 22px;
  }

  .home-nav {
    gap: 20px;
  }

  .home-main {
    grid-template-columns: 1fr;
    width: calc(100% - 44px);
    padding: 104px 0 48px;
  }

  .home-visual {
    display: none;
  }

  .home-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 22px 34px;
  }

  .home-footer-right {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .home-nav {
    display: none;
  }

  .home-title {
    font-size: clamp(52px, 16vw, 72px);
  }
}




.home-logo img,
.logo-brand img,
.minecraft-auth-brand img,
.profile-logo-image img,
.plain-logo-brand img,
.error-poster-logo {
  display: block;
  width: auto;
  height: 42px;
  object-fit: contain;
}

.home-logo {
  align-items: center;
  min-width: 42px;
}

.logo-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-brand img {
  height: 36px;
}

.minecraft-auth-brand img {
  height: 44px;
}

.profile-logo-image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
}

.profile-logo-image img {
  height: 42px;
}

.error-poster-logo {
  height: 72px;
  margin: 0 auto 28px;
}

.home-visual {
  align-self: center;
  min-height: 420px;
}

.home-visual-glow {
  display: none;
}

.home-visual-shape {
  width: min(560px, 44vw);
  aspect-ratio: 16 / 11;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(10,10,13,0.04), rgba(10,10,13,0.36)),
    center / cover no-repeat url("/assets/lumina-world.jpg");
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 24px 70px rgba(0,0,0,0.42);
  animation: none;
  overflow: hidden;
}

.home-visual-shape::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.07);
  pointer-events: none;
}

.home-visual::after {
  content: "play.lumina.pub";
  position: absolute;
  left: 50%;
  bottom: calc(50% - min(560px, 44vw) * 0.34);
  transform: translateX(-50%);
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(12,12,15,0.78);
  border: 1px solid rgba(255,255,255,0.10);
  color: #f4f3ef;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 14px 32px rgba(0,0,0,0.32);
}

.home-account:not(.is-authed) {
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.10);
}

@media (max-width: 860px) {
  .home-visual {
    min-height: 320px;
  }

  .home-visual-shape {
    width: min(92vw, 520px);
  }
}
