/**
 * WP Typhoon Radio Player 2 - Frontend Styles
 *
 * @package TyphoonRadioPlayer
 * @version 2.0.2
 * @since 1.0.0
 * 
 * v1.1.0 - Added iframe navigation styles and updated z-index hierarchy
 */

/* Material Design Elevation System */
/* Elevation 0dp: No shadow */
/* Elevation 1dp */
/* Elevation 2dp: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23) */
/* Elevation 4dp: 0px 2px 4px rgba(0, 0, 0, 0.2), 0px 4px 8px rgba(0, 0, 0, 0.19) */
/* Elevation 8dp: 0px 4px 8px rgba(0, 0, 0, 0.22), 0px 8px 16px rgba(0, 0, 0, 0.19) */

/* Material Design Motion Curves */
/* Standard: cubic-bezier(0.4, 0.0, 0.2, 1) - 200-300ms */
/* Decelerate: cubic-bezier(0.0, 0.0, 0.2, 1) - 200-300ms */
/* Accelerate: cubic-bezier(0.4, 0.0, 1, 1) - 200-300ms */
/* Sharp: cubic-bezier(0.4, 0.0, 0.6, 1) - 150ms */

/* WP Typhoon Radio Player 2 Styles */

/* Iframe Navigation Styles */
/* Fullscreen iframe for page transitions */
.srp-nav-iframe {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 999999;
    background: #fff;
}

/* Hide body content when iframe is active (except player) */
body.srp-iframe-active > *:not(.srp-player):not(.srp-now-playing-card):not(.srp-nav-iframe):not(#srp-iframe-loading) {
    visibility: hidden;
    pointer-events: none;
}

/* Loading indicator for iframe navigation */
#srp-iframe-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 99999999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 200ms ease;
}

#srp-iframe-loading.active {
    opacity: 1;
}

#srp-iframe-loading .srp-loading-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    animation: srp-loading-progress 2s ease-in-out infinite, srp-loading-shimmer 1.5s linear infinite;
}

#srp-iframe-loading .srp-loading-status-message,
#srp-iframe-loading .srp-loading-timeout-message {
    position: absolute;
    top: 10px;
    right: 12px;
    max-width: min(360px, calc(100vw - 24px));
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(25, 25, 25, 0.9);
    color: #fff;
    font-size: 12px;
    line-height: 1.35;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
}

#srp-iframe-loading .srp-loading-timeout-message {
    top: 44px;
}

#srp-iframe-loading .srp-loading-status-message.active {
    opacity: 1;
    transform: translateY(0);
}

#srp-iframe-loading.timeout .srp-loading-timeout-message.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes srp-loading-progress {
    0% {
        width: 0;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 95%;
    }
}

@keyframes srp-loading-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Utility Classes */
.srp-hidden {
    display: none !important;
}

/* Player and card z-index - above iframes */
.srp-player {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2), 0px 4px 8px rgba(0, 0, 0, 0.19);
    z-index: 9999999;
    min-width: 320px;
    max-width: 500px;
    transition: box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1), transform 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

.srp-player:hover {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.22), 0px 8px 16px rgba(0, 0, 0, 0.19);
}

/* Global sticky positioning */
.srp-player.srp-global {
    position: fixed;
    left: 20px;
    right: 20px;
    margin: 0 auto;
    cursor: move;
    user-select: none;
}

.srp-player.srp-sticky-bottom {
    bottom: 20px;
}

.srp-player.srp-sticky-top {
    top: 20px;
}

.srp-player.srp-global.srp-dragging {
    cursor: grabbing;
    transition: none;
}

.srp-player.srp-global.srp-dragged {
    right: auto;
    margin: 0;
}

/* Make sure controls don't interfere with dragging */
.srp-player.srp-global .srp-container {
    cursor: default;
}

.srp-player.srp-global .srp-play-btn,
.srp-player.srp-global .srp-volume-slider,
.srp-player.srp-global .tpm-controls-row,
.srp-player.srp-global .tpm-progress-container {
    cursor: pointer;
}

/* Bar mode - Full-width fixed to bottom */
.srp-player.srp-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    min-width: 0;
    border-radius: 0;
    margin: 0;
    cursor: default;
    user-select: auto;
}

.srp-player.srp-bar:hover {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2), 0px 4px 8px rgba(0, 0, 0, 0.19);
}

.srp-player.srp-bar .srp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
}

/* Reset position button */
.srp-reset-position {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 16px;
    z-index: 10;
    opacity: 0;
    transition: opacity 200ms cubic-bezier(0.4, 0.0, 0.2, 1), background-color 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.srp-player.srp-global:hover .srp-reset-position,
.srp-player.srp-global.srp-dragged .srp-reset-position {
    opacity: 1;
}

.srp-reset-position:hover {
    background: rgba(255, 255, 255, 0.3);
}

.srp-reset-position:active {
    background: rgba(255, 255, 255, 0.4);
}

.srp-reset-icon {
    display: inline-block;
    line-height: 1;
}

/* Container */
.srp-container {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 16px;
    position: relative;
    flex-wrap: wrap;
}

/* Play/Pause Button - Material FAB Style */
.srp-play-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1), background-color 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
    font-size: 16px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
    position: relative;
    overflow: hidden;
}

