:root {
  --bg: #0a0713;
  --bg-alt: #100c1e;
  --surface: #16112a;
  --surface-border: #2a2140;
  --accent: #a154ff;
  --accent-bright: #c68bff;
  --accent-dim: #6c3fb5;
  --text: #f0ecfa;
  --text-muted: #9186ad;
  --text-faint: #5d5478;
  --font-display: "Space Grotesk", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, #1c1330 0%, var(--bg) 55%);
  color: var(--text);
  font-family: var(--font-display);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 24px 140px;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.waveform-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(3px, 0.6vw, 6px);
  overflow: hidden;
  opacity: 0.16;
}

.waveform-bg span {
  flex: 1 1 auto;
  max-width: 6px;
  background: linear-gradient(to top, var(--accent) 0%, transparent 85%);
  border-radius: 3px 3px 0 0;
  animation-name: wave-pulse;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  transform-origin: bottom;
}

@keyframes wave-pulse {
  0% {
    transform: scaleY(0.15);
  }

  100% {
    transform: scaleY(1);
  }
}

#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 999;
  transition: opacity 0.45s ease;
  overflow: hidden;
}

#loader::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(161, 84, 255, 0.18) 0%,
      transparent 60%
    );
  animation: pulse-glow 1.6s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

#loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.decode-text {
  position: relative;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(32px, 8vw, 56px);
  letter-spacing: 0.08em;
  color: var(--accent-bright);
  text-shadow:
    0 0 18px rgba(198, 139, 255, 0.55),
    0 0 40px rgba(161, 84, 255, 0.3);
  text-transform: uppercase;
}

.loader-sub {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.presence-rail {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 330px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 25;
}

.spotify-card,
.activity-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      rgba(27, 20, 48, 0.93),
      rgba(13, 10, 25, 0.93)
    );
  border: 1px solid rgba(161, 84, 255, 0.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.025);
}

.spotify-card {
  border-radius: 18px;
  padding: 17px;
}

.spotify-card::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  top: -90px;
  right: -55px;
  background: rgba(161, 84, 255, 0.14);
  filter: blur(40px);
  border-radius: 50%;
  pointer-events: none;
}

.spotify-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.spotify-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.spotify-brand svg {
  width: 15px;
  height: 15px;
  color: #1ed760;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(30, 215, 96, 0.08);
  color: #5ee88f;
  border: 1px solid rgba(30, 215, 96, 0.16);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.live-pill span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1ed760;
  box-shadow: 0 0 8px #1ed760;
  animation: live-pulse 1.5s ease-in-out infinite;
}

.live-pill.offline {
  color: var(--text-faint);
  border-color: var(--surface-border);
  background: transparent;
}

.live-pill.offline span {
  background: var(--text-faint);
  box-shadow: none;
  animation: none;
}

@keyframes live-pulse {
  50% {
    opacity: 0.35;
  }
}

.spotify-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.album-wrap {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 12px;
  flex-shrink: 0;
  display: block;
  background: var(--bg-alt);
  border: 1px solid var(--surface-border);
}

.album-wrap:hover {
  text-decoration: none;
}

.album-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 11px;
  position: relative;
  z-index: 2;
}

.album-glow {
  position: absolute;
  inset: 8px;
  border-radius: 12px;
  background: var(--accent);
  filter: blur(20px);
  opacity: 0.3;
  z-index: 1;
}

.spotify-info {
  min-width: 0;
  flex: 1;
}

.spotify-equalizer {
  height: 11px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin-bottom: 7px;
}

.spotify-equalizer i {
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: #1ed760;
  animation: eq 0.7s ease-in-out infinite alternate;
}

.spotify-equalizer i:nth-child(2) {
  animation-delay: -0.2s;
}

.spotify-equalizer i:nth-child(3) {
  animation-delay: -0.4s;
}

.spotify-equalizer i:nth-child(4) {
  animation-delay: -0.1s;
}

.spotify-equalizer.paused i {
  animation: none;
  height: 3px;
  background: var(--text-faint);
}

@keyframes eq {
  from {
    height: 3px;
  }

  to {
    height: 11px;
  }
}

