:root {
/* Category notes: selectors, states, and responsive overrides stay in cascade order; comments are navigation only. */
  --site-bg: #1b0734;
  --site-bg-image-fallback: #9f4bd0;
  --site-bg-deep: #090312;
  --site-shell: #200b39;
  --site-panel: rgba(37, 16, 63, 0.9);
  --site-panel-soft: rgba(53, 21, 91, 0.82);
  --site-panel-strong: rgba(18, 8, 32, 0.92);
  --site-border: #ad6ff0;
  --site-border-soft: rgba(173, 111, 240, 0.45);
  --site-text: #f5e9ff;
  --site-muted: #e7cff8;
  --site-accent: #f0a5ff;
  --site-gold: #ffd36a;
  --site-green: #58d487;
  --site-danger: #c62e45;
  --site-danger-hover: #e3455f;
  --site-button: #3c1a66;
  --site-button-hover: #5a2894;
  --site-button-active: #7b38c7;
  --site-shadow: 0 20px 48px rgba(0, 0, 0, 0.36);
  --site-font: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background-color: var(--site-bg-image-fallback);
}

body.site-body {
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(9, 3, 18, 0.36), rgba(27, 7, 52, 0.94) 68%, #090312),
    var(--site-bg-image-fallback);
  color: var(--site-text);
  font-family: var(--site-font);
}

body.site-body,
body.site-body * {
  box-sizing: border-box;
}

body.site-body [hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font-family: var(--site-font);
}

.site-page {
/* Category notes: selectors, states, and responsive overrides stay in cascade order; comments are navigation only. */
  --site-header-height: 72px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 0;
  background-color: var(--site-bg-deep);
  -webkit-backdrop-filter: blur(0px) saturate(1);
  backdrop-filter: blur(0px) saturate(1);
  transition: background-color 280ms ease, backdrop-filter 280ms ease, -webkit-backdrop-filter 280ms ease;
  will-change: background-color, backdrop-filter;
}

.site-header.is-scrolled {
  background-color: rgba(9, 3, 18, 0.5);
  -webkit-backdrop-filter: blur(8px) saturate(1.08);
  backdrop-filter: blur(8px) saturate(1.08);
}

