:root {
    --primary-500: #ff8a00;
    --primary-600: #ea580c;
    --primary-700: #c2410c;
    --primary-800: #9a3412;
    --content-100: #f4f4f5;
    --content-200: #e4e4e7;
    --content-300: #d4d4d8;
    --content-400: #a1a1aa;
    --content-500: #71717a;
    --content-600: #52525b;
    --content-700: #3f3f46;
    --content-800: #27272a;
    --content-900: #18181b;
    --content-950: #09090b;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    font-family: var(--font-sans);
    width: 100%;
    height: 100%;
    max-height: 180px;
    min-height: 140px;
}

.podcast-player {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 16px 18px;
    gap: 20px;
    -webkit-box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: color-mix(in oklab, var(--content-900) 45%, transparent);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

.podcast-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(var(--primary-600)), to(transparent));
    background: -o-linear-gradient(left, transparent, var(--primary-600), transparent);
    background: linear-gradient(90deg, transparent, var(--primary-600), transparent);
    -webkit-animation: wave 3s infinite;
    animation: wave 3s infinite;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.podcast-player-wrapper {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.podcast-player.playing::before {
    opacity: 1;
}

.host-img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    position: relative;
    -webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.host-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    pointer-events: none;
}

.host-img svg {
    color: rgba(255, 255, 255, 0.45);
}

.player-content {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.podcast-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 4px;
}

.podcast-info a {
    max-width: 90%;
    display: inline-block;
    color: var(--content-100);
    text-decoration: none;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.truncate {
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.podcast-info a:hover,
.podcast-title p a:hover {
    color: var(--content-200);
    text-decoration: underline;
}

.podcast-title h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--content-100);
    margin-bottom: 2px;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.podcast-title p {
    font-size: 14px;
    color: var(--content-300);
    margin: 0;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.podcast-title p span {
    color: var(--content-400);
    font-weight: 500;
}

.podcast-title p a {
    color: var(--content-300);
}

.podcast-controls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
}

.progress-container {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
}

#progress-bar {
    padding: 8px 0px;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
}

.podcast-progress-bar {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    width: 100%;
    height: 3px;
    background: var(--content-700);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    -webkit-transition: height 0.2s ease;
    -o-transition: height 0.2s ease;
    transition: height 0.2s ease;
    border: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.podcast-scheduled-time {
    color: var(--content-200);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 16px;
}

.podcast-scheduled-time p {
    font-size: 14px;
    color: var(--content-400);
    margin: 0;
    font-weight: 500;
}

.podcast-scheduled-time .countdown-timer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
}

.podcast-scheduled-time .countdown-timer .countdown-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    gap: 2px;
}

.podcast-scheduled-time .countdown-timer .countdown-item .countdown-value {
    background: var(--primary-600);
    padding: 5px 8px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    color: var(--content-100);
}

.podcast-scheduled-time .countdown-timer .countdown-item .countdown-label {
    font-size: 12px;
    color: var(--content-400);
}

.podcast-progress-bar::-webkit-progress-bar {
    background: var(--content-700);
    border-radius: 2px;
}

.podcast-progress-bar::-webkit-progress-value {
    background: -webkit-gradient(linear, left top, right top, from(var(--primary-600)), to(var(--primary-700)));
    background: linear-gradient(90deg, var(--primary-600), var(--primary-700));
    border-radius: 2px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.podcast-progress-bar::-moz-progress-bar {
    background: linear-gradient(90deg, var(--primary-600), var(--primary-700));
    border-radius: 2px;
}

#progress-bar:hover .podcast-progress-bar {
    height: 5px;
}

.podcast-playing-status,
.podcast-live-status {
    font-size: 12px;
    color: var(--content-400);
    font-weight: 500;
    white-space: nowrap;
    min-width: 45px;
    text-align: center;
}

.podcast-live-status {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    height: 100%;
    padding: 2px 6px;
    background: var(--primary-700);
    border-radius: 2px;
    color: var(--content-200);
}

.podcast-live-status .live-indicator {
    width: 5px;
    height: 5px;
    background: var(--content-100);
    display: block;
    border-radius: 50%;
    margin-top: 1px;
    -webkit-animation: pulse 1.5s infinite;
    animation: pulse 1.5s infinite;
}

.control-buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
}

.control-btn {
    background: none;
    border: none;
    color: var(--content-100);
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.control-btn svg {
    width: 100%;
    height: 100%;
}

.powered-by {
    position: absolute;
    top: 14px;
    right: 14px;
}

.powered-by img {
    width: 26px;
    height: 26px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -o-object-fit: contain;
    object-fit: contain;
    opacity: 0.85;
}

.powered-by:hover img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    opacity: 1;
}

