:root {
  --chord: #b2bcff;
  --chord-dark: #5863b7;
}
.brand img,
.desk-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.wordmark,
.desk-brand b {
  font:
    800 1.63rem/0.98 Inter,
    sans-serif;
  letter-spacing: -0.085em;
}
.brand .wordmark {
  color: #f4f6ff;
}
.serverhead.with-banner {
  min-height: 106px;
  height: auto;
  position: relative;
  background:
    linear-gradient(
      180deg,
      #11141aee 1%,
      #11141a8f 44%,
      #11141a32 78%,
      #11141a91
    ),
    var(--server-image) center 44% / cover;
  align-items: flex-start;
  padding: 12px 13px 30px;
  border: 0;
}
.serverhead.with-banner > .ico {
  margin-top: 8px;
}
.serverhead.with-banner .grow {
  padding-top: 2px;
}
.serverhead.with-banner strong {
  color: white;
  text-shadow: 0 2px 10px #0008;
}
.serverhead.with-banner small {
  color: #e2e6f2;
}
.serverhead .grow {
  min-width: 0;
}
.serverhead small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.42;
}
.serverhead.with-banner img {
  width: 42px;
  height: 42px;
}
.serverhead.with-banner:hover {
  background-image:
    linear-gradient(
      180deg,
      #141820ec 3%,
      #151a29af 50%,
      #1619253e 82%,
      #16192583
    ),
    var(--server-image);
}
.image-hero {
  border: 0;
  border-radius: 0;
  margin-inline: -24px !important;
  max-width: none !important;
  padding-inline: 34px;
  min-height: 173px;
}
.member-line {
  display: flex;
  align-items: center;
  gap: 2px;
}
.member-line > .member {
  flex: 1;
  min-width: 0;
}
.member-line > .iconbtn {
  width: 23px;
  height: 28px;
  opacity: 0;
  flex: none;
}
.member-line:focus-within > .iconbtn,
.member-line:hover > .iconbtn {
  opacity: 1;
}
.voice-roster {
  padding-left: 24px;
  margin-bottom: 3px;
  display: grid;
  gap: 2px;
}
.voice-roster:empty {
  display: none;
}
.voice-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 5px;
  text-align: left;
  border-radius: 6px;
  color: var(--sub);
  font-size: 0.75rem;
}
.voice-row:hover {
  background: #ffffff0a;
}
.voice-avatar {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  outline: 2px solid transparent;
  outline-offset: 1px;
  transition: outline-color 0.16s;
  flex: none;
}
.voice-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.voice-avatar.speaking {
  outline-color: #58e5a2;
}
.voice-status,
.tile-icons {
  display: flex;
  gap: 4px;
  color: #b6bdd0;
}
.voice-status .ico,
.tile-icons .ico {
  width: 13px;
  height: 13px;
}
.requests-page {
  max-width: 730px !important;
  margin: auto;
  padding: 12px 0;
}
.request-entry,
.request-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 9px;
  background: #212632;
  border: 1px solid #3e4558;
}
.request-entry {
  width: 100%;
  text-align: left;
  margin-bottom: 7px;
}
.request-entry:hover {
  background: #2b3242;
}
.request-entry strong,
.request-entry small,
.request-notice b,
.request-notice p {
  display: block;
}
.request-entry strong {
  font-size: 0.89rem;
}
.request-entry small,
.request-notice p {
  font-size: 0.77rem;
  color: #bcc4d5;
  margin: 4px 0 0;
}
.request-entry > .ico:last-child {
  margin-left: auto;
}
.request-empty {
  border: 1px dashed #414861;
  padding: 36px 18px;
  border-radius: 11px;
  text-align: center;
  color: var(--sub);
}
.request-empty > .ico {
  color: var(--chord);
  width: 32px;
  height: 32px;
}
.request-empty h3 {
  color: var(--fg);
  margin: 9px 0 4px;
}
.request-empty p {
  font-size: 0.84rem;
}
.request-notice {
  margin-bottom: 16px;
}
.request-notice > .ico {
  color: var(--chord);
}
.request-notice .buttons {
  margin: 0 0 0 auto;
}
#callbar {
  display: grid;
  gap: 8px;
  background: #141722;
  border-bottom: 1px solid #303447;
  padding: 8px 15px;
  position: relative;
  z-index: 2;
}
.call-heading,
.call-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.call-heading .live {
  color: #9ee8c3;
}
.call-controls {
  justify-content: center;
}
.call-controls .iconbtn,
#ringCard .iconbtn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #303448;
  color: #e0e5ff;
}
.call-controls .on {
  background: #4b547d;
  color: #fff;
}
.call-controls .hangup,
#ringCard .hangup {
  background: #b8445c;
  color: #fff;
}
.call-controls .hangup:hover,
#ringCard .hangup:hover {
  background: #d05570;
}
#callbar.call-open {
  padding: 12px 15px;
}
.call-stage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(122px, 1fr));
  gap: 6px;
  max-height: min(43dvh, 420px);
  overflow: auto;
}
.call-tile {
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 105px;
  max-height: 280px;
  aspect-ratio: 16/9;
  background: radial-gradient(ellipse at 50% 44%, #343855, #1c2136 75%);
  border: 1px solid #3b425d;
  border-radius: 10px;
  min-width: 0;
}
.call-tile:nth-child(2n) {
  background: radial-gradient(ellipse at 50% 44%, #35324e, #211e35 75%);
}
.call-tile .voice-avatar {
  width: 48px;
  height: 48px;
  outline-offset: 3px;
}
.tile-caption {
  position: absolute;
  bottom: 6px;
  left: 6px;
  max-width: calc(100% - 12px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: #121629d9;
  color: #eef0fb;
  font-size: 0.69rem;
  padding: 4px 6px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.tile-media {
  position: absolute;
  inset: 0;
}
.tile-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #111522;
}
.media-tile .tile-avatar {
  position: absolute;
  top: 7px;
  left: 8px;
  width: 22px;
  height: 22px;
}
.call-stage.has-focus {
  grid-template-columns: repeat(4, 1fr);
}
.call-stage.has-focus .focused {
  grid-column: 1/-1;
  grid-row: 1;
  aspect-ratio: auto;
  height: min(29dvh, 255px);
}
.call-stage.has-focus .call-tile:not(.focused) {
  min-height: 54px;
}
.call-stage.has-focus .call-tile:not(.focused) .voice-avatar {
  width: 27px;
  height: 27px;
}
#ringCard {
  position: fixed;
  right: 20px;
  top: 72px;
  z-index: 19;
  width: min(350px, calc(100vw - 24px));
  background: #232838;
  border: 1px solid #57617f;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  box-shadow: 0 14px 40px #080a13b0;
}
.ring-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #373d66;
  color: var(--chord);
}
#ringCard strong,
#ringCard small {
  display: block;
}
#ringCard small {
  margin-top: 4px;
  font-size: 0.71rem;
}
#ringCard .answer {
  background: #2c8a62;
}
#media {
  position: fixed !important;
  pointer-events: none;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#media video {
  width: 1px !important;
  height: 1px !important;
}
@media (max-width: 800px) {
  .member-line > .iconbtn {
    opacity: 1;
  }
  .image-hero {
    margin-inline: -12px !important;
    padding-inline: 20px;
  }
  .request-notice {
    flex-wrap: wrap;
  }
  .call-stage {
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  }
  .call-tile {
    min-height: 68px;
  }
  .call-tile .voice-avatar {
    width: 34px;
    height: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .serverhead.with-banner {
    background-image: linear-gradient(110deg, #272e45, #293848);
  }
}
.quiet-motion .serverhead.with-banner {
  background-image: linear-gradient(110deg, #272e45, #293848);
}
.current-dm-call .dm-call-intro {
  display: none;
}