.site-header-inner {
  width: min(1180px, calc(100vw - 28px));
  min-height: var(--site-header-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  position: relative;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--site-text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0;
}

.site-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.site-brand span {
  font-size: 18px;
  white-space: nowrap;
}

.site-menu {
  display: contents;
}

.site-menu-toggle {
  width: 42px;
  height: 38px;
  min-height: 38px;
  appearance: none;
  -webkit-appearance: none;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: transparent;
  color: var(--site-text);
  padding: 0;
  cursor: pointer;
}

.site-menu-toggle:hover,
.site-menu-toggle:focus-visible {
  color: var(--site-text);
  outline: 0;
}

.site-menu-toggle-bar {
  width: 20px;
  height: 2px;
  display: block;
  background: currentColor;
  transform-origin: center;
  transition: transform 220ms ease, opacity 180ms ease;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.site-nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid transparent;
  color: var(--site-muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
  border-color: var(--site-border-soft);
  background: rgba(60, 26, 102, 0.64);
  color: var(--site-text);
}

.site-header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.site-social-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: inline-block;
  background: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.site-social-icon.is-x {
  -webkit-mask-image: url("data:image/svg+xml,%3csvg%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eX%3c/title%3e%3cpath%20d='M14.234%2010.162%2022.977%200h-2.072l-7.591%208.824L7.251%200H.258l9.168%2013.343L.258%2024H2.33l8.016-9.318L16.749%2024h6.993zm-2.837%203.299-.929-1.329L3.076%201.56h3.182l5.965%208.532.929%201.329%207.754%2011.09h-3.182z'/%3e%3c/svg%3e");
  mask-image: url("data:image/svg+xml,%3csvg%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eX%3c/title%3e%3cpath%20d='M14.234%2010.162%2022.977%200h-2.072l-7.591%208.824L7.251%200H.258l9.168%2013.343L.258%2024H2.33l8.016-9.318L16.749%2024h6.993zm-2.837%203.299-.929-1.329L3.076%201.56h3.182l5.965%208.532.929%201.329%207.754%2011.09h-3.182z'/%3e%3c/svg%3e");
}

.site-social-icon.is-youtube {
  -webkit-mask-image: url("data:image/svg+xml,%3csvg%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eYouTube%3c/title%3e%3cpath%20d='M23.498%206.186a3.016%203.016%200%200%200-2.122-2.136C19.505%203.545%2012%203.545%2012%203.545s-7.505%200-9.377.505A3.017%203.017%200%200%200%20.502%206.186C0%208.07%200%2012%200%2012s0%203.93.502%205.814a3.016%203.016%200%200%200%202.122%202.136c1.871.505%209.376.505%209.376.505s7.505%200%209.377-.505a3.015%203.015%200%200%200%202.122-2.136C24%2015.93%2024%2012%2024%2012s0-3.93-.502-5.814zM9.545%2015.568V8.432L15.818%2012l-6.273%203.568z'/%3e%3c/svg%3e");
  mask-image: url("data:image/svg+xml,%3csvg%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eYouTube%3c/title%3e%3cpath%20d='M23.498%206.186a3.016%203.016%200%200%200-2.122-2.136C19.505%203.545%2012%203.545%2012%203.545s-7.505%200-9.377.505A3.017%203.017%200%200%200%20.502%206.186C0%208.07%200%2012%200%2012s0%203.93.502%205.814a3.016%203.016%200%200%200%202.122%202.136c1.871.505%209.376.505%209.376.505s7.505%200%209.377-.505a3.015%203.015%200%200%200%202.122-2.136C24%2015.93%2024%2012%2024%2012s0-3.93-.502-5.814zM9.545%2015.568V8.432L15.818%2012l-6.273%203.568z'/%3e%3c/svg%3e");
}

.site-social-icon.is-discord {
  -webkit-mask-image: url("data:image/svg+xml,%3csvg%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eDiscord%3c/title%3e%3cpath%20d='M20.317%204.3698a19.7913%2019.7913%200%2000-4.8851-1.5152.0741.0741%200%2000-.0785.0371c-.211.3753-.4447.8648-.6083%201.2495-1.8447-.2762-3.68-.2762-5.4868%200-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077%200%2000-.0785-.037%2019.7363%2019.7363%200%2000-4.8852%201.515.0699.0699%200%2000-.0321.0277C.5334%209.0458-.319%2013.5799.0992%2018.0578a.0824.0824%200%2000.0312.0561c2.0528%201.5076%204.0413%202.4228%205.9929%203.0294a.0777.0777%200%2000.0842-.0276c.4616-.6304.8731-1.2952%201.226-1.9942a.076.076%200%2000-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077%200%2001-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743%200%2001.0776-.0105c3.9278%201.7933%208.18%201.7933%2012.0614%200a.0739.0739%200%2001.0785.0095c.1202.099.246.1981.3728.2924a.077.077%200%2001-.0066.1276%2012.2986%2012.2986%200%2001-1.873.8914.0766.0766%200%2000-.0407.1067c.3604.698.7719%201.3628%201.225%201.9932a.076.076%200%2000.0842.0286c1.961-.6067%203.9495-1.5219%206.0023-3.0294a.077.077%200%2000.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061%200%2000-.0312-.0286zM8.02%2015.3312c-1.1825%200-2.1569-1.0857-2.1569-2.419%200-1.3332.9555-2.4189%202.157-2.4189%201.2108%200%202.1757%201.0952%202.1568%202.419%200%201.3332-.9555%202.4189-2.1569%202.4189zm7.9748%200c-1.1825%200-2.1569-1.0857-2.1569-2.419%200-1.3332.9554-2.4189%202.1569-2.4189%201.2108%200%202.1757%201.0952%202.1568%202.419%200%201.3332-.946%202.4189-2.1568%202.4189Z'/%3e%3c/svg%3e");
  mask-image: url("data:image/svg+xml,%3csvg%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eDiscord%3c/title%3e%3cpath%20d='M20.317%204.3698a19.7913%2019.7913%200%2000-4.8851-1.5152.0741.0741%200%2000-.0785.0371c-.211.3753-.4447.8648-.6083%201.2495-1.8447-.2762-3.68-.2762-5.4868%200-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077%200%2000-.0785-.037%2019.7363%2019.7363%200%2000-4.8852%201.515.0699.0699%200%2000-.0321.0277C.5334%209.0458-.319%2013.5799.0992%2018.0578a.0824.0824%200%2000.0312.0561c2.0528%201.5076%204.0413%202.4228%205.9929%203.0294a.0777.0777%200%2000.0842-.0276c.4616-.6304.8731-1.2952%201.226-1.9942a.076.076%200%2000-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077%200%2001-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743%200%2001.0776-.0105c3.9278%201.7933%208.18%201.7933%2012.0614%200a.0739.0739%200%2001.0785.0095c.1202.099.246.1981.3728.2924a.077.077%200%2001-.0066.1276%2012.2986%2012.2986%200%2001-1.873.8914.0766.0766%200%2000-.0407.1067c.3604.698.7719%201.3628%201.225%201.9932a.076.076%200%2000.0842.0286c1.961-.6067%203.9495-1.5219%206.0023-3.0294a.077.077%200%2000.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061%200%2000-.0312-.0286zM8.02%2015.3312c-1.1825%200-2.1569-1.0857-2.1569-2.419%200-1.3332.9555-2.4189%202.157-2.4189%201.2108%200%202.1757%201.0952%202.1568%202.419%200%201.3332-.9555%202.4189-2.1569%202.4189zm7.9748%200c-1.1825%200-2.1569-1.0857-2.1569-2.419%200-1.3332.9554-2.4189%202.1569-2.4189%201.2108%200%202.1757%201.0952%202.1568%202.419%200%201.3332-.946%202.4189-2.1568%202.4189Z'/%3e%3c/svg%3e");
}

.site-social-icon.is-reddit {
  -webkit-mask-image: url("data:image/svg+xml,%3csvg%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eReddit%3c/title%3e%3cpath%20d='M12%200C5.373%200%200%205.373%200%2012c0%203.314%201.343%206.314%203.515%208.485l-2.286%202.286C.775%2023.225%201.097%2024%201.738%2024H12c6.627%200%2012-5.373%2012-12S18.627%200%2012%200Zm4.388%203.199c1.104%200%201.999.895%201.999%201.999%200%201.105-.895%202-1.999%202-.946%200-1.739-.657-1.947-1.539v.002c-1.147.162-2.032%201.15-2.032%202.341v.007c1.776.067%203.4.567%204.686%201.363.473-.363%201.064-.58%201.707-.58%201.547%200%202.802%201.254%202.802%202.802%200%201.117-.655%202.081-1.601%202.531-.088%203.256-3.637%205.876-7.997%205.876-4.361%200-7.905-2.617-7.998-5.87-.954-.447-1.614-1.415-1.614-2.538%200-1.548%201.255-2.802%202.803-2.802.645%200%201.239.218%201.712.585%201.275-.79%202.881-1.291%204.64-1.365v-.01c0-1.663%201.263-3.034%202.88-3.207.188-.911.993-1.595%201.959-1.595Zm-8.085%208.376c-.784%200-1.459.78-1.506%201.797-.047%201.016.64%201.429%201.426%201.429.786%200%201.371-.369%201.418-1.385.047-1.017-.553-1.841-1.338-1.841Zm7.406%200c-.786%200-1.385.824-1.338%201.841.047%201.017.634%201.385%201.418%201.385.785%200%201.473-.413%201.426-1.429-.046-1.017-.721-1.797-1.506-1.797Zm-3.703%204.013c-.974%200-1.907.048-2.77.135-.147.015-.241.168-.183.305.483%201.154%201.622%201.964%202.953%201.964%201.33%200%202.47-.81%202.953-1.964.057-.137-.037-.29-.184-.305-.863-.087-1.795-.135-2.769-.135Z'/%3e%3c/svg%3e");
  mask-image: url("data:image/svg+xml,%3csvg%20role='img'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eReddit%3c/title%3e%3cpath%20d='M12%200C5.373%200%200%205.373%200%2012c0%203.314%201.343%206.314%203.515%208.485l-2.286%202.286C.775%2023.225%201.097%2024%201.738%2024H12c6.627%200%2012-5.373%2012-12S18.627%200%2012%200Zm4.388%203.199c1.104%200%201.999.895%201.999%201.999%200%201.105-.895%202-1.999%202-.946%200-1.739-.657-1.947-1.539v.002c-1.147.162-2.032%201.15-2.032%202.341v.007c1.776.067%203.4.567%204.686%201.363.473-.363%201.064-.58%201.707-.58%201.547%200%202.802%201.254%202.802%202.802%200%201.117-.655%202.081-1.601%202.531-.088%203.256-3.637%205.876-7.997%205.876-4.361%200-7.905-2.617-7.998-5.87-.954-.447-1.614-1.415-1.614-2.538%200-1.548%201.255-2.802%202.803-2.802.645%200%201.239.218%201.712.585%201.275-.79%202.881-1.291%204.64-1.365v-.01c0-1.663%201.263-3.034%202.88-3.207.188-.911.993-1.595%201.959-1.595Zm-8.085%208.376c-.784%200-1.459.78-1.506%201.797-.047%201.016.64%201.429%201.426%201.429.786%200%201.371-.369%201.418-1.385.047-1.017-.553-1.841-1.338-1.841Zm7.406%200c-.786%200-1.385.824-1.338%201.841.047%201.017.634%201.385%201.418%201.385.785%200%201.473-.413%201.426-1.429-.046-1.017-.721-1.797-1.506-1.797Zm-3.703%204.013c-.974%200-1.907.048-2.77.135-.147.015-.241.168-.183.305.483%201.154%201.622%201.964%202.953%201.964%201.33%200%202.47-.81%202.953-1.964.057-.137-.037-.29-.184-.305-.863-.087-1.795-.135-2.769-.135Z'/%3e%3c/svg%3e");
}

.site-social-icon-link {
  width: 42px;
  height: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--site-muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.site-social-icon-link .site-social-icon {
  width: 20px;
  height: 20px;
}

.site-social-icon-link:hover,
.site-social-icon-link:focus-visible {
  color: var(--site-text);
  outline: 0;
}

.site-button {
  height: 36px;
  min-height: 36px;
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--site-border);
  background: var(--site-button);
  color: var(--site-text);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.site-button:hover {
  background: var(--site-button-hover);
}

.site-button:disabled {
  opacity: 0.55;
  cursor: default;
}

.site-button.is-primary {
  border-color: #f2ccff;
  background: var(--site-button-active);
  box-shadow: inset 0 0 0 1px rgba(242, 204, 255, 0.2), 0 10px 24px rgba(123, 56, 199, 0.25);
}

.site-button.is-primary:hover {
  background: #a54ef2;
}

.site-button.is-danger {
  border-color: #ff9bad;
  background: var(--site-danger);
}

.site-button.is-danger:hover {
  background: var(--site-danger-hover);
}

.site-button.is-ghost {
  background: rgba(18, 8, 32, 0.72);
}

.site-button.is-ghost:hover,
.site-button.is-ghost:focus-visible {
  border-color: var(--site-accent);
  background: rgba(123, 56, 199, 0.78);
  box-shadow: 0 0 0 1px rgba(240, 165, 255, 0.18);
}

.site-button.is-small {
  height: 30px;
  min-height: 30px;
  padding: 0 9px;
  font-size: 11px;
}

.site-account-name {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-main {
  flex: 1 1 auto;
  padding-top: var(--site-header-height);
}

.site-section-inner {
  width: min(1180px, calc(100vw - 28px));
  margin: 0 auto;
}

.site-footer {
  flex: 0 0 auto;
  width: 100%;
  margin-top: auto;
  background: #000;
  color: var(--site-text);
}

.site-footer-inner {
  width: min(1180px, calc(100vw - 28px));
  min-height: 206px;
  margin: 0 auto;
  padding: 34px 0 22px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, auto);
  grid-template-areas:
    "brand social nav"
    "signature signature signature";
  align-items: center;
  gap: 54px 32px;
}

.site-footer-brand {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: start;
  gap: 12px;
  min-width: 0;
  color: var(--site-text);
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.site-footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.65));
}

.site-footer-brand span {
  white-space: nowrap;
}

.site-footer-nav {
  grid-area: nav;
  display: grid;
  grid-template-columns: repeat(2, minmax(96px, 1fr));
  justify-self: end;
  gap: 8px;
}

.site-footer-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--site-muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer-nav a:hover,
.site-footer-nav a:focus-visible {
  color: var(--site-text);
  outline: 0;
  text-shadow: 0 0 12px rgba(229, 205, 255, 0.38);
}

.site-footer-socials {
  grid-area: social;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  align-self: end;
  gap: 10px;
}

.site-footer-signature {
  grid-area: signature;
  justify-self: center;
  margin: 0;
  color: var(--site-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.site-page-shell {
/* Category notes: selectors, states, and responsive overrides stay in cascade order; comments are navigation only. */
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  padding: calc(var(--site-header-height) + 62px) 0 64px;
  background:
    linear-gradient(180deg, rgba(9, 3, 18, 0.36), rgba(27, 7, 52, 0.94) 68%, #000),
    url("/_astro/default_4k.DvwoG95q.webp") center / cover fixed no-repeat,
    var(--site-bg-image-fallback);
}

.site-page-shell > .site-page-head,
.site-page-shell > [data-community-root] {
  width: min(1180px, calc(100vw - 28px));
  margin-left: auto;
  margin-right: auto;
}

.site-page-shell > [data-community-root] {
  min-height: calc(clamp(560px, calc(100vh - 250px), 760px) + 40px);
}

.site-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}

.site-page-head .site-kicker {
  margin-bottom: 8px;
}

.site-page-head h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.02;
  letter-spacing: 0;
}

.site-page-head p {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--site-muted);
  font-size: 13px;
  line-height: 1.65;
}

.site-panel {
  border: 2px solid var(--site-border);
  background: rgba(18, 8, 32, 0.8);
  box-shadow: var(--site-shadow);
}

.site-status {
  min-height: 28px;
  color: var(--site-muted);
  font-size: 12px;
  line-height: 1.45;
}

.site-status.is-error {
  color: #fff5f7;
}

.site-account-form label,
.community-form label {
  display: grid;
  gap: 5px;
  color: var(--site-muted);
  font-size: 10px;
  line-height: 1.2;
}

.site-account-form input,
.community-form input,
.community-form textarea,
.community-form select {
  width: 100%;
  border: 2px solid var(--site-border);
  background: var(--site-bg);
  color: var(--site-text);
  padding: 8px 9px;
  font-size: 12px;
  outline: none;
}

.site-hero {
/* Category notes: selectors, states, and responsive overrides stay in cascade order; comments are navigation only. */
  --site-hero-extra-scroll: 120px;
  min-height: calc(100vh - var(--site-header-height) + var(--site-hero-extra-scroll));
  min-height: calc(100dvh - var(--site-header-height) + var(--site-hero-extra-scroll));
  display: flex;
  align-items: flex-start;
  background:
    linear-gradient(180deg, rgba(9, 3, 18, 0.36), rgba(27, 7, 52, 0.94) 68%, #090312),
    url("/_astro/default_4k.DvwoG95q.webp") center / cover fixed no-repeat,
    var(--site-bg-image-fallback);
  padding: 54px 0 72px;
}

.site-hero-inner {
  width: min(1180px, calc(100vw - 28px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.site-hero-copy {
  max-width: 760px;
  padding-top: 18px;
}

.site-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 211, 106, 0.44);
  background: rgba(18, 8, 32, 0.58);
  color: var(--site-gold);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
}

.site-hero h1 {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--site-text);
  font-size: clamp(42px, 8vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.48);
}

.site-hero p {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--site-muted);
  font-size: 16px;
  line-height: 1.65;
}

.site-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.site-feature-band {
  padding: 46px 0 34px;
  background: var(--site-bg-deep);
}

.site-stat-band {
  padding: 22px 0 50px;
  background: var(--site-bg-deep);
}

.site-stat-band .site-section-inner {
  width: 100%;
}

.site-section-title {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0;
}

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

.site-feature-card {
  border: 1px solid var(--site-border-soft);
  background: var(--site-panel);
  padding: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.site-feature-card {
  position: relative;
}

.site-stat-card {
  padding: 20px 24px;
}

.site-feature-card.has-corner-icon {
  padding-right: 54px;
}

.site-feature-card-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 24px;
  height: 24px;
  color: var(--site-gold);
  opacity: 1;
  pointer-events: none;
}

.site-feature-card-icon-combo {
  top: 14px;
  right: 14px;
  width: 24px;
  height: 24px;
}

.site-feature-card-icon-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
}

