.betta-podcast-player {
    --primary-color: #2271b1;
    --secondary-color: #135e96;
    --text-color: #1e1e1e;
    --progress-bg: #e0e0e0;
    
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 1em 0;
    padding: 1em;
}

.betta-podcast-player--full .betta-podcast-player__header {
    display: flex;
    gap: 1em;
    margin-bottom: 1em;
}

.betta-podcast-player__artwork {
    flex: 0 0 100px;
}

.betta-podcast-player__artwork img {
    border-radius: 4px;
    width: 100%;
    height: auto;
}

.betta-podcast-player__info {
    flex: 1;
}

.betta-podcast-player__title {
    margin: 0 0 0.5em;
    font-size: 1.2em;
}

.betta-podcast-player__controls {
    display: flex;
    align-items: center;
    gap: 1em;
}

.betta-podcast-player__play {
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.betta-podcast-player__play:hover {
    background: var(--secondary-color);
}

.betta-podcast-player__progress {
    flex: 1;
}

.progress-bar {
    background: var(--progress-bg);
    border-radius: 3px;
    height: 12px;
    position: relative;
    cursor: pointer;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: var(--hover-position, 0);
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.progress-bar:hover::after {
    opacity: 1;
}

.progress-bar {
    cursor: pointer;
    height: 12px;
}

.progress-bar:hover {
    background: var(--progress-bg-hover, #d0d0d0);
}

.progress-bar__filled {
    background: var(--primary-color);
    border-radius: 3px;
    height: 100%;
    width: 0;
    position: absolute;
}

.time {
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
    margin-top: 0.5em;
}

.betta-podcast-player__actions {
    display: flex;
    gap: 0.5em;
}

.betta-podcast-player__actions button {
    background: none;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    color: var(--primary-color);
    padding: 0.5em;
    cursor: pointer;
}

.betta-podcast-player__actions button:hover {
    background: var(--primary-color);
    color: white;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5em;
    position: relative;
}

/* Volume Slider Specific Styles */
input.volume-slider {
    width: 80px;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--progress-bg, #e0e0e0);
    border-radius: 3px;
    outline: none;
    margin: 0;
}

/* Chrome/Safari/Edge - Track with fill effect */
input.volume-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, 
        var(--primary-color, #2271b1) 0%, 
        var(--primary-color, #2271b1) var(--volume-level, 50%), 
        var(--progress-bg, #e0e0e0) var(--volume-level, 50%)
    );
    border-radius: 3px;
    border: none;
}

/* Firefox - Track */
input.volume-slider::-moz-range-track {
    width: 100%;
    height: 6px;
    background: var(--progress-bg, #e0e0e0);
    border-radius: 3px;
    border: none;
}

/* Firefox - Progress Fill */
input.volume-slider::-moz-range-progress {
    height: 6px;
    background: var(--primary-color, #2271b1);
    border-radius: 3px 0 0 3px;
}

/* Chrome/Safari/Edge - Thumb */
input.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color, #2271b1);
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    cursor: pointer;
    margin-top: -3px;
    position: relative;
    z-index: 2;
}

/* Firefox - Thumb */
input.volume-slider::-moz-range-thumb {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color, #2271b1);
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    cursor: pointer;
    position: relative;
    z-index: 2;
}

/* Muted state */
.volume-control.is-muted input.volume-slider::-webkit-slider-thumb {
    background: var(--progress-bg, #e0e0e0);
}

.volume-control.is-muted input.volume-slider::-moz-range-thumb {
    background: var(--progress-bg, #e0e0e0);
}

.volume-control.is-muted input.volume-slider::-moz-range-progress {
    background: var(--progress-bg, #e0e0e0);
}

/* Hover state */
.volume-slider:hover::-webkit-slider-thumb {
    transform: scale(1.1);
}

.volume-slider:hover::-moz-range-thumb {
    transform: scale(1.1);
}

/* Minimal player styles */
.betta-podcast-player--minimal {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 0.5em;
}

.betta-podcast-player--minimal .betta-podcast-player__play {
    width: 30px;
    height: 30px;
}

/* Playing state */
.betta-podcast-player.is-playing .play-icon {
    display: none;
}

.betta-podcast-player:not(.is-playing) .pause-icon {
    display: none;
}

.betta-podcast-player__actions .download-button {
    background: var(--primary-color);
    border: none;
    border-radius: 4px;
    color: white;
    padding: 0.5em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    min-width: 40px;
    height: 40px;
}

.betta-podcast-player__actions .download-button:hover {
    background: var(--secondary-color);
    color: white;
}

.betta-podcast-player__actions .download-button .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 1;
}

.betta-podcast-player__transcript {
    margin-top: 1em;
    padding-top: 1em;
    border-top: 1px solid var(--progress-bg);
}

.transcript-toggle {
    background: none;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    color: var(--primary-color);
    padding: 0.5em 1em;
    cursor: pointer;
}

.transcript-toggle:hover {
    background: var(--primary-color);
    color: white;
}

.transcript-content {
    margin-top: 1em;
    line-height: 1.6;
}

.transcript-content[hidden] {
    display: none;
}

.transcript-download {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.5em 0;
}

.transcript-download:hover {
    text-decoration: underline;
}

.transcript-toggle {
    background: none;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    color: var(--primary-color);
    padding: 0.5em 1em;
    cursor: pointer;
}

.transcript-toggle:hover {
    background: var(--primary-color);
    color: white;
}

.transcript-content {
    margin-top: 1em;
    line-height: 1.6;
}

.transcript-content[hidden] {
    display: none;
}

.transcript-download {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.5em 0;
}

.transcript-download:hover {
    text-decoration: underline;
}

/* Share Control Styles */
.share-control {
    position: relative;
    display: inline-block;
}

.share-toggle,
.download-button {
    position: relative;
    background: none;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    color: var(--primary-color);
    padding: 0.5em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
}

.share-toggle:hover,
.download-button:hover {
    background: var(--primary-color);
    color: white;
}

/* Add tooltips */
.share-toggle::after,
.download-button::after {
    content: attr(aria-label);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
}

.share-toggle:hover::after,
.download-button:hover::after {
    opacity: 1;
    visibility: visible;
}

.share-menu {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid var(--progress-bg);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 240px;
    z-index: 1000;
}

.share-menu[hidden] {
    display: none !important;
}

.share-menu__header {
    padding: 8px 12px;
    border-bottom: 1px solid var(--progress-bg);
    font-weight: 600;
    font-size: 0.9em;
}

.share-menu__options {
    padding: 8px;
}

.share-menu__social {
    display: flex;
    justify-content: space-around;
    padding: 4px 0;
}

.share-menu__social .share-option {
    position: relative;
    width: 40px;
    height: 40px;
    padding: 8px;
}

/* Tooltip for social icons */
.share-menu__social .share-option::after {
    content: attr(aria-label);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.share-menu__social .share-option:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Bottom row actions with text */
.share-menu__actions .share-option {
    width: 100%;
    padding: 8px 12px;
    justify-content: flex-start;
    gap: 8px;
}

.share-menu__actions .share-option::after {
    content: attr(aria-label);
    font-size: 0.9em;
}

.share-option {
    padding: 8px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: var(--text-color);
    transition: background-color 0.2s;
}

.share-option:hover {
    background: var(--progress-bg);
}

.share-icon {
    display: block;
}

.share-menu hr {
    margin: 0;
    border: none;
    border-top: 1px solid var(--progress-bg);
}

/* QR Code Modal */
.qr-code-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.qr-code-modal__content {
    background: white;
    padding: 24px;
    border-radius: 8px;
    text-align: center;
}

.qr-code-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* Toast notification for copy success */
.betta-podcast-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 1000;
    animation: toast-fade 2.5s ease;
}

@keyframes toast-fade {
    0% { opacity: 0; transform: translate(-50%, 20px); }
    10% { opacity: 1; transform: translate(-50%, 0); }
    90% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, -20px); }
}

/* Archive Page Styles */
.betta-podcast-archive {
    max-width: 1200px;
    margin: 2em auto;
    padding: 0 1em;
}

.betta-podcast-archive__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2em;
    flex-wrap: wrap;
    gap: 1em;
}

.betta-podcast-archive__filters {
    display: flex;
    gap: 1em;
    align-items: center;
    flex-wrap: nowrap;
}

.betta-podcast-archive__filters select {
    padding: 0.5em;
    border: 1px solid var(--progress-bg);
    border-radius: 4px;
    min-width: 150px;
}

.view-switcher {
    display: flex;
    gap: 0.5em;
}

.view-switcher button {
    background: none;
    border: 1px solid var(--progress-bg);
    border-radius: 4px;
    padding: 0.5em;
    cursor: pointer;
    color: var(--text-color);
}

.view-switcher button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.betta-podcast-archive__search input {
    padding: 0.5em 1em;
    border: 1px solid var(--progress-bg);
    border-radius: 4px;
    min-width: 250px;
}

/* Grid View */
.betta-podcast-archive__content.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2em;
}

.grid-view .podcast-episode {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.grid-view .podcast-episode:hover {
    transform: translateY(-4px);
}

.grid-view .podcast-episode__artwork {
    aspect-ratio: 1;
    overflow: hidden;
}

.grid-view .podcast-episode__artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-view .podcast-episode__content {
    padding: 1em;
}

/* List View */
.betta-podcast-archive__content.list-view {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.list-view .podcast-episode {
    display: flex;
    gap: 1.5em;
    background: white;
    padding: 1em;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.list-view .podcast-episode__artwork {
    flex: 0 0 150px;
}

.list-view .podcast-episode__artwork img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.list-view .podcast-episode__content {
    flex: 1;
}

/* Common Episode Styles */
.podcast-episode__title {
    margin: 0 0 0.5em;
    font-size: 1.2em;
}

.podcast-episode__title a {
    color: var(--text-color);
    text-decoration: none;
}

.podcast-episode__title a:hover {
    color: var(--primary-color);
}

.podcast-episode__meta {
    display: flex;
    gap: 1em;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 0.5em;
}

.podcast-episode__excerpt {
    font-size: 0.95em;
    line-height: 1.5;
}

/* Pagination */
.betta-podcast-archive__pagination {
    margin-top: 2em;
    text-align: center;
}

.betta-podcast-archive__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 0.25em;
    border: 1px solid var(--progress-bg);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-color);
}

.betta-podcast-archive__pagination .current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .betta-podcast-archive__header {
        flex-direction: column;
        align-items: stretch;
    }

    .betta-podcast-archive__search input {
        width: 100%;
        min-width: 0;
    }

    .list-view .podcast-episode {
        flex-direction: column;
    }

    .list-view .podcast-episode__artwork {
        flex: 0 0 auto;
    }
}

/* Loading State */
.betta-podcast-archive__content.loading {
    position: relative;
    min-height: 200px;
    pointer-events: none;
    opacity: 0.7;
}

.betta-podcast-archive__content.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid var(--progress-bg);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Episode Actions */
.podcast-episode__actions {
    margin-top: 1em;
}

.listen-button {
    display: inline-block;
    padding: 0.8em 1.5em;
    background: var(--primary-color, #2271b1);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    border: 2px solid var(--primary-color, #2271b1);
    transition: all 0.2s ease;
}

.listen-button:hover {
    background: white;
    color: var(--primary-color, #2271b1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Special case for buttons on white background */
.featured-episode .listen-button:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Empty State */
.no-episodes {
    text-align: center;
    padding: 3em 1em;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Archive Page Specific Styles */
.betta-podcast-archive-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2em 1em;
}

.betta-podcast-archive-page__header {
    text-align: center;
    margin-bottom: 3em;
}

.betta-podcast-archive-page .page-title {
    font-size: 2.5em;
    margin: 0 0 0.5em;
    color: var(--text-color);
}

.betta-podcast-archive-page .archive-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.6;
    color: #666;
}

/* Featured Episode Styles */
.featured-episode {
    margin-bottom: 3em;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.featured-label {
    padding: 1em 2em;
    margin: 0;
    background: var(--primary-color, #2271b1);
    color: white;
    font-size: 1.2em;
}

.featured-episode .podcast-episode {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    background: white;
}

.featured-episode .podcast-episode__artwork {
    position: relative;
    height: 100%;
    min-height: 300px;
}

.featured-episode .podcast-episode__artwork img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-episode .podcast-episode__content {
    padding: 2em;
}

.featured-episode .podcast-episode__title {
    font-size: 1.8em;
    margin: 0 0 0.5em;
}

.featured-episode .podcast-episode__meta {
    margin-bottom: 1em;
    color: #666;
}

.featured-episode .podcast-episode__excerpt {
    margin-bottom: 1.5em;
}

.featured-episode .podcast-episode__actions {
    display: flex;
    align-items: center;
    gap: 1em;
}

/* General Minimal Player Styles (used everywhere) */
.betta-podcast-player--minimal {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 0.5em;
    background: #f5f5f5;
    border-radius: 8px;
}

.betta-podcast-player--minimal .betta-podcast-player__play {
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #333;
}

.betta-podcast-player--minimal .betta-podcast-player__progress {
    flex: 1;
}

/* Listen Button */
.listen-button {
    display: inline-block;
    padding: 0.8em 1.5em;
    background: var(--primary-color, #2271b1);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    border: 2px solid var(--primary-color, #2271b1);
    transition: all 0.2s ease;
}

.listen-button:hover {
    background: white;
    color: var(--primary-color, #2271b1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Special case for buttons on white background */
.featured-episode .listen-button:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .featured-episode .podcast-episode {
        grid-template-columns: 1fr;
    }

    .featured-episode .podcast-episode__artwork {
        min-height: 200px;
    }

    .featured-episode .podcast-episode__content {
        padding: 1.5em;
    }
}

/* Subscribe Section */
.betta-podcast-subscribe {
    background: white;
    padding: 2em;
    border-radius: 12px;
    margin-bottom: 2em;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.betta-podcast-subscribe h2 {
    margin: 0 0 1em;
    font-size: 1.5em;
    color: var(--text-color);
}

.subscribe-buttons {
    display: flex;
    gap: 1em;
    justify-content: center;
    flex-wrap: wrap;
}

.subscribe-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.8em 1.2em;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

.subscribe-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.subscribe-button svg {
    width: 24px;
    height: 24px;
}

.subscribe-button.apple {
    background: #000;
}

.subscribe-button.spotify {
    background: #1DB954;
}

.subscribe-button.google {
    background: #4285F4;
}

.subscribe-button.rss {
    background: #FFA500;
    border: none;
    cursor: pointer;
}

/* RSS Modal */
.rss-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.rss-modal.is-visible {
    display: flex;
}

.rss-modal__content {
    background: white;
    padding: 2em;
    border-radius: 12px;
    position: relative;
    width: 90%;
    max-width: 500px;
}

.rss-modal__close {
    position: absolute;
    top: 1em;
    right: 1em;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #666;
}

.rss-modal__url {
    display: flex;
    gap: 0.5em;
    margin: 1em 0;
}

.rss-modal__url input {
    flex: 1;
    padding: 0.5em;
    border: 1px solid var(--progress-bg);
    border-radius: 4px;
    font-family: monospace;
}

.rss-modal__url button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5em 1em;
    border-radius: 4px;
    cursor: pointer;
}

.rss-modal__help {
    color: #666;
    margin: 0;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .subscribe-buttons {
        flex-direction: column;
    }

    .subscribe-button {
        width: 100%;
        justify-content: center;
    }
}

/* Archive Item Player Styles */
.podcast-episode__actions {
    display: flex;
    align-items: center;
    gap: 1em;
}

.podcast-episode__actions .betta-podcast-player--minimal {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5em;
    background: #f5f5f5;
    padding: 0.5em;
    border-radius: 4px;
}

.podcast-episode__actions .betta-podcast-player--minimal .betta-podcast-player__play {
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #333;
}

.podcast-episode__actions .betta-podcast-player--minimal .betta-podcast-player__progress {
    flex: 1;
}

.podcast-episode__actions .listen-button {
    white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .podcast-episode__actions {
        flex-direction: column;
    }
    
    .podcast-episode__actions .betta-podcast-player--minimal {
        width: 100%;
        margin-bottom: 0.5em;
    }
}

.transcript-unavailable {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 1em;
    background: #f8f9fa;
    border-radius: 4px;
    color: #666;
    font-size: 0.9em;
}

.transcript-unavailable .dashicons {
    color: var(--primary-color);
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.betta-podcast-player__navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5em;
    padding-bottom: 1em;
    border-bottom: 1px solid var(--progress-bg);
}

.back-to-podcasts {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.back-to-podcasts:hover {
    color: var(--secondary-color);
}

.back-to-podcasts .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.episode-navigation {
    display: flex;
    gap: 1em;
}

.prev-episode,
.next-episode {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.prev-episode:hover,
.next-episode:hover {
    color: var(--secondary-color);
}

.episode-navigation .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.episode-nav-label {
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .betta-podcast-player__navigation {
        flex-direction: column;
        gap: 1em;
        align-items: flex-start;
    }

    .episode-navigation {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 600px) {
    .betta-podcast-player--full .betta-podcast-player__header {
        flex-direction: column;
        align-items: center;
        gap: 0.5em;
    }
    .betta-podcast-player__artwork {
        flex: 0 0 auto;
        width: 80px;
        margin-bottom: 0.5em;
    }
    .betta-podcast-player__info {
        width: 100%;
        text-align: center;
    }
    .betta-podcast-player__controls {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5em;
    }
    .betta-podcast-player__actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5em;
        margin-top: 0.5em;
    }
    .betta-podcast-player__actions button,
    .betta-podcast-player__actions .download-button,
    .betta-podcast-player__actions .share-toggle {
        min-width: 44px;
        min-height: 44px;
        font-size: 1.1em;
        padding: 0.5em;
    }
    .betta-podcast-player__play {
        width: 48px;
        height: 48px;
        font-size: 1.3em;
    }
    .betta-podcast-player__progress {
        margin: 0.5em 0;
    }
    .volume-control {
        flex-direction: column;
        align-items: stretch;
        gap: 0.3em;
    }
    .betta-podcast-player__transcript {
        padding: 0.5em 0;
    }
    .share-menu {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 95vw;
        min-width: 0;
        max-width: 320px;
    }
    .qr-code-modal__content {
        width: 95vw;
        max-width: 320px;
        padding: 1em;
    }
}
