.commands-hero {
  position: relative;
  padding: 8rem 2rem 4rem;
  padding-bottom: 20rem;
  margin-bottom: -16rem;
  background: var(--black);
  overflow: visible;
  z-index: 1;
}

.commands-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(100% + 10rem);
  width: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: -2;
  pointer-events: none;
}

.commands-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(100% + 10rem);
  z-index: -1;
  background: linear-gradient(to bottom, var(--black-a10) 0%, var(--black-a20) 30%, var(--black-a50) 60%, var(--black-a90) 85%, #000000 100%);
  pointer-events: none;
}

.commands-hero-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.commands-title {
  font-family: 'Outfit', var(--font-family);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.commands-title .gradient-text {
  background: linear-gradient(135deg, var(--pink) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.commands-subtitle {
  font-family: 'Space Grotesk', var(--font-family);
  font-size: var(--font-lg);
  color: var(--white-dim);
  margin: 0;
  font-weight: 500;
}

.commands-search-container {
  max-width: 600px;
  margin: 0 auto;
}

.commands-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--black-a40);
  border: 2px solid var(--white-faint);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  transition: all 0.2s ease;
  flex: 1;
  max-width: 400px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.commands-search-wrapper:focus-within {
  border-color: var(--pink);
  box-shadow: 3px 3px 0 var(--pink-darker);
  transform: translate(-1px, -1px);
}

.commands-search-wrapper i {
  color: var(--white-dim);
  font-size: 0.9rem;
  margin-right: 0.6rem;
}

.commands-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
}

.commands-search-input::placeholder {
  color: var(--white-dim);
}

.commands-search-shortcut {
  display: none;
  padding: 0.25rem 0.5rem;
  background: var(--black-lightest);
  border: 1px solid var(--white-faint);
  border-radius: 4px;
  color: var(--white-dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  margin-left: 1rem;
}

@media (min-width: 768px) {
  .commands-search-shortcut {
    display: block;
  }
}

.commandsPage-moduleButtons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
}

.commandsPage-moduleButton {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--white-a03);
  border: 2px solid var(--white-faint);
  color: var(--white-dim);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
  position: relative;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.commandsPage-moduleButton:hover {
  color: var(--white);
  background: var(--blue-a08);
  border-color: var(--blue);
  box-shadow: 3px 3px 0 var(--blue-dark);
  transform: translate(-1px, -1px);
}

.commandsPage-moduleButton.commandsPage-active {
  background: var(--pink-a12);
  border-color: var(--pink);
  color: var(--white);
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--pink-darker);
  transform: translate(-2px, -2px);
}

.commandsPage-commandCount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  background: var(--black-lightest);
  border: 1px solid var(--white-faint);
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white-dim);
}

.commandsPage-active .commandsPage-commandCount {
  background: var(--pink-dim);
  border-color: var(--pink);
  color: var(--pink-light);
}

.commands-section {
  position: relative;
  padding: 3rem 2rem;
  background: transparent;
  min-height: calc(100vh - 400px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 10;
}

.commands-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  max-width: 1100px;
  width: 100%;
  background: transparent;
  overflow: visible;
}

.commands-sidebar {
  background: var(--black-a40);
  border: 2px solid var(--white-faint);
  border-radius: 12px;
  padding: 1.5rem 0;
  overflow: visible;
  scrollbar-width: thin;
  scrollbar-color: var(--pink) var(--black-lighter);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px var(--black-a30);
  height: fit-content;
  align-self: start;
}

.commands-sidebar::-webkit-scrollbar {
  width: 4px;
}

.commands-sidebar::-webkit-scrollbar-track {
  background: var(--black-lighter);
}

.commands-sidebar::-webkit-scrollbar-thumb {
  background: var(--pink);
  border-radius: 2px;
}

.sidebar-header {
  padding: 0 1.25rem 1rem;
  border-bottom: 1px solid var(--white-faint);
  margin-bottom: 1rem;
}

.sidebar-header h3 {
  font-family: var(--font-family);
  font-size: var(--font-sm);
  font-weight: var(--font-weight-bold);
  color: var(--pink-light);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  margin: 0;
}

.commands-main {
  padding: 1.5rem;
  background: var(--black-a20);
  border: 2px solid var(--white-faint);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) var(--black-lighter);
}

.commands-main::-webkit-scrollbar {
  width: 6px;
}