.srp-play-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 300ms cubic-bezier(0.4, 0.0, 0.2, 1), width 300ms cubic-bezier(0.4, 0.0, 0.2, 1), height 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
    pointer-events: none;
}

.srp-play-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2), 0px 4px 8px rgba(0, 0, 0, 0.19);
}

.srp-play-btn:active {
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 2px rgba(0, 0, 0, 0.24);
}

.srp-play-btn:active::before {
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 150ms cubic-bezier(0.4, 0.0, 0.6, 1), width 150ms cubic-bezier(0.4, 0.0, 0.6, 1), height 150ms cubic-bezier(0.4, 0.0, 0.6, 1);
}

.srp-play-btn.playing {
    background: rgba(255, 255, 255, 0.3);
}

.srp-stream-missing .srp-play-btn,
.srp-stream-missing .srp-volume-slider {
    cursor: not-allowed;
    opacity: 0.55;
}

.srp-stream-missing .srp-play-btn {
    animation: none;
}

.srp-stream-missing .srp-play-btn:hover,
.srp-stream-missing .srp-play-btn:active {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
}

/* Pulse animation for inactive play button */
@keyframes srp-pulse-border {
    0%, 100% {
        outline-color: var(--srp-icon-color, rgba(255, 255, 255, 0.8));
    }
    50% {
        outline-color: transparent;
    }
}

/* Inactive (not playing) - pulsing border — radio mode & playlist mode */
.srp-play-btn:not(.playing),
.srp-player:not(.srp-playing) .srp-play-btn {
    outline: 2px solid var(--srp-icon-color, rgba(255, 255, 255, 0.8));
    outline-offset: 3px;
    animation: srp-pulse-border 1.2s ease-in-out infinite;
}

/* Active (playing) - solid border — radio mode & playlist mode */
.srp-player .srp-play-btn.playing,
.srp-player.srp-playing .srp-play-btn {
    outline: 2px solid var(--srp-icon-color, rgba(255, 255, 255, 0.8));
    outline-offset: 3px;
    animation: none;
}

/* Play/Pause Icons - SVG icons */
.srp-play-icon,
.srp-pause-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: white;
    flex-shrink: 0;
}

.srp-play-icon svg,
.srp-pause-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

/* Player Info */
.srp-info {
    flex: 1;
    min-width: 0;
}

.srp-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.srp-status {
    font-size: 12px;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.srp-status.loading {
    animation: pulse 1.5s infinite;
}

.srp-status.playing {
    color: #4CAF50;
}

.srp-status.error {
    color: #F44336;
}

/* Show Thumbnail */
.srp-show-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Current Show Info */
.srp-current-show {
    font-size: 11px;
    opacity: 0.9;
    margin-top: 2px;
    line-height: 1.3;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.4em;
    row-gap: 0.15em;
}

.srp-show-title {
    font-weight: 500;
    color: #4CAF50;
}

.srp-presenter {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.srp-no-show {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* Volume Control */
.srp-volume {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 80px;
}

.srp-volume-slider {
    width: 100%;
    height: 2px;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: background-color 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

.srp-volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
    transition: width 200ms cubic-bezier(0.4, 0.0, 0.2, 1), height 200ms cubic-bezier(0.4, 0.0, 0.2, 1), box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

.srp-volume-slider:hover::-webkit-slider-thumb,
.srp-volume-slider:focus::-webkit-slider-thumb {
    width: 13px;
    height: 13px;
}

.srp-volume-slider::-moz-range-thumb {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: none;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
    transition: width 200ms cubic-bezier(0.4, 0.0, 0.2, 1), height 200ms cubic-bezier(0.4, 0.0, 0.2, 1), box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

.srp-volume-slider:hover::-moz-range-thumb,
.srp-volume-slider:focus::-moz-range-thumb {
    width: 13px;
    height: 13px;
}

/* Close Button - Material Icon Button */
.srp-close-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    opacity: 0.7;
    transition: opacity 200ms cubic-bezier(0.4, 0.0, 0.2, 1), background-color 200ms cubic-bezier(0.4, 0.0, 0.2, 1), box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.srp-close-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 300ms cubic-bezier(0.4, 0.0, 0.2, 1), width 300ms cubic-bezier(0.4, 0.0, 0.2, 1), height 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
    pointer-events: none;
}

.srp-close-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
}

.srp-close-btn:active::before {
    width: 96px;
    height: 96px;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 150ms cubic-bezier(0.4, 0.0, 0.6, 1), width 150ms cubic-bezier(0.4, 0.0, 0.6, 1), height 150ms cubic-bezier(0.4, 0.0, 0.6, 1);
}

/* Hidden audio element */
.srp-audio {
    display: none;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .srp-player.srp-global {
        left: 10px;
        right: 10px;
        cursor: default;
        user-select: auto;
    }
    
    .srp-player.srp-global.srp-dragged {
        left: 10px;
        right: auto;
    }
    
    /* Hide reset button on mobile — dragging is disabled */
    .srp-reset-position {
        display: none;
    }
    
    .srp-player.srp-sticky-bottom {
        bottom: 10px;
    }
    
    .srp-player.srp-sticky-top {
        top: 10px;
    }
    
    /* Bar player responsive - stays full width */
    .srp-player.srp-bar {
        bottom: 0;
        left: 0;
        right: 0;
    }
    
    .srp-player.srp-bar .srp-container {
        padding: 10px 15px;
    }
    
    .srp-container {
        padding: 12px 16px;
        gap: 12px;
    }
    
    .srp-play-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .srp-play-icon,
    .srp-pause-icon {
        width: 16px;
        height: 16px;
    }
    
    .srp-title {
        font-size: 14px;
    }
    
    .srp-status {
        font-size: 11px;
    }
    
    .srp-show-thumbnail {
        width: 40px;
        height: 40px;
    }
    
    .srp-volume {
        width: 60px;
    }
    
    .srp-close-btn {
        font-size: 16px;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }
}

@media (max-width: 480px) {
    .srp-volume {
        display: none;
    }
    
    .srp-container {
        gap: 8px;
    }
    
    /* Bar player on small screens */
    .srp-player.srp-bar .srp-container {
        padding: 10px 12px;
    }
}

/* Dark theme compatibility */
@media (prefers-color-scheme: dark) {
    .srp-player {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2), 0px 4px 8px rgba(0, 0, 0, 0.19);
    }
    
    .srp-player:hover {
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.22), 0px 8px 16px rgba(0, 0, 0, 0.19);
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .srp-player {
        background: #000;
        border: 2px solid #fff;
    }
    
    .srp-play-btn {
        border-color: #fff;
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .srp-player,
    .srp-play-btn,
    .srp-close-btn {
        transition: none;
    }
    
    .srp-play-btn:hover {
        box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
    }
    
    .srp-close-btn:hover {
        box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
    }
    
    .srp-schedule-item:hover {
        box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
    }
    
    .srp-presenter-card:hover {
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2), 0px 4px 8px rgba(0, 0, 0, 0.19);
    }
    
    .srp-calendar-day:hover {
        box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
    }
    
    .srp-back-btn:hover {
        box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
    }
    
    .srp-timeline-show:hover {
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2), 0px 4px 8px rgba(0, 0, 0, 0.19);
    }
    
    .srp-status.loading {
        animation: none;
    }
    
    .srp-play-btn:not(.playing),
    .srp-player:not(.srp-playing) .srp-play-btn {
        animation: none;
        outline: 2px solid var(--srp-icon-color, rgba(255, 255, 255, 0.8));
    }
}

/* Focus styles for accessibility - Material Design */
.srp-play-btn:focus {
    outline: inherit;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
}

.srp-close-btn:focus {
    outline: 2px solid rgba(102, 126, 234, 0.8);
    outline-offset: 2px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23), 0 0 0 2px rgba(102, 126, 234, 0.4);
}