.site-feature-card-icon-badge {
  position: absolute;
  top: -7px;
  left: -7px;
  width: 12px;
  height: 12px;
  transform: scaleX(-1);
}

.site-feature-card h3,
.site-stat-card h3 {
  margin: 0;
  color: var(--site-text);
  font-size: 15px;
  line-height: 1.25;
}

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

.site-stat-card p {
  margin: 9px 0 0;
  color: var(--site-muted);
  font-size: 12px;
  line-height: 1.55;
}

.site-stat-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  padding: 16px 18px;
  background:
    linear-gradient(90deg, rgba(255, 211, 106, 0.05), transparent 18%, transparent 82%, rgba(255, 211, 106, 0.04)),
    var(--site-panel);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.site-stat-card {
  position: relative;
  z-index: 1;
}

.site-stat-card + .site-stat-card::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(173, 111, 240, 0.38) 24%, rgba(255, 211, 106, 0.22) 50%, rgba(173, 111, 240, 0.38) 76%, transparent);
}

.site-stat-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--site-gold);
  font-size: 24px;
  line-height: 1.1;
}

.community-shell {
/* Category notes: selectors, states, and responsive overrides stay in cascade order; comments are navigation only. */
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
  gap: 14px;
  height: clamp(560px, calc(100vh - 250px), 760px);
  padding: 12px;
  overflow: hidden;
}

