:root {
  --background: #313338;
  --foreground: #dbdee1;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  color: var(--foreground);
  background: var(--background);
  font-feature-settings: "cv11", "ss01";
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background-color: #1a1b1e;
  border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #111214;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.thin-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.thin-scrollbar::-webkit-scrollbar-thumb {
  background-color: transparent;
}

.thin-scrollbar:hover::-webkit-scrollbar-thumb {
  background-color: #1a1b1e;
}

@keyframes message-flash {
  0%,
  60% {
    background-color: rgba(88, 101, 242, 0.25);
  }
  100% {
    background-color: transparent;
  }
}

.message-flash {
  animation: message-flash 1.8s ease-out;
}

.discord-input {
  width: 100%;
  border-radius: 0.375rem;
  background: #1e1f22;
  color: #dbdee1;
  padding: 0.625rem 0.75rem;
  outline: none;
  border: 1px solid transparent;
}

.discord-input:focus {
  border-color: #5865f2;
}

.discord-input::placeholder {
  color: #6d6f78;
}

.discord-select {
  width: 100%;
  border-radius: 0.375rem;
  background: #1e1f22;
  color: #dbdee1;
  padding: 0.625rem 2.25rem 0.625rem 2.5rem;
  outline: none;
  border: 1px solid transparent;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2380848e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 1rem;
}

.discord-select:focus {
  border-color: #5865f2;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .mobile-modal-panel {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 92vh;
    margin: 0.5rem;
    border-radius: 0.5rem;
  }

  .mobile-stack-header h1 {
    font-size: 1.25rem !important;
  }
}
