.copy-button, .replay-button {
    position: absolute;
    top: 10px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: opacity 0.2s;
}

.copy-button {
    right: 10px; /* 再生ボタンの左側に配置 */
    background: transparent;
    opacity: 0.6;
    color: var(--text-primary);
}

.copy-button:hover {
    opacity: 1;
}

.replay-button {
    right: 10px; /* 右端に配置 */
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.replay-button:hover {
    background-color: var(--accent-hover);
}