/* MSA Podcast Episode - Responsive Layout */
.msa-episode-single {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* ========================================
   Podcast Header (Show Branding)
   ======================================== */
.msa-podcast-header {
    margin: -30px -20px 20px -20px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #fff8f3 0%, #fef5ee 100%);
    border-bottom: 2px solid #ff993320;
    border-radius: 0 0 20px 20px;
}

.msa-podcast-header-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.msa-podcast-header-link:hover {
    opacity: 0.85;
}

.msa-podcast-header-cover {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(255, 153, 51, 0.2);
}

.msa-podcast-header-cover-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff9933 0%, #9933ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.msa-podcast-header-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.msa-podcast-header-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ff9933;
    font-weight: 700;
}

.msa-podcast-header-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

/* ========================================
   Episode Header (Badge, Date, Title)
   ======================================== */
.msa-episode-header {
    margin-bottom: 16px;
}

.msa-episode-meta-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.msa-episode-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    line-height: 1.25;
    color: #1a1a1a;
}

/* ========================================
   Episode Content Grid (Cover + Description)
   ======================================== */
.msa-episode-container .msa-episode-content-grid,
article .msa-episode-content-grid,
.msa-episode-content-grid {
    display: grid !important;
    grid-template-columns: 1fr 280px !important;
    gap: 40px !important;
    margin-bottom: 30px !important;
    align-items: start !important;
}

/* Description links, Cover rechts auf Desktop */
.msa-episode-description {
    order: 1;
    flex: 1;
    min-width: 0;
}

.msa-episode-container .msa-episode-cover-sidebar,
article .msa-episode-cover-sidebar,
.msa-episode-cover-sidebar {
    order: 2;
    position: sticky;
    top: 100px;
    width: 280px !important;
    max-width: 280px !important;
    flex-shrink: 0 !important;
}

.msa-episode-cover-sidebar .msa-episode-cover-image,
.msa-episode-cover-image {
    width: 280px !important;
    max-width: 280px !important;
    height: auto !important;
    aspect-ratio: 1 !important;
    border-radius: 16px !important;
    object-fit: cover !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15) !important;
}

/* Duration badge below cover */
.msa-episode-duration {
    margin-top: 16px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #555;
    background: #f5f5f5;
    padding: 10px 16px;
    border-radius: 10px;
}

/* Cover image styles are defined above with !important */

.msa-episode-cover-placeholder {
    width: 280px !important;
    max-width: 280px !important;
    aspect-ratio: 1;
    border-radius: 16px;
    background: linear-gradient(135deg, #ff9933 0%, #ff6600 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(255,255,255,0.8);
}

.msa-episode-duration {
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
    color: #666;
    background: #f5f5f5;
    padding: 8px 12px;
    border-radius: 8px;
}

.msa-episode-description {
    min-width: 0; /* Prevent overflow */
}

.msa-episode-shownotes-inline {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

.msa-episode-shownotes-inline p:first-child {
    margin-top: 0;
}

/* FAQ Section */
.msa-episode-faq-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f0f7ff;
    border-radius: 8px;
    border-left: 4px solid #0073aa;
}

.msa-episode-faq-section h3 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: #333;
}

.msa-faq-item {
    margin-bottom: 0.75rem;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}

.msa-faq-item summary {
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    color: #1e3a5f;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.msa-faq-item summary::-webkit-details-marker {
    display: none;
}

.msa-faq-arrow {
    color: #0073aa;
    transition: transform 0.2s ease;
}

.msa-faq-item[open] .msa-faq-arrow {
    transform: rotate(90deg);
}

.msa-faq-answer {
    padding: 0 1rem 1rem 2.5rem;
    color: #555;
    line-height: 1.6;
}

/* Responsive: Content Grid auf Mobile */
@media (max-width: 768px) {
    .msa-episode-container .msa-episode-content-grid,
    article .msa-episode-content-grid,
    .msa-episode-content-grid {
        display: block !important;
    }
    
    /* Reset order für Mobile - natürliche HTML-Reihenfolge (Cover oben) */
    .msa-episode-description {
        order: unset !important;
    }
    
    .msa-episode-container .msa-episode-cover-sidebar,
    article .msa-episode-cover-sidebar,
    .msa-episode-cover-sidebar {
        order: unset !important;
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 25px !important;
    }
    
    .msa-episode-cover-sidebar .msa-episode-cover-image,
    .msa-episode-cover-image {
        max-width: 220px !important;
        width: 220px !important;
    }
    
    .msa-episode-cover-placeholder {
        max-width: 220px !important;
        width: 220px !important;
        font-size: 60px !important;
    }
    
    .msa-episode-duration {
        max-width: 220px;
        width: 100%;
    }
    
    .msa-podcast-header {
        margin: -20px -15px 16px -15px;
        padding: 12px 16px;
        border-radius: 0 0 16px 16px;
    }
    
    .msa-podcast-header-link {
        gap: 12px;
    }
    
    .msa-podcast-header-cover {
        width: 50px;
        height: 50px;
    }
    
    .msa-podcast-header-title {
        font-size: 20px;
    }
    
    .msa-episode-title {
        font-size: 26px;
    }
}

