/* Workspace v1.6: layout and interactive components have one final authority. */
:root {
  --bg: #0e1922;
  --panel: #14242f;
  --panel2: #1b303c;
  --line: #304954;
  --text: #edf6f7;
  --muted: #acbdc6;
  --accent: #55dec4;
  --mint: #55dec4;
}
body {
  background: var(--bg);
  font-size: 14px;
}
.auth-wrap {
  max-width: none;
  width: 100%;
  margin: 0;
  min-height: 100dvh;
  padding: clamp(24px, 4vw, 72px);
  gap: clamp(30px, 6vw, 120px);
  background:
    radial-gradient(ellipse at 80% 0%, #164b4c66, transparent 65%), var(--bg);
}
.auth-art {
  max-height: 900px;
  min-height: 560px;
  border-radius: 24px;
  align-self: center;
  box-shadow: none;
}
.auth-card {
  max-width: 420px;
  padding: 32px 12px;
}
.auth-card h2 {
  font-size: 28px;
}
.auth-card form {
  margin-top: 24px;
}
.layout {
  max-width: none;
  width: 100%;
  margin: 0;
  grid-template-columns: 248px minmax(0, 1fr) 276px;
}
.topbar,
.sidebar,
.rightbar {
  background: var(--panel);
}
.main {
  background: var(--bg);
  gap: 16px;
  padding: 24px;
}
.sidebar,
.rightbar {
  border-color: var(--line);
}
.welcome {
  background: linear-gradient(110deg, #173e44, #152f3c);
  border: 1px solid var(--line);
  box-shadow: none;
}
.welcome h1 span,
.welcome h1 em,
.welcome .eyebrow,
.channel-heading > span,
.channel-hash,
.hash {
  color: var(--accent);
  background-image: none;
  -webkit-text-fill-color: currentColor;
}
.chat-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  min-width: 0;
}
.messages {
  overscroll-behavior: contain;
  padding: 20px;
  scrollbar-gutter: stable;
}
.chat-intro {
  padding: 20px;
}
.composer {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin: 12px 16px 8px;
  padding: 6px;
  border-radius: 12px;
  background: #203642;
  border: 1px solid #48606b;
  min-height: 58px;
  overflow: visible;
}
.composer input {
  width: 100%;
  height: 44px;
  min-width: 0;
  margin: 0;
  padding: 8px;
  font-size: 14px;
  line-height: 1.6;
  background: transparent;
}
.composer #attach-file {
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border-radius: 8px;
}
.composer .send-button {
  width: auto;
  min-width: 84px;
  height: 44px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  border-radius: 8px;
  box-shadow: none;
}
.composer-note {
  margin: 0 20px 12px;
  font-size: 11px;
  color: var(--muted);
}
button,
input,
select {
  min-height: 44px;
}
button {
  border-radius: 8px;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.primary,
.secondary,
.action-button {
  min-height: 44px;
  line-height: 1.6;
  padding: 11px 16px;
  border-radius: 8px;
  box-shadow: none;
}
.primary,
.send-button {
  color: #072e2c;
  background: var(--accent);
  box-shadow: none;
}
.secondary,
.action-button,
.quiet {
  background: #233c49;
  border: 1px solid #41606c;
}
.icon-button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.search-form {
  display: flex;
  gap: 12px;
  align-items: center;
}
.search-form input {
  flex: 1;
  min-width: 0;
}
.search-form button,
.people-search button {
  min-height: 44px;
  min-width: 96px;
  font-size: 13px;
}
#direct-new {
  width: 44px;
  height: 44px;
  background: #284650;
}
#form-fields > .action-button {
  width: 100%;
  margin-bottom: 16px;
}
#settings {
  background: var(--bg);
}
#settings-content {
  background: var(--bg);
  scrollbar-gutter: stable;
}
#settings-tabs {
  background: var(--panel);
}
#settings-tabs button {
  min-height: 46px;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
}
.settings-row,
.dashboard-section,
.resource-card {
  background: var(--panel);
  border-color: var(--line);
  box-shadow: none;
  border-radius: 12px;
}
.permission-grid {
  gap: 8px;
}
.permission-grid label {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel2);
}
.permission-grid input[type="checkbox"],
input[type="checkbox"] {
  appearance: auto;
  min-height: 20px;
  min-width: 20px;
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
input[type="color"] {
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 6px;
}
.preferences-form {
  max-width: 680px;
  display: grid;
  gap: 20px;
  margin-top: 24px;
}
.preferences-form label {
  margin: 0;
}
.preferences-form button {
  justify-self: start;
}
.file-drop-label {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px dashed #557985;
  border-radius: 12px;
  background: var(--panel);
}
.file-drop-label input {
  max-width: 100%;
}
progress {
  width: 100%;
  height: 12px;
  accent-color: var(--accent);
}
.screen-heading {
  flex-wrap: wrap;
  gap: 8px;
}
.screen-heading > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.screen-heading select {
  width: auto;
  max-width: 200px;
}
@media (min-width: 701px) {
  #app {
    height: 100dvh;
    display: grid;
    grid-template-rows: 84px minmax(0, 1fr);
  }
  .layout {
    height: 100%;
    min-height: 0;
  }
  .main {
    height: 100%;
    overflow: auto;
    display: flex;
    flex-direction: column;
  }
  .main > .chat-panel {
    flex: 1;
    min-height: 320px !important;
    display: flex;
    flex-direction: column;
  }
  .messages,
  body:not(.home-view) .messages {
    flex: 1;
    min-height: 100px !important;
    height: auto !important;
    max-height: none !important;
  }
  .composer,
  .composer-note,
  .chat-intro {
    flex-shrink: 0;
  }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .layout {
    grid-template-columns: 184px minmax(0, 1fr) 190px;
  }
  .main {
    padding: 16px 12px;
  }
  .rightbar {
    padding: 16px 10px;
  }
  .sidebar {
    padding: 16px 10px;
  }
  .composer {
    margin-inline: 10px;
  }
}
@media (max-width: 700px) {
  .auth-wrap {
    display: block;
    padding: 24px;
  }
  .auth-art {
    display: none;
  }
  .auth-card {
    padding: 24px 0;
  }
  .layout {
    display: block;
    min-height: 0;
  }
  .main {
    padding: 14px 12px 100px;
    gap: 12px;
  }
  .chat-panel {
    min-height: calc(100dvh - 230px);
  }
  .composer {
    margin-inline: 8px;
    grid-template-columns: 40px minmax(0, 1fr) 44px;
    gap: 3px;
    padding: 4px;
  }
  .composer #attach-file {
    width: 40px;
  }
  .composer .send-button {
    width: 44px;
    min-width: 44px;
    padding: 10px;
  }
  .composer .send-button span {
    display: none;
  }
  .composer input {
    font-size: 14px;
    padding: 6px;
  }
  .messages {
    padding: 12px;
  }
  .search-form {
    gap: 8px;
  }
  .search-form button {
    min-width: 88px;
    padding: 10px;
    font-size: 12px;
  }
  .screen-heading select {
    max-width: 160px;
    font-size: 12px;
  }
  .preferences-form {
    gap: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
.big-mark {
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
  top: 48px;
  left: 48px;
  border-radius: 32px;
  transform: rotate(-10deg);
  text-shadow: none;
  font-size: 0;
}
.big-mark > .icon {
  width: 76px;
  height: 76px;
}
.float-label,
.chat-intro .intro-icon,
.chat-intro > span {
  color: var(--accent);
  background: #21444a;
  border-color: #3d696d;
}
.channel,
.channel-name {
  font-size: 13px;
}
.section-label {
  font-size: 11px;
}
.message p,
.message-text {
  font-size: 14px;
  line-height: 1.9;
}
.message .meta time {
  font-size: 11px;
}
.welcome p,
.auth-copy p {
  font-size: 14px;
  color: #c1d2d8;
}
.welcome h1 {
  font-size: 30px;
}
.settings-surface {
  min-width: 0;
}
@media (max-width: 700px) {
  .welcome h1 {
    font-size: 24px;
  }
  .welcome p {
    font-size: 12px;
  }
}
.settings-surface {
  max-width: 1200px;
  margin-inline: auto;
  width: 100%;
}
/* v1.7 social controls and capture devices */
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 20px;
}
.profile-actions .action-button {
  flex: 1 1 140px;
  margin: 0;
  min-width: 0;
}
.device-toolbar {
  max-width: 680px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px;
  margin-block: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.device-toolbar p {
  flex: 1;
}
.device-toolbar button {
  flex: 0 0 auto;
  margin: 0;
}
.voice-member[data-bot="true"] > .avatar {
  box-shadow: none;
  border-color: transparent;
}
.voice-member[data-bot="true"].music-playing > .avatar {
  border-color: #ffa640;
  box-shadow: 0 0 0 3px #ffa64066;
  animation: music-pulse 1.5s ease-in-out infinite;
}
@keyframes music-pulse {
  50% {
    box-shadow: 0 0 0 5px #ffa64022;
  }
}
.composer input {
  unicode-bidi: plaintext;
  text-align: start;
}
@media (min-width: 701px) {
  .profile {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .profile > .grow {
    grid-column: 2/4;
  }
  .profile .icon-button {
    min-width: 44px;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .device-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .device-toolbar button {
    width: 100%;
  }
  .profile-actions {
    gap: 12px;
  }
  .mobile-voice-bar {
    gap: 6px;
  }
  .mobile-voice-bar .icon-button {
    min-width: 40px;
    width: 40px;
    height: 44px;
  }
  .mobile-voice-bar > span {
    min-width: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .voice-member[data-bot="true"].music-playing > .avatar {
    animation: none;
  }
}

/* v1.8: identity cards, direct conversations and grouped call controls. */
.social-card {
  flex-wrap: wrap;
  gap: 12px;
}
.social-person {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 190px;
  min-width: 0;
  text-align: start;
  padding: 8px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  color: var(--text);
}
.social-person:hover,
.social-person:focus-visible {
  background: var(--panel2);
}
.social-person-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.social-person-copy > * {
  overflow-wrap: anywhere;
}
.conversation-profile {
  display: inline-flex;
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 50%;
}
#conversation-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
#channel-title {
  overflow-wrap: anywhere;
}
#direct-call {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
}
.private-call-dialog {
  width: min(420px, calc(100vw - 32px));
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  color: var(--text);
}
.private-call-content {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}
.private-call-content > .avatar {
  width: 76px;
  height: 76px;
  font-size: 28px;
}
.call-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.device-toolbar {
  flex-wrap: wrap;
}
@media (min-width: 701px) {
  .profile {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .profile > .avatar {
    grid-column: 1;
  }
  .profile > .grow {
    grid-column: 2 / -1;
  }
  .profile > #leave {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
}
@media (max-width: 700px) {
  .mobile-voice-bar:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .mobile-voice-bar > span {
    grid-column: 1/-1;
    text-align: center;
  }
  .mobile-voice-bar .icon-button {
    width: 100%;
    min-width: 0;
  }
  .mobile-voice-bar > #mobile-leave {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  body[data-in-voice="true"] .main,
  body[data-in-voice="true"][data-view="channels"] .sidebar,
  body[data-in-voice="true"][data-view="people"] .rightbar {
    padding-bottom: 230px;
  }
  .channel-heading {
    flex-wrap: wrap;
    gap: 8px;
  }
  #direct-call {
    font-size: 12px;
    padding: 8px;
  }
}

.phone-auth-form,
.phone-settings {
  display: grid;
  gap: 16px;
}
.phone-auth label,
.phone-settings label,
.sms-settings label {
  display: grid;
  gap: 8px;
}
.phone-auth .remember-label,
.sms-settings .remember-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone-auth input {
  width: 100%;
  min-height: 46px;
}
.phone-auth input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
}
.auth-mode-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}
.phone-settings {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 20px;
}
.sms-pattern {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 16px 0;
}
.sms-pattern pre {
  white-space: pre-wrap;
  font: inherit;
  line-height: 2;
  overflow-wrap: anywhere;
}
#phone-auth[hidden] {
  display: none;
}