.srp-volume-slider:focus {
    outline: none;
}

/* Player hidden state */
.srp-player.hidden {
    display: none;
}

/* Now Playing Card */
.srp-now-playing-card {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    max-width: calc(100vw - 40px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.22), 0px 8px 16px rgba(0, 0, 0, 0.19);
    z-index: 9999998;
    transition: opacity 300ms cubic-bezier(0.4, 0.0, 0.2, 1), transform 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
    overflow: hidden;
}

.srp-now-playing-card.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(100%);
}

.srp-now-playing-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: rgba(0, 0, 0, 0.6);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 200ms cubic-bezier(0.4, 0.0, 0.2, 1), color 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 10;
}

.srp-now-playing-close:hover {
    background: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.87);
}

.srp-now-playing-close:focus {
    outline: 2px solid rgba(102, 126, 234, 0.8);
    outline-offset: 2px;
}

.srp-now-playing-header {
    padding: 20px 20px 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.srp-now-playing-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
}

.srp-now-playing-content {
    padding: 20px;
}

.srp-now-playing-current {
    margin-bottom: 20px;
}

.srp-now-playing-thumbnail {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 12px;
    display: block;
}

.srp-now-playing-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.srp-now-playing-show-name {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
}

.srp-now-playing-presenter {
    font-size: 14px;
    color: #6b7280;
    font-style: italic;
}

.srp-now-playing-time {
    font-size: 13px;
    color: #4f46e5;
    font-weight: 500;
}

