:root {
  color-scheme: dark;
  --page: #101113;
  --surface: #191b1f;
  --raised: #24272d;
  --line: #363a42;
  --text: #f1f2f4;
  --muted: #bfc2ca;
  --accent: #c6a6ef;
  --focus: #ddc3ff;
  font:
    16px/1.6 "Segoe UI",
    Arial,
    sans-serif;
}
.browse-commands {
  display: block;
  min-height: 44px;
  margin: 18px 0 4px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
}
.browse-commands:hover {
  background: var(--raised);
}
/* A quiet, searchable reference: rows carry information; purple marks controls. */
.command-row {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  gap: 18px;
}
.command-row .command {
  flex: 1;
  min-width: 0;
  border: 0;
}
.command-row .command summary {
  grid-template-columns: 180px minmax(0, 1fr) 18px;
  gap: 22px;
}
.command-row .command-details {
  padding: 0 20px 22px 205px;
}
.copy-command {
  margin-top: 19px;
  padding: 7px 11px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 12px;
  min-width: 64px;
}
.copy-command:hover {
  background: var(--raised);
}
.copy-command:disabled {
  cursor: default;
  color: var(--muted);
  opacity: 0.6;
}
.copy-status {
  min-height: 22px;
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
}
.command-unavailable {
  font-size: 13px;
  margin-bottom: 12px;
  color: var(--muted);
}
.section-heading {
  flex-wrap: wrap;
}
.command-mode {
  display: flex;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 3px;
  gap: 3px;
}
.command-mode button {
  background: none;
  border: 0;
  border-radius: 4px;
  padding: 6px 12px;
  color: var(--muted);
  font-size: 13px;
}
.command-mode button[aria-pressed="true"] {
  background: #463354;
  color: #f0defe;
}
.help-groups {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 17px;
}
.help-groups button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 0 11px;
  color: var(--muted);
  font-size: 14px;
}
.help-groups button[aria-pressed="true"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}
.role-group {
  margin-top: 25px;
}
.role-group > h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--muted);
}
.role-group .role-list {
  display: block;
}
.role-group .role {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) minmax(180px, 0.75fr);
  align-items: start;
  gap: 24px;
  padding: 18px 0;
}
.role-identity {
  display: flex;
  align-items: center;
  gap: 9px;
}
.role-identity h4 {
  font-size: 15px;
  font-weight: 650;
  margin: 0;
  overflow-wrap: anywhere;
}
.role-swatch {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  background: var(--muted);
  border-radius: 50%;
  box-shadow: 0 0 0 1px #ffffff35;
}
.role-group .role .role-earned {
  margin: 0;
  font-size: 13px;
}
.role-group .role p {
  font-size: 13px;
}
.role-perks {
  margin-top: 5px;
}
.role-group .role-earned strong {
  color: var(--muted);
}
@media (max-width: 760px) {
  .command-row .command summary {
    grid-template-columns: 1fr 18px;
    gap: 7px 12px;
  }
  .command-row .command-description {
    grid-column: 1;
    grid-row: 2;
  }
  .command-row .command summary::after {
    grid-column: 2;
    grid-row: 1/3;
  }
  .command-row .command-details {
    padding: 0 0 22px;
  }
  .command-row .command-details dl {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .command-row .command-details dd {
    margin-bottom: 10px;
  }
  .command-row {
    gap: 10px;
  }
  .command-mode {
    margin-left: 0;
  }
  .help-groups {
    gap: 18px;
    overflow-x: auto;
  }
  .help-groups button {
    white-space: nowrap;
  }
  .role-group .role {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .role-group .role .role-earned {
    margin-top: 3px;
  }
}
* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #555b66 var(--page);
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--page);
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a,
button,
input {
  outline-offset: 5px;
}
:focus-visible {
  outline: 2px solid var(--focus);
}
input {
  caret-color: var(--accent);
}
::selection {
  background: #584477;
  color: #fff;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 10;
  padding: 12px 18px;
  background: var(--text);
  color: var(--page);
}
.skip-link:focus {
  top: 12px;
}
.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 100px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 680;
  font-size: 17px;
  color: var(--text);
  line-height: 1.3;
  text-decoration: none;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}
.brand-sub {
  display: block;
  font-size: 12px;
  font-weight: 450;
  color: var(--muted);
  margin-top: 3px;
}
.header-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
}
.header-nav a {
  color: var(--muted);
  text-decoration: none;
}
.header-nav a:hover {
  color: var(--text);
}
.staff-link {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  text-decoration: none;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
}
.header-nav:not(:empty) + .staff-link {
  margin-left: 0;
}
.staff-link:hover {
  color: var(--text);
}
.welcome {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 70px;
  align-items: center;
  padding: 58px 0 43px;
}
.welcome h1 {
  font-size: clamp(30px, 4.3vw, 50px);
  line-height: 1.12;
  font-weight: 720;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.subtitle {
  font-size: 20px;
  color: var(--accent);
  margin-top: 13px;
}
.intro {
  color: var(--muted);
  max-width: 69ch;
  font-size: 15px;
  margin-top: 17px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.companion {
  display: flex;
  align-items: center;
  flex-direction: column;
  color: var(--accent);
  gap: 1px;
}
.companion-mark {
  width: 145px;
  height: 145px;
  stroke-width: 1.1;
}
.companion-mark > circle:first-child {
  stroke: var(--line);
}
.companion span {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.035em;
}
.companion-image {
  width: 145px;
  height: 145px;
  border-radius: 50%;
  object-fit: cover;
}
.hub-search {
  border: 1px solid #526a80;
  display: flex;
  align-items: center;
  background: var(--surface);
  border-radius: 9px;
  box-shadow: none;
}
.hub-search:focus-within {
  border-color: var(--accent);
}
.hub-search label {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  padding: 17px 20px;
  min-width: 0;
}
.hub-search svg {
  width: 21px;
  height: 21px;
  color: var(--accent);
}
.hub-search input {
  border: 0;
  outline: 0;
  background: none;
  color: var(--text);
  min-width: 0;
  width: 100%;
  font-size: 16px;
}
.hub-search input::placeholder {
  color: #afc1d1;
}
.hub-search button {
  border: 0;
  background: none;
  color: var(--accent);
  margin-right: 17px;
  font-size: 13px;
  padding: 6px;
}
.search-status {
  font-size: 13px;
  color: var(--muted);
  min-height: 22px;
  margin-top: 10px;
}
.hub-section {
  padding: 27px 0 30px;
}
.section-heading {
  display: flex;
  align-items: baseline;
  gap: 13px;
  margin-bottom: 19px;
}
.section-heading h2 {
  font-size: 25px;
  letter-spacing: -0.02em;
}
.section-heading p {
  color: var(--muted);
  font-size: 14px;
}
.section-count {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.category-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.category-filter button {
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 6px;
  padding: 7px 13px;
  font-size: 13px;
  line-height: 1.3;
}
.category-filter button:hover {
  background: var(--surface);
  color: var(--text);
}
.category-filter button[aria-pressed="true"] {
  background: #463354;
  border-color: #80629e;
  color: #f0defe;
}
.command-list {
  border-top: 1px solid var(--line);
}
.command {
  border-bottom: 1px solid var(--line);
}
.command summary {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr) 23px;
  gap: 25px;
  align-items: center;
  padding: 21px 3px;
  cursor: pointer;
  list-style: none;
}
.command summary::-webkit-details-marker,
.guide summary::-webkit-details-marker {
  display: none;
}
.command summary::after,
.guide summary::after {
  content: "+";
  font-size: 22px;
  color: var(--accent);
  font-weight: 350;
  justify-self: end;
}
.command[open] summary::after,
.guide[open] summary::after {
  content: "−";
}
.command-name {
  display: block;
  color: var(--accent);
  font:
    600 15px/1.4 Consolas,
    monospace;
  overflow-wrap: anywhere;
}
.command-category {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 5px;
}
.command-description {
  font-size: 14px;
  color: var(--text);
  max-width: 70ch;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.command summary:hover .command-name {
  color: #daf0ff;
}
.command-details {
  padding: 0 48px 24px 213px;
  color: var(--muted);
  font-size: 14px;
}
.command-details dl {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 13px 16px;
  margin: 0;
}
.command-details dt {
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
  padding-top: 5px;
}
.command-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.command-details code {
  display: block;
  background: #17191d;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 8px 12px;
  color: var(--text);
  font:
    13px/1.5 Consolas,
    monospace;
  white-space: pre-wrap;
}
.command-details code + code {
  margin-top: 7px;
}
.command-details .access {
  padding-top: 3px;
}
.role-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
}
.role {
  padding: 21px 0;
  border-top: 1px solid var(--line);
}
.role h3 {
  font-size: 17px;
  margin-bottom: 7px;
  overflow-wrap: anywhere;
}
.role p {
  font-size: 14px;
  color: var(--muted);
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.role .role-earned {
  margin-top: 12px;
  color: var(--text);
}
.role-earned strong {
  font-size: 12px;
  display: block;
  color: var(--accent);
  font-weight: 650;
  margin-bottom: 2px;
}
.role ul {
  padding-left: 18px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.role li {
  padding-left: 3px;
  overflow-wrap: anywhere;
}
.guides-list {
  border-top: 1px solid var(--line);
}
.guide {
  border-bottom: 1px solid var(--line);
}
.guide summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 19px 2px;
  font-size: 16px;
  font-weight: 600;
}
.guide summary span {
  overflow-wrap: anywhere;
}
.guide p {
  padding: 0 36px 23px 2px;
  color: var(--muted);
  font-size: 15px;
  max-width: 75ch;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
}
.quick-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.quick-link strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.quick-link p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.quick-link svg {
  width: 18px;
  height: 18px;
}
.quick-link:hover strong {
  text-decoration: underline;
}
.state-message {
  padding: 48px 22px;
  text-align: center;
  border-block: 1px solid var(--line);
  margin: 18px 0 65px;
}
.state-message h2 {
  font-size: 23px;
  margin-bottom: 9px;
}
.state-message p {
  color: var(--muted);
  font-size: 15px;
  max-width: 52ch;
  margin: auto;
}
.state-message button {
  margin-top: 20px;
  background: var(--accent);
  color: #132330;
  border: 0;
  border-radius: 6px;
  font-weight: 650;
  padding: 10px 18px;
}
.loading-dot {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  margin: 0 auto 17px;
  border-radius: 50%;
  animation: loading 1.4s ease-out infinite;
}
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding: 23px 0 30px;
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.site-footer > span:first-child {
  display: flex;
  gap: 10px;
}
.site-footer a {
  color: var(--muted);
}
body.preview .site-header {
  min-height: 70px;
}
body.preview .staff-link,
body.preview .header-nav,
body.preview .site-footer > a {
  display: none;
}
body.preview .welcome {
  padding-top: 30px;
}
body.preview .site-footer {
  margin-top: 15px;
}
@keyframes loading {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
@media (max-width: 760px) {
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 36px);
  }
  .site-header {
    min-height: 80px;
    gap: 18px;
  }
  .brand {
    font-size: 15px;
  }
  .brand svg {
    width: 26px;
  }
  .header-nav {
    display: none;
  }
  .staff-link,
  .header-nav:not(:empty) + .staff-link {
    margin-left: auto;
    font-size: 12px;
  }
  .welcome {
    grid-template-columns: 1fr 95px;
    gap: 20px;
    padding: 35px 0 29px;
  }
  .welcome h1 {
    font-size: 34px;
  }
  .subtitle {
    font-size: 17px;
    margin-top: 10px;
  }
  .intro {
    font-size: 14px;
    margin-top: 12px;
  }
  .companion-mark,
  .companion-image {
    width: 95px;
    height: 95px;
  }
  .companion span {
    font-size: 11px;
  }
  .hub-search label {
    padding: 15px;
  }
  .hub-search input {
    font-size: 14px;
  }
  .section-heading {
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-bottom: 15px;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .section-heading p {
    font-size: 13px;
  }
  .command summary {
    grid-template-columns: minmax(0, 1fr) 20px;
    gap: 8px 12px;
    padding: 17px 0;
  }
  .command summary > span:first-child {
    grid-column: 1;
  }
  .command summary::after {
    grid-column: 2;
    grid-row: 1/3;
  }
  .command-description {
    grid-column: 1;
    font-size: 13px;
  }
  .command-category {
    display: inline;
    margin-left: 12px;
  }
  .command-name {
    display: inline;
    font-size: 14px;
  }
  .command-details {
    padding: 0 0 20px;
  }
  .command-details dl {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }
  .command-details code {
    font-size: 12px;
  }
  .role-list,
  .quick-links {
    grid-template-columns: 1fr;
  }
  .hub-section {
    padding: 22px 0;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 7px 20px;
    font-size: 11px;
  }
  .site-footer a {
    margin-left: auto;
  }
  .state-message {
    padding: 36px 6px;
  }
  .state-message h2 {
    font-size: 22px;
  }
}
@media (max-width: 420px) {
  .welcome {
    grid-template-columns: 1fr 70px;
    gap: 12px;
  }
  .companion-mark,
  .companion-image {
    width: 70px;
    height: 70px;
  }
  .welcome h1 {
    font-size: 29px;
  }
  .intro {
    grid-column: 1/-1;
  }
  .brand-sub {
    font-size: 11px;
  }
  .staff-link {
    font-size: 11px;
  }
  .site-header {
    gap: 12px;
  }
  .brand {
    gap: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .loading-dot {
    animation: none;
  }
}
.welcome {
  position: relative;
  isolation: isolate;
  margin-top: 28px;
  padding: 40px 32px;
  margin-bottom: 26px;
  border-radius: 10px;
  overflow: hidden;
  background: #21132c url("/member/banner.webp?v=2c9860bc9563") center/cover no-repeat;
  border: 1px solid var(--line);
  min-height: 270px;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 40px;
}
.welcome::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #191021f5 0%,
    #191021e8 45%,
    #19102159 78%,
    #19102166 100%
  );
}
.welcome-copy {
  max-width: 650px;
}
.companion {
  align-self: end;
}
.companion-image {
  width: 95px;
  height: 95px;
  border: 2px solid #b77ade;
  box-shadow: 0 5px 18px #00000066;
}
.companion span {
  padding: 3px 12px;
  border-radius: 20px;
  background: #191021eb;
  margin-top: 8px;
  color: #f5e8ff;
}
body.preview .welcome {
  padding: 28px 22px;
  min-height: 235px;
}
@media (max-width: 760px) {
  .welcome {
    margin-top: 20px;
    padding: 28px 21px;
    grid-template-columns: minmax(0, 1fr) 78px;
    gap: 18px;
    min-height: 245px;
    background-position: 63% center;
  }
  .welcome::before {
    background: linear-gradient(
      90deg,
      #191021f5 0%,
      #191021e8 52%,
      #19102170 100%
    );
  }
  .companion-image {
    width: 70px;
    height: 70px;
  }
  .companion {
    align-self: start;
  }
  .companion span {
    padding: 2px 8px;
  }
  .welcome h1 {
    font-size: 31px;
  }
}
@media (max-width: 420px) {
  .welcome {
    padding: 25px 18px;
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .welcome-copy {
    position: relative;
    z-index: 1;
  }
  .companion {
    position: absolute;
    right: 18px;
    top: 20px;
    opacity: 0.18;
    z-index: -1;
  }
  .companion-image {
    width: 110px;
    height: 110px;
    border: 0;
  }
  .companion span {
    display: none;
  }
  .welcome h1 {
    font-size: 30px;
  }
  .welcome::before {
    background: #191021da;
  }
}