.community-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 10px;
}

.community-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.community-list,
.community-detail {
  min-height: 0;
  border: 1px solid var(--site-border-soft);
  background: rgba(18, 8, 32, 0.76);
  padding: 10px;
  overflow: auto;
}

.community-list-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.community-card {
  width: 100%;
  border: 1px solid rgba(173, 111, 240, 0.72);
  background: rgba(53, 21, 91, 0.78);
  color: var(--site-text);
  padding: 11px;
  text-align: left;
  cursor: pointer;
}

.community-card:hover,
.community-card.is-selected {
  border-color: var(--site-accent);
  background: rgba(90, 40, 148, 0.88);
}

.community-card-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.community-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.community-pill {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 2px 6px;
  border: 1px solid rgba(245, 233, 255, 0.28);
  background: rgba(18, 8, 32, 0.58);
  color: var(--site-muted);
  font-size: 10px;
  line-height: 1.15;
}

.community-detail {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.community-detail-head {
  border-bottom: 1px solid rgba(173, 111, 240, 0.5);
  padding-bottom: 10px;
}

.community-detail h2,
.community-form h2 {
  margin: 0;
  color: var(--site-text);
  font-size: 18px;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.community-body,
.community-comment-body {
  margin: 9px 0 0;
  color: var(--site-muted);
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.community-icon-button {
  min-width: 34px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(173, 111, 240, 0.62);
  background: rgba(60, 26, 102, 0.84);
  color: var(--site-text);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.community-icon-button:hover,
.community-icon-button.is-selected {
  border-color: var(--site-accent);
  background: rgba(123, 56, 199, 0.94);
}

.community-icon-button.is-danger:hover {
  border-color: #ff9bad;
  background: var(--site-danger);
}

.community-icon {
  width: 17px;
  height: 17px;
  object-fit: contain;
  pointer-events: none;
}

.community-comments {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 8px;
}

.community-comment {
  border: 1px solid rgba(173, 111, 240, 0.44);
  background: rgba(26, 11, 45, 0.68);
  padding: 10px;
}

.community-comment.is-reply {
  margin-left: 24px;
  background: rgba(42, 18, 72, 0.62);
}

.community-comment-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.community-author {
  color: var(--site-text);
  font-size: 11px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.community-date {
  color: var(--site-muted);
  font-size: 10px;
  white-space: nowrap;
}

.community-replies-toggle {
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: var(--site-accent);
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.community-form {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(173, 111, 240, 0.6);
  background: rgba(18, 8, 32, 0.74);
  padding: 11px;
}

.community-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.community-form textarea {
  min-height: 150px;
  resize: vertical;
}

.community-empty {
  color: var(--site-muted);
  font-size: 12px;
  line-height: 1.45;
  padding: 8px 0;
}

.site-page-shell > .feedback-page-root {
/* Category notes: selectors, states, and responsive overrides stay in cascade order; comments are navigation only. */
  width: min(1180px, calc(100vw - 28px));
  min-height: calc(clamp(560px, calc(100vh - 250px), 760px) + 40px);
  margin-left: auto;
  margin-right: auto;
}

.feedback-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.feedback-account {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--site-muted);
  font-size: 12px;
}

.feedback-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-height: clamp(430px, calc(100vh - 310px), 680px);
  padding: 12px;
}

.feedback-shell.has-inbox {
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
}

.feedback-shell.is-gated {
  place-items: center;
}

.feedback-gate {
  max-width: 520px;
  border: 1px solid var(--site-border-soft);
  background: rgba(18, 8, 32, 0.76);
  padding: 22px;
  text-align: center;
}

.feedback-form,
.feedback-inbox {
  min-width: 0;
  border: 1px solid var(--site-border-soft);
  background: rgba(18, 8, 32, 0.76);
  padding: 12px;
}

.feedback-form {
  display: grid;
  align-content: start;
  gap: 11px;
}

.feedback-form h2,
.feedback-inbox h2,
.feedback-gate h2,
.feedback-entry-detail h3 {
  margin: 0;
  color: var(--site-text);
  font-size: 18px;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.feedback-form p,
.feedback-inbox p,
.feedback-gate p {
  margin: 8px 0 0;
  color: var(--site-muted);
  font-size: 12px;
  line-height: 1.55;
}

.feedback-form label,
.feedback-filter-row label {
  display: grid;
  gap: 5px;
  color: var(--site-muted);
  font-size: 10px;
  line-height: 1.2;
}

.feedback-form select,
.feedback-form textarea,
.feedback-filter-row select {
  width: 100%;
  border: 2px solid var(--site-border);
  background: var(--site-bg);
  color: var(--site-text);
  padding: 8px 9px;
  font-size: 12px;
  outline: none;
}

.feedback-form textarea {
  min-height: 220px;
  resize: vertical;
}

.feedback-form-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.feedback-status,
.feedback-empty {
  color: var(--site-muted);
  font-size: 12px;
  line-height: 1.45;
}

.feedback-status.is-error,
.feedback-empty.is-error {
  color: #fff5f7;
}

.feedback-count {
  color: var(--site-muted);
  font-size: 10px;
  white-space: nowrap;
}

.feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.feedback-inbox {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feedback-inbox-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.feedback-filter-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.feedback-inbox-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 0.58fr);
  gap: 10px;
  flex: 1 1 auto;
}

.feedback-entry-list,
.feedback-entry-detail {
  min-height: 0;
  border: 1px solid rgba(173, 111, 240, 0.44);
  background: rgba(26, 11, 45, 0.68);
}

.feedback-entry-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  overflow: auto;
}

.feedback-entry-card {
  width: 100%;
  border: 1px solid rgba(173, 111, 240, 0.72);
  background: rgba(53, 21, 91, 0.78);
  color: var(--site-text);
  padding: 10px;
  text-align: left;
  cursor: pointer;
}

.feedback-entry-card:hover,
.feedback-entry-card.is-selected {
  border-color: var(--site-accent);
  background: rgba(90, 40, 148, 0.88);
}

.feedback-entry-title {
  display: block;
  color: var(--site-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.feedback-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.feedback-pill {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 2px 6px;
  border: 1px solid rgba(245, 233, 255, 0.28);
  background: rgba(18, 8, 32, 0.58);
  color: var(--site-muted);
  font-size: 10px;
  line-height: 1.15;
}

.feedback-entry-detail {
  padding: 12px;
  overflow: auto;
}

.feedback-detail-meta {
  color: var(--site-muted);
  font-size: 11px;
}

.feedback-message {
  margin-top: 12px;
  color: var(--site-muted);
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: normal;
}

.site-page-shell > .wiki-root {
/* Category notes: selectors, states, and responsive overrides stay in cascade order; comments are navigation only. */
  width: min(1180px, calc(100vw - 28px));
  margin-left: auto;
  margin-right: auto;
}

.wiki-root {
  display: grid;
  grid-template-columns: minmax(220px, 0.26fr) minmax(0, 0.74fr);
  align-items: start;
  gap: 14px;
}

.wiki-page > .site-page-head {
  min-height: 154px;
  align-items: start;
}

.wiki-sidebar {
  display: grid;
  gap: 8px;
  padding: 10px;
  align-self: start;
}

.wiki-sidebar-link {
  position: relative;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(173, 111, 240, 0.62);
  background: rgba(18, 8, 32, 0.66);
  color: var(--site-muted);
  padding: 10px;
  text-decoration: none;
}

.wiki-sidebar-link.has-icon {
  padding-right: 42px;
}

.wiki-sidebar-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 24px;
  height: 24px;
  color: var(--site-gold);
  opacity: 1;
  pointer-events: none;
  transform: translateY(-50%);
}

.wiki-sidebar-icon-stack {
  display: block;
}

.wiki-sidebar-icon-stack svg {
  position: absolute;
  color: inherit;
}

.wiki-sidebar-icon-outer {
  inset: 0;
  width: 24px;
  height: 24px;
}

.wiki-sidebar-icon-inner {
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.wiki-sidebar-link:hover,
.wiki-sidebar-link:focus-visible,
.wiki-sidebar-link.is-active {
  border-color: var(--site-accent);
  background: rgba(90, 40, 148, 0.82);
  color: var(--site-text);
  outline: 0;
}

.wiki-sidebar-link span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.wiki-sidebar-link small {
  color: currentColor;
  font-size: 10px;
  line-height: 1.25;
  opacity: 0.82;
}

.wiki-shell {
  min-width: 0;
  max-height: min(780px, calc(100vh - var(--site-header-height) - 300px));
  display: flex;
  flex-direction: column;
  padding: 12px;
  overflow: hidden;
}

.wiki-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 10px;
}

.wiki-search {
  display: grid;
  gap: 6px;
  color: var(--site-muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.wiki-search input {
  width: 100%;
  min-height: 38px;
  border: 2px solid var(--site-border);
  background: var(--site-bg);
  color: var(--site-text);
  padding: 8px 10px;
  font-size: 12px;
  outline: none;
}

.wiki-search input:focus-visible {
  border-color: var(--site-accent);
  box-shadow: 0 0 0 2px rgba(240, 165, 255, 0.18);
}

.wiki-count {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--site-muted);
  font-size: 11px;
  line-height: 1.3;
  text-align: right;
}

.wiki-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.wiki-filter-tab {
  min-height: 30px;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(173, 111, 240, 0.68);
  background: rgba(18, 8, 32, 0.72);
  color: var(--site-muted);
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.wiki-filter-tab:hover,
.wiki-filter-tab:focus-visible,
.wiki-filter-tab.is-active {
  border-color: var(--site-accent);
  background: rgba(123, 56, 199, 0.82);
  color: var(--site-text);
  outline: 0;
}

.wiki-entry-grid {
  flex: 0 1 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-content: start;
  gap: 10px;
  min-height: 0;
  overflow: auto;
  padding-right: 6px;
  scroll-padding-top: 0;
  scroll-snap-type: y mandatory;
}

.wiki-entry {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  border: 1px solid rgba(173, 111, 240, 0.58);
  background: rgba(26, 11, 45, 0.72);
  color: var(--site-text);
  padding: 10px;
  scroll-snap-align: start;
  text-decoration: none;
}

.wiki-entry[href]:hover,
.wiki-entry[href]:focus-visible {
  border-color: var(--site-accent);
  background: rgba(60, 26, 102, 0.82);
  outline: 0;
}

.wiki-entry-image {
  width: 54px;
  height: 54px;
  object-fit: contain;
  image-rendering: pixelated;
  align-self: start;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.45));
}

.wiki-entry:not(:has(.wiki-entry-image)) {
  grid-template-columns: 1fr;
}

.wiki-entry-body {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
}

.wiki-entry-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.wiki-entry-subtitle {
  display: block;
  margin-bottom: 5px;
  color: var(--site-accent);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  padding-top: 1px;
}

.wiki-entry h2 {
  margin: 0;
  color: var(--site-text);
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.wiki-entry-badge {
  flex: 0 0 auto;
  max-width: 126px;
  border: 1px solid rgba(245, 233, 255, 0.3);
  background: rgba(18, 8, 32, 0.66);
  color: var(--site-gold);
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
  overflow-wrap: anywhere;
}

.wiki-entry p {
  margin: 8px 0 0;
  color: var(--site-muted);
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.wiki-stat-list {
  grid-row: 4;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-self: end;
  margin: 10px 0 0;
}

.wiki-stat-list div {
  min-width: 0;
  border: 1px solid rgba(173, 111, 240, 0.36);
  background: rgba(18, 8, 32, 0.5);
  padding: 7px;
}

.wiki-stat-list dt {
  margin: 0 0 3px;
  color: var(--site-muted);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
}

.wiki-stat-list dd {
  margin: 0;
  color: var(--site-text);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.wiki-entry-note {
  grid-row: 5;
  border-left: 2px solid var(--site-gold);
  padding-left: 8px;
  color: var(--site-gold) !important;
}

.wiki-empty {
  border: 1px solid rgba(173, 111, 240, 0.5);
  background: rgba(18, 8, 32, 0.66);
  color: var(--site-muted);
  padding: 18px;
  font-size: 12px;
  line-height: 1.45;
}

.site-modal-backdrop {
/* Category notes: selectors, states, and responsive overrides stay in cascade order; comments are navigation only. */
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(9, 3, 18, 0.72);
}

.site-modal-backdrop.is-open {
  display: flex;
}

.site-account-modal {
  width: min(430px, 100%);
  border: 2px solid var(--site-border);
  background: rgba(18, 8, 32, 0.96);
  box-shadow: var(--site-shadow);
}

.site-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--site-border-soft);
  padding: 14px;
}

.site-modal-head h2 {
  margin: 0;
  font-size: 18px;
}

.site-modal-close {
  position: relative;
  width: 34px;
  height: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ff9bad;
  background: var(--site-danger);
  color: transparent;
  padding: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.site-modal-close::before {
  content: "x";
  position: absolute;
  left: 50%;
  top: 50%;
  color: #fff5f7;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transform: translate(-50%, -58%);
}

.site-modal-close:hover {
  background: var(--site-danger-hover);
}

.site-account-modal-body {
  padding: 14px;
}

.site-account-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.site-account-tab {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--site-border-soft);
  background: rgba(60, 26, 102, 0.62);
  color: var(--site-muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.site-account-tab.is-active {
  border-color: var(--site-accent);
  background: var(--site-button-active);
  color: var(--site-text);
}

.site-account-form {
  display: grid;
  gap: 10px;
}

.site-account-form [data-account-hint] {
  min-height: 36px;
}

.site-account-summary {
  display: grid;
  gap: 10px;
  color: var(--site-muted);
  font-size: 12px;
  line-height: 1.5;
}

.site-account-summary strong {
  color: var(--site-text);
}

.site-account-admin-pill {
  display: none;
  width: max-content;
  border: 1px solid rgba(255, 211, 106, 0.44);
  background: rgba(255, 211, 106, 0.12);
  color: var(--site-gold);
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 700;
}

.site-account-admin-pill.is-visible {
  display: inline-flex;
}

.site-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  width: min(360px, calc(100vw - 32px));
  display: none;
  border: 1px solid var(--site-border);
  background: rgba(18, 8, 32, 0.96);
  color: var(--site-text);
  padding: 10px 12px;
  box-shadow: var(--site-shadow);
  font-size: 12px;
  line-height: 1.45;
}

.site-toast.is-open {
  display: block;
}

@media (max-width: 860px) {
/* Category notes: selectors, states, and responsive overrides stay in cascade order; comments are navigation only. */
  .site-page {
    --site-header-height: 64px;
  }

  .site-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: var(--site-header-height);
    padding: 8px 0;
    position: static;
  }

  .site-menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-header.is-menu-open .site-menu-toggle {
    color: var(--site-text);
  }

  .site-header.is-menu-open .site-menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-menu-open .site-menu-toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.25);
  }

  .site-header.is-menu-open .site-menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-menu {
    width: 100vw;
    display: grid;
    grid-column: 1 / -1;
    gap: 4px;
    max-height: 0;
    margin: 0 0 0 -14px;
    padding: 0 14px;
    border: 0;
    background-color: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transform: none;
    transform-origin: top left;
    transition:
      max-height 220ms ease,
      padding 220ms ease,
      opacity 180ms ease,
      visibility 0ms linear 220ms;
  }

  .site-header.is-menu-open .site-menu {
    max-height: 430px;
    padding: 12px 14px 16px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition-delay: 0ms;
  }

  .site-nav,
  .site-header-actions {
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow: visible;
    width: 100%;
  }

  .site-nav {
    gap: 2px;
  }

  .site-header-actions {
    gap: 2px;
  }

  .site-menu .site-nav a,
  .site-menu .site-button {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 38px;
    justify-content: flex-start;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 8px 0;
    color: var(--site-text);
    text-align: left;
    opacity: 0;
    transform: translateX(-18px);
    transition: color 160ms ease, opacity 220ms ease, transform 220ms ease;
    transition-delay: 0ms;
  }

  .site-header.is-menu-open .site-menu .site-nav a,
  .site-header.is-menu-open .site-menu .site-button {
    opacity: 1;
    transform: translateX(0);
  }

  .site-header.is-menu-open .site-menu .site-nav a:nth-child(1) {
    transition-delay: 35ms;
  }

  .site-header.is-menu-open .site-menu .site-nav a:nth-child(2) {
    transition-delay: 70ms;
  }

  .site-header.is-menu-open .site-menu .site-nav a:nth-child(3) {
    transition-delay: 105ms;
  }

  .site-header.is-menu-open .site-menu .site-nav a:nth-child(4) {
    transition-delay: 140ms;
  }

  .site-header.is-menu-open .site-menu .site-nav a:nth-child(5) {
    transition-delay: 175ms;
  }

  .site-header.is-menu-open .site-menu .site-header-actions > .site-button:nth-child(1) {
    transition-delay: 210ms;
  }

  .site-header.is-menu-open .site-menu .site-header-actions > .site-button:nth-child(2) {
    transition-delay: 245ms;
  }

  .site-header.is-menu-open .site-menu .site-header-actions > .site-button:nth-child(3) {
    transition-delay: 280ms;
  }

  .site-menu .site-nav a:hover,
  .site-menu .site-nav a:focus-visible,
  .site-menu .site-nav a.is-active,
  .site-menu .site-button:hover,
  .site-menu .site-button:focus-visible,
  .site-menu .site-button.is-primary,
  .site-menu .site-button.is-primary:hover,
  .site-menu .site-button.is-ghost,
  .site-menu .site-button.is-ghost:hover,
  .site-menu .site-button.is-ghost:focus-visible {
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--site-text);
  }

  .site-menu .site-nav a:hover,
  .site-menu .site-nav a:focus-visible,
  .site-menu .site-button:hover,
  .site-menu .site-button:focus-visible {
    color: var(--site-accent);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
  }

  .site-menu .site-nav a.is-active {
    color: var(--site-accent);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
  }

  .site-hero {
    --site-hero-extra-scroll: 120px;
    min-height: calc(100vh - var(--site-header-height) + var(--site-hero-extra-scroll));
    min-height: calc(100dvh - var(--site-header-height) + var(--site-hero-extra-scroll));
    padding: 34px 0 48px;
  }

  .site-feature-grid,
  .site-stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-stat-card + .site-stat-card::before {
    content: none;
  }

  .site-stat-card:nth-child(even)::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(173, 111, 240, 0.38) 24%, rgba(255, 211, 106, 0.22) 50%, rgba(173, 111, 240, 0.38) 76%, transparent);
  }

  .site-stat-card:nth-child(n + 3)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 12px;
    right: 12px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(173, 111, 240, 0.36) 24%, rgba(255, 211, 106, 0.2) 50%, rgba(173, 111, 240, 0.36) 76%, transparent);
  }

  .site-page-shell {
    padding-top: calc(var(--site-header-height) + 46px);
  }

  .site-page-head {
    margin-bottom: 20px;
  }

  .site-page-shell > [data-community-root] {
    min-height: 336px;
  }

  .site-page-shell > .feedback-page-root {
    min-height: 336px;
  }

  .community-shell {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .feedback-shell,
  .feedback-shell.has-inbox,
  .feedback-inbox-grid {
    grid-template-columns: 1fr;
  }

  .wiki-root {
    grid-template-columns: 1fr;
  }

  .wiki-page > .site-page-head {
    min-height: 0;
  }

  .wiki-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wiki-toolbar {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .wiki-shell {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .wiki-entry-grid {
    overflow: visible;
    padding-right: 0;
  }

  .wiki-count {
    justify-content: flex-start;
    text-align: left;
  }

  .community-list {
    max-height: 260px;
  }

  .feedback-entry-list {
    max-height: 260px;
  }

  .site-footer-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav"
      "social"
      "signature";
    justify-items: center;
    gap: 22px;
    padding: 30px 0 26px;
  }

  .site-footer-signature {
    margin-top: 10px;
  }

  .site-footer-brand,
  .site-footer-socials,
  .site-footer-signature {
    justify-self: center;
  }

  .site-footer-signature {
    text-align: center;
  }
}

@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .site-menu,
  .site-menu .site-nav a,
  .site-menu .site-button,
  .site-menu-toggle-bar {
    transition: none;
  }
}