.spotify-track {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotify-track:hover {
  color: var(--accent-bright);
  text-decoration: none;
}

.spotify-artist {
  margin-top: 3px;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotify-context {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-faint);
  min-width: 0;
}

.spotify-context svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.spotify-context span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotify-progress {
  margin-top: 15px;
}

.progress-track {
  position: relative;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background:
    linear-gradient(
      90deg,
      var(--accent-dim),
      var(--accent-bright)
    );
  border-radius: inherit;
}

.progress-knob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 10px rgba(198, 139, 255, 0.5);
}

.progress-times {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-faint);
}

.activity-card {
  border-radius: 15px;
  padding: 14px 15px;
}

.activity-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.activity-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--text-faint);
  margin-bottom: 3px;
}

.activity-heading h3 {
  font-size: 13px;
  font-weight: 600;
}

.activity-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-faint);
}

.activity-indicator.active {
  background: var(--accent-bright);
  box-shadow: 0 0 12px rgba(198, 139, 255, 0.7);
}

.activity-body {
  margin-top: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.activity-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(161, 84, 255, 0.08);
  border: 1px solid rgba(161, 84, 255, 0.14);
  font-family: var(--font-mono);
  color: var(--accent-bright);
  font-size: 11px;
}

.activity-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.activity-copy span {
  color: var(--text-muted);
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-copy small {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

main {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  opacity: 0;
  transform: translateY(8px);
  animation: rise 0.6s ease forwards;
  animation-delay: 0.1s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

header h1 {
  font-size: clamp(24px, 5vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

header h1 .name {
  color: var(--accent-bright);
}

.tagline {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 52ch;
}

.status-pill {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  padding: 6px 16px 6px 6px;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.status-pill:hover {
  border-color: var(--accent-dim);
  transform: translateY(-1px);
  text-decoration: none;
}

.avatar-wrap {
  position: relative;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-alt);
  display: block;
  position: relative;
  z-index: 1;
}

.status-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: #80848e;
  z-index: 5;
}

.status-dot[data-status="online"] {
  background: #23a55a;
}

.status-dot[data-status="idle"] {
  background: #f0b232;
}

.status-dot[data-status="idle"]::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--surface);
  border-radius: 50%;
  top: -3px;
  left: -3px;
}

.status-dot[data-status="dnd"] {
  background: #f23f43;
}

.status-dot[data-status="dnd"]::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 3px;
  background: var(--surface);
  border-radius: 999px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.status-dot[data-status="offline"] {
  background: #80848e;
}

.status-dot[data-status="offline"]::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--surface);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.status-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.status-info .username {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.status-info .status-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: capitalize;
}

.terminal-line {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-bright);
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 20px;
}

.terminal-line::before {
  content: ">";
  color: var(--text-faint);
}

.cursor {
  display: inline-block;
  width: 7px;
  height: 15px;
  background: var(--accent-bright);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

section.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 32px;
}

section.card h2,
.stack h2 {
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

section.card h2 {
  margin-bottom: 18px;
}

section.card p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.75;
}

section.card strong {
  color: var(--text);
  font-weight: 600;
  border-bottom: 1.5px solid var(--accent-dim);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.stack-item {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 14px 16px;
}

.stack-item .lang {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.stack-item .note {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.discord-invite {
  background:
    linear-gradient(
      135deg,
      var(--surface) 0%,
      var(--bg-alt) 100%
    );
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.discord-invite .label {
  font-size: 14px;
  color: var(--text-muted);
}

.discord-invite .label strong {
  color: var(--text);
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.discord-invite a {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--accent-dim);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
}

.discord-invite a:hover {
  background: var(--accent);
  text-decoration: none;
}

nav.dock {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(22, 17, 42, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  padding: 8px;
  z-index: 50;
}

nav.dock a,
nav.dock .dock-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-muted);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

nav.dock .dock-button {
  cursor: pointer;
  background: transparent;
}

nav.dock a:hover,
nav.dock .dock-button:hover {
  background: var(--surface);
  color: var(--text);
  transform: translateY(-2px);
  text-decoration: none;
}

nav.dock a svg,
nav.dock .dock-button svg {
  width: 19px;
  height: 19px;
}

nav.dock .divider {
  width: 1px;
  height: 20px;
  background: var(--surface-border);
  margin: 0 2px;
}

nav.dock .dock-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: visible;
  position: relative;
  border: 1px solid var(--surface-border);
}

nav.dock .dock-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

nav.dock .dock-avatar .status-dot {
  width: 13px;
  height: 13px;
  bottom: -1px;
  right: -1px;
  border-width: 3px;
  z-index: 5;
}

.terminal-window {
  position: fixed;
  width: min(620px, calc(100vw - 32px));
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%) scale(0.97);
  border: 1px solid rgba(161, 84, 255, 0.28);
  background: rgba(9, 7, 18, 0.97);
  border-radius: 15px;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(161, 84, 255, 0.08);
  overflow: hidden;
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s;
  font-family: var(--font-mono);
}

.terminal-window.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.window-bar {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px 0 15px;
  border-bottom: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.015);
}

.window-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
}