/* ========================================
   LEGACY: Hero Section (kept for compatibility)
   ======================================== */
/* Hero Section mit Cover + Info */
.msa-episode-hero {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-bottom: 30px;
    align-items: start;
}

.msa-episode-cover-wrapper {
    position: sticky;
    top: 100px;
}

.msa-episode-cover {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #ff9933 0%, #ff6600 100%);
}

.msa-episode-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Meta Info */
.msa-episode-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.msa-episode-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.msa-episode-show-link {
    color: #ff9933;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.msa-episode-show-link:hover {
    text-decoration: underline;
}

.msa-episode-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f5f5f5;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.msa-episode-badge.premium {
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #333;
}

.msa-episode-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
    margin-left: 15px;
}

.msa-episode-date time {
    color: #444;
}

.msa-episode-meta-line .msa-episode-date {
    margin-left: 0;
}

.msa-episode-excerpt {
    font-size: 18px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Inline Shownotes im Hero-Bereich */
.msa-episode-shownotes-inline {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.msa-episode-shownotes-inline p {
    margin: 0 0 12px 0;
}

.msa-episode-shownotes-inline p:last-child {
    margin-bottom: 0;
}

.msa-episode-shownotes-inline a {
    color: #ff9933;
    text-decoration: none;
}

.msa-episode-shownotes-inline a:hover {
    text-decoration: underline;
}

.msa-episode-shownotes-inline ul,
.msa-episode-shownotes-inline ol {
    margin: 10px 0;
    padding-left: 25px;
}

.msa-episode-shownotes-inline li {
    margin-bottom: 6px;
}

.msa-episode-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #666;
    font-size: 14px;
}

.msa-episode-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Player Section */
.msa-episode-player-wrapper {
    background: linear-gradient(135deg, #fff8f0 0%, #fff0e0 100%);
    border: 1px solid rgba(255, 153, 51, 0.2);
    border-radius: 16px;
    padding: 20px 25px;
    margin: 25px 0;
}

/* Video Section */
.msa-episode-video-section {
    margin: 30px 0;
}

.msa-episode-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.msa-episode-video-container iframe,
.msa-episode-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Sections Grid (Chapters, Transcript, etc.) */
.msa-episode-sections-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

.msa-episode-section {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.msa-episode-section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid #ff9933;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Chapters */
.msa-chapter-hint {
    color: #666;
    font-size: 14px;
    margin: 0 0 15px 0;
    padding: 10px 14px;
    background: #fff8f0;
    border-radius: 8px;
    border-left: 3px solid #ff9933;
}

.msa-chapter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 88px; /* 3 Kapitel sichtbar: 3×28px + 2×2px gap */
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Scrollbar Styling */
.msa-chapter-list::-webkit-scrollbar {
    width: 6px;
}

.msa-chapter-list::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.msa-chapter-list::-webkit-scrollbar-thumb {
    background: #ff9933;
    border-radius: 3px;
}

.msa-chapter-list::-webkit-scrollbar-thumb:hover {
    background: #e58829;
}

.msa-chapter-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fafafa;
    border-left: 4px solid transparent;
}

.msa-chapter-item:hover {
    background: rgba(255, 153, 51, 0.12);
}

.msa-chapter-item:focus {
    outline: 2px solid #ff9933;
    outline-offset: 2px;
    background: rgba(255, 153, 51, 0.12);
}

.msa-chapter-item.active {
    background: rgba(128, 0, 200, 0.12);
    border-left: 4px solid #9933ff;
}

.msa-chapter-item.completed {
    background: rgba(255, 153, 51, 0.10);
    border-left: 4px solid #ff9933;
}

.msa-chapter-item.active .msa-chapter-time {
    color: #9933ff;
}

.msa-chapter-item.completed .msa-chapter-time {
    color: #ff9933;
}

.msa-chapter-time {
    font-family: "SF Mono", Monaco, "Courier New", monospace;
    color: #ff9933;
    font-weight: 700;
    font-size: 14px;
    min-width: 55px;
    margin-right: 15px;
}

.msa-chapter-title {
    flex: 1;
    font-weight: 500;
}

.msa-chapter-play-icon {
    opacity: 0;
    color: #9933ff;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
}

.msa-chapter-item:hover .msa-chapter-play-icon {
    opacity: 1;
}

/* Description */
.msa-episode-description {
    line-height: 1.8;
    font-size: 16px;
}

.msa-episode-description p {
    margin: 0 0 15px 0;
}

.msa-episode-description a {
    color: #ff9933;
}

/* Subscribe Section */
.msa-subscribe-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Offizielle Badge-Links */
.msa-badge-link {
    display: inline-block;
    transition: transform 0.2s, opacity 0.2s;
}

.msa-badge-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.msa-badge-link img,
.msa-badge-link svg {
    height: 40px;
    width: auto;
    display: block;
}

/* RSS Button - MSA Lila */
.msa-subscribe-row .msa-subscribe-btn-rss,
a.msa-subscribe-btn-rss {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 18px !important;
    background: linear-gradient(135deg, #9333EA 0%, #7C3AED 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #fff !important;
    transition: all 0.2s !important;
    height: 40px !important;
    box-sizing: border-box !important;
}

.msa-subscribe-row .msa-subscribe-btn-rss:hover,
a.msa-subscribe-btn-rss:hover {
    background: linear-gradient(135deg, #A855F7 0%, #8B5CF6 100%) !important;
    transform: translateY(-2px) !important;
    color: white !important;
}

.msa-subscribe-row .msa-subscribe-btn-rss svg,
a.msa-subscribe-btn-rss svg {
    width: 16px !important;
    height: 16px !important;
    fill: white !important;
}

/* Legacy Subscribe Buttons (falls noch verwendet) */
.msa-subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
}

.msa-subscribe-btn svg {
    flex-shrink: 0;
}

.msa-subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: white;
}

.msa-subscribe-btn.apple { background: linear-gradient(135deg, #9933ff, #6b00b3); }
.msa-subscribe-btn.spotify { background: #1DB954; }
.msa-subscribe-btn.youtube { background: #ff0000; }
.msa-subscribe-btn.rss { background: linear-gradient(135deg, #9333EA, #7C3AED); }

/* Share Buttons */
.msa-share-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.msa-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: white;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.msa-share-btn svg {
    flex-shrink: 0;
}

/* Desktop: nebeneinander */
@media (min-width: 769px) {
    .msa-share-row {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .msa-share-btn {
        width: auto;
    }
}

.msa-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: white;
}

.msa-share-btn.twitter { background: #000; }
.msa-share-btn.facebook { background: #1877f2; }
.msa-share-btn.whatsapp { background: #25d366; }
.msa-share-btn.copy { background: #666; }
.msa-share-btn.timestamp { background: #ff9933; }

/* Episode Navigation */
.msa-episode-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.msa-episode-nav-link {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 20px;
    background: #fafafa;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.msa-episode-nav-link:hover {
    background: #fff8f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,153,51,0.15);
}

.msa-episode-nav-link.next {
    text-align: right;
}

.msa-nav-label {
    font-size: 13px;
    color: #ff9933;
    font-weight: 600;
}

.msa-nav-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

/* FAQ Section */
.msa-faq-list details.msa-faq-item {
    border-bottom: 1px solid #eee;
    padding: 0;
}

.msa-faq-list details.msa-faq-item:last-child {
    border-bottom: none;
}

.msa-faq-list details.msa-faq-item summary.msa-faq-question {
    font-weight: 600;
    color: #1a1a1a;
    padding: 14px 30px 14px 0;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.msa-faq-list details.msa-faq-item summary.msa-faq-question::-webkit-details-marker {
    display: none;
}

.msa-faq-list details.msa-faq-item summary.msa-faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #ff9933;
    font-weight: 300;
    transition: transform 0.2s;
}

.msa-faq-list details[open].msa-faq-item summary.msa-faq-question::after {
    content: '−';
}

.msa-faq-list details.msa-faq-item .msa-faq-answer {
    color: #555;
    line-height: 1.6;
    padding: 0 0 14px 0;
}

/* Social CTA — "Diskutiere mit uns!" Banner */
.msa-social-cta-widget {
    padding: 1.5rem;
    background: linear-gradient(135deg, #ff9933 0%, #9933ff 100%);
    border-radius: 12px;
    color: #fff;
    margin: 1rem 0;
    text-align: center;
}

.msa-social-cta-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.msa-social-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.msa-social-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.msa-social-cta-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.msa-social-cta-btn.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.msa-social-cta-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #bc1888;
}

.msa-social-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.msa-social-cta-icon svg {
    width: 20px;
    height: 20px;
}

.msa-social-cta-text {
    font-size: 0.95rem;
}

.msa-social-cta-hint {
    margin-top: 1rem;
    font-size: 0.85rem;
    opacity: 0.85;
}

/* Responsive */
@media (max-width: 768px) {
    .msa-episode-hero {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .msa-episode-cover-wrapper {
        position: static;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .msa-episode-title {
        font-size: 24px;
    }
    
    .msa-episode-section {
        padding: 20px;
    }
    
    .msa-episode-nav {
        grid-template-columns: 1fr;
    }
    
    .msa-episode-nav-link.next {
        text-align: left;
    }
    
    .msa-share-row,
    .msa-subscribe-row {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Share Buttons auf Mobile: volle Breite, vertikal gestapelt */
    .msa-share-row {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: stretch !important;
    }
    
    .msa-share-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 16px !important;
        box-sizing: border-box !important;
    }
    
    .msa-episode-video-container {
        border-radius: 8px;
    }
    
    .msa-chapter-hint {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    /* Kapitel auf Mobile: alle anzeigen, keine Scrollbox */
    .msa-chapter-list {
        max-height: none !important;
        overflow: visible !important;
        gap: 4px !important;
    }
    
    .msa-chapter-item {
        padding: 12px 12px !important;
        border-left-width: 3px !important;
        min-height: 44px !important;
        box-sizing: border-box !important;
    }
    
    .msa-chapter-time {
        font-size: 13px !important;
        min-width: 45px !important;
        line-height: 1.4 !important;
    }
    
    .msa-chapter-title {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
    
    .msa-chapter-play-icon {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .msa-episode-single {
        padding: 0 15px 30px;
    }
    
    .msa-episode-cover-wrapper {
        max-width: 220px;
    }
    
    .msa-episode-title {
        font-size: 20px;
    }
    
    .msa-episode-excerpt {
        font-size: 15px;
    }
    
    .msa-episode-section {
        padding: 15px;
        margin-bottom: 15px;
        overflow: visible !important;
    }
    
    .msa-episode-section-title {
        font-size: 18px;
    }
    
    .msa-subscribe-btn {
        padding: 10px 14px;
        font-size: 13px;
        width: 100% !important;
    }
    
    /* Badge-Links auf Mobile */
    .msa-badge-link img,
    .msa-badge-link svg {
        height: 36px;
    }
    
    .msa-subscribe-btn-rss {
        height: 36px;
        padding: 8px 14px;
        font-size: 12px;
    }
    
    /* Share Buttons vertikal gestapelt mit voller Breite */
    .msa-share-row {
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .msa-share-btn {
        width: 100% !important;
        height: auto !important;
        font-size: 14px !important;
        padding: 12px 16px !important;
        white-space: nowrap !important;
    }
    
    /* Kapitel auf kleinen Screens: alle anzeigen */
    .msa-chapter-list {
        max-height: none !important;
        overflow: visible !important;
        gap: 4px !important;
    }
    
    .msa-chapter-item {
        padding: 10px 10px !important;
        min-height: 40px !important;
        box-sizing: border-box !important;
    }
    
    .msa-chapter-time {
        font-size: 12px !important;
        min-width: 42px !important;
        margin-right: 8px !important;
        line-height: 1.4 !important;
    }
    
    .msa-chapter-title {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
}

/* ========================================
   UX FEATURES - v1.9.0
   ======================================== */

/* Feature 1: Kapitel-Fortschrittsbalken */
.msa-chapter-item {
    position: relative;
    overflow: hidden;
}

.msa-chapter-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff9933, #ff6600);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 0 3px 3px 0;
}

.msa-chapter-item.active .msa-chapter-progress {
    background: linear-gradient(90deg, #9933ff, #b366ff);
}

.msa-chapter-item.completed .msa-chapter-progress {
    width: 100% !important;
    background: #ff9933;
}

.msa-chapter-item.completed .msa-chapter-time {
    color: #ff9933;
}

.msa-chapter-item.completed::after {
    content: '✓';
    position: absolute;
    right: 16px;
    color: #ff9933;
    font-weight: bold;
}

/* Feature 2: Sticky Mini-Player */
.msa-mini-player {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    transition: bottom 0.3s ease;
}

.msa-mini-player.visible {
    bottom: 0;
}

.msa-mini-player-cover {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.msa-mini-player-info {
    flex: 1;
    min-width: 0;
}

.msa-mini-player-title {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.msa-mini-player-chapter {
    font-size: 12px;
    color: #ff9933;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.msa-mini-player-time {
    font-family: "SF Mono", Monaco, monospace;
    font-size: 13px;
    color: #aaa;
    min-width: 100px;
    text-align: center;
}

.msa-mini-player-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.msa-mini-player-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.msa-mini-player-btn:hover {
    background: rgba(255,255,255,0.1);
}

.msa-mini-player-btn.play-pause {
    background: #ff9933;
    font-size: 0; /* Hide text content */
    position: relative;
}

/* Play Icon (CSS Triangle) */
.msa-mini-player-btn.play-pause::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent white;
    margin-left: 3px;
}

/* Pause Icon (zwei Balken) */
.msa-mini-player-btn.play-pause.is-playing::before {
    border: none;
    width: 12px;
    height: 14px;
    background: linear-gradient(to right, white 35%, transparent 35%, transparent 65%, white 65%);
    margin-left: 0;
}

.msa-mini-player-btn.play-pause:hover {
    background: #ff8000;
    transform: scale(1.05);
}

.msa-mini-player-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: #ff9933;
    width: 0%;
    transition: width 0.5s linear;
}

.msa-mini-player-close {
    position: absolute;
    top: -10px;
    right: 10px;
    background: #333;
    border: none;
    color: #aaa;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.msa-mini-player-close:hover {
    background: #444;
    color: white;
}

/* Feature 3: "Weiterschauen" Banner */
.msa-resume-banner {
    background: linear-gradient(135deg, #fff8f0 0%, #ffe8cc 100%);
    border: 2px solid #ff9933;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: none;
    align-items: center;
    gap: 15px;
    animation: slideDown 0.3s ease;
}

.msa-resume-banner.visible {
    display: flex;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.msa-resume-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.msa-resume-text {
    flex: 1;
}

.msa-resume-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 2px;
}

.msa-resume-subtitle {
    font-size: 14px;
    color: #666;
}

.msa-resume-btn {
    background: #ff9933;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}

.msa-resume-btn:hover {
    background: #ff8000;
    transform: scale(1.02);
}

.msa-resume-dismiss {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 8px;
    font-size: 18px;
}

.msa-resume-dismiss:hover {
    color: #666;
}

/* Feature 4: Share mit Timestamp */
.msa-share-timestamp {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.msa-share-timestamp-label {
    font-size: 13px;
    color: #666;
}

.msa-share-timestamp-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.msa-share-timestamp-toggle.active {
    background: #ff9933;
}

.msa-share-timestamp-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.msa-share-timestamp-toggle.active::after {
    transform: translateX(20px);
}

.msa-share-timestamp-time {
    font-family: "SF Mono", Monaco, monospace;
    font-size: 13px;
    color: #ff9933;
    font-weight: 600;
}

/* Feature 5: Geschwindigkeitswahl */
.msa-speed-control {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.msa-speed-label {
    font-size: 13px;
    color: #666;
    margin-right: 5px;
}

.msa-speed-btn {
    background: #f0f0f0;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.msa-speed-btn:hover {
    background: #e0e0e0;
}

.msa-speed-btn.active {
    background: #ff9933;
    color: white;
}

/* Feature 6: Keyboard Hints */
.msa-keyboard-hints {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: rgba(0,0,0,0.85);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 13px;
    z-index: 9998;
    animation: fadeIn 0.2s ease;
}

.msa-keyboard-hints.visible {
    display: block;
}

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

.msa-keyboard-hint-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.msa-keyboard-hint-row:last-child {
    margin-bottom: 0;
}

.msa-keyboard-key {
    background: #444;
    padding: 4px 10px;
    border-radius: 5px;
    font-family: "SF Mono", Monaco, monospace;
    min-width: 30px;
    text-align: center;
}

/* Transkript Sync Highlight */
.msa-transcript-segment.active {
    background: rgba(255, 153, 51, 0.2) !important;
    border-left: 3px solid #ff9933;
    padding-left: 10px;
    margin-left: -13px;
}

.msa-transcript-segment {
    transition: background 0.3s ease, border-left 0.3s ease;
    scroll-margin-top: 100px;
}

/* Responsive Mini-Player */
@media (max-width: 768px) {
    .msa-mini-player {
        padding: 10px 15px;
        gap: 10px;
    }
    
    .msa-mini-player-cover {
        width: 40px;
        height: 40px;
    }
    
    .msa-mini-player-title {
        font-size: 13px;
    }
    
    .msa-mini-player-time {
        display: none;
    }
    
    .msa-mini-player-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .msa-resume-banner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .msa-keyboard-hints {
        display: none !important;
    }
}