@media (max-width: 560px) {
  .site-brand span {
    font-size: 16px;
  }

  .site-footer-brand {
    font-size: 20px;
  }

  .site-footer-brand img {
    width: 54px;
    height: 54px;
  }

  .site-footer-nav {
    width: min(100%, 250px);
    justify-self: center;
    gap: 8px;
  }

  .site-footer-nav a {
    min-height: 38px;
    padding: 7px 8px;
  }

  .site-button {
    padding: 0 10px;
  }

  .site-feature-grid,
  .site-stat-grid,
  .community-form-grid,
  .feedback-filter-row,
  .feedback-form-bottom,
  .site-page-head,
  .wiki-sidebar,
  .wiki-entry-grid,
  .wiki-stat-list {
    grid-template-columns: 1fr;
  }

  .site-stat-grid {
    padding: 14px 16px;
  }

  .site-stat-card {
    padding: 18px 18px;
  }

  .site-stat-card:nth-child(even)::before {
    content: none;
  }

  .site-stat-card:nth-child(n + 2)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 12px;
    right: 12px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(173, 111, 240, 0.36) 24%, rgba(255, 211, 106, 0.2) 50%, rgba(173, 111, 240, 0.36) 76%, transparent);
  }

  .site-page-head {
    align-items: start;
    margin-bottom: 18px;
  }

  .site-hero h1 {
    font-size: 42px;
  }

  .site-hero p {
    font-size: 14px;
  }

  .community-comment.is-reply {
    margin-left: 12px;
  }
}

/* Category notes: selectors, states, and responsive overrides stay in cascade order; comments are navigation only. */