.srp-now-playing-divider {
    margin: 20px 0;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.srp-now-playing-next {
    padding-top: 0;
}

.srp-now-playing-next-title {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.srp-now-playing-next-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.srp-now-playing-next-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.srp-now-playing-next-info {
    padding-left: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.srp-now-playing-next-show-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.srp-now-playing-next-presenter {
    font-size: 13px;
    color: #6b7280;
    font-style: italic;
}

.srp-now-playing-next-time {
    font-size: 12px;
    color: #4f46e5;
    font-weight: 500;
}

/* Responsive - Reposition card for mobile */
@media (max-width: 768px) {
    .srp-now-playing-card {
        left: 10px;
        right: 10px;
        top: auto;
        bottom: 110px;
        width: auto;
        max-width: none;
        max-height: 55vh;
        overflow-y: auto;
        transform: translateY(0);
        border-radius: 10px;
    }
    
    .srp-now-playing-card.hidden {
        transform: translateY(calc(100% + 110px));
    }
    
    .srp-now-playing-thumbnail {
        height: 140px;
    }
    
    .srp-now-playing-header {
        padding: 16px 16px 12px 16px;
    }
    
    .srp-now-playing-content {
        padding: 16px;
    }
    
    .srp-now-playing-title {
        font-size: 1.8rem;
    }
    
    /* Playlist mode: taller player needs more bottom offset */
    .srp-now-playing-card[data-source-mode="playlist"] {
        bottom: 130px;
    }
    
    .srp-now-playing-card[data-source-mode="playlist"].hidden {
        transform: translateY(calc(100% + 130px));
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .srp-now-playing-card {
        transition: none;
    }
}

/* Loading state */
.srp-player.loading .srp-play-btn {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Error state */
.srp-player.error {
    background: linear-gradient(135deg, #F44336 0%, #D32F2F 100%);
}

.srp-player.error .srp-status {
    color: #FFCDD2;
}

/* Schedule Styles */
.srp-schedule-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
    overflow: hidden;
    margin: 24px 0;
}

/* Material Design 3 Tabs */
.srp-schedule-tabs {
    background: #fff;
}

/* Mobile dropdown select - hidden by default */
.srp-day-select {
    display: none;
}

.srp-tab-row {
    display: flex;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    width: 100%;
}

.srp-tab-row::-webkit-scrollbar {
    display: none;
}

.srp-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 16px;
    border: none;
    background: #ffffff;
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.1px;
    cursor: pointer;
    transition: color 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
    white-space: nowrap;
    flex: 1;
    flex-basis: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.srp-tab:hover {
    color: rgba(0, 0, 0, 0.87);
    background-color: rgba(0, 0, 0, 0.04);
}

.srp-tab:focus-visible {
    outline: 2px solid rgba(0, 0, 0, 0.6);
    outline-offset: -2px;
}

.srp-tab.active {
    color: rgba(0, 0, 0, 0.87);
}

.srp-tab.active .srp-tab-indicator {
    opacity: 1;
    transform: scaleX(1);
}

.srp-tab-label {
    position: relative;
    z-index: 1;
}

/* Default: show full names, hide abbreviated */
.srp-tab-label-full {
    display: inline;
}

.srp-tab-label-abbr {
    display: none;
}

.srp-tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px 3px 0 0;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: opacity 200ms cubic-bezier(0.4, 0.0, 0.2, 1),
                transform 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

.srp-tabpanel {
    display: none;
}

.srp-tabpanel.active {
    display: block;
    animation: fadeIn 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.srp-no-shows {
    padding: 24px 16px;
    text-align: center;
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    font-style: italic;
}

.srp-schedule-day {
    background: #fff;
}

/* Grid view layout */
.srp-schedule-day-grid {
    background: #fff;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    padding: 16px;
}

.srp-schedule-day-grid .srp-schedule-item {
    border-bottom: none;
    border-radius: 8px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
    margin: 0;
}

.srp-schedule-day-grid .srp-schedule-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.srp-schedule-day-grid .srp-no-shows {
    grid-column: 1 / -1;
}

/* Responsive grid columns */
@media (min-width: 1200px) {
    .srp-schedule-day-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .srp-schedule-day-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 899px) {
    .srp-schedule-day-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .srp-schedule-day-grid {
        grid-template-columns: 1fr;
        padding: 12px;
        gap: 12px;
    }
}

.srp-schedule-item {
    padding: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    transition: background-color 200ms cubic-bezier(0.4, 0.0, 0.2, 1), background-image 300ms cubic-bezier(0.4, 0.0, 0.2, 1), box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.srp-schedule-item:last-child {
    border-bottom: none;
}

.srp-schedule-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 300ms cubic-bezier(0.4, 0.0, 0.2, 1), width 300ms cubic-bezier(0.4, 0.0, 0.2, 1), height 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
    pointer-events: none;
}

.srp-schedule-item:hover {
    background-color: #f8fafc;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
}

.srp-schedule-item:active::before {
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 150ms cubic-bezier(0.4, 0.0, 0.6, 1), width 150ms cubic-bezier(0.4, 0.0, 0.6, 1), height 150ms cubic-bezier(0.4, 0.0, 0.6, 1);
}

/* Show background image on hover - only if image is available */
.srp-schedule-item.srp-has-image:hover {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), var(--show-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.srp-schedule-item.srp-has-image:hover .srp-show-time,
.srp-schedule-item.srp-has-image:hover .srp-show-title,
.srp-schedule-item.srp-has-image:hover .srp-show-presenter {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.srp-show-time {
    font-size: 14px;
    font-weight: 600;
    color: #4f46e5;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.srp-show-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 3px;
    line-height: 1.3;
}

.srp-show-presenter {
    font-size: 13px;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .srp-show-description {
        font-size: 13px;
        color: #4b5563;
        line-height: 1.4;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid rgba(0, 0, 0, 0.12);
    }

/* Show type indicators */
.srp-schedule-item.music {
    border-left: 5px solid #10b981;
}

.srp-schedule-item.music::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
}

.srp-schedule-item.talk {
    border-left: 5px solid #f59e0b;
}

.srp-schedule-item.talk::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
}

.srp-schedule-item.news {
    border-left: 5px solid #ef4444;
}

.srp-schedule-item.news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
}

.srp-schedule-item.sports {
    border-left: 5px solid #8b5cf6;
}

.srp-schedule-item.sports::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 100%);
}

.srp-schedule-item.other {
    border-left: 5px solid #6b7280;
}

.srp-schedule-item.other::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #6b7280 0%, #4b5563 100%);
}

/* Schedule legend */
.srp-schedule-legend {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 16px 24px;
    background: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    flex-wrap: wrap;
}

.srp-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.srp-legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.srp-legend-color.music { background: #10b981; }
.srp-legend-color.talk { background: #f59e0b; }
.srp-legend-color.news { background: #ef4444; }
.srp-legend-color.sports { background: #8b5cf6; }
.srp-legend-color.other { background: #6b7280; }

/* Empty schedule state */
.srp-schedule-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
    font-style: italic;
}

.srp-schedule-empty::before {
    content: '📻';
    display: block;
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Presenter Profile Styles */
.srp-presenter-profile {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
    overflow: hidden;
    margin: 24px 0;
}

.srp-presenter-header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    padding: 24px;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 340px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    gap: 24px;
    position: relative;
}

.srp-presenter-photo {
    flex-shrink: 0;
    position: absolute;
    left: 15px;
    z-index: 10;
}

.srp-presenter-image {
    width: 300px;
    height: 300px;
    border-radius: 16px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(40px);
}

.srp-presenter-info {
    flex: 1;
}

.srp-presenter-name {
    font-size: 55px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: white;
}

.srp-presenter-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.srp-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

.srp-contact-link:hover {
    opacity: 0.8;
    color: white;
    text-decoration: none;
}

.srp-contact-icon {
    flex-shrink: 0;
    stroke: currentColor;
}

.srp-presenter-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.srp-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: white;
    text-decoration: none;
    transition: opacity 200ms cubic-bezier(0.4, 0.0, 0.2, 1), transform 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
    border: none;
}

.srp-social-link:hover {
    opacity: 0.8;
    transform: scale(1.1);
    color: white;
    text-decoration: none;
}

.srp-social-link svg {
    width: 100%;
    height: 100%;
}

.srp-presenter-bio {
    padding: 24px;
    padding-top: 60px;
    padding-left: 340px;
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
    background: white;
    position: relative;
}

.srp-presenter-shows {
    padding: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    background: #f9fafb;
}

.srp-presenter-shows h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
}

.srp-shows-list {
    display: grid;
    gap: 15px;
}

.srp-presenter-show-item {
    background: white;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #4f46e5;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
}

.srp-show-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.srp-show-schedule {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* Show type borders for presenter show items */
.srp-presenter-show-item.music {
    border-left-color: #10b981;
}

.srp-presenter-show-item.talk {
    border-left-color: #f59e0b;
}

.srp-presenter-show-item.news {
    border-left-color: #ef4444;
}

.srp-presenter-show-item.sports {
    border-left-color: #8b5cf6;
}

.srp-presenter-show-item.other {
    border-left-color: #6b7280;
}

/* Responsive Design for Schedule and Presenter */
@media (max-width: 768px) {
    .srp-schedule-day {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .srp-schedule-legend {
        gap: 12px;
        padding: 12px 15px;
    }
    
    .srp-legend-item {
        font-size: 11px;
    }
    
    .srp-presenter-header {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 16px;
        padding-bottom: 16px;
        padding-left: 16px;
        justify-items: center;
    }
    
    .srp-presenter-photo {
        position: relative;
        left: auto;
    }
    
    .srp-presenter-image {
        width: 150px;
        height: 150px;
        transform: none;
    }
    
    .srp-presenter-name {
        font-size: 47px;
    }
    
    .srp-presenter-bio,
    .srp-presenter-shows {
        padding: 16px;
        padding-top: 16px;
        padding-left: 16px;
        margin-top: 0;
    }
    
    .srp-schedule-item {
        padding: 12px 16px;
    }
    
    .srp-tab {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .srp-current-show {
        font-size: 9px;
    }
}

/* Mobile dropdown styles */
@media (max-width: 480px) {
    /* Hide tab row on mobile */
    .srp-tab-row {
        display: none;
    }
    
    /* Show dropdown on mobile */
    .srp-day-select {
        display: block;
        width: 100%;
        padding: 12px 16px;
        margin: 0;
        border: 1px solid rgba(0, 0, 0, 0.12);
        border-radius: 8px 8px 0 0;
        background: #fff;
        color: rgba(0, 0, 0, 0.87);
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
        cursor: pointer;
        outline: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 20px;
        padding-right: 44px;
        transition: border-color 200ms cubic-bezier(0.4, 0.0, 0.2, 1),
                    box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
    }
    
    .srp-day-select:hover {
        border-color: rgba(0, 0, 0, 0.3);
    }
    
    .srp-day-select:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
    }
}

/* Tablet - show abbreviated names when space is tight */
@media (max-width: 768px) and (min-width: 481px) {
    .srp-tab-label-full {
        display: none;
    }
    
    .srp-tab-label-abbr {
        display: inline;
    }
}

@media (max-width: 480px) {
    .srp-presenter-header {
        padding: 15px;
        padding-bottom: 15px;
        padding-left: 15px;
    }
    
    .srp-presenter-photo {
        position: relative;
        left: auto;
    }
    
    .srp-presenter-image {
        width: 120px;
        height: 120px;
        transform: none;
    }
    
    .srp-presenter-name {
        font-size: 39px;
    }
    
    .srp-presenter-bio,
    .srp-presenter-shows {
        padding: 15px;
        padding-top: 15px;
        padding-left: 15px;
        margin-top: 0;
    }
    
    .srp-social-link {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* All Presenters Grid Styles */
.srp-all-presenters-container {
    margin: 24px 0;
}

.srp-all-presenters-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.srp-all-presenters-grid[data-columns="1"] {
    grid-template-columns: 1fr;
}

.srp-all-presenters-grid[data-columns="2"] {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.srp-all-presenters-grid[data-columns="3"] {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.srp-all-presenters-grid[data-columns="4"] {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.srp-all-presenters-grid[data-columns="5"] {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.srp-presenter-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
    overflow: hidden;
    transition: box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.srp-presenter-card:hover {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2), 0px 4px 8px rgba(0, 0, 0, 0.19);
}

.srp-presenter-card-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 16px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.srp-presenter-card-photo {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.srp-presenter-card-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.srp-presenter-card:hover .srp-presenter-card-image {
    transform: scale(1.05);
}

.srp-no-photo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.srp-presenter-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.srp-presenter-card-name {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.srp-presenter-card-bio {
    padding: 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.srp-presenter-card-social {
    padding: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.srp-social-link-small {
    display: inline-block;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    background: #f8fafc;
    color: #4b5563;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1), background-color 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.srp-social-link-small::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 300ms cubic-bezier(0.4, 0.0, 0.2, 1), width 300ms cubic-bezier(0.4, 0.0, 0.2, 1), height 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
    pointer-events: none;
}

.srp-social-link-small:hover {
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
    text-decoration: none;
}

.srp-social-link-small:active::before {
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 150ms cubic-bezier(0.4, 0.0, 0.6, 1), width 150ms cubic-bezier(0.4, 0.0, 0.6, 1), height 150ms cubic-bezier(0.4, 0.0, 0.6, 1);
}

.srp-social-link-small.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.srp-social-link-small.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    color: white;
}

.srp-social-link-small.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #bc1888;
    color: white;
}

.srp-presenter-card-shows {
    padding: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.srp-presenter-card-shows h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.srp-presenter-card-shows-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.srp-presenter-card-show {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 3px solid #4f46e5;
}

.srp-presenter-card-show .srp-show-name {
    font-weight: 500;
    color: #1f2937;
    font-size: 13px;
}

.srp-presenter-card-show .srp-show-time {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}


.srp-presenter-card-link {
    display: inline-block;
    padding: 12px 24px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1), background-color 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
}

.srp-presenter-card-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 300ms cubic-bezier(0.4, 0.0, 0.2, 1), width 300ms cubic-bezier(0.4, 0.0, 0.2, 1), height 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
    pointer-events: none;
}

.srp-presenter-card-link:hover {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2), 0px 4px 8px rgba(0, 0, 0, 0.19);
    color: white;
    text-decoration: none;
}

.srp-presenter-card-link:active {
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 2px rgba(0, 0, 0, 0.24);
}

.srp-presenter-card-link:active::before {
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 150ms cubic-bezier(0.4, 0.0, 0.6, 1), width 150ms cubic-bezier(0.4, 0.0, 0.6, 1), height 150ms cubic-bezier(0.4, 0.0, 0.6, 1);
}

/* Redesigned presenter cards for all_presenters shortcode */
.srp-all-presenters-grid .srp-presenter-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    background-color: transparent;
    padding: 0;
}

.srp-all-presenters-grid .srp-presenter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    border-radius: 8px;
}

/* Fallback: if no background image, use gradient */
.srp-all-presenters-grid .srp-presenter-card:not([style*="background-image"]) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.srp-all-presenters-grid .srp-presenter-card:not([style*="background-image"])::before {
    display: none;
}

.srp-all-presenters-grid .srp-presenter-card-meta {
    background: transparent;
    padding: 20px 16px;
    position: relative;
    z-index: 2;
}

.srp-all-presenters-grid .srp-presenter-card-meta .srp-presenter-card-photo {
    display: none;
}

.srp-all-presenters-grid .srp-presenter-card-meta .srp-presenter-card-name {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.srp-all-presenters-grid .srp-presenter-card-link {
    position: relative;
    z-index: 2;
}

.srp-all-presenters-empty {
    text-align: center;
    padding: 40px 20px;
    background: #f8fafc;
    border-radius: 12px;
    color: #6b7280;
    font-style: italic;
}

.srp-all-presenters-empty::before {
    content: '🎙️';
    display: block;
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.srp-presenters-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding: 20px 0;
}

.srp-pagination-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 200ms cubic-bezier(0.4, 0.0, 0.2, 1), transform 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

.srp-pagination-link:hover {
    background: #5568d3;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.srp-pagination-link:active {
    transform: translateY(0);
}

.srp-pagination-info {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

/* Responsive Design for All Presenters */
@media (max-width: 768px) {
    .srp-all-presenters-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .srp-all-presenters-grid .srp-presenter-card {
        min-height: 250px;
    }
    
    .srp-all-presenters-grid .srp-presenter-card-meta {
        padding: 16px 12px;
    }
    
    .srp-all-presenters-grid .srp-presenter-card-meta .srp-presenter-card-name {
        font-size: 18px;
    }
    
    .srp-presenter-card-meta {
        padding: 16px 12px;
    }
    
    .srp-presenter-card-image,
    .srp-presenter-placeholder {
        width: 80px;
        height: 80px;
    }
    
    .srp-presenter-placeholder {
        font-size: 32px;
    }
    
    .srp-presenter-card-name {
        font-size: 18px;
    }
    
    .srp-presenter-card-bio,
    .srp-presenter-card-shows {
        padding: 16px;
    }
    
    .srp-presenter-card-social {
        padding: 12px 16px;
    }
    
    .srp-presenters-pagination {
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 30px;
        padding: 16px 0;
    }
    
    .srp-pagination-link {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .srp-pagination-info {
        width: 100%;
        text-align: center;
        order: -1;
    }
}

@media (max-width: 480px) {
    .srp-all-presenters-grid {
        gap: 16px;
    }
    
    .srp-all-presenters-grid .srp-presenter-card {
        min-height: 200px;
    }
    
    .srp-all-presenters-grid .srp-presenter-card-meta .srp-presenter-card-name {
        font-size: 16px;
    }
    
    .srp-all-presenters-grid .srp-presenter-card-meta {
        padding: 10px;
    }
    
    .srp-all-presenters-grid .srp-presenter-card-link {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .srp-presenter-card-show {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .srp-social-link-small {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        font-size: 14px;
    }
    
    .srp-presenters-pagination {
        gap: 8px;
        margin-top: 24px;
        padding: 12px 0;
    }
    
    .srp-pagination-link {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .srp-pagination-info {
        font-size: 12px;
    }
}

/* Calendar Schedule View Styles */
.srp-schedule-calendar-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
    overflow: hidden;
    margin: 24px 0;
    padding: 24px;
}

/* Calendar Grid */
.srp-calendar-view {
    width: 100%;
}

.srp-calendar-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

/* Calendar Day Cell */
.srp-calendar-day {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1), border-color 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 calc((100% - 90px) / 7); /* 7 columns with gaps */
    min-width: 120px;
    max-width: 180px;
}

.srp-calendar-day:hover,
.srp-calendar-day.hover {
    border-color: #667eea;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
}

.srp-calendar-day-name {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.srp-calendar-day-badge {
    background: #667eea;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

.srp-calendar-day-empty {
    color: #9ca3af;
    font-size: 13px;
    font-style: italic;
    padding: 8px;
}

/* Day View */
.srp-day-view {
    width: 100%;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.srp-day-view-header {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    padding-bottom: 16px;
}

.srp-back-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1), background-color 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.srp-back-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 300ms cubic-bezier(0.4, 0.0, 0.2, 1), width 300ms cubic-bezier(0.4, 0.0, 0.2, 1), height 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
    pointer-events: none;
}

.srp-back-btn:hover {
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
}

.srp-back-btn:active {
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 2px rgba(0, 0, 0, 0.24);
}

.srp-back-btn:active::before {
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 150ms cubic-bezier(0.4, 0.0, 0.6, 1), width 150ms cubic-bezier(0.4, 0.0, 0.6, 1), height 150ms cubic-bezier(0.4, 0.0, 0.6, 1);
}

.srp-day-view-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
}

.srp-day-view-empty {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
    font-size: 16px;
}

.srp-day-view-empty::before {
    content: '📅';
    display: block;
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Timeline Container */
.srp-timeline-container {
    position: relative;
    display: flex;
    gap: 16px;
    background: #f9fafb;
    border-radius: 8px;
    padding: 16px;
    overflow-x: auto;
}

/* Timeline Hours */
.srp-timeline-hours {
    flex-shrink: 0;
    width: 80px;
    position: relative;
}

.srp-timeline-hour {
    height: 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    position: relative;
}

.srp-timeline-hour:last-child {
    border-bottom: none;
}

.srp-hour-label {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    background: #f9fafb;
    padding: 2px 8px;
    border-radius: 4px;
}

.srp-timeline-hour:first-child .srp-hour-label {
    transform: translateY(0);
}

/* Timeline Shows */
.srp-timeline-shows {
    flex: 1;
    position: relative;
    min-height: 1440px; /* 24 hours * 60px */
    background: white;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.srp-timeline-show {
    position: absolute;
    left: 10px;
    right: 10px;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
    transition: box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
    overflow: hidden;
    border-left: 5px solid;
    background: white;
}

.srp-timeline-show:hover {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2), 0px 4px 8px rgba(0, 0, 0, 0.19);
    z-index: 10;
}

/* Show Type Colors */
.srp-timeline-show.music {
    border-left-color: #10b981;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.05) 0%, white 30%);
}

.srp-timeline-show.talk {
    border-left-color: #f59e0b;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.05) 0%, white 30%);
}

.srp-timeline-show.news {
    border-left-color: #ef4444;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.05) 0%, white 30%);
}

.srp-timeline-show.sports {
    border-left-color: #8b5cf6;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.05) 0%, white 30%);
}

.srp-timeline-show.other {
    border-left-color: #6b7280;
    background: linear-gradient(90deg, rgba(107, 114, 128, 0.05) 0%, white 30%);
}

.srp-timeline-show-time {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.srp-timeline-show-title {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
    line-height: 1.3;
}

.srp-timeline-show-presenter {
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 4px;
}

.srp-timeline-show-presenter::before {
    content: '🎙️';
    font-size: 10px;
}

/* Responsive Calendar Design */
@media (max-width: 1200px) {
    .srp-calendar-day {
        flex: 1 1 calc((100% - 75px) / 5); /* 5 columns */
        min-width: 140px;
    }
}

@media (max-width: 900px) {
    .srp-calendar-day {
        flex: 1 1 calc((100% - 45px) / 3); /* 3 columns */
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    .srp-calendar-grid {
        gap: 16px;
    }
    
    .srp-calendar-day {
        flex: 1 1 calc((100% - 24px) / 2); /* 2 columns */
        min-width: 160px;
        padding: 15px 10px;
        min-height: 100px;
    }
    
    .srp-calendar-day-name {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .srp-calendar-day-badge {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .srp-day-view-title {
        font-size: 24px;
    }
    
    .srp-timeline-container {
        padding: 16px;
        gap: 12px;
    }
    
    .srp-timeline-hours {
        width: 60px;
    }
    
    .srp-hour-label {
        font-size: 10px;
        padding: 2px 4px;
    }
    
    .srp-timeline-show {
        left: 5px;
        right: 5px;
        padding: 10px;
    }
    
    .srp-timeline-show-time {
        font-size: 10px;
    }
    
    .srp-timeline-show-title {
        font-size: 13px;
    }
    
    .srp-timeline-show-presenter {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .srp-schedule-calendar-container {
        padding: 16px;
    }
    
    .srp-calendar-grid {
        gap: 8px;
    }
    
    .srp-calendar-day {
        flex: 1 1 100%; /* Full width on mobile */
        min-width: 100%;
        max-width: 100%;
        padding: 12px;
        min-height: 80px;
    }
    
    .srp-calendar-day-name {
        font-size: 14px;
    }
    
    .srp-back-btn {
        padding: 10px 16px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
    
    .srp-day-view-title {
        font-size: 20px;
    }
    
    .srp-timeline-container {
        padding: 8px;
        gap: 8px;
    }
    
    .srp-timeline-hours {
        width: 50px;
    }
}

/* Show Detail View Styles */
.srp-show-detail-view {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
    overflow: hidden;
    animation: fadeIn 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

.srp-show-detail-header {
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.srp-show-detail-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.srp-show-detail-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.srp-show-detail-content {
    position: relative;
    z-index: 1;
    padding: 24px;
    color: #fff;
}

.srp-show-back-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1), background-color 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.srp-show-back-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 300ms cubic-bezier(0.4, 0.0, 0.2, 1), width 300ms cubic-bezier(0.4, 0.0, 0.2, 1), height 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
    pointer-events: none;
}

.srp-show-back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
}

.srp-show-back-btn:active::before {
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 150ms cubic-bezier(0.4, 0.0, 0.6, 1), width 150ms cubic-bezier(0.4, 0.0, 0.6, 1), height 150ms cubic-bezier(0.4, 0.0, 0.6, 1);
}

.srp-presenter-detail-view {
    display: flex;
    flex-direction: column;
}

.srp-presenter-back-btn {
    background: #667eea;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1), background-color 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
    margin-bottom: 16px;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    width: fit-content;
}

.srp-presenter-back-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 300ms cubic-bezier(0.4, 0.0, 0.2, 1), width 300ms cubic-bezier(0.4, 0.0, 0.2, 1), height 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
    pointer-events: none;
}

.srp-presenter-back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
}

.srp-presenter-back-btn:active::before {
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 150ms cubic-bezier(0.4, 0.0, 0.6, 1), width 150ms cubic-bezier(0.4, 0.0, 0.6, 1), height 150ms cubic-bezier(0.4, 0.0, 0.6, 1);
}

.srp-show-detail-title {
    margin: 0 0 20px 0;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.srp-show-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.srp-show-detail-time {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.srp-show-detail-presenter {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.srp-show-detail-description {
    padding: 24px;
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.srp-show-detail-description p {
    margin: 0 0 20px 0;
}

.srp-show-detail-description p:last-child {
    margin-bottom: 0;
}

/* Loading State */
.srp-show-loading {
    width: 100%;
    padding: 80px 20px;
    text-align: center;
    color: #6b7280;
    font-size: 16px;
}

.srp-loading-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid #e5e7eb;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.srp-presenter-loading {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
    margin: 24px 0;
}

.srp-show-loading p {
    margin: 0;
    font-weight: 500;
}

/* Responsive Show Detail View */
@media (max-width: 768px) {
    .srp-show-detail-header {
        min-height: 250px;
    }
    
    .srp-show-detail-content {
        padding: 16px;
    }
    
    .srp-show-detail-title {
        font-size: 28px;
    }
    
    .srp-show-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .srp-show-detail-time,
    .srp-show-detail-presenter {
        font-size: 16px;
    }
    
    .srp-show-detail-description {
        padding: 24px 16px;
        font-size: 15px;
    }
}

/* Body padding to account for fixed bar player */
body.srp-has-bar-player {
    padding-bottom: 80px; /* Matches bar player height */
}

@media (max-width: 768px) {
    body.srp-has-bar-player {
        padding-bottom: 70px; /* Slightly smaller on mobile */
    }
}