/* Winamp-inspired MP3 player for the MiboTech front page */
.wa-wrap {
  width: 100%;
  max-width: 400px;
  margin: 0.15rem auto 0.2rem;
  align-self: center;
  text-align: left;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,.55));
  box-sizing: border-box;
}
.wa {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  font-family: Tahoma, "Segoe UI", sans-serif;
  user-select: none;
}
.wa-main, .wa-pl {
  background: linear-gradient(180deg, #3a3a40 0%, #2a2a2e 40%, #222226 100%);
  border: 1px solid #111;
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,.22),
    inset -1px -1px 0 rgba(0,0,0,.55);
  border-radius: 2px;
}
.wa-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 16px;
  padding: 0 7px;
  background:
    repeating-linear-gradient(
      180deg,
      #4a4a52 0px, #4a4a52 1px,
      #2e2e33 1px, #2e2e33 2px,
      #3e3e45 2px, #3e3e45 3px
    );
  border-bottom: 1px solid #111;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.wa-brand {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #d4d0c8;
  text-shadow: 0 1px 0 #000;
}
.wa-dots, .wa-pl-count {
  font-size: 9px;
  color: #8a8a90;
  letter-spacing: 0.08em;
}
.wa-dots::before { content: "● ● ●"; font-size: 7px; letter-spacing: 2px; color: #6a6a70; }
.wa-lcd {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px;
  align-items: center;
  margin: 8px 8px 4px;
  padding: 6px 8px;
  min-height: 52px;
  background: #050a06;
  border: 1px solid #000;
  box-shadow:
    inset 0 0 0 1px #1a3a1a,
    inset 2px 2px 6px rgba(0,0,0,.8),
    0 0 0 1px #4a4a50;
  border-radius: 1px;
}
.wa-viz {
  display: block;
  width: 90px;
  height: 36px;
  image-rendering: pixelated;
}
.wa-lcd-text {
  min-width: 0;
  color: #00e838;
  text-shadow: 0 0 6px rgba(0,232,56,.55);
  font-family: "Lucida Console", "Courier New", ui-monospace, monospace;
}
.wa-track {
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-transform: uppercase;
  min-height: 1.2em;
}
.wa-track.wa-marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: wa-scroll 9s linear infinite;
}
@keyframes wa-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.wa-time {
  margin-top: 3px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.wa-seek-row { padding: 4px 10px 2px; }
.wa-seek, .wa-vol input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: linear-gradient(#111, #2a2a2e);
  border: 1px solid #000;
  box-shadow: inset 1px 1px 2px #000, 0 1px 0 rgba(255,255,255,.12);
  border-radius: 0;
  outline: none;
}
.wa-seek::-webkit-slider-thumb, .wa-vol input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 14px;
  background: linear-gradient(180deg, #c8c8ce, #7a7a82);
  border: 1px solid #111;
  box-shadow: inset 0 1px 0 #eee, 1px 1px 1px #000;
  cursor: pointer;
}
.wa-seek::-moz-range-thumb, .wa-vol input::-moz-range-thumb {
  width: 11px;
  height: 14px;
  background: linear-gradient(180deg, #c8c8ce, #7a7a82);
  border: 1px solid #111;
  border-radius: 0;
  cursor: pointer;
}
.wa-seek:disabled { opacity: .45; }
.wa-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px 6px;
}
.wa-btn {
  width: 34px;
  height: 26px;
  padding: 0;
  border: 1px solid #111;
  border-radius: 2px;
  background: linear-gradient(180deg, #5a5a62 0%, #3a3a42 55%, #2e2e34 100%);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.28), inset -1px -1px 0 rgba(0,0,0,.45);
  color: #ddd;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}
.wa-btn:hover { color: #fff; background: linear-gradient(180deg, #6a6a72, #404048 55%, #333); }
.wa-btn:active, .wa-btn.is-on {
  background: linear-gradient(180deg, #2a2a30, #3e3e46);
  box-shadow: inset 1px 1px 3px #000;
  color: #00e838;
}
.wa-btn-play { width: 42px; font-size: 13px; }
.wa-btn-play.is-on { color: #00e838; }
.wa-btn-repeat {
  width: 40px;
  position: relative;
  font-size: 12px;
  letter-spacing: 0;
}
.wa-btn-repeat .wa-rep-arrows { display: inline-block; line-height: 1; }
.wa-btn-repeat .wa-rep-mode {
  position: absolute;
  right: 2px;
  bottom: 1px;
  font: 800 7px/1 Tahoma, sans-serif;
  letter-spacing: 0;
  color: #00e838;
  text-shadow: 0 0 4px rgba(0,232,56,.7);
}
.wa-btn-repeat.is-on { color: #00e838; }
.wa-vol {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  margin-left: 6px;
  color: #9a9aa0;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.wa-vol input { width: 100%; }
.wa-dl {
  display: block;
  width: calc(100% - 16px);
  margin: 0 8px 9px;
  padding: 6px 8px;
  border: 1px solid #111;
  border-radius: 2px;
  background: linear-gradient(180deg, #3e5a3e, #243424);
  box-shadow: inset 1px 1px 0 rgba(180,255,180,.18), inset -1px -1px 0 rgba(0,0,0,.5);
  color: #9fe89f;
  font: 800 10px/1.1 Tahoma, "Segoe UI", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.wa-dl:hover { color: #d8ffd8; background: linear-gradient(180deg, #4a6e4a, #2a402a); }
.wa-dl:active { box-shadow: inset 1px 1px 3px #000; }
.wa-list {
  margin: 0;
  padding: 4px 0 6px;
  max-height: 168px;
  overflow-y: auto;
  overflow-x: hidden;
  list-style: none;
  background: #080c08;
  border-top: 1px solid #000;
  font-family: "Lucida Console", "Courier New", ui-monospace, monospace;
  font-size: 11px;
  scrollbar-width: thin;
  scrollbar-color: #5a5a62 #151515;
}
.wa-list::-webkit-scrollbar { width: 11px; }
.wa-list::-webkit-scrollbar-track { background: #151515; border-left: 1px solid #000; }
.wa-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6a6a72, #3a3a42);
  border: 1px solid #111;
}
.wa-list li {
  display: grid;
  grid-template-columns: 1.7em 1fr 3.2em;
  gap: 6px;
  align-items: baseline;
  padding: 5px 10px;
  color: #00c830;
  cursor: pointer;
  white-space: nowrap;
}
.wa-list li:hover { background: rgba(0,232,56,.08); }
.wa-list li.is-current {
  background: #0c2a10;
  color: #fff36a;
  text-shadow: 0 0 6px rgba(255,243,106,.35);
}
.wa-list li.is-playing { color: #fff36a; }
.wa-list .wa-n { opacity: .7; text-align: right; }
.wa-list .wa-t { overflow: hidden; text-overflow: ellipsis; text-align: left; }
.wa-list .wa-d { opacity: .75; text-align: right; }
@media (max-width: 420px) {
  .wa-btn { width: 32px; }
  .wa-btn-play { width: 38px; }
  .wa-list { max-height: 148px; }
}
