.audio-study-player {
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid #292724;
  background: #1c1b19;
  color: #f8f3e9;
  box-shadow: 5px 6px 0 rgba(23, 23, 23, .12);
}

.audio-study-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.audio-study-kicker {
  color: #ff9da1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.audio-study-title {
  margin-top: 3px;
  font-family: "Yu Mincho", "MS Mincho", serif;
  font-size: 19px;
  font-weight: 800;
}

.audio-study-status {
  color: #bbb3a7;
  font-size: 12px;
  text-align: right;
}

.audio-study-current {
  min-height: 68px;
  padding: 12px 18px;
  background: #272522;
}

.audio-study-current b {
  display: block;
  color: #f0c26b;
  font-size: 11px;
}

.audio-study-current p {
  margin: 3px 0 0;
  font-size: 14px;
}

.audio-study-progress {
  height: 5px;
  background: #49443e;
}

.audio-study-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: #d54a52;
  will-change: width;
}

.audio-study-controls {
  display: grid;
  grid-template-columns: auto auto auto minmax(150px, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  padding: 13px 18px;
}

.audio-control,
.audio-study-select {
  min-height: 38px;
  border: 1px solid #5c5650;
  border-radius: 3px;
  color: #f8f3e9;
  background: #302e2a;
}

.audio-control {
  min-width: 42px;
  padding: 0 11px;
  cursor: pointer;
}

.audio-control:hover {
  border-color: #d2c5b5;
}

.audio-control.primary {
  min-width: 86px;
  border-color: #d54a52;
  background: #b8323a;
  font-weight: 800;
}

.audio-study-select {
  min-width: 0;
  padding: 0 9px;
}

.audio-study-select option {
  color: #171717;
  background: #fff;
}

.audio-sentence-strip {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding: 0 18px 14px;
  scrollbar-width: thin;
}

.audio-sentence-chip {
  flex: 0 0 auto;
  width: 34px;
  height: 31px;
  border: 1px solid #554f48;
  border-radius: 2px;
  color: #cfc7bc;
  background: transparent;
  cursor: pointer;
}

.audio-sentence-chip.active {
  color: #171717;
  border-color: #f0c26b;
  background: #f0c26b;
  font-weight: 800;
}

.listen-deep-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  margin-left: 8px;
  padding: 0 9px;
  border: 1px solid #b88438;
  border-radius: 3px;
  color: #74450b;
  background: #fff5dc;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.listen-deep-btn:hover,
.listen-deep-btn.active {
  color: #fff;
  border-color: #a96618;
  background: #a96618;
}

.audio-narration-manifest {
  display: none !important;
}

.audio-study-mini {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: none;
  grid-template-columns: minmax(120px, 260px) auto auto auto;
  gap: 7px;
  align-items: center;
  padding: 9px 10px 9px 13px;
  border: 1px solid #615a52;
  color: #f8f3e9;
  background: #1c1b19;
  box-shadow: 5px 6px 0 rgba(23, 23, 23, .18);
}

.audio-study-mini.show {
  display: grid;
}

.audio-study-mini-text {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audio-mini-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #5c5650;
  color: #fff;
  background: #302e2a;
  cursor: pointer;
}

.audio-mini-btn.play {
  border-color: #d54a52;
  background: #b8323a;
}

@media (max-width: 720px) {
  .audio-study-head {
    flex-direction: column;
    gap: 4px;
  }

  .audio-study-status {
    text-align: left;
  }

  .audio-study-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .audio-study-select {
    grid-column: span 3;
  }

  .audio-control {
    min-width: 0;
    padding: 0 7px;
  }

  .listen-deep-btn {
    display: flex;
    width: max-content;
    margin: 7px 0 0;
  }

  .audio-study-mini {
    right: 8px;
    bottom: 8px;
    left: 8px;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
  }
}
