:root {
  color-scheme: dark;
  --bg: #0b0c13;
  --panel: #13141f;
  --edge: #292a3b;
  --text: #eeeef7;
  --muted: #9596af;
  --accent: #b29aff;
  --purple: #9266f5;
  --green: #78dbbb;
  --danger: #ff8fa8;
  font:
    14px/1.6 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 1px solid var(--edge);
  background: #1b1c2a;
  color: var(--text);
  padding: 9px 15px;
  border-radius: 9px;
  font-weight: 600;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
button:hover {
  background: #27243b;
  border-color: #70608f;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
.primary {
  background: linear-gradient(120deg, #9868f5, #744bd8);
  border: 1px solid #a080ed;
  color: #fff;
  box-shadow: 0 4px 20px #784dd021;
}
.primary:hover {
  background: linear-gradient(120deg, #ac82ff, #855bdd);
  border-color: #b79de9;
}
.danger {
  color: #ffa5b9;
  border-color: #7d3d4c;
}
.muted,
small {
  color: var(--muted);
}
small {
  font-size: 12px;
}
a {
  color: var(--accent);
}
.icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  vertical-align: middle;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  letter-spacing: -0.5px;
  font-weight: 650;
  white-space: nowrap;
}
.brand > .icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  padding: 5px;
  background: #9271f219;
  border: 1px solid #a389f23a;
  border-radius: 10px;
}
.brand b {
  color: #c6adff;
  font-weight: 750;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.5px;
  margin-top: 3px;
  color: #7e7b99;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1.8px;
  color: var(--accent);
  font-weight: 700;
  display: flex;
  gap: 9px;
  align-items: center;
}
.eyebrow > span:not(.spark) {
  color: #57556d;
}
.spark {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 13px #a185f8;
  flex-shrink: 0;
}
.shell {
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #10111a;
  border-right: 1px solid #252634;
  padding: 25px 15px 15px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #343044 transparent;
}
.sidebar .brand {
  margin: 0 8px 25px;
}
.workspace {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  text-align: left;
  background: #181824;
  border-color: #2f2b41;
  font-size: 11px;
}
.workspace > .icon {
  color: #bca0ff;
}
.workspace span {
  flex: 1;
}
.workspace small {
  display: block;
  font-size: 10px;
  max-width: 140px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  color: #89869f;
}
.sidebar nav {
  display: grid;
  gap: 3px;
}
.sidebar nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  color: #9594ae;
  font-size: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 500;
  min-height: 38px;
}
.sidebar nav button > .icon {
  width: 17px;
  height: 17px;
  color: #787590;
}
.sidebar nav button:hover {
  background: #1d1a2c;
  color: #e3d8fa;
}
.sidebar nav button.active {
  background: linear-gradient(100deg, #322447, #211b32);
  color: #dbccff;
  border-color: #67498770;
}
.sidebar nav button.active > .icon {
  color: #be9afa;
}
.nav-dot {
  width: 5px;
  height: 5px;
  background: #b094f1;
  border-radius: 50%;
  margin-left: auto;
}
.navlabel {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #66657c;
  margin: 23px 13px 8px;
  font-weight: 750;
}
.sidebar footer {
  margin: 30px 12px 10px;
  font-size: 12px;
  color: #aca2bf;
}
.sidebar footer .spark {
  margin-right: 6px;
}
.sidebar footer small {
  display: block;
  font-size: 10px;
  margin-top: 6px;
  color: #646177;
}
.main {
  min-width: 0;
  width: 100%;
  margin: 0 auto;
  max-width: 1900px;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #252432;
  padding: 19px 34px;
  min-height: 76px;
  background: #0f1018dd;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
}
.topbar-left > span:nth-child(2) {
  color: #6c677f;
}
.account {
  display: flex;
  align-items: center;
  gap: 18px;
}
.account-name {
  font-size: 12px;
}
.account button {
  font-size: 11px;
  padding: 6px 12px;
  background: transparent;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #91cbb9;
  font-size: 10px;
  font-weight: 550;
}
.status::before {
  content: "";
  background: currentColor;
  border-radius: 50%;
  width: 5px;
  height: 5px;
}
.status.bad {
  color: var(--danger);
}
#content {
  padding: 31px 36px 35px;
  min-height: calc(100vh - 146px);
}
.pagehead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.pagehead > button {
  font-size: 11px;
  padding: 8px 15px;
  background: #151521;
}
.pagehead p {
  font-size: 12px;
  margin: 9px 0 0;
  max-width: 770px;
}
h1 {
  font-size: 29px;
  letter-spacing: -1.05px;
  line-height: 1.22;
  margin: 10px 0 8px;
  font-weight: 730;
}
h2 {
  font-size: 16px;
  letter-spacing: -0.3px;
  margin: 0 0 12px;
  font-weight: 650;
}
h3 {
  font-size: 14px;
  margin: 0 0 7px;
  font-weight: 650;
}
h4 {
  font-size: 13px;
  margin: 10px 0 3px;
}
p {
  margin: 0 0 12px;
}
.panel {
  background: linear-gradient(145deg, #151621, #12131d);
  border: 1px solid var(--edge);
  border-radius: 13px;
  padding: 22px;
  margin-bottom: 22px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.section-title h2,
.section-title h3 {
  margin: 0;
}
.section-title > .tag {
  font-size: 9px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 23px;
}
.card {
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: linear-gradient(145deg, #191824, #13141e);
  padding: 19px 20px;
  overflow: hidden;
  position: relative;
}
.card:after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #805dcc05;
  right: -35px;
  bottom: -45px;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #aaa6bd;
}
.card-top .icon {
  color: #a18aca;
  width: 17px;
  height: 17px;
}
.card strong {
  display: block;
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -1.2px;
  margin: 13px 0 9px;
  font-weight: 680;
}
.card small {
  font-size: 10px;
  color: #79768f;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.grid2 > .panel {
  margin-bottom: 0;
}
.grid2 {
  margin-bottom: 22px;
}
.analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(270px, 1fr);
  gap: 20px;
}
.hero-strip {
  border: 1px solid #6142776b;
  background:
    radial-gradient(ellipse at 75% 50%, #7245a333, transparent 65%),
    linear-gradient(110deg, #261c38, #181723);
  border-radius: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  margin-bottom: 22px;
  overflow: hidden;
}
.hero-strip h2 {
  font-size: 22px;
  margin: 11px 0 6px;
  font-weight: 650;
  letter-spacing: -0.6px;
}
.hero-strip p {
  font-size: 12px;
  color: #ae9dc6;
  margin: 0;
}
.hero-strip .tag {
  color: #c4ace6;
  background: #9c76ce12;
  border-color: #8c64b044;
  font-size: 8px;
  letter-spacing: 1.5px;
  margin: 0;
  padding: 3px 7px;
}
.hero-emblem {
  padding: 18px;
  margin: 0 12px 0 25px;
  background: linear-gradient(150deg, #a274e82b, #8755c408);
  border: 1px solid #a885e836;
  border-radius: 25px;
  transform: rotate(-10deg);
  box-shadow: 0 0 65px #9b6bd620;
}
.hero-emblem .icon {
  width: 57px;
  height: 57px;
  color: #b28bd9;
}
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 218px;
  padding: 12px 4px 0;
  border-bottom: 1px solid #2a283a;
  background: repeating-linear-gradient(
    to top,
    transparent,
    transparent 49px,
    #242332 50px
  );
}
.bar-col {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.bar-col > span {
  font-size: 9px;
  color: #bdb3d0;
}
.bar-col svg {
  height: 150px;
  max-width: 36px;
  width: 100%;
  overflow: visible;
}
.bar-col rect {
  fill: #9170d5;
}
.bar-col:nth-child(even) rect {
  fill: #b08cec;
}
.bar-col small {
  font-size: 9px;
  padding: 8px 0;
  white-space: nowrap;
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #8b849e;
  margin-top: 14px;
}
.chart-empty {
  height: 251px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #8d859f;
  padding: 20px;
}
.chart-empty .icon {
  width: 40px;
  height: 40px;
  color: #7d639f;
  margin-bottom: 14px;
}
.chart-empty p {
  font-size: 12px;
  max-width: 350px;
}
.kv {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #272533;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.kv span:last-child {
  text-align: right;
  color: #d0c8df;
}
.wide {
  width: 100%;
  margin-top: 18px;
  font-size: 11px;
  background: #252033;
  border-color: #423453;
  color: #c9b8e6;
}
.shortcut-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.shortcut-grid button {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: #191822;
  padding: 16px 12px;
  font-size: 11px;
}
.shortcut-grid button span {
  flex: 1;
}
.shortcut-grid .icon {
  color: #a386c9;
}
.event-feed {
  display: grid;
}
.event-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #292533;
}
.event-row:last-child {
  border: 0;
}
.event-row > div {
  flex: 1;
  min-width: 0;
}
.event-row strong {
  font-size: 11px;
}
.event-row p {
  font-size: 11px;
  color: #9690a8;
  margin: 4px 0;
  overflow-wrap: anywhere;
}
.event-row small {
  font-size: 9px;
}
.event-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #48345c;
  background: #6f46841a;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: #b590d1;
  flex-shrink: 0;
}
.event-icon .icon {
  width: 17px;
}
.event-row .tag {
  font-size: 8px;
}
.leader-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #252331;
}
.leader-row:last-child {
  border: 0;
}
.leader-row > div {
  flex: 1;
}
.leader-row strong {
  font-size: 12px;
}
.leader-row small {
  display: block;
  font-size: 10px;
}
.leader-row > b:last-child {
  font-size: 12px;
  color: #c6b8e0;
}
.rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  font-size: 11px;
  color: #888197;
  background: #23202d;
}
.rank.podium {
  color: #d4b5fd;
  background: #402957;
}
.banner {
  padding: 13px 17px;
  background: #2c221a;
  border: 1px solid #645039;
  border-radius: 10px;
  margin-bottom: 20px;
  color: #e8c69f;
  font-size: 12px;
}
.banner.info {
  color: #b6a8d0;
  background: #221b30;
  border-color: #443250;
}
.error {
  color: #ffc0cb;
  background: #321b28;
  border-color: #783247;
}
.toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
}
.toolbar input {
  flex: 1;
  min-width: 220px;
}
.toolbar select {
  width: auto;
  min-width: 160px;
}
.search-box {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 230px;
  background: #14131f;
  border: 1px solid var(--edge);
  border-radius: 9px;
  padding: 0 12px;
  gap: 10px;
}
.search-box .icon {
  width: 17px;
  color: #7f7291;
}
.search-box input {
  border: 0;
  background: transparent;
  min-width: 0;
  padding-left: 0;
}
input,
select,
textarea {
  width: 100%;
  background: #0f1019;
  border: 1px solid #353144;
  color: var(--text);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #8962c97a;
  border-color: #9670c5;
}
input[type="color"] {
  height: 40px;
  padding: 5px;
  cursor: pointer;
}
input[type="range"] {
  accent-color: #b18be9;
  border: 0;
  padding: 0;
}
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #ab7cf0;
}
textarea {
  min-height: 104px;
  resize: vertical;
}
label {
  display: block;
  font-size: 11px;
  color: #bcb2ce;
  margin: 13px 0 7px;
}
label > input,
label > select,
label > textarea {
  margin-top: 7px;
}
label small {
  display: block;
  color: #82748f;
  font-size: 10px;
  margin: 5px 0;
}
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.formgrid > * {
  min-width: 0;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
  border-top: 1px solid #2b2536;
  padding-top: 18px;
}
.form-actions small {
  font-size: 10px;
  max-width: 230px;
}
.form-actions button {
  font-size: 11px;
  white-space: nowrap;
}
.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #1b1725;
  border: 1px solid #34293f;
  border-radius: 9px;
  padding: 13px;
  margin: 12px 0;
}
.switch-row input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.switch-row i {
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 20px;
  background: #494152;
  flex-shrink: 0;
  border: 1px solid #62566c;
}
.switch-row i:before {
  content: "";
  position: absolute;
  background: #ccc2d7;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  left: 2px;
  top: 2px;
  transition: transform 0.15s;
}
.switch-row input:checked + i {
  background: #8d5fc5;
  border-color: #ab7bdd;
}
.switch-row input:checked + i:before {
  transform: translateX(14px);
  background: white;
}
.switch-row input:focus-visible + i {
  outline: 2px solid #d0b0ff;
  outline-offset: 4px;
}
.check-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}
.check-inline input {
  margin: 0;
}
.security-status {
  background: linear-gradient(100deg, #292035, #191722);
  border: 1px solid #4c3a5f;
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 23px;
  margin-bottom: 22px;
}
.security-status > div {
  flex: 1;
}
.security-status p {
  font-size: 12px;
  color: #a99ab9;
  margin: 0;
}
.security-status h2 {
  margin-bottom: 5px;
}
.shield-badge,
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 57px;
  height: 57px;
  background: #a071dc1c;
  border: 1px solid #9c6ac33b;
  border-radius: 16px;
  color: #bc94e3;
  flex-shrink: 0;
}
.shield-badge .icon,
.feature-icon .icon {
  width: 28px;
  height: 28px;
}
.age-filter {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #1d1728;
  border: 1px solid #453153;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 11px;
}
.age-filter input {
  width: 180px;
}
.age-filter b {
  color: #cfa5f4;
  min-width: 50px;
}
.age-filter small {
  margin-left: auto;
  font-size: 10px;
}
.results-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
  font-size: 12px;
}
.results-meta small {
  font-size: 10px;
}
.member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 23px;
}
.member-card {
  display: block;
  text-align: left;
  background: linear-gradient(135deg, #1c1727, #13141e);
  padding: 20px;
  border-color: #352b43;
  min-width: 0;
}
.member-card:hover {
  transform: translateY(-2px);
  border-color: #795593;
  background: #20182e;
}
.member-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.member-card-top .avatar {
  width: 48px;
  height: 48px;
  border: 2px solid #77509366;
  border-radius: 15px;
}
.member-card h3 {
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.member-card > small {
  font-size: 11px;
  font-weight: 400;
}
.member-roles {
  min-height: 45px;
  margin-top: 17px;
}
.member-card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #33283f;
  padding-top: 13px;
  font-size: 9px;
  color: #908298;
  font-weight: 400;
}
.member-card-bottom span:last-child {
  color: #baa0cf;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #2e243c;
  object-fit: cover;
}
.identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}
.identity small {
  display: block;
  font-size: 10px;
}
.tag {
  display: inline-block;
  border: 1px solid #4a385f;
  background: #32233f44;
  color: #c1a8d7;
  font-size: 9px;
  border-radius: 5px;
  padding: 3px 6px;
  margin: 2px;
  font-weight: 500;
  white-space: nowrap;
}
.tag.ok {
  color: var(--green);
  border-color: #34594f;
  background: #1e4b391f;
}
.tag.bad {
  color: var(--danger);
  border-color: #744553;
  background: #6b30431f;
}
.empty {
  padding: 35px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.empty > .icon {
  width: 30px;
  height: 30px;
  margin-bottom: 13px;
  color: #8d729f;
}
.empty h3 {
  margin-bottom: 8px;
  color: #bcb0c8;
}
.empty p {
  margin: 0;
}
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: #9e90ac;
}
.pager button {
  font-size: 11px;
}
.right {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.tablewrap {
  overflow: auto;
  border: 1px solid var(--edge);
  border-radius: 9px;
  margin: 14px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 11px;
}
th {
  background: #1e1929;
  color: #a59aaf;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-size: 9px;
  padding: 12px 14px;
  text-align: left;
  position: sticky;
  top: 0;
}
td {
  padding: 12px 14px;
  border-bottom: 1px solid #292332;
  max-width: 420px;
  white-space: normal;
  overflow-wrap: anywhere;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #211a2b;
}
.featuregrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 23px;
}
.featuregrid button {
  text-align: left;
  display: block;
  padding: 22px;
  background: var(--panel);
}
.featuregrid .icon {
  color: #b28dd4;
  margin-bottom: 14px;
  width: 25px;
  height: 25px;
}
.featuregrid small {
  display: block;
  font-weight: 400;
  margin-top: 8px;
}
.feature-hero {
  background: linear-gradient(110deg, #251c31, #16131e);
  border: 1px solid #4d355f;
  border-radius: 12px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 22px;
}
.feature-hero > div:nth-child(2) {
  flex: 1;
}
.feature-hero h2 {
  font-size: 20px;
  margin-bottom: 5px;
}
.feature-hero p {
  font-size: 12px;
  color: #a68eb8;
  margin: 0 0 9px;
}
.feature-hero.compact {
  border: 0;
  background: transparent;
  padding: 10px 0;
  margin: 0;
}
.feature-hero button {
  font-size: 11px;
  flex-shrink: 0;
}
.commandlist {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.commandlist button {
  font-size: 11px;
  background: #221a2e;
  border-color: #483353;
  color: #cbb1df;
}
.command-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  background: #16131f;
  border: 1px solid #312639;
  border-radius: 11px;
  margin-top: 12px;
}
.command-card h3 {
  font-family: ui-monospace, monospace;
  color: #c59ae9;
}
.command-card p {
  font-size: 12px;
}
.command-card > button {
  align-self: center;
  font-size: 11px;
}
.command-card small {
  font-size: 10px;
  margin-left: 10px;
}
.extension-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.extension-grid > div {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #302939;
  border-radius: 8px;
  background: #17121e;
  padding: 12px;
  min-width: 0;
  font-size: 10px;
}
.extension-grid .icon {
  width: 15px;
  color: #9e7db5;
}
.extension-grid > div > span:first-of-type {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.extension-grid .tag {
  font-size: 7px;
}
.log-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.sticky-save {
  position: sticky;
  bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  background: #251b32f5;
  backdrop-filter: blur(12px);
  border: 1px solid #76528b;
  border-radius: 12px;
  box-shadow: 0 5px 25px #0005;
  z-index: 3;
}
.sticky-save p {
  margin: 0;
  font-size: 11px;
  color: #c5afd5;
}
.sticky-save .icon {
  margin-right: 7px;
}
.permission-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.permission-card > .icon {
  color: #b78dd7;
  width: 35px;
  height: 35px;
}
.permission-card p {
  font-size: 12px;
  color: #b3a6bd;
}
.subnav {
  display: flex;
  gap: 7px;
  padding: 5px;
  background: #13101c;
  border: 1px solid #35273f;
  border-radius: 10px;
  margin-bottom: 22px;
  overflow: auto;
}
.subnav button {
  border: 0;
  background: transparent;
  font-size: 12px;
  color: #9d8ba9;
  padding: 10px 17px;
  white-space: nowrap;
}
.subnav button.active {
  background: #3b264b;
  color: #e1c4f4;
}
.template-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.template-grid button {
  text-align: left;
  padding: 20px 15px;
  background: linear-gradient(140deg, #302038, #1b1425);
  border-color: #4e335b;
}
.template-grid button > .icon {
  width: 27px;
  height: 27px;
  color: #c497e3;
  margin-bottom: 20px;
}
.template-grid h3 {
  font-size: 12px;
}
.template-grid small {
  font-size: 9px;
  font-weight: 400;
}
.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.saved-panel {
  border: 1px solid #483052;
  background: #1d1525;
  padding: 20px;
  border-radius: 10px;
}
.saved-panel .icon {
  color: #b58ccf;
}
.saved-panel > p {
  font-size: 12px;
  color: #af98bc;
  white-space: pre-wrap;
}
.saved-panel > .buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}
.saved-panel button {
  font-size: 11px;
}
.text-link {
  font-size: 11px;
  text-decoration: none;
  color: #cba3e8;
}
.text-link:hover {
  text-decoration: underline;
}
.ticket-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #1b1423;
  width: 100%;
  text-align: left;
  padding: 17px;
  margin-bottom: 10px;
  border-color: #3b2a46;
}
.ticket-row > div {
  flex: 1;
  min-width: 0;
}
.ticket-row strong {
  font-size: 12px;
  display: block;
  overflow-wrap: anywhere;
}
.ticket-row small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  margin-top: 4px;
}
.ticket-symbol {
  display: flex;
  padding: 10px;
  background: #32203e;
  border-radius: 10px;
  color: #bd8fdb;
}
.ticket-row > b {
  font-size: 12px;
  color: #eac37e;
}
.profile-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(110deg, #372145, #21152e);
  border: 1px solid #624274;
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 22px;
}
.profile-hero .avatar {
  width: 65px;
  height: 65px;
  border-radius: 19px;
}
.profile-hero > div {
  flex: 1;
}
.profile-hero h2 {
  font-size: 21px;
  margin-bottom: 3px;
}
.profile-hero p {
  margin: 0;
  color: #b798ca;
  font-size: 12px;
}
.profile-hero > button {
  font-size: 10px;
}
.profile-hero > .icon {
  width: 40px;
  height: 40px;
  color: #c697e3;
}
.profile-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.profile-stats .card {
  padding: 15px;
}
.profile-stats .card strong {
  font-size: 24px;
}
.risk-panel {
  border: 1px solid #62466f;
  background: #32203966;
  padding: 18px;
  border-radius: 11px;
  margin-bottom: 15px;
}
.risk-panel p {
  font-size: 12px;
  color: #c5a9d3;
}
.risk-panel small {
  font-size: 10px;
}
.answer {
  padding: 16px;
  background: #1d1525;
  border-left: 2px solid #aa76cf;
  border-radius: 0 8px 8px 0;
  margin: 14px 0;
}
.answer p {
  white-space: pre-wrap;
  margin: 7px 0 0;
  font-size: 12px;
}
.spaced {
  margin-top: 23px;
}
.code,
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #100c17;
  border: 1px solid #382640;
  padding: 17px;
  border-radius: 9px;
  max-height: 500px;
  overflow: auto;
  font-size: 11px;
}
dialog {
  background: #17121f;
  color: var(--text);
  border: 1px solid #745286;
  border-radius: 16px;
  max-width: 790px;
  width: calc(100% - 28px);
  max-height: 92vh;
  padding: 26px;
  box-shadow: 0 30px 100px #0008;
}
dialog::backdrop {
  background: #080410cc;
  backdrop-filter: blur(8px);
}
dialog .dialoghead {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 18px;
}
dialog .dialoghead h2 {
  font-size: 20px;
}
dialog .dialoghead button {
  padding: 3px 10px;
  background: #2a1e33;
}
dialog .buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 23px;
}
.builder-dialog {
  max-width: 1120px;
}
.builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
}
.editor-section {
  padding: 20px 0;
  border-bottom: 1px solid #38283f;
}
.editor-section:first-child {
  padding-top: 0;
}
.preview-column {
  position: sticky;
  top: 0;
  align-self: start;
  background: #24172d;
  padding: 20px;
  border: 1px solid #4e335c;
  border-radius: 12px;
}
.discord-preview {
  margin: 20px 0;
  background: #29272f;
  padding: 17px;
  border-radius: 9px;
}
.preview-bot {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  font-weight: 650;
  margin-bottom: 14px;
}
.preview-bot > .icon {
  width: 31px;
  height: 31px;
  background: #76528c;
  padding: 5px;
  border-radius: 50%;
  color: #f0dfff;
}
.preview-bot b {
  font-size: 8px;
  padding: 2px 3px;
  border-radius: 3px;
  background: #7160ad;
  margin-left: 5px;
}
.preview-bot small {
  display: block;
  font-size: 9px;
  font-weight: 400;
}
.preview-embed {
  border-left: 3px solid #a06cdd;
  border-radius: 3px;
  background: #212027;
  padding: 14px;
  overflow-wrap: anywhere;
}
.preview-embed h3 {
  font-size: 13px;
}
.preview-embed p {
  font-size: 11px;
  white-space: pre-wrap;
  color: #c5bdcd;
}
.preview-embed small {
  font-size: 9px;
}
.discord-preview button {
  margin-top: 10px;
  font-size: 11px;
  pointer-events: none;
}
.question-row {
  background: #23162e;
  border: 1px solid #4e315c;
  border-radius: 10px;
  padding: 15px;
  margin: 15px 0;
}
.question-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #c5a2d9;
}
.question-top button {
  padding: 2px 8px;
  font-size: 13px;
}
.result {
  padding: 16px;
  border-left: 3px solid #b283d5;
  background: #211529;
  margin: 14px 0;
  white-space: pre-wrap;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.result small {
  display: block;
  margin-top: 6px;
  font-size: 10px;
}
.loading {
  padding: 60px;
  text-align: center;
  color: var(--muted);
}
#toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  max-width: min(440px, calc(100vw - 44px));
  background: #382443;
  border: 1px solid #9165a8;
  color: #f2e4fa;
  padding: 15px 20px;
  border-radius: 12px;
  display: none;
  z-index: 1000;
  font-size: 12px;
  box-shadow: 0 10px 35px #0008;
}
#toast.show {
  display: block;
}
.minor {
  font-size: 11px;
}
.count {
  font-variant-numeric: tabular-nums;
}
.main-footer {
  display: flex;
  justify-content: space-between;
  padding: 20px 36px;
  border-top: 1px solid #282031;
  color: #655a70;
  font-size: 10px;
}
.main-footer span {
  font-size: 8px;
  letter-spacing: 1.5px;
}
#menu,
#scrim {
  display: none;
}
/* Sign-in and workspace selection */
.login-scene {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 42%, #6b3c9128, transparent 50%),
    radial-gradient(ellipse at 9% 90%, #3c24451e, transparent 50%), #0c0912;
}
.login-scene:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#ad7dc805 1px, transparent 1px),
    linear-gradient(90deg, #ad7dc805 1px, transparent 1px);
  background-size: 70px 70px;
  pointer-events: none;
}
.landing-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 6vw;
  gap: 20px;
  z-index: 1;
}
.landing-top .tag {
  letter-spacing: 1.5px;
  font-size: 8px;
  color: #9981ad;
  background: #24172b;
}
.landing {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  min-height: calc(100vh - 176px);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 100px;
  align-items: center;
  padding: 60px 50px 75px;
}
.landing-copy h1 {
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 1.08;
  letter-spacing: -2.5px;
  font-weight: 720;
  margin: 25px 0;
}
.landing-copy h1 span {
  background: linear-gradient(100deg, #cda1fa, #a980e0, #ecb8e0);
  color: transparent;
  background-clip: text;
}
.lead {
  font-size: 16px;
  line-height: 1.8;
  color: #a69ab3;
  max-width: 450px;
}
.landing-features {
  display: grid;
  gap: 22px;
  margin-top: 39px;
}
.landing-features > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.landing-features .icon {
  color: #b689d3;
  padding: 9px;
  width: 39px;
  height: 39px;
  border: 1px solid #68447566;
  border-radius: 11px;
  background: #7d498519;
}
.landing-features strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #d0bfdd;
}
.landing-features small {
  display: block;
  font-size: 11px;
  margin-top: 2px;
  color: #84738f;
}
.landing-caption {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #63536f;
  margin-top: 48px;
}
.landing-caption span {
  color: #aa75c5;
}
.access-card {
  position: relative;
  background: linear-gradient(160deg, #2c1e38cc, #18111fee);
  border: 1px solid #88569877;
  border-radius: 22px;
  padding: 38px 34px;
  box-shadow:
    0 30px 100px #0a031aaa,
    0 0 90px #81499213;
  max-width: 430px;
}
.access-card:before {
  content: "";
  position: absolute;
  height: 1px;
  top: -1px;
  left: 15%;
  right: 15%;
  background: linear-gradient(90deg, transparent, #d3a0f1, transparent);
}
.shield-art {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(130deg, #63407766, #271831);
  border: 1px solid #b47bd166;
  box-shadow:
    0 0 50px #9563b329,
    inset 0 0 30px #9962bd11;
  border-radius: 24px;
  margin-bottom: 31px;
  transform: rotate(-7deg);
}
.shield-art .icon {
  width: 47px;
  height: 47px;
  color: #d6adf3;
}
.access-card .eyebrow {
  font-size: 8px;
  color: #a081b8;
  letter-spacing: 2px;
}
.access-card h2 {
  font-size: 27px;
  line-height: 1.2;
  margin: 14px 0;
  letter-spacing: -0.8px;
}
.access-card > .muted {
  font-size: 12px;
  line-height: 1.9;
  color: #aa95b9;
  margin-bottom: 28px;
}
.discord-login {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  padding: 13px 18px;
  border-radius: 9px;
  font-size: 12px;
  background: linear-gradient(110deg, #a075d6, #8051b5);
  box-shadow: 0 8px 24px #915bc92c;
}
.discord-login span {
  font-size: 20px;
  font-weight: 400;
}
.access-note {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 25px;
  padding-bottom: 28px;
  border-bottom: 1px solid #4b325766;
}
.access-note > .icon {
  color: #9d76b2;
  width: 17px;
  height: 17px;
}
.access-note p {
  font-size: 11px;
  color: #c0a4d0;
  margin: 0;
}
.access-note small {
  font-size: 10px;
  color: #856c95;
}
.access-footer {
  margin-top: 25px;
  font-size: 12px;
  color: #896f99;
  line-height: 1.9;
}
.access-footer b {
  color: #bc97d2;
  font-weight: 500;
}
.landing-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 6vw;
  color: #705a80;
  font-size: 10px;
  border-top: 1px solid #5b396626;
}
.landing-footer span {
  font-size: 8px;
  letter-spacing: 2px;
}
.orbit {
  position: absolute;
  pointer-events: none;
  width: 600px;
  height: 600px;
  border: 1px solid #9560b214;
  border-radius: 50%;
  right: -140px;
  top: -210px;
}
.orbit-two {
  width: 800px;
  height: 800px;
  right: -240px;
  top: -310px;
  border-color: #9560b20a;
}
.picker {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 5%, #61357922, transparent 65%), #0c0a12;
}
.picker-head {
  max-width: 1180px;
  margin: 55px auto 35px;
  padding: 0 40px;
}
.picker-head h1 {
  font-size: 39px;
  letter-spacing: -1.6px;
  margin-top: 16px;
}
.picker-head p {
  font-size: 13px;
}
.server-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 0 40px;
}
.server-card {
  padding: 0;
  text-align: left;
  background: #18101f;
  border: 1px solid #51325e;
  overflow: hidden;
  border-radius: 16px;
}
.server-card:hover {
  transform: translateY(-4px);
  border-color: #a372be;
  box-shadow: 0 18px 40px #0004;
}
.server-cover {
  height: 125px;
  background:
    radial-gradient(ellipse at 25% 120%, #a464c14d, transparent),
    linear-gradient(110deg, #3f284b, #20162b);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px;
}
.server-cover > .icon {
  width: 51px;
  height: 51px;
  color: #c798e0;
}
.server-cover .tag {
  align-self: start;
  font-size: 8px;
  letter-spacing: 1px;
}
.server-body {
  padding: 24px;
}
.server-body h2 {
  font-size: 19px;
  margin-bottom: 5px;
}
.server-body > small {
  font-size: 10px;
  font-weight: 400;
}
.server-open {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #452951;
  padding-top: 17px;
  margin-top: 25px;
  font-size: 11px;
  color: #c79ee1;
}
.picker-note {
  max-width: 1180px;
  margin: 24px auto;
  padding: 0 40px;
  color: #7f668d;
  font-size: 11px;
}
@media (min-width: 1650px) {
  #content {
    padding: 38px 48px;
  }
  .member-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1200px) {
  .shell {
    grid-template-columns: 222px minmax(0, 1fr);
  }
  .sidebar .brand {
    font-size: 16px;
  }
  .sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
  #content {
    padding: 26px;
  }
  .topbar {
    padding: 18px 26px;
  }
  .cards {
    gap: 12px;
  }
  .card {
    padding: 16px;
  }
  .card strong {
    font-size: 26px;
  }
  .analytics-grid {
    grid-template-columns: 1.3fr 1fr;
  }
  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .template-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .extension-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .account-name {
    display: none;
  }
  .landing {
    gap: 50px;
    padding: 50px 40px;
  }
  .landing-copy h1 {
    font-size: 50px;
  }
  .hero-strip h2 {
    font-size: 20px;
  }
  .hero-emblem {
    margin-right: 0;
  }
  .featuregrid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-hero {
    flex-wrap: wrap;
  }
  .feature-hero > button {
    margin-left: auto;
  }
}
@media (max-width: 960px) {
  .grid2,
  .analytics-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pagehead h1 {
    font-size: 26px;
  }
  .hero-strip {
    padding: 22px;
  }
  .hero-emblem .icon {
    width: 40px;
    height: 40px;
  }
  .template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .panel-grid {
    grid-template-columns: 1fr;
  }
  .landing {
    gap: 40px;
    grid-template-columns: 1fr 1fr;
    padding: 45px 30px;
  }
  .landing-copy h1 {
    font-size: 43px;
  }
  .access-card {
    padding: 28px;
  }
  .landing-caption {
    font-size: 7px;
    gap: 8px;
  }
  .landing-copy .eyebrow {
    font-size: 8px;
  }
  .landing-features {
    gap: 17px;
  }
  .lead {
    font-size: 14px;
  }
  .server-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 740px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    z-index: 50;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100dvh;
    width: 265px;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar nav button {
    font-size: 13px;
    min-height: 43px;
  }
  .sidebar .brand {
    font-size: 19px;
  }
  .sidebar .navlabel {
    font-size: 10px;
  }
  #scrim.open {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    border-radius: 0;
    background: #05020cc9;
    z-index: 49;
    backdrop-filter: blur(4px);
  }
  #menu {
    display: block;
    background: transparent;
    padding: 4px 9px;
    font-size: 18px;
  }
  .topbar {
    padding: 14px 16px;
    min-height: 65px;
    gap: 8px;
  }
  .topbar-left {
    gap: 8px;
  }
  .topbar-left > .muted,
  .topbar-left > span:nth-of-type(2) {
    display: none;
  }
  .account {
    gap: 10px;
  }
  .account button {
    font-size: 10px;
    padding: 6px 8px;
  }
  .status {
    font-size: 9px;
  }
  #content {
    padding: 24px 17px;
  }
  .pagehead {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
  }
  .pagehead .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
    flex-wrap: wrap;
  }
  .pagehead h1 {
    font-size: 26px;
    letter-spacing: -0.8px;
  }
  .pagehead p {
    font-size: 11px;
    line-height: 1.75;
  }
  .pagehead > button {
    padding: 7px 10px;
    font-size: 10px;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .hero-strip {
    padding: 20px;
  }
  .hero-strip h2 {
    font-size: 19px;
    max-width: 250px;
  }
  .hero-strip p {
    font-size: 11px;
    max-width: 260px;
  }
  .hero-emblem {
    padding: 12px;
    margin-left: 14px;
    border-radius: 18px;
  }
  .hero-emblem .icon {
    width: 32px;
    height: 32px;
  }
  .cards {
    gap: 11px;
  }
  .card {
    padding: 16px;
  }
  .card strong {
    font-size: 27px;
  }
  .card-top {
    font-size: 10px;
  }
  .card small {
    font-size: 9px;
  }
  .panel {
    padding: 18px;
    border-radius: 12px;
  }
  .section-title h2 {
    font-size: 15px;
  }
  .formgrid {
    gap: 0 12px;
  }
  .form-actions small {
    max-width: 170px;
  }
  .toolbar {
    gap: 10px;
  }
  .search-box {
    flex-basis: 100%;
  }
  .toolbar select {
    flex: 1;
    min-width: 0;
  }
  .toolbar > button {
    font-size: 11px;
  }
  .age-filter {
    padding: 13px 14px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .age-filter input {
    flex: 1;
    width: 90px;
  }
  .age-filter small {
    width: 100%;
    margin-left: 0;
  }
  .member-grid {
    gap: 11px;
  }
  .member-card {
    padding: 16px;
  }
  .member-card h3 {
    font-size: 13px;
  }
  .member-card-top .avatar {
    width: 41px;
    height: 41px;
  }
  .member-card .tag {
    font-size: 8px;
    padding: 2px 5px;
  }
  .member-card-bottom {
    flex-direction: column;
    gap: 3px;
  }
  .member-roles {
    min-height: 50px;
    margin-top: 12px;
  }
  .results-meta {
    align-items: flex-start;
  }
  .results-meta small {
    font-size: 9px;
    max-width: 175px;
    text-align: right;
  }
  .results-meta span {
    font-size: 11px;
  }
  .security-status {
    padding: 18px;
    gap: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .security-status .shield-badge {
    width: 43px;
    height: 43px;
    border-radius: 12px;
  }
  .security-status > div {
    min-width: 180px;
  }
  .security-status p {
    font-size: 11px;
  }
  .security-status > .tag {
    margin-left: auto;
  }
  .log-grid {
    grid-template-columns: 1fr;
  }
  .sticky-save {
    padding: 13px;
    bottom: 10px;
    gap: 10px;
  }
  .sticky-save p {
    font-size: 10px;
  }
  .sticky-save button {
    font-size: 10px;
  }
  .sticky-save .icon {
    display: none;
  }
  .feature-hero {
    padding: 20px;
    gap: 15px;
  }
  .feature-hero h2 {
    font-size: 19px;
  }
  .feature-hero p {
    font-size: 11px;
  }
  .feature-icon {
    width: 47px;
    height: 47px;
    border-radius: 13px;
  }
  .feature-hero > div:nth-child(2) {
    min-width: 180px;
  }
  .feature-hero > button {
    width: 100%;
    margin: 0;
  }
  .feature-hero.compact {
    padding: 0;
  }
  .ticket-row {
    gap: 10px;
    padding: 13px;
    flex-wrap: wrap;
  }
  .ticket-row > div {
    min-width: 150px;
  }
  .ticket-symbol {
    padding: 8px;
  }
  .ticket-row .tag {
    font-size: 8px;
  }
  .ticket-row strong {
    font-size: 11px;
  }
  .ticket-row small {
    font-size: 8px;
  }
  .subnav button {
    padding: 9px 12px;
    font-size: 11px;
  }
  .builder-layout {
    grid-template-columns: 1fr;
  }
  .preview-column {
    position: static;
    order: -1;
  }
  .preview-column .discord-preview {
    margin: 12px 0;
  }
  .preview-column > .minor {
    display: none;
  }
  dialog {
    padding: 20px;
    max-height: 94dvh;
  }
  .profile-hero {
    padding: 17px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .profile-hero .avatar {
    width: 50px;
    height: 50px;
  }
  .profile-hero h2 {
    font-size: 19px;
  }
  .profile-stats {
    gap: 8px;
  }
  .profile-stats .card {
    padding: 12px;
  }
  .profile-stats .card-top {
    font-size: 9px;
  }
  .profile-stats .card-top .icon {
    display: none;
  }
  .profile-stats .card strong {
    font-size: 23px;
  }
  .extension-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .extension-grid > div {
    padding: 10px;
    font-size: 9px;
  }
  .extension-grid .icon {
    display: none;
  }
  .extension-grid .tag {
    font-size: 6px;
  }
  .main-footer {
    padding: 18px;
    font-size: 9px;
  }
  .main-footer span {
    font-size: 7px;
  }
  .landing-top {
    padding: 23px;
  }
  .landing-top .tag {
    display: none;
  }
  .landing {
    display: flex;
    flex-direction: column;
    padding: 35px 24px 50px;
    gap: 40px;
    align-items: stretch;
  }
  .landing-copy h1 {
    font-size: 49px;
    letter-spacing: -2px;
    margin: 21px 0;
  }
  .landing-copy .eyebrow {
    font-size: 8px;
  }
  .lead {
    font-size: 14px;
    max-width: 360px;
  }
  .landing-features {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-top: 27px;
  }
  .landing-features strong {
    font-size: 11px;
  }
  .landing-features small {
    font-size: 10px;
  }
  .landing-caption {
    display: none;
  }
  .access-card {
    max-width: none;
    padding: 29px;
    border-radius: 19px;
  }
  .shield-art {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    margin-bottom: 24px;
  }
  .shield-art .icon {
    width: 35px;
    height: 35px;
  }
  .access-card h2 {
    font-size: 27px;
  }
  .access-footer {
    margin-top: 20px;
  }
  .landing-footer {
    padding: 20px 24px;
    font-size: 9px;
  }
  .landing-footer span {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .picker-head {
    margin: 32px auto;
    padding: 0 23px;
  }
  .picker-head h1 {
    font-size: 32px;
  }
  .picker-head p {
    font-size: 12px;
  }
  .server-grid {
    grid-template-columns: 1fr;
    padding: 0 23px;
    gap: 20px;
  }
  .picker-note {
    padding: 0 23px;
    font-size: 10px;
  }
  .server-cover {
    height: 105px;
  }
  .server-body {
    padding: 22px;
  }
  .landing-top .brand {
    font-size: 17px;
  }
  .bar-chart {
    gap: 5px;
  }
  .bar-col small {
    font-size: 8px;
  }
  .shortcut-grid button {
    padding: 13px 10px;
    font-size: 10px;
  }
  .shortcut-grid .icon {
    width: 17px;
  }
  .leader-row {
    gap: 10px;
  }
  .leader-row small {
    font-size: 9px;
  }
  .leader-row > b:last-child {
    font-size: 10px;
  }
  .command-card {
    padding: 17px;
  }
  .command-card p {
    font-size: 11px;
  }
  .formgrid .switch-row {
    grid-column: 1 / -1;
  }
  .panel > .formgrid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 390px) {
  .formgrid {
    grid-template-columns: 1fr;
  }
  .member-grid {
    grid-template-columns: 1fr;
  }
  .template-grid {
    grid-template-columns: 1fr;
  }
  .hero-emblem {
    display: none;
  }
  .pagehead h1 {
    font-size: 23px;
  }
  .profile-stats {
    grid-template-columns: 1fr 1fr;
  }
  .topbar-left b {
    font-size: 10px;
  }
  .status {
    font-size: 8px;
  }
  .featuregrid {
    grid-template-columns: 1fr;
  }
  .landing-copy h1 {
    font-size: 42px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.sidebar .brand {
  font-size: 16px;
  gap: 8px;
}
.sidebar .brand small {
  font-size: 7px;
  letter-spacing: 1px;
}
.sidebar .brand > .icon {
  width: 31px;
  height: 31px;
}
.sidebar .brand > div {
  min-width: 0;
}
.sidebar .brand small {
  white-space: normal;
}
.grid2 .tablewrap {
  max-height: 420px;
}
body {
  font-family: Arial, "Helvetica Neue", system-ui, sans-serif;
}
.preview-primary {
  background: #7851c6;
  border-color: #9d79d8;
}
.preview-secondary {
  background: #4a4555;
  border-color: #696273;
}
.preview-success {
  background: #2c865f;
  border-color: #53a780;
}
.preview-danger {
  background: #b64563;
  border-color: #cd7089;
}
@font-face {
  font-family: Sentinel Sans;
  src: url("/static/fonts/open-sans-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Sentinel Sans;
  src: url("/static/fonts/open-sans-latin-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 650;
  font-display: swap;
}
@font-face {
  font-family: Sentinel Sans;
  src: url("/static/fonts/open-sans-latin-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 651 900;
  font-display: swap;
}
body {
  font-family:
    Sentinel Sans,
    Arial,
    sans-serif;
}

.review-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 24px;
}
.rating-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 12px 0;
}
.rating-bar meter {
  flex: 1;
  height: 18px;
  accent-color: #a78bfa;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 20px;
  margin-top: 24px;
}
.review-grid > div {
  min-width: 0;
}
.review-detail {
  border: 1px solid var(--edge);
  border-radius: 16px;
  padding: 20px;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.review-comment {
  white-space: pre-wrap;
  line-height: 1.65;
  background: #ffffff05;
  padding: 16px;
  border-radius: 10px;
}
@media (max-width: 700px) {
  .review-summary {
    grid-template-columns: 1fr;
  }
  .review-detail {
    padding: 14px;
  }
}
