.flex { display: flex; }
.flex-grow { flex-grow: 1; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-6 { gap: 1.5rem; }
.p-8 { padding: 2rem; }
.p-6 { padding: 1.5rem; }
.p-4 { padding: 1rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mr-2 { margin-right: 0.5rem; }
.w-full { width: 100%; }
.w-2\/3 { width: 66.666%; }
.w-1\/3 { width: 33.333%; }
.h-80vh { height: 80vh; }
.max-w-6xl { max-width: 72rem; }
.rounded-lg { border-radius: 0.75rem; }
.border-cyan-400-20 { border-color: rgba(34, 211, 238, 0.2); }
.border-yellow-400-20 { border-color: rgba(250, 204, 21, 0.2); }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-cyan-400 { color: #22d3ee; }
.text-gray-400 { color: #9ca3af; }
.text-yellow-400 { color: #facc15; }
.tracking-wide { letter-spacing: 0.12em; }
.font-bold { font-weight: 700; }
.font-mono { font-family: 'Courier New', Courier, monospace; }
.border-l { border-left: 1px solid rgba(34, 211, 238, 0.2); }
.border-t { border-top: 1px solid rgba(34, 211, 238, 0.2); }
.overflow-y-auto { overflow-y: auto; }
.overflow-hidden { overflow: hidden; }
.leading-relaxed { line-height: 1.625; }
.relative { position: relative; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.z-0 { z-index: 0; }
.text-center { text-align: center; }
.shadow-lg { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35); }
.transition { transition: all 0.2s ease; }
.hover-opacity:hover { opacity: 0.9; }
:root {
  --deco-bg: #0d0d10;
  --deco-accent: #22d3ee;
  --deco-accent-soft: rgba(34, 211, 238, 0.2);
  --deco-text: #b0b0b0;
  --deco-highlight: #facc15;
}

body {
  background-color: var(--deco-bg);
  color: var(--deco-text);
}

#background-canvas {
  pointer-events: none;
  z-index: 0;
}

.content-container {
  position: relative;
  z-index: 10;
}

.container-border {
  border-radius: 1rem;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 60%),
              radial-gradient(circle at bottom right, rgba(250, 204, 21, 0.08), transparent 55%),
              rgba(10, 10, 15, 0.8);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.45), inset 0 0 40px rgba(34, 211, 238, 0.05);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

#game-output {
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 0.5rem;
  border: 1px solid rgba(34, 211, 238, 0.15);
}

#game-output p {
  margin-bottom: 0.75rem;
}

#game-output p:last-child {
  margin-bottom: 0;
}

#input-form {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 0.5rem;
  border: 1px solid rgba(34, 211, 238, 0.2);
}

#command-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.sidebar-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-section li + li {
  margin-top: 0.5rem;
}

.back-link {
  color: #00ffb3;
  text-decoration: none;
  font-weight: 700;
  margin-right: 2rem;
}

.back-link:hover,
.back-link:focus-visible {
  color: #5bffc9;
  text-decoration: underline;
}

.prompt {
  color: var(--deco-accent);
}

.error {
  color: #f87171;
  font-weight: 600;
}

@media (max-width: 1023px) {
  .container-border {
    flex-direction: column;
    height: auto;
  }

  #sidebar,
  #game-main-panel {
    width: 100% !important;
  }

  #sidebar {
    border-left: none;
    border-top: 1px solid rgba(34, 211, 238, 0.2);
  }
}
