/* player-tiny.css — styles for PlayerUITiny */

.ap-tiny {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: 340px;
  transition: opacity 0.2s;
}

.ap-tiny--loading {
  opacity: 0.4;
}

.ap-tiny-play-btn {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: #1a73e8;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 9px;
  line-height: 1;
  transition: background 0.1s;
}

.ap-tiny-play-btn:hover:not(:disabled) {
  background: #1558b0;
}

.ap-tiny-play-btn:disabled {
  background: #bbb;
  cursor: default;
}

.ap-tiny-time,
.ap-tiny-total {
  flex-shrink: 0;
  font-size: 11px;
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  font-weight: 400;
  color: #666;
  white-space: nowrap;
  /* reset inherited uppercase from transcript-header */
  text-transform: none;
  letter-spacing: 0;
}

.ap-tiny-seek-track {
  flex: 1;
  position: relative;
  height: 4px;
  background: #ddd;
  border-radius: 2px;
  cursor: pointer;
  user-select: none;
}

.ap-tiny-seek-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: #1a73e8;
  border-radius: 2px;
  pointer-events: none;
}

.ap-tiny-seek-thumb {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  margin-top: -5px;
  background: #1a73e8;
  border-radius: 50%;
  pointer-events: none;
  transition: box-shadow 0.12s;
}

.ap-tiny-seek-track:hover .ap-tiny-seek-thumb {
  box-shadow: 0 0 0 5px rgba(26, 115, 232, 0.18);
}