.commands-main::-webkit-scrollbar-track {
  background: var(--black-lighter);
}

.commands-main::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 3px;
}

.commandsPage-controlBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 1rem 0;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--white-faint);
}

.commandsPage-expandControls {
  display: flex;
  gap: 0.5rem;
}

.commandsPage-expandAllButton, .commandsPage-collapseAllButton {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.85rem;
  background: var(--black-a40);
  border: 2px solid var(--white-faint);
  border-radius: 8px;
  color: var(--white-dim);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  height: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.commandsPage-expandAllButton svg, .commandsPage-collapseAllButton svg {
  width: 0.9rem;
  height: 0.9rem;
}

.commandsPage-expandAllButton:hover {
  border-color: var(--blue);
  color: var(--blue-light);
  background: var(--blue-a05);
  box-shadow: 3px 3px 0 var(--blue);
  transform: translate(-1px, -1px);
}

.commandsPage-collapseAllButton:hover {
  border-color: var(--pink);
  color: var(--pink-light);
  background: var(--pink-faint);
  box-shadow: 2px 2px 0 var(--pink-darker);
  transform: translate(-1px, -1px);
}

.commandsPage-commandsGrid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.commandsPage-commandItem {
  position: relative;
  background: var(--black-a35);
  border: 2px solid var(--white-faint);
  border-radius: 10px;
  transition: all 0.2s ease;
  animation: slideIn 0.3s ease-out;
  animation-delay: var(--delay, 0ms);
  animation-fill-mode: both;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.commandsPage-commandItem:hover {
  border-color: var(--blue);
  background: var(--black-a50);
  box-shadow: 4px 4px 0 var(--blue-dark);
  transform: translate(-2px, -2px);
}

.commandsPage-commandItem.expanded {
  border-color: var(--pink);
  box-shadow: 5px 5px 0 var(--pink-darker);
  background: var(--black-a50);
  transform: translate(-2px, -2px);
}

.commandsPage-commandRow {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: background var(--transition-fast);
  text-align: left;
}

.commandsPage-commandRow:hover {
  background: var(--white-a03);
}

.commandsPage-expandButton {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--white-faint);
  border-radius: 4px;
  color: var(--white-dim);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.commandsPage-expandButton svg {
  width: 0.7rem;
  height: 0.7rem;
  transition: transform var(--transition-fast);
}

.commandsPage-commandItem:hover .commandsPage-expandButton {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue-a05);
}

.expanded .commandsPage-expandButton {
  color: var(--pink-light);
  border-color: var(--pink);
  background: var(--pink-faint);
}

.expanded .commandsPage-expandButton svg {
  transform: rotate(90deg);
}

.commandsPage-commandHeader {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  align-items: flex-start;
  text-align: left;
}

.commandsPage-commandName {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.commandsPage-commandModule {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  color: var(--pink-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  opacity: 0.8;
  white-space: nowrap;
  line-height: 1;
}

.commandsPage-commandDescription {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  color: var(--white-muted);
  line-height: 1.4;
  margin-top: 0.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.expanded .commandsPage-commandDescription {
  display: none;
}

.commandsPage-commandDetails {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  border-top: 1px solid transparent;
}

.expanded .commandsPage-commandDetails {
  max-height: 600px;
  border-top-color: var(--white-faint);
}

.commandsPage-detailsContent {
  padding: 1rem;
  background: var(--black-a30);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.commandsPage-detailsActions {
  display: flex;
  gap: 0.5rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--white-faint);
}

.commandsPage-detailsActions .commandsPage-copyButton {
  width: auto;
  height: auto;
  padding: 0.5rem 0.85rem;
  background: var(--black-soft);
  border: 2px solid var(--white-faint);
  border-radius: 6px;
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.commandsPage-detailsActions .commandsPage-copyButton svg {
  width: 1rem;
  height: 1rem;
}

.commandsPage-detailsActions .commandsPage-copyButton:hover {
  border-color: var(--blue);
  color: var(--blue-light);
  background: var(--black-muted);
  box-shadow: 3px 3px 0 var(--blue);
  transform: translate(-1px, -1px);
}

.commandsPage-detailsActions .commandsPage-copyButton.commandsPage-success {
  border-color: var(--pink);
  color: var(--pink-light);
  background: var(--pink-faint);
  box-shadow: 3px 3px 0 var(--pink-darker);
}

.commandsPage-detailItem {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.commandsPage-detailItem strong {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--pink-light);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.commandsPage-detailItem p {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--white-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

.commandsPage-copyButton {
  position: relative;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-soft);
  border: 2px solid var(--white-faint);
  border-radius: 6px;
  color: var(--white-dim);
  cursor: pointer;
  transition: all var(--transition-fast);
  overflow: hidden;
  flex-shrink: 0;
}

.commandsPage-copyButton:hover {
  border-color: var(--blue);
  color: var(--blue-light);
  background: var(--black-muted);
  box-shadow: 3px 3px 0 var(--blue);
  transform: translate(-1px, -1px);
}

.commandsPage-copyButton.commandsPage-success {
  border-color: var(--pink);
  color: var(--pink-light);
  background: var(--pink-faint);
  box-shadow: 3px 3px 0 var(--pink-darker);
}

.commandsPage-copyButton svg {
  width: 0.95rem;
  height: 0.95rem;
  transition: all var(--transition-fast);
}

.commandsPage-tooltip {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: var(--black-lightest);
  border: 1px solid var(--white-faint);
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  font-size: var(--font-xs);
  color: var(--white);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
}

.commandsPage-copyButton:hover .commandsPage-tooltip {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.commandsPage-ripple {
  position: absolute;
  border-radius: 50%;
  background: var(--pink-dim);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(2);
    opacity: 0;
  }
}

.commandsPage-commandContent {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.commandsPage-commandDescription {
  display: none;
}

.commandsPage-commandUsage {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.commandsPage-commandUsage strong {
  color: var(--pink-light);
  font-size: var(--font-2xs);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}

.commandsPage-commandUsage code {
  display: block;
  background: var(--black-soft);
  border: 2px solid var(--blue-dim);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  color: var(--blue-light);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  overflow-x: auto;
}

.commandsPage-commandRow .commandsPage-commandUsage {
  display: none;
}

.commandsPage-commandDescription p {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--white-dim);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.commandsPage-commandCooldown {
  display: none;
}

.commandsPage-hasSubcommands {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.5rem;
  background: var(--blue-faint);
  border: 1px solid var(--blue);
  border-radius: 4px;
  color: var(--blue-light);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.commandsPage-hasSubcommands svg {
  width: 0.55rem;
  height: 0.55rem;
}

.commandsPage-permissions {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 1px solid;
}

.commandsPage-permissions::before {
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.commandsPage-permissions.administrator {
  background: var(--pink-faint);
  border-color: var(--pink);
  color: var(--pink-light);
}

.commandsPage-permissions.moderator, .commandsPage-permissions.manage_messages {
  background: rgba(255, 193, 7, 0.1);
  border-color: #ffc107;
  color: #ffd54f;
}

.commandsPage-permissions {
  background: var(--white-ghost);
  border-color: var(--white-faint);
  color: var(--white-dim);
}

.commandsPage-commandMeta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.commandsPage-commandActions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.commandsPage-loadingPlaceholder {
  background: linear-gradient( 90deg, var(--black-lighter) 0%, var(--black-light) 50%, var(--black-lighter) 100% );
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
  border-color: var(--white-ghost);
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.commandsPage-commandPlaceholder {
  height: 60px;
  border-radius: 12px;
}

.commandsPage-modulePlaceholder {
  width: 150px;
  height: 42px;
  border-radius: 10px;
}

.commandsPage-loadingPlaceholder ~ .commandsPage-carouselNavButton, .commandsPage-moduleCarouselContainer:has(.commandsPage-loadingPlaceholder) .commandsPage-carouselNavButton {
  display: none !important;
}

.commandsPage-errorMessage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem;
  text-align: center;
  color: var(--white-dim);
}

.commandsPage-errorMessage svg {
  width: 3rem;
  height: 3rem;
  color: var(--pink);
}

.commandsPage-errorMessage p {
  font-size: var(--font-lg);
  margin: 0;
}

.commands-footer {
  position: relative;
  padding: 4rem 2rem 8rem;
  padding-top: 20rem;
  margin-top: -16rem;
  background: var(--black);
  overflow: visible;
  z-index: 1;
}

.commands-footer-img {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(100% + 10rem);
  width: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: -2;
  pointer-events: none;
}

.commands-footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(100% + 10rem);
  z-index: -1;
  background: linear-gradient(to top, var(--black-a10) 0%, var(--black-a20) 30%, var(--black-a50) 60%, var(--black-a90) 85%, #000000 100%);
  pointer-events: none;
}

@media (max-width: 925px) {
  .commandsPage-controlBar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
}

@media (max-width: 925px) {
  .commands-search-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 925px) {
  .commandsPage-expandControls {
    width: 100%;
    justify-content: stretch;
  }
}

@media (max-width: 925px) {
  .commandsPage-expandAllButton, .commandsPage-collapseAllButton {
    flex: 1;
  }
}

@media (max-width: 1024px) {
  .commands-container {
    grid-template-columns: 220px 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .commands-main {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .commands-hero {
    padding: 6rem 1.5rem 3rem;
    padding-bottom: 12rem;
    margin-bottom: -8rem;
  }
}

@media (max-width: 768px) {
  .commands-hero-img {
    height: calc(100% + 5rem);
  }
}

@media (max-width: 768px) {
  .commands-hero::after {
    height: calc(100% + 5rem);
  }
}

@media (max-width: 768px) {
  .commands-footer {
    padding-top: 12rem;
    margin-top: -8rem;
  }
}

@media (max-width: 768px) {
  .commands-footer-img {
    height: calc(100% + 5rem);
  }
}

@media (max-width: 768px) {
  .commands-footer::after {
    height: calc(100% + 5rem);
  }
}

@media (max-width: 768px) {
  .commands-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .commands-sidebar {
    position: static;
    height: auto;
    border-radius: 10px;
    padding: 1rem 0;
    max-height: 300px;
    overflow-y: auto;
  }
}

@media (max-width: 768px) {
  .commandsPage-moduleButtons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem;
  }
}

@media (max-width: 768px) {
  .commandsPage-moduleButton {
    white-space: nowrap;
    border-left: 3px solid transparent;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: var(--font-sm);
  }
}

@media (max-width: 768px) {
  .commandsPage-moduleButton:hover {
    border-color: var(--blue);
  }
}

@media (max-width: 768px) {
  .commandsPage-moduleButton.commandsPage-active {
    border-color: var(--pink);
    background: var(--pink-a12);
  }
}

@media (max-width: 768px) {
  .commands-main {
    padding: 1.25rem 1rem;
    border-radius: 10px;
  }
}

@media (max-width: 768px) {
  .commandsPage-commandRow {
    grid-template-columns: 1fr auto auto;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .commands-hero {
    padding: 5rem 1rem 2.5rem;
    padding-bottom: 8rem;
    margin-bottom: -5rem;
  }
}

@media (max-width: 480px) {
  .commands-hero-img {
    height: calc(100% + 3rem);
  }
}

@media (max-width: 480px) {
  .commands-hero::after {
    height: calc(100% + 3rem);
  }
}

@media (max-width: 480px) {
  .commands-footer {
    padding-top: 8rem;
    margin-top: -5rem;
  }
}

@media (max-width: 480px) {
  .commands-footer-img {
    height: calc(100% + 3rem);
  }
}

@media (max-width: 480px) {
  .commands-footer::after {
    height: calc(100% + 3rem);
  }
}

@media (max-width: 480px) {
  .commands-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
}

@media (max-width: 480px) {
  .commands-search-wrapper {
    padding: 0.5rem 0.75rem;
  }
}

@media (max-width: 480px) {
  .commands-search-shortcut {
    display: none;
  }
}

@media (max-width: 480px) {
  .commandsPage-moduleButtons {
    gap: 0.4rem;
  }
}

@media (max-width: 480px) {
  .commandsPage-moduleButton {
    padding: 0.6rem 0.85rem;
    font-size: var(--font-xs);
  }
}

@media (max-width: 480px) {
  .commandsPage-expandAllButton span, .commandsPage-collapseAllButton span {
    display: none;
  }
}

@media (max-width: 480px) {
  .commandsPage-expandAllButton, .commandsPage-collapseAllButton {
    justify-content: center;
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  .commandsPage-expandAllButton svg, .commandsPage-collapseAllButton svg {
    width: 1.1rem;
    height: 1.1rem;
  }
}

@media (max-width: 480px) {
  .commandsPage-commandRow {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
  }
}

@media (max-width: 480px) {
  .commandsPage-commandHeader {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .commandsPage-commandMeta {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .commandsPage-detailsContent {
    padding: 0.75rem;
  }
}

