.floating-podcast-widget {
    position: fixed;
    z-index: 1290;
    top: auto;
    right: 82px;
    bottom: 32px;
    width: max-content;
    max-width: calc(100vw - 16px);
    color: #153c3f;
    font-family: Inter, Arial, sans-serif;
    transform: none;
}

.floating-podcast-launcher {
    display: flex;
    align-items: center;
    width: min(306px, calc(100vw - 20px));
    min-height: 62px;
    overflow: hidden;
    border: 1px solid #dce9e6;
    border-radius: 999px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 34px rgba(16, 50, 52, .16);
    backdrop-filter: blur(10px);
    transition: box-shadow .18s ease, transform .18s ease;
}

.floating-podcast-launcher:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(16, 50, 52, .2);
}

.floating-podcast-launcher-drag,
.floating-podcast-launcher-main {
    border: 0;
    appearance: none;
    font: inherit;
    cursor: pointer;
}

.floating-podcast-launcher-drag {
    display: grid;
    flex: 0 0 30px;
    align-self: stretch;
    place-items: center;
    padding: 0;
    color: #9aadaa;
    background: transparent;
    cursor: grab;
    touch-action: none;
}

.floating-podcast-launcher-drag:active {
    cursor: grabbing;
}

.floating-podcast-launcher-drag svg {
    width: 13px;
    height: 20px;
    fill: currentColor;
}

.floating-podcast-launcher-main {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 9px 15px 9px 4px;
    color: #173f42;
    text-align: left;
    background: transparent;
}

.floating-podcast-launcher-title {
    display: grid;
    flex: 1;
    gap: 3px;
    min-width: 0;
}

.floating-podcast-launcher-title small {
    color: #7d9290;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .1em;
    line-height: 1.1;
    text-transform: uppercase;
}

.floating-podcast-launcher-title strong {
    overflow: hidden;
    color: #183f42;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.floating-podcast-launcher-chevron {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #16817e;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.floating-podcast-widget[data-open="true"] .floating-podcast-launcher {
    display: none;
}

.floating-podcast-widget button:focus-visible {
    outline: 3px solid rgba(20, 147, 143, .48);
    outline-offset: -3px;
}

.floating-podcast-widget .floating-podcast-launcher-main:focus-visible {
    border-radius: 999px;
}

.floating-podcast-launcher .floating-podcast-panel-icon {
    width: 42px;
    height: 42px;
}

.floating-podcast-launcher .floating-podcast-panel-icon svg {
    width: 21px;
    height: 21px;
}

.floating-podcast-widget[data-open="true"] .floating-podcast-panel {
    display: block;
}

.floating-podcast-player {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    background: #082c2e;
    box-shadow: inset 0 0 0 1px rgba(10, 50, 52, .12);
}

.floating-podcast-player iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #082c2e;
}

.floating-podcast-now-playing {
    display: grid;
    gap: 5px;
    margin: 10px 1px 14px;
}

.floating-podcast-now-playing small {
    color: #13827f;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.floating-podcast-now-playing strong {
    color: #173f42;
    font-size: 14px;
    line-height: 1.35;
}

.floating-podcast-now-playing a {
    width: max-content;
    color: #0e7779;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.floating-podcast-now-playing a:hover {
    text-decoration: underline;
}

