/* ===== Basic Theme ===== */

:root {
    --bg:#0f1724;
    --accent1:#7dd3fc;
    --accent2:#60a5fa;
    --accent3:#a78bfa;
    --muted:#94a3b8;
    --white:#f2f5f9;
}

/* ===== Card ===== */
.ws-card {
    max-width: 760px;
    margin: 0 auto;
    background: linear-gradient(180deg, #1e293b, #0f1724);
    border-color: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 6px 24px rgba(2,6,23,0.6);
}

/* ===== Title & Thumbnail ===== */
.ws-title {
    font-size: 18px;
    font-weight: 600;
}

.ws-sub {
    color: var(--muted);
    font-size: 14px;
    margin-top: 4px;
}

/* ===== Waveform Area ===== */

.waveform {
    height: 84px;
    margin-top: 15px;
}

/* ===== Controls ===== */

.ws-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.ws-controls button {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    padding: 7px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.ws-controls input[type=range] {
    cursor: pointer;
}

.ws-time {
    font-size: 14px;
    color: var(--muted);
}

.ws-seek {
  flex: 1;
  min-width: 200px;
}

/* 右側コントロールを横並びに */
.right-controls {
  display: flex !important;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

/* The Thorのボタン・スライダーのデフォルト幅100%を打ち消す */
.right-controls button,
.right-controls input[type=range] {
  display: inline-flex !important;
  width: auto !important;
  max-width: none !important;
}

/* スライダーのサイズを調整 */
.right-controls .ws-volume {
  width: 80px !important;
}

.vol-icon {
  color: var(--muted);
  width: 18px;
  height: 18px;
}

.mute-icon {
  width: 18px;
  height: 18px;
  display: block;
  #color: var(--muted);
}

.btn-mute {
    color: #555;
    transition: color 0.2s;
}

/* ミュート時の色 */
.btn-mute.muted {
    color: var(--muted);
}

.ws-player .btn {
    all: unset;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