.profile > #leave,
.mobile-voice-bar > #mobile-leave {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  border-radius: 10px;
  min-height: 40px;
  gap: 8px;
  border: 1px solid #ff8b9c55;
  background: #ff8b9c0c;
}

.limit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.sms-pattern textarea {
  width: 100%;
  resize: vertical;
  min-height: 140px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  color: var(--text);
  font: inherit;
  line-height: 1.8;
}
@media (max-width: 480px) {
  .limit-row {
    grid-template-columns: 1fr;
  }
}

/* Profile personalization */
.custom-profile {
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  padding: 24px;
  isolation: isolate;
  overflow: auto;
}
.custom-profile .profile-bio {
  line-height: 1.9;
}
.phone-settings {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px !important;
  min-height: 0 !important;
}
.phone-settings h3 {
  font-size: 14px;
  margin: 0;
}
.phone-settings bdi {
  direction: ltr;
  unicode-bidi: isolate;
  font-size: 15px !important;
}
.phone-settings small {
  margin-inline-start: auto;
}
.voice-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.voice-status svg {
  width: 16px;
  height: 16px;
}
.voice-status span {
  display: inline-flex;
  color: var(--muted);
}
.nitro-option {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nitro-option input {
  width: 20px;
  height: 20px;
}
.avatar {
  flex-shrink: 0;
}
.avatar img {
  object-fit: cover;
}

.profile-handle {
  display: block;
  direction: ltr;
  unicode-bidi: isolate;
  color: #b9d2d7;
  font-size: 14px;
}
.custom-profile .profile-bio {
  unicode-bidi: plaintext;
}
.image-editor input[type="file"] {
  max-width: 100%;
}

.image-editor .image-preview {
  object-fit: cover;
}
.image-editor[data-kind="background"] .image-preview {
  width: min(100%, 320px);
  height: 160px;
}

.profile-customization {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.profile-customization > .image-editor {
  margin: 0;
}
.private-call-dock {
  position: fixed;
  z-index: 80;
  inset-inline-end: 18px;
  bottom: 190px;
  width: 264px;
  max-width: calc(100vw - 28px);
  padding: 14px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  background: var(--panel, #102b34);
  border: 1px solid var(--mint, #35d8bd);
  border-radius: 16px;
  box-shadow: 0 12px 40px #0005;
  color: var(--text);
}
.private-call-dock[hidden] {
  display: none;
}
.call-dock-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}
.call-dock-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.call-dock-copy span,
.call-clock {
  font-size: 12px;
}
.call-dock-actions {
  grid-column: 1/-1;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.call-dock-actions button {
  flex: 1;
  min-height: 38px;
  padding: 7px 9px;
}
.call-dock-actions button:last-child {
  color: #ffb9b9;
}
.call-message .content {
  border-inline-start: 3px solid var(--mint);
}
.call-log-details {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
  font-size: 12px;
}
.call-log-details svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.call-again {
  min-height: 36px;
  padding: 6px 12px;
}
.call-state {
  line-height: 1.65;
}
.call-clock {
  font-variant-numeric: tabular-nums;
}
@media (max-width: 700px) {
  .private-call-dock {
    inset-inline: 12px;
    width: auto;
    bottom: 74px;
    max-width: none;
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 10px;
  }
  body[data-in-voice="true"] .private-call-dock {
    bottom: 175px;
  }
  .call-dock-actions {
    gap: 6px;
  }
  .profile-customization {
    gap: 10px;
  }
}

.friends-dialog {
  width: min(880px, calc(100vw - 24px));
  max-height: calc(100dvh - 28px);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel, #10242d);
  color: var(--text);
  overflow: auto;
}
.friends-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}
.friends-header h2 {
  font-size: 22px;
  margin: 0;
}
.friends-header > label {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.friends-header select {
  width: auto;
  min-width: 170px;
}
.friends-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 18px 0;
}
.friends-tabs button {
  min-height: 42px;
}
.friends-tabs [aria-selected="true"] {
  background: var(--mint);
  color: #052d29;
}
.friends-content {
  display: grid;
  gap: 12px;
  min-height: 160px;
}
.friends-content .admin-row {
  margin: 0;
}
.social-card {
  background-size: cover !important;
  background-position: center !important;
  color: #f4ffff;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
}
.social-person-copy .muted {
  color: #d1e5e9;
}
.presence-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.presence-badge:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #84969e;
  flex-shrink: 0;
}
.presence-badge[data-presence="online"]:before {
  background: #30dfad;
}
.presence-badge[data-presence="away"]:before {
  background: #f2bf55;
}
.presence-badge[data-presence="dnd"]:before {
  background: #f56b7b;
}
.image-status.error {
  color: #ffb3ba;
  white-space: normal;
}
.widget-title #friends-open {
  margin-inline-start: auto;
}
.custom-profile {
  border: 1px solid var(--profile-color);
}
.image-editor input[type="file"] {
  width: 100%;
  min-width: 0;
}
.friends-content .social-person {
  min-width: 0;
}
@media (max-width: 600px) {
  .friends-dialog {
    padding: 14px;
  }
  .friends-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .friends-tabs button {
    padding: 10px 6px;
    font-size: 13px;
  }
  .friends-content .social-card {
    flex-wrap: wrap;
    gap: 10px;
  }
  .friends-content .social-person {
    flex-basis: 100%;
  }
  .friends-header select {
    flex: 1;
    min-width: 0;
  }
}

.friends-view {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.custom-profile .profile-handle,
.social-card .social-person-copy .muted {
  color: var(--profile-foreground, #d1e5e9);
  opacity: 0.85;
}

/* Vonava 2.0.2: role pills and social cards. */
.profile-role-badges .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 12px;
  border-width: 1px;
  border-style: solid;
  border-radius: 999px;
  background: rgba(12, 25, 34, 0.82);
  color: #f4ffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  box-sizing: border-box;
}
.friends-content .social-card {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(142, 181, 193, 0.32);
  border-radius: 18px;
  background-color: #172932;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  box-sizing: border-box;
  max-width: 100%;
}
.friends-content .social-card .social-person {
  color: #f4ffff;
  border-radius: 12px;
  min-width: 0;
}
.friends-content .social-card button:focus-visible {
  outline: 2px solid var(--mint, #45dfba);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .friends-content .social-card {
    padding: 10px;
    gap: 8px;
  }
}

@media (display-mode: standalone), (display-mode: window-controls-overlay) {
  #download-app-link {
    display: none !important;
  }
}
.download-page {
  min-height: 100dvh;
  overflow: auto;
  padding: 24px;
  background: #101d26;
  color: #ecffff;
}
.download-card {
  max-width: 720px;
  margin: 6vh auto;
  padding: clamp(20px, 5vw, 48px);
  border: 1px solid #36515e;
  border-radius: 24px;
  background: #182b35;
}
.download-card p,
.download-card li {
  line-height: 2;
}
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 24px;
}

.hotkey-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px;
  margin-block: 12px;
  border: 1px solid #36515e;
  border-radius: 16px;
}
.hotkey-row > strong {
  flex: 1 1 180px;
}
.hotkey-value {
  direction: ltr;
  padding: 8px 12px;
  border-radius: 8px;
  background: #0e202a;
  font-family: monospace;
  min-width: 110px;
  text-align: center;
}

.brand-mark.custom-brand-image,
.server-symbol.custom-brand-image {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible;
}
.brand-mark.custom-brand-image img,
.server-symbol.custom-brand-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
