
:root {
  --bg-main: #c4c2ad;
  --bg-dark: #b3ae96;
  --bg-light: #d8d4c0;
  --accent: #30444f;
  --accent2: #76623b;
  --border: #8c876f;
  --text-main: #30444f;
  --text-dim: #5a6f78;
  --btn-face: #d7d2bd;
  --btn-border-dark: #6f6957;
  --btn-border-light: #f1eddb;
}



.winamp {
  width: 100%;
  background: var(--bg-main);
  border: 2px solid #000000;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18);
  font-size: 11px;
  line-height: 1;
}

.winamp-title {
  height: 14px;
  background: linear-gradient(180deg, #d9d6c1 0%, #bfbca8 100%);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  box-sizing: border-box;
  border-bottom: 2px solid var(--border);
}

.winamp-title-left {
  display: flex;
  align-items: center;
  gap: 4px;
}

.winamp-icon {
  width: 10px;
  height: 10px;
  background: #76623b;
  border: 1px solid #000000;
}

.winamp-title-text {
  font-size: 10px;
}

.winamp-title-buttons {
  display: flex;
  gap: 2px;
}

.title-btn {
  width: 10px;
  height: 10px;
  background: var(--btn-face);
  border: 1px solid #000000;
}

.winamp-top {
  display: flex;
  background: var(--bg-dark);
  padding: 4px 4px 2px 4px;
  box-sizing: border-box;
  border-bottom: 2px solid var(--border);
}

.winamp-display {
  flex: 3;
  margin-right: 4px;
  background: #e8e4d0;
  border: 1px solid #6f6957;
  color: var(--accent);
  padding: 2px 4px;
  box-sizing: border-box;
  font-size: 10px;
  height: 50px;
}

.display-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2px;
}

.display-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.display-time {
  text-align: right;
  min-width: 40px;
}

.display-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--accent2);
}

.display-kbps {
  font-size: 9px;
}

.display-freq {
  font-size: 9px;
}

.winamp-buttons {
  width: 72px;
  display: flex;
  flex-wrap: no-wrap;
  gap: 3px;
  align-content: flex-right;
}

.btn {
  width: 32px;
  height: 16px;
  background: var(--btn-face);
  border-top: 1px solid var(--btn-border-light);
  border-left: 1px solid var(--btn-border-light);
  border-right: 1px solid var(--btn-border-dark);
  border-bottom: 1px solid var(--btn-border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 10px;
  cursor: default;
  padding: 5px;
  box-sizing: border-box;
}

.btn-wide {
  width: 64px;
}

.btn.playing {
  background: #8eab91;
  color: #1d2d35;
}

.btn.paused {
  background: #c28874;
  color: #1d2d35;
}

.status-text {
  flex: 1;
  display: flex;
  justify-content: end;
  align-items: center;
}

.winamp-seek {
  background: var(--bg-dark);
  padding: 0 4px 4px 4px;
  box-sizing: border-box;
}

.seek-track {
  height: 6px;
  background: var(--bg-light);
  border: 1px solid #000000;
  position: relative;
}

.seek-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 30%;
  background: var(--accent);
}

.winamp-vb {
  display: flex;
  justify-content: space-between;
  padding: 0 4px 4px 4px;
  box-sizing: border-box;
  background: var(--bg-dark);
}

.vb-group {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: var(--text-dim);
}

.vb-track {
  width: 60px;
  height: 6px;
  background: var(--bg-light);
  border: 1px solid #000000;
  position: relative;
}

.vb-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--accent2);
}

.vb-fill.volume {
  width: 70%;
  left: 0;
}

.vb-fill.balance {
  width: 4px;
  left: 50%;
  margin-left: -2px;
}

.winamp-status {
  background: var(--bg-main);
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  padding: 2px 4px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--text-dim);
}

.status-left {
  display: flex;
  gap: 6px;
}

.status-btn {
  width: 10px;
  height: 10px;
  background: var(--btn-face);
  border-top: 1px solid var(--btn-border-light);
  border-left: 1px solid var(--btn-border-light);
  border-right: 1px solid var(--btn-border-dark);
  border-bottom: 1px solid var(--btn-border-dark);
}

/* Bottom bar (fake switches, no EQ) */
.winamp-bottom {
  background: var(--bg-dark);
  padding: 2px 4px 4px 4px;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  font-size: 9px;
}

.toggle {
  padding: 1px 3px;
  border-top: 1px solid var(--btn-border-light);
  border-left: 1px solid var(--btn-border-light);
  border-right: 1px solid var(--btn-border-dark);
  border-bottom: 1px solid var(--btn-border-dark);
  background: var(--btn-face);
  color: var(--text-dim);
}

.toggle-on {
  background: #b6c2a5;
  color: #1d2d35;
}