.floating-podcast-list-label {
    margin: 0 0 7px;
    color: #849794;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.floating-podcast-episode {
    width: 100%;
    appearance: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.floating-podcast-episode[aria-pressed="true"] {
    border-color: #91c9c1;
    background: #f2faf8;
}

.floating-podcast-episode[aria-pressed="true"] .floating-podcast-episode-copy > span {
    color: #087b7d;
}

.floating-contact-link.floating-podcast-dock-link svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.floating-contact-link.floating-podcast-dock-link:hover {
    border-color: #078b89;
    color: #fff;
    background: #078b89;
}

.floating-podcast-drag,
.floating-podcast-minimize {
    border: 0;
    font: inherit;
    cursor: pointer;
}

.floating-podcast-drag {
    display: grid;
    width: 30px;
    min-width: 30px;
    height: 48px;
    place-items: center;
    padding: 0;
    color: #8ba7a3;
    background: transparent;
    cursor: grab;
    touch-action: none;
}

.floating-podcast-drag:active {
    cursor: grabbing;
}

.floating-podcast-drag svg {
    width: 15px;
    height: 21px;
    fill: currentColor;
}

.floating-podcast-panel-icon {
    display: grid;
    flex: 0 0 auto;
    width: 37px;
    height: 37px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(140deg, #138b88, #0d656a);
}

.floating-podcast-panel-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.floating-podcast-panel-title small {
    color: #6e8886;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.floating-podcast-panel[hidden] {
    display: none !important;
}

.floating-podcast-panel {
    width: min(340px, calc(100vw - 20px));
    max-height: calc(100vh - 16px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #d7e7e3;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 22px 64px rgba(16, 50, 52, .24);
    animation: floatingPodcastIn .2s ease-out both;
}

.floating-podcast-panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 65px;
    padding: 9px 12px 9px 5px;
    background: linear-gradient(115deg, #f0f8f6 0%, #fff 100%);
    border-bottom: 1px solid #e5efec;
}

.floating-podcast-panel-head .floating-podcast-drag {
    height: 44px;
}

.floating-podcast-panel-icon {
    width: 37px;
    height: 37px;
}

.floating-podcast-panel-title {
    display: grid;
    flex: 1;
    gap: 3px;
}

.floating-podcast-panel-title strong {
    color: #153c3f;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.15;
}

.floating-podcast-minimize {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #dce9e6;
    border-radius: 50%;
    color: #1a686b;
    background: #fff;
}

.floating-podcast-minimize:hover {
    border-color: #138b88;
    background: #eff8f6;
}

.floating-podcast-minimize svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
}

.floating-podcast-panel-body {
    padding: 14px 15px 13px;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.floating-podcast-intro {
    margin: 0 0 11px;
    color: #657b79;
    font-size: 12px;
    line-height: 1.5;
}

.floating-podcast-episodes {
    display: grid;
    gap: 8px;
    max-height: min(300px, 42vh);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.floating-podcast-episode {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    min-height: 76px;
    padding: 8px;
    border: 1px solid #e3ece9;
    border-radius: 13px;
    color: inherit;
    text-decoration: none;
    background: #fff;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.floating-podcast-episode:hover {
    transform: translateY(-1px);
    border-color: #a9d2cb;
    background: #f8fcfb;
}

.floating-podcast-thumb {
    position: relative;
    display: block;
    width: 92px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: #163f42;
}

.floating-podcast-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.floating-podcast-thumb-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(0deg, rgba(5, 30, 32, .25), transparent);
}

.floating-podcast-thumb-play svg {
    width: 29px;
    height: 22px;
    padding: 3px 5px;
    border-radius: 6px;
    fill: currentColor;
    background: #e62117;
}

.floating-podcast-episode-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.floating-podcast-episode-copy small {
    color: #16817e;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.floating-podcast-episode-copy strong {
    display: -webkit-box;
    overflow: hidden;
    color: #193f42;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.floating-podcast-episode-copy > span {
    color: #6b8280;
    font-size: 10px;
    font-weight: 600;
}

.floating-podcast-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 11px;
    padding: 10px 12px;
    border: 1px solid #c6e0da;
    border-radius: 10px;
    color: #0d7375;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    background: #f1f8f6;
}

.floating-podcast-all:hover {
    border-color: #0e8d8d;
    color: #fff;
    background: #0e8081;
}

.floating-podcast-panel-foot {
    display: flex;
    justify-content: space-between;
    padding: 9px 15px;
    border-top: 1px solid #e8efed;
    color: #849794;
    font-size: 10px;
}

.floating-podcast-panel-foot span:last-child {
    color: #17a3a0;
    font-size: 8px;
}

.floating-podcast-widget button:focus-visible,
.floating-podcast-widget a:focus-visible {
    outline: 3px solid rgba(20, 147, 143, .48);
    outline-offset: 3px;
}

.floating-podcast-widget.is-dragging {
    user-select: none;
}

.floating-podcast-widget.is-dragging .floating-podcast-drag {
    cursor: grabbing;
}

@keyframes floatingPodcastIn {
    from { opacity: 0; transform: translateY(7px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 760px) {
    .floating-podcast-panel {
        width: min(340px, calc(100vw - 84px));
    }
}

@media (max-width: 600px) {
    .floating-podcast-widget {
        top: auto;
        right: 64px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        transform: none;
    }
    .floating-podcast-launcher {
        width: min(306px, calc(100vw - 84px));
    }
}

@media (max-width: 420px) {
    .floating-podcast-episode {
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 9px;
    }

    .floating-podcast-thumb {
        width: 80px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-podcast-panel,
    .floating-podcast-episode {
        animation: none;
        transition: none;
    }
}
