.wptts-wrapper {
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin: 24px 0;
    font-family: system-ui, -apple-system, sans-serif;
    color: #0f172a;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    max-width: 100%;
}

.wptts-header {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #475569;
}

.wptts-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wptts-btn {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.wptts-btn:hover {
    background: #2563eb;
}

.wptts-play-pause svg {
    margin-left: 2px;
}

.wptts-play-pause.playing svg {
    margin-left: 0;
}

.wptts-progress-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wptts-progress {
    width: 100%;
    cursor: pointer;
    height: 6px;
    border-radius: 3px;
    -webkit-appearance: none;
    background: #cbd5e1;
}

.wptts-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: #3b82f6;
    border-radius: 50%;
    cursor: pointer;
}

.wptts-time-label {
    font-size: 12px;
    color: #64748b;
    align-self: flex-end;
}

.wptts-options {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wptts-options .wptts-btn {
    width: auto;
    height: 32px;
    padding: 0 10px;
    border-radius: 6px;
    background: #e2e8f0;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.wptts-options .wptts-btn:hover {
    background: #cbd5e1;
}

/* Fallback Notice Overlay */
.wptts-fallback-badge {
    display: inline-block;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-left: 8px;
    color: #64748b;
}
