.sd-nav-item.sd-nav-child {
  position: relative;
  width: calc(100% - 28px);
  min-height: 39px;
  margin: -3px 0 3px 28px;
  padding-left: 13px;
  border-radius: 10px;
  font-size: 12px;
}

.sd-nav-item.sd-nav-child::before {
  position: absolute;
  top: -13px;
  left: -14px;
  width: 11px;
  height: 31px;
  border-bottom: 1px solid #4b4d57;
  border-left: 1px solid #4b4d57;
  border-radius: 0 0 0 7px;
  content: "";
  opacity: .65;
}

.sd-nav-item.sd-nav-child > svg {
  flex: 0 0 17px;
  color: #8f919b;
}

.sd-nav-item.sd-nav-child:hover > svg,
.sd-nav-item.sd-nav-child.active > svg {
  color: #ff526c;
}

.main-content.sd-active > :not(.topbar):not(#sls-support-duty):not(footer) {
  display: none !important;
}

.sd-page {
  --sd-red: #f02b48;
  --sd-red-bright: #ff526c;
  --sd-panel: #14151c;
  --sd-panel-soft: #101117;
  --sd-border: #ffffff14;
  --sd-muted: #92949e;
  display: grid;
  gap: 20px;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding-bottom: 4px;
  color: #f7f5f7;
}

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

.sd-page button,
.sd-page input,
.sd-page select,
.sd-page textarea {
  font: inherit;
}

.sd-hero {
  position: relative;
  display: flex;
  min-height: 224px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  padding: 35px 38px;
  border: 1px solid var(--sd-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 4%, #f02b4852, transparent 35%),
    radial-gradient(circle at 8% 105%, #8d182d2e, transparent 39%),
    linear-gradient(122deg, #1a1b23f7, #101117f7);
  box-shadow: 0 22px 64px #0000003b;
}

.sd-hero::before,
.sd-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.sd-hero::before {
  right: 5%;
  bottom: -62px;
  width: 245px;
  height: 245px;
  border: 1px solid #ff526c21;
  border-radius: 50%;
  box-shadow: 0 0 0 36px #f02b4808, 0 0 0 72px #f02b4806;
}

.sd-hero::after {
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(#ffffff0d 1px, transparent 1px),
    linear-gradient(90deg, #ffffff0d 1px, transparent 1px);
  background-size: 36px 36px;
}

.sd-hero > * {
  position: relative;
  z-index: 1;
}

.sd-hero > div:first-child {
  max-width: 920px;
}

.sd-hero > div:first-child > span,
.sd-section-head > div > span,
.sd-danger-panel > div > span {
  color: var(--sd-red-bright);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}

.sd-hero h2 {
  margin: 9px 0 10px;
  font-size: clamp(31px, 3.3vw, 50px);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.sd-hero p,
.sd-section-head p,
.sd-danger-panel p {
  margin: 0;
  color: var(--sd-muted);
  font-size: 13px;
  line-height: 1.62;
}

.sd-hero-status {
  display: grid;
  grid-template-columns: 10px 1fr;
  min-width: 245px;
  padding: 20px;
  border: 1px solid #ffffff14;
  border-radius: 17px;
  background: #101117e8;
}

.sd-hero-status > i {
  grid-row: 1 / 4;
  align-self: center;
  width: 9px;
  height: 9px;
  margin-right: 12px;
  border-radius: 50%;
  background: #555862;
  box-shadow: 0 0 0 5px #55586218;
}

.sd-hero-status.online {
  border-color: #f02b4850;
  background: #2b1119df;
}

.sd-hero-status.online > i {
  background: var(--sd-red-bright);
  box-shadow: 0 0 0 5px #ff526c1c, 0 0 18px #ff526c5c;
}

.sd-hero-status small,
.sd-hero-status strong,
.sd-hero-status span {
  grid-column: 2;
}

.sd-hero-status small {
  color: #ff8295;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.sd-hero-status strong {
  margin-top: 3px;
  font-size: 24px;
}

.sd-hero-status span {
  margin-top: 4px;
  color: #999aa4;
  font-size: 10px;
}

.sd-panel,
.sd-danger-panel {
  padding: 24px;
  border: 1px solid var(--sd-border);
  border-radius: 19px;
  background: var(--sd-panel);
  box-shadow: 0 16px 46px #00000022;
}

.sd-primary-panel {
  background:
    radial-gradient(circle at 100% 0, #e72e4518, transparent 34%),
    var(--sd-panel);
}

.sd-settings-form {
  display: grid;
  gap: 20px;
  margin: 0;
}

.sd-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.sd-section-head h3 {
  margin: 5px 0 7px;
  color: #f6f4f6;
  font-size: 22px;
  line-height: 1.2;
}

.sd-section-head > b {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid #f02b483b;
  border-radius: 999px;
  background: #2e111a;
  color: #ff7187;
  font-size: 10px;
  font-weight: 850;
}

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

.sd-emoji-field {
  min-width: 0;
}

.sd-emoji-field:has(.sd-server-emoji-picker) {
  grid-column: 1 / -1;
}

.sd-emoji-field > span {
  display: block;
  margin-bottom: 7px;
  color: #b5b5bd;
  font-size: 11px;
  font-weight: 800;
}

.sd-emoji-field > small {
  display: block;
  margin-top: 7px;
  color: #7f818b;
  font-size: 9px;
  line-height: 1.45;
}

.sd-emoji-control {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 8px;
}

.sd-emoji-current {
  display: grid;
  width: 46px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #f02b4836;
  border-radius: 10px;
  background: #0d0e13;
}

.sd-emoji-current img,
.sd-reaction-preview img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.sd-emoji-current b {
  max-width: 40px;
  overflow: hidden;
  font-size: 21px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sd-emoji-picker-toggle {
  grid-column: 1 / -1;
  min-height: 37px;
  padding: 8px 11px;
  border: 1px solid #f02b4848;
  border-radius: 9px;
  color: #ff9aaa;
  background: #f02b480d;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.sd-emoji-picker-toggle:hover,
.sd-emoji-picker-toggle[aria-expanded="true"] {
  border-color: #ff526c8a;
  background: #f02b481c;
}

.sd-server-emoji-picker {
  display: grid;
  gap: 13px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid #f02b4838;
  border-radius: 12px;
  background: #090a0fe8;
}

.sd-server-emoji-picker.empty strong,
.sd-server-emoji-picker.empty span,
.sd-emoji-picker-head strong,
.sd-emoji-picker-head span {
  display: block;
}

.sd-server-emoji-picker.empty span,
.sd-emoji-picker-head span {
  margin-top: 4px;
  color: #7f818b;
  font-size: 10px;
}

.sd-emoji-picker-head {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(230px, .8fr);
  align-items: center;
  gap: 12px;
}

.sd-emoji-picker-head strong {
  font-size: 12px;
}

.sd-emoji-picker-head input {
  min-height: 38px !important;
}

.sd-server-emoji-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 8px;
  max-height: 360px;
  overflow: auto;
  padding: 1px 4px 1px 1px;
  scrollbar-color: #8c2940 #111218;
  scrollbar-width: thin;
}

.sd-server-emoji-grid > button {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 58px;
  padding: 9px;
  border: 1px solid #ffffff10;
  border-radius: 10px;
  color: #dedee4;
  background: #ffffff05;
  cursor: pointer;
  text-align: left;
}

.sd-server-emoji-grid > button:hover,
.sd-server-emoji-grid > button.selected {
  border-color: #ff526c73;
  background: #f02b4814;
}

.sd-server-emoji-grid > button[hidden] {
  display: none;
}

.sd-server-emoji-grid img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.sd-server-emoji-grid span,
.sd-server-emoji-grid strong,
.sd-server-emoji-grid small {
  display: block;
  min-width: 0;
}

.sd-server-emoji-grid strong,
.sd-server-emoji-grid small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sd-server-emoji-grid strong {
  font-size: 11px;
}

.sd-server-emoji-grid small {
  margin-top: 4px;
  color: #737682;
  font-size: 8px;
}

.sd-server-emoji-grid em {
  position: absolute;
  top: 5px;
  right: 6px;
  color: #ff9aaa;
  font-size: 7px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .05em;
}

.sd-page label > span,
.sd-text-field > span {
  display: block;
  margin-bottom: 7px;
  color: #b5b5bd;
  font-size: 11px;
  font-weight: 800;
}

.sd-page input:not([type="checkbox"]):not([type="radio"]),
.sd-page select,
.sd-page textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #30323c;
  border-radius: 10px;
  outline: none;
  background: #0d0e13;
  color: #f6f5f7;
  color-scheme: dark;
}

.sd-page input:not([type="checkbox"]):not([type="radio"]),
.sd-page select {
  min-height: 44px;
  padding: 0 12px;
}

.sd-page textarea {
  min-height: 148px;
  padding: 12px;
  resize: vertical;
  line-height: 1.55;
}

.sd-page input:focus,
.sd-page select:focus,
.sd-page textarea:focus {
  border-color: var(--sd-red);
  box-shadow: 0 0 0 3px #f02b4818;
}

.sd-text-field {
  display: block;
  margin-top: 16px;
}

.sd-text-field > small {
  display: block;
  margin-top: 7px;
  color: #797b85;
  font-size: 9px;
  text-align: right;
}

.sd-text-field > small b {
  color: #bcbcc3;
}

.sd-discord-preview {
  max-width: 820px;
  margin: 18px auto 0;
  padding: 17px;
  border: 1px solid #30323c;
  border-radius: 14px;
  background: #0b0c11;
  box-shadow: inset 0 1px #ffffff08;
}

.sd-discord-preview > header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
}

.sd-discord-preview > header img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.sd-discord-preview > header strong,
.sd-discord-preview > header small {
  display: block;
}

.sd-discord-preview > header strong {
  font-size: 12px;
}

.sd-discord-preview > header small {
  margin-top: 2px;
  color: #737580;
  font-size: 8px;
}

.sd-discord-preview > div {
  padding: 15px 16px;
  border-left: 4px solid var(--sd-red);
  border-radius: 4px 10px 10px 4px;
  background: #17181e;
}

.sd-discord-preview > div > b {
  font-size: 13px;
}

.sd-discord-preview pre {
  max-height: 190px;
  margin: 9px 0 12px;
  overflow: auto;
  color: #d2d2d7;
  font-family: inherit;
  font-size: 10px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.sd-discord-preview > div > span {
  color: #8a8c96;
  font-size: 9px;
}

.sd-reaction-preview {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sd-reaction-preview img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.sd-switch {
  display: grid;
  grid-template-columns: 46px auto;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.sd-switch input,
.sd-role-choice input,
.sd-policy input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.sd-switch > i {
  position: relative;
  width: 46px;
  height: 26px;
  border: 1px solid #41434d;
  border-radius: 99px;
  background: #0e0f14;
  transition: .18s ease;
}

.sd-switch > i::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #72747e;
  content: "";
  transition: .18s ease;
}

.sd-switch input:checked + i {
  border-color: #f02b4875;
  background: #761a2a;
  box-shadow: 0 0 18px #f02b4826;
}

.sd-switch input:checked + i::after {
  left: 24px;
  background: var(--sd-red-bright);
}

.sd-switch > span {
  margin: 0;
  color: #eeeef1;
  font-size: 12px;
}

.sd-publication-state {
  display: grid;
  grid-template-columns: 11px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 70px;
  padding: 12px 14px;
  border: 1px solid #2c2e37;
  border-radius: 11px;
  background: #101117;
}

.sd-publication-state > i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #666872;
}

.sd-publication-state.online {
  border-color: #f02b4848;
  background: #281118;
}

.sd-publication-state.online > i {
  background: var(--sd-red-bright);
  box-shadow: 0 0 12px #f02b4880;
}

.sd-publication-state strong,
.sd-publication-state small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sd-publication-state strong {
  font-size: 12px;
}

.sd-publication-state small {
  margin-top: 4px;
  color: #83858e;
  font-size: 9px;
}

.sd-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  max-height: 340px;
  overflow: auto;
  padding-right: 4px;
  scrollbar-color: #8c2940 #111218;
  scrollbar-width: thin;
}

.sd-role-choice {
  display: grid;
  grid-template-columns: 20px 10px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid #2b2d36;
  border-radius: 11px;
  background: #101117;
  cursor: pointer;
}

.sd-role-choice:hover,
.sd-role-choice.selected {
  border-color: #f02b4858;
  background: #291119;
}

.sd-role-choice > b {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid #4b4e59;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
}

.sd-role-choice.selected > b {
  border-color: var(--sd-red);
  background: var(--sd-red);
}

.sd-role-choice > i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sd-red);
  box-shadow: 0 0 8px rgba(240, 43, 72, 0.38);
}

.sd-role-choice > span,
.sd-role-choice strong,
.sd-role-choice small {
  min-width: 0;
  margin: 0;
}

.sd-role-choice strong,
.sd-role-choice small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sd-role-choice strong {
  font-size: 12px;
}

.sd-role-choice small {
  margin-top: 3px;
  color: #7e808a;
  font-size: 9px;
}

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

.sd-policy {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 10px;
  min-height: 112px;
  padding: 14px;
  border: 1px solid #2c2e37;
  border-radius: 12px;
  background: #101117;
  cursor: pointer;
}

.sd-policy:hover,
.sd-policy.selected {
  border-color: #f02b485a;
  background: #291119;
}

.sd-policy > i {
  width: 13px;
  height: 13px;
  margin-top: 2px;
  border: 1px solid #555863;
  border-radius: 50%;
}

.sd-policy.selected > i {
  border: 4px solid var(--sd-red);
  background: #fff;
}

.sd-policy strong,
.sd-policy small {
  display: block;
}

.sd-policy strong {
  font-size: 12px;
}

.sd-policy small {
  margin-top: 7px;
  color: #7f818b;
  font-size: 9px;
  line-height: 1.45;
}

.sd-inactivity-fields {
  align-items: end;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #ffffff0d;
}

.sd-inline-hint {
  min-height: 44px;
  padding: 13px;
  border: 1px solid #f02b4835;
  border-radius: 10px;
  background: #2a1118;
  color: #d8a9b1;
  font-size: 10px;
}

.sd-savebar {
  position: sticky;
  z-index: 15;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 17px;
  border: 1px solid #f02b4841;
  border-radius: 15px;
  background: #111219f2;
  box-shadow: 0 18px 45px #0009;
  backdrop-filter: blur(13px);
}

.sd-savebar > span {
  color: #9698a2;
  font-size: 11px;
}

.sd-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #343641;
  border-radius: 10px;
  background: #191a22;
  color: #f7f5f7;
  font-weight: 800;
  cursor: pointer;
}

.sd-button.primary {
  border-color: #ff49635e;
  background: linear-gradient(135deg, #f02b48, #d51635);
  box-shadow: 0 9px 24px #f02b4830;
}

.sd-button.danger {
  border-color: #ff49637d;
  background: #351019;
  color: #ff8295;
}

.sd-button:hover:not(:disabled) {
  border-color: #ff526c8c;
  color: #fff;
}

.sd-button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.sd-notice {
  padding: 13px 16px;
  border: 1px solid #ffffff16;
  border-radius: 12px;
  background: #14151c;
  color: #d4d4d9;
  font-size: 12px;
}

.sd-notice.success {
  border-color: #f02b4848;
  background: #2a1119;
  color: #ffbdc7;
}

.sd-notice.error {
  border-color: #ff4762a6;
  background: #3a1019;
  color: #ff9aaa;
}

.sd-danger-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-color: #f02b4840;
  background:
    linear-gradient(90deg, #2c1018ad, transparent 62%),
    #14151c;
}

.sd-danger-panel strong {
  display: block;
  margin: 5px 0 4px;
  font-size: 17px;
}

.sd-voice-link {
  background:
    radial-gradient(circle at 100% 0, #f02b4816, transparent 29%),
    var(--sd-panel);
}

.sd-voice-limit {
  margin-top: 14px;
  line-height: 1.5;
}

.sd-voice-limit strong {
  color: #f3c2ca;
}

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

.sd-chip-columns article {
  padding: 14px;
  border: 1px solid #2b2d36;
  border-radius: 12px;
  background: #101117;
}

.sd-chip-columns article > strong {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
}

.sd-chip-columns article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.sd-chip-columns article span {
  padding: 6px 9px;
  border: 1px solid #f02b4834;
  border-radius: 999px;
  background: #2a1119;
  color: #f2c8cf;
  font-size: 9px;
}

.sd-chip-columns article small {
  color: #7f818b;
  font-size: 10px;
}

.sd-live-grid {
  align-items: start;
}

.sd-live-grid > .sd-panel {
  min-width: 0;
}

.sd-member-list,
.sd-event-list {
  display: grid;
  gap: 8px;
  max-height: 550px;
  overflow: auto;
  padding-right: 3px;
  scrollbar-color: #8c2940 #111218;
  scrollbar-width: thin;
}

.sd-member-row {
  display: grid;
  grid-template-columns: 38px minmax(120px, .75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 11px;
  padding: 11px;
  border: 1px solid #292b34;
  border-radius: 11px;
  background: #101117;
}

.sd-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #f02b484a;
  border-radius: 50%;
  background: linear-gradient(145deg, #ec2947, #7d1023);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.sd-member-row > div > strong,
.sd-member-row > div > small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sd-member-row > div > strong {
  font-size: 11px;
}

.sd-member-row > div > small {
  margin-top: 3px;
  color: #777984;
  font-size: 8px;
}

.sd-member-row dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
}

.sd-member-row dl > div {
  min-width: 0;
}

.sd-member-row dt,
.sd-member-row dd {
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sd-member-row dt {
  color: #777984;
  font-size: 8px;
}

.sd-member-row dd {
  margin-top: 3px;
  color: #dddce1;
  font-size: 9px;
}

.sd-event-row {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 10px 11px;
  border: 1px solid #292b34;
  border-radius: 11px;
  background: #101117;
}

.sd-event-row > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff526c;
  box-shadow: 0 0 9px #f02b485c;
}

.sd-event-row > i.danger {
  background: #a8a9b1;
  box-shadow: none;
}

.sd-event-row strong,
.sd-event-row small {
  display: block;
}

.sd-event-row strong {
  font-size: 11px;
}

.sd-event-row small,
.sd-event-row time {
  color: #7f818b;
  font-size: 9px;
}

.sd-event-row small {
  margin-top: 4px;
}

.sd-event-row time {
  white-space: nowrap;
}

.sd-empty-selection {
  padding: 17px;
  border: 1px dashed #ffffff19;
  border-radius: 11px;
  color: #8d8f99;
  font-size: 11px;
  text-align: center;
}

.sd-state {
  display: grid;
  min-height: 360px;
  place-items: center;
  align-content: center;
  gap: 9px;
  border: 1px solid var(--sd-border, #ffffff13);
  border-radius: 20px;
  background: var(--sd-panel, #14151c);
  color: #f5f3f5;
  text-align: center;
}

.sd-state span {
  color: #92949e;
  font-size: 12px;
}

.sd-state.error strong {
  color: #ff7187;
}

.sd-state > i {
  width: 18px;
  height: 18px;
  border: 2px solid #f02b4845;
  border-top-color: #f02b48;
  border-radius: 50%;
  animation: sd-spin .8s linear infinite;
}

.sd-state .sd-button {
  margin-top: 10px;
}

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

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

  .sd-live-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .sd-hero,
  .sd-section-head,
  .sd-danger-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .sd-hero-status {
    width: min(100%, 330px);
  }

  .sd-field-grid,
  .sd-chip-columns {
    grid-template-columns: 1fr;
  }

  .sd-emoji-picker-head {
    grid-template-columns: 1fr;
  }

  .sd-danger-panel .sd-button {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .sd-page {
    gap: 14px;
  }

  .sd-hero,
  .sd-panel,
  .sd-danger-panel {
    padding: 19px;
    border-radius: 16px;
  }

  .sd-policy-grid,
  .sd-role-grid {
    grid-template-columns: 1fr;
  }

  .sd-server-emoji-grid {
    grid-template-columns: 1fr;
  }

  .sd-savebar {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }

  .sd-member-row {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .sd-member-row dl {
    grid-column: 1 / -1;
  }

  .sd-event-row {
    grid-template-columns: 8px minmax(0, 1fr);
  }

  .sd-event-row time {
    grid-column: 2;
  }
}
