/* Query dock under the wheel: microphone button and search boxes. */

.qdock {
  width: 100%;
  max-width: 470px;
  margin-top: 14px;
  gap: 10px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: var(--glass);
  box-shadow: 0 0 24px rgba(54, 214, 239, 0.15);
  animation: pageopen 0.42s cubic-bezier(0.25, 0.8, 0.3, 1) both;
  transform-origin: 0 50%;
  backface-visibility: hidden;
}
.qdock[hidden] {
  display: none;
}
.drumcol:has(.qdock:not([hidden])) {
  position: relative;
  top: 0;
}
.micwrap {
  display: flex;
  gap: 16px;
  align-items: center;
}
.mic {
  width: 96px;
  flex: none;
  aspect-ratio: 186/264;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  box-shadow: 0 0 18px rgba(54, 214, 239, 0.25);
  transition: box-shadow 0.2s;
}
.mic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mic:hover {
  box-shadow: 0 0 26px rgba(54, 214, 239, 0.5);
}
.mic[aria-pressed="true"] {
  border-color: #ff4fa3;
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 34px rgba(255, 79, 163, 0.7);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mic[aria-pressed="true"] {
    animation: none;
    box-shadow: 0 0 30px rgba(255, 79, 163, 0.7);
  }
}
.micwrap p {
  margin: 0;
  color: #b9dbe6;
  font-size: 15px;
}
.micwrap h3 {
  margin-bottom: 4px;
}
.orline {
  color: var(--ink);
  font-size: 15px;
  margin-top: 6px;
}
textarea.sq {
  border-radius: 0;
  min-height: 0;
  height: auto;
  resize: vertical;
}
.search {
  position: relative;
  max-width: 460px;
  margin: 0 0 16px;
}
.search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  translate: 0 -50%;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--cy);
  stroke-width: 2.2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(54, 214, 239, 0.6));
  pointer-events: none;
}
.search input {
  padding-left: 44px;
}