.window-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 9px rgba(161, 84, 255, 0.7);
}

.window-close {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  font-size: 19px;
}

.window-close:hover {
  background: var(--surface);
  color: var(--text);
}

.terminal-output {
  height: 300px;
  overflow-y: auto;
  padding: 18px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-muted);
}

.terminal-output::-webkit-scrollbar {
  width: 5px;
}

.terminal-output::-webkit-scrollbar-thumb {
  background: var(--surface-border);
  border-radius: 999px;
}

.terminal-purple {
  color: var(--accent-bright);
}

.terminal-blue {
  color: #7aa2f7;
}

.terminal-muted {
  color: var(--text-faint);
}

.terminal-command {
  color: var(--accent-bright);
}

.terminal-error {
  color: #e87979;
}

.terminal-input-row {
  min-height: 47px;
  border-top: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 18px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.terminal-input-row input {
  min-width: 0;
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  caret-color: var(--accent-bright);
}

.command-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14vh;
  background: rgba(3, 2, 7, 0.55);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, visibility 0.16s;
}

.command-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.command-palette {
  width: min(580px, calc(100vw - 28px));
  background: rgba(15, 11, 28, 0.98);
  border: 1px solid rgba(161, 84, 255, 0.3);
  border-radius: 17px;
  overflow: hidden;
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.65),
    0 0 80px rgba(161, 84, 255, 0.09);
  transform: translateY(-8px) scale(0.98);
  transition: transform 0.16s ease;
}

.command-backdrop.open .command-palette {
  transform: translateY(0) scale(1);
}

.command-search {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 15px;
  border-bottom: 1px solid var(--surface-border);
}

.command-search svg {
  width: 19px;
  height: 19px;
  stroke: var(--text-faint);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.command-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px;
  min-width: 0;
}

.command-search input::placeholder {
  color: var(--text-faint);
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 23px;
  height: 22px;
  padding: 0 6px;
  border-radius: 5px;
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  box-shadow: inset 0 -1px rgba(255, 255, 255, 0.03);
}

.command-section-label {
  padding: 12px 15px 7px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--text-faint);
}

.command-results {
  padding: 0 8px 8px;
  max-height: 330px;
  overflow-y: auto;
}

.command-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  border-radius: 9px;
  min-height: 46px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
}

.command-item:hover,
.command-item.selected {
  background: rgba(161, 84, 255, 0.09);
  color: var(--text);
}

.command-item-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: var(--accent-bright);
  font-family: var(--font-mono);
  font-size: 10px;
  flex-shrink: 0;
}

.command-item-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.command-item-copy strong {
  font-size: 12px;
  font-weight: 500;
  color: inherit;
}

.command-item-copy span {
  font-family: var(--font-mono);
  color: var(--text-faint);
  font-size: 9px;
  margin-top: 2px;
}

.command-shortcut {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 9px;
}

.command-empty {
  padding: 25px 10px 30px;
  text-align: center;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 11px;
}

.command-footer {
  border-top: 1px solid var(--surface-border);
  min-height: 39px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 8px 14px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  flex-wrap: wrap;
}

.command-footer span {
  display: flex;
  gap: 4px;
  align-items: center;
}

@media (max-width: 1180px) {
  .presence-rail {
    position: static;
    width: 100%;
    max-width: 640px;
    margin-bottom: 36px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 32px 18px 130px;
  }

  section.card {
    padding: 24px;
  }

  .presence-rail {
    margin-bottom: 30px;
  }

  .spotify-card {
    padding: 15px;
  }

  .spotify-main {
    gap: 11px;
  }

  .album-wrap {
    width: 68px;
    height: 68px;
  }

  .command-backdrop {
    padding-top: 9vh;
  }

  .command-footer {
    display: none;
  }

  nav.dock {
    bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .waveform-bg span {
    animation: none;
    transform: scaleY(0.4);
  }
}
