body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: 'STIX Two Text', 'Cambria Math', 'Times New Roman', Times, serif;
  overflow: hidden;
}
#rna-canvas {
  display: block;
  position: absolute;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #0a0a12;
  z-index: 1;
}
.credit-author {
  background: linear-gradient(90deg, #ff00e6 0%, #00e6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 1.05em;
  letter-spacing: 0.01em;
}
#description-panel {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  max-width: 700px;
  background: rgba(20,20,20,0.7);
  color: #fff;
  border-radius: 16px;
  padding: 22px 28px 16px 28px;
  margin-top: 18px;
  z-index: 10;
  font-size: 1.08em;
  box-sizing: border-box;
  backdrop-filter: blur(8px);
  box-shadow: none;
  opacity: 1;
  transition: opacity 0.4s;
}
#description-panel.hide {
  opacity: 0;
  pointer-events: none;
}
#desc-close {
  position: absolute;
  top: 10px;
  right: 18px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5em;
  font-weight: bold;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 11;
}
#desc-close:hover {
  opacity: 1;
}
#description-panel h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.3em;
  font-weight: 700;
  letter-spacing: 0.01em;
}
#description-panel ul {
  margin: 10px 0 10px 18px;
  padding: 0;
}
#description-panel li {
  margin-bottom: 2px;
}
.legend-color {
  display: inline-block;
  margin-right: 18px;
  font-weight: 600;
  font-size: 1em;
}
#stats-panel {
  position: absolute;
  top: 24px; left: 24px;
  background: rgba(10,10,10,0.55);
  border-radius: 14px;
  box-shadow: none;
  padding: 14px 20px;
  color: #ccc;
  font-size: 1.08rem;
  z-index: 2;
  min-width: 200px;
  backdrop-filter: none;
}
.stat-label {
  color: #aaa;
  font-weight: 500;
  margin-right: 8px;
}
#controls {
  position: absolute;
  top: 24px; right: 24px;
  z-index: 2;
  background: rgba(10,10,10,0.55);
  border-radius: 14px;
  box-shadow: none;
  padding: 10px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  backdrop-filter: none;
}
#controls button {
  background: rgba(10,10,10,0.55);
  color: #ccc;
  border: none;
  border-radius: 7px;
  padding: 7px 14px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s, color 0.2s;
}
#controls button:hover {
  background: rgba(40,40,40,0.85);
  color: #eee;
}
#params-panel {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  background: rgba(10,10,10,0.55);
  border-radius: 14px;
  box-shadow: none;
  padding: 14px 20px 10px 20px;
  min-width: 220px;
  color: #ccc;
  font-size: 1.03rem;
  backdrop-filter: none;
}
.params-title {
  font-size: 1.13em;
  color: #bbb;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
  text-shadow: none;
}
.param-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
}
#params-panel label {
  flex: 1 1 60%;
  color: #aaa;
  font-weight: 400;
}
#params-panel input[type="range"] {
  flex: 1 1 40%;
  accent-color: #bbb;
  background: transparent;
  border: none;
}
#params-panel input[type="text"] {
  background: rgba(10,10,10,0.55);
  color: #ccc;
  border: none;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 1em;
}
#desc-credit {
  margin-top: 14px;
  font-size: 0.93em;
  color: #aaa;
  opacity: 0.7;
  text-align: left;
  letter-spacing: 0.01em;
  word-break: break-all;
}
#desc-credit a {
  color: #aaa;
  text-decoration: underline;
  opacity: 0.95;
  transition: opacity 0.2s;
}
#desc-credit a:hover {
  opacity: 1;
}
@media (max-width: 700px) {
  #description-panel {
    font-size: 0.98em;
    padding: 14px 8vw 10px 8vw;
    margin-top: 8px;
  }
  #desc-credit {
    font-size: 0.9em;
    margin-top: 10px;
  }
  #params-panel { display: block !important; max-height: 32vh; overflow-y: auto; font-size: 0.98em; }
} 