#jumping-lines {
    width: 100%;
    max-width: 100px;
    height: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: end;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 4px;
    margin-top: 8px;
}

#jumping-lines .line {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    background: -webkit-gradient(linear, left bottom, left top, from(var(--primary-600)), to(var(--primary-700)));
    background: -o-linear-gradient(bottom, var(--primary-600), var(--primary-700));
    background: linear-gradient(to top, var(--primary-600), var(--primary-700));
    border-radius: 0.5px;
    height: var(--random-height-1, 3px);
    -webkit-transition: height 0.1s ease;
    -o-transition: height 0.1s ease;
    transition: height 0.1s ease;
    opacity: 0.25;
}

.podcast-player.playing #jumping-lines .line {
    opacity: 0.65;
}

.podcast-player.playing #jumping-lines .line {
    -webkit-animation: jump 0.6s ease-in-out infinite;
    animation: jump 0.6s ease-in-out infinite;
}

#jumping-lines .line:nth-child(1) {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

#jumping-lines .line:nth-child(2) {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

#jumping-lines .line:nth-child(3) {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

#jumping-lines .line:nth-child(4) {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

#jumping-lines .line:nth-child(5) {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

#jumping-lines .line:nth-child(6) {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

#jumping-lines .line:nth-child(7) {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

#jumping-lines .line:nth-child(8) {
    -webkit-animation-delay: 0.7s;
    animation-delay: 0.7s;
}

#jumping-lines .line:nth-child(9) {
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

#jumping-lines .line:nth-child(10) {
    -webkit-animation-delay: 0.9s;
    animation-delay: 0.9s;
}

#jumping-lines .line:nth-child(11) {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

#jumping-lines .line:nth-child(12) {
    -webkit-animation-delay: 1.1s;
    animation-delay: 1.1s;
}

.podcast-audio-modal {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    background-color: color-mix(in oklab, var(--content-900) 95%, transparent);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: 99;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: var(--content-400);
    font-weight: 500;
    font-size: 13px;
}

.spinner {
    width: 20px;
    height: 20px;
    -webkit-animation: spin 0.65s linear infinite;
    animation: spin 0.65s linear infinite;
    color: var(--content-600);
    fill: var(--content-100);
}

.btn-white-sm {
    background-color: #ffffff;
    color: var(--content-800);
    border: none;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    -webkit-transition: background-color 0.2s ease;
    -o-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
}

.btn-white-sm:hover {
    background-color: var(--content-300);
}

.animate-fade-in {
    -webkit-animation: fade-in 0.3s ease-out;
    animation: fade-in 0.3s ease-out;
}

#player-spinner svg {
    width: 28px;
    height: 28px;
    margin: auto;
}

.podcast-playing-time-downloads {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 5px;
}

.podcast-download-link {
    color: var(--content-400);
    font-size: 12px;
    transition: color 0.2s ease;
}

.podcast-download-link:hover {
    color: var(--content-200);
}


@-webkit-keyframes jump {
    0% {
        height: var(--random-height-1, 3px);
    }

    25% {
        height: var(--random-height-2, 12px);
    }

    50% {
        height: var(--random-height-3, 7px);
    }

    75% {
        height: var(--random-height-4, 15px);
    }

    100% {
        height: var(--random-height-5, 5px);
    }
}


@keyframes jump {
    0% {
        height: var(--random-height-1, 3px);
    }

    25% {
        height: var(--random-height-2, 12px);
    }

    50% {
        height: var(--random-height-3, 7px);
    }

    75% {
        height: var(--random-height-4, 15px);
    }

    100% {
        height: var(--random-height-5, 5px);
    }
}

@-webkit-keyframes wave {
    0% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    100% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}

@keyframes wave {
    0% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    100% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}

@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }

    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }

    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes fade-in {
    from {
        opacity: 0;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@media (min-width: 571px) {
    .hidden_lg {
        display: none;
    }
}

@media (max-width: 570px) {
    .podcast-player {
        padding: 12px 14px;
        gap: 14px;
    }

    .host-img {
        width: 60px;
        height: 60px;
    }

    .control-btn {
        width: 28px;
        height: 28px;
    }

    .powered-by img {
        width: 20px;
        height: 20px;
    }

    .podcast-title h3 {
        font-size: 14px;
    }

    .podcast-title p {
        font-size: 12px;
    }

    #player-spinner svg {
        width: 20px;
        height: 20px;
    }

    .sm-d-none {
        display: none;
    }

    html,
    body {
        max-height: 140px;
        min-height: 120px;
    }

    .podcast-playing-time-downloads {
        margin-right: 2px;
    }

    .hidden_sm {
        display: none;
    }
}

@media (max-width: 400px) {
    .host-img {
        width: 50px;
        height: 50px;
    }

    .podcast-progress-bar {
        max-width: 125px;
    }
}