.episode-title a { color:inherit; text-decoration:none }
.episode-title a:is(:hover,:focus-visible) { text-decoration:underline }
.mal-episode-sharing { min-width:0; max-width:100%; color:#183f2c }
.mal-episode-sharing summary,.mal-episode-sharing > div > :is(a,button) {
    display:inline-flex; align-items:center; justify-content:center; gap:.4em;
    min-height:44px; padding:.4em .9em; border:1px solid #a2bbaa; border-radius:22px;
    background:#fff; color:#15432c; font:600 .9rem/1.3 system-ui,sans-serif;
    cursor:pointer; text-decoration:none;
}
.mal-episode-sharing summary { list-style:none }
.mal-episode-sharing summary::-webkit-details-marker { display:none }
.mal-episode-sharing svg { width:1em; height:1em; fill:none; stroke:currentColor; stroke-width:2; stroke-linejoin:round; stroke-linecap:round }
.mal-episode-sharing > div { display:flex; flex-wrap:wrap; align-items:center; gap:6px; padding-top:8px }
.mal-episode-sharing :is(summary,a,button):hover { background:#edf5ed }
.mal-episode-sharing :focus-visible,.mal-listen-page :focus-visible { outline:3px solid #256c43; outline-offset:2px }
.mal-episode-sharing input { max-width:100%; width:24rem }
.mal-episode-sharing [role=status]:empty { display:none }
.episode-actions:has(.mal-episode-sharing) { flex-wrap:wrap }

/* A jacket is independent of the height of its episode's title or notes. */
.native-channel .episodes-list .episode-item {
    border: 0; border-bottom: 1px solid #cdd9d0; border-radius: 0;
    background: transparent; margin: 0; box-shadow: none; overflow: visible;
}
.mal-editorial .native-channel .episodes-list .episode-inner {
    display: grid; grid-template-columns: 88px minmax(0,1fr); align-items: start;
    gap: clamp(16px,2vw,28px); padding: 24px clamp(12px,2vw,22px);
}
.mal-editorial .native-channel .episodes-list .episode-thumbnail,
.mal-listen-page .mal-listen-frame {
    display: grid; place-items: center; position: relative; align-self: start;
    box-sizing: border-box; width: 100%; height: auto; min-height: 0; aspect-ratio: 1;
    padding: 0; overflow: hidden; border-radius: 10px; background: #e2ebe0;
    box-shadow: 0 0 0 1px rgb(25 55 39 / 10%);
}
.native-channel .episodes-list .episode-thumbnail img,
.mal-listen-page .mal-listen-frame img {
    position: absolute; inset: 0; display: block; width: 100%; height: 100%;
    min-width: 0; min-height: 0; max-height: 100%; max-width: 100%; object-fit: contain; transform: none; filter: none;
}
.native-channel .episodes-list .episode-thumbnail:has(img)::before,
.native-channel .episodes-list .episode-thumbnail::after { display:none }
.native-channel .episodes-list .episode-thumbnail .episode-play-button-overlay { display: none }
.native-channel .episodes-list .episode-thumbnail:not(:has(img))::before,
.mal-listen-frame:not(:has(img))::before {
    content: ''; position: static; display: block; width: 46%; height: 40%; background: #44634d;
    clip-path: polygon(0 35%,10% 35%,10% 65%,0 65%,0 35%,22% 35%,22% 15%,32% 15%,32% 85%,22% 85%,22% 35%,44% 35%,44% 0,55% 0,55% 100%,44% 100%,44% 35%,68% 35%,68% 20%,78% 20%,78% 80%,68% 80%,68% 35%,90% 35%,100% 35%,100% 65%,90% 65%,90% 35%);
}
.mal-editorial .native-channel .episodes-list .episode-content {
    display:flex; flex-flow:column; align-items:flex-start; gap:9px; min-width:0; padding:0;
}
.native-channel .episodes-list .episode-meta { order:-1; gap:12px; color:#486052; margin:0; font-size:.84rem }
.mal-editorial .native-channel .episodes-list .episode-title {
    margin:0; font-size:clamp(1.12rem,1.65vw,1.48rem); line-height:1.25;
    letter-spacing:-.02em; overflow-wrap:anywhere; text-wrap:pretty;
}
.native-channel .episodes-list .episode-actions { margin:2px 0 0; align-items:flex-start; gap:8px }
.native-channel .episodes-list .episode-notes { margin:0; padding:0; border:0; width:100% }
.native-channel .episodes-list .episode-notes summary { display:list-item; width:fit-content; cursor:pointer; color:#365547; padding:5px 0; font-size:.92rem }
.native-channel .episode-notes[open] .episode-description { max-height:none; height:auto; overflow-wrap:anywhere }
.native-channel .podcast-info-card .podcast-logo img { object-fit:contain }
.mal-listen-page { max-width:1050px; box-sizing:border-box; margin:0 auto; padding:clamp(24px,4vw,54px) clamp(16px,3vw,36px); color:#173c2b; overflow-wrap:anywhere }
.mal-listen-page nav { font-size:.9rem; margin-bottom:1.2rem; color:#53695b }
.mal-listen-page nav a,.mal-listen-page > a,.mal-listen-notes a { color:#14633e; text-underline-offset:.18em }
.mal-listen-page .mal-listen-feature {
    display:grid; grid-template-columns:clamp(120px,17vw,192px) minmax(0,1fr);
    align-items:center; gap:clamp(20px,3vw,36px); padding:clamp(20px,4vw,44px);
    background:#14392c; color:#fff; border-radius:18px; border-top:4px solid #95b95b;
}
.mal-listen-page .mal-listen-frame { align-self:center; background:#dce7d9; border-radius:8px }
.mal-listen-feature .mal-listen-series { color:#d0e7a7; font-weight:700; text-decoration:underline; text-underline-offset:.22em }
.mal-listen-feature h1 { color:white; font-size:clamp(1.65rem,3.3vw,2.9rem); letter-spacing:-.035em; line-height:1.09; margin:.35em 0; text-wrap:pretty }
.mal-listen-feature .mal-listen-meta { color:#dce8df; margin:0; font-size:.95rem }
.mal-listen-controls { grid-column:1/-1; display:flex; align-items:flex-start; flex-wrap:wrap; gap:14px; padding-top:20px; border-top:1px solid #527160 }
.mal-listen-controls audio { flex:1 1 15rem; min-width:0; width:100%; height:48px; margin:0 }
.mal-listen-controls .mal-episode-sharing [role=status] { color:white }
.mal-listen-controls :focus-visible { outline:3px solid #c2e6a2; outline-offset:3px }
.mal-listen-page .mal-listen-notes { max-width:70ch; margin:clamp(28px,4vw,50px) 0 24px; font-size:1.06rem; line-height:1.7 }
.mal-listen-notes h2 { font-size:1.6rem; margin:0 0 .6em; color:#163d2b }
.mal-listen-notes img { max-width:100%; height:auto }
.mal-listen-page > a { display:inline-block; margin-top:1.25rem; font-weight:700 }
@media(max-width:600px) {
    .mal-editorial .native-channel .episodes-list .episode-inner { grid-template-columns:64px minmax(0,1fr); gap:12px; padding:18px 12px }
    .mal-editorial .native-channel .episodes-list .episode-content { display:contents }
    .native-channel .episodes-list .episode-thumbnail { grid-column:1; grid-row:1/3 }
    .native-channel .episodes-list .episode-meta,.native-channel .episodes-list .episode-title { grid-column:2 }
    .native-channel .episodes-list .episode-meta { grid-row:1; flex-wrap:wrap; gap:6px }
    .native-channel .episodes-list .episode-title { grid-row:2 }
    .native-channel .episodes-list .episode-actions,.native-channel .episodes-list .episode-notes { grid-column:1/-1 }
    .mal-listen-page .mal-listen-feature { grid-template-columns:64px minmax(0,1fr); gap:14px }
    .mal-listen-feature .mal-listen-heading { display:contents }
    .mal-listen-feature .mal-listen-series { grid-row:1; grid-column:2; align-self:center }
    .mal-listen-feature h1,.mal-listen-feature .mal-listen-meta { grid-column:1/-1; margin:0 }
    .mal-listen-controls audio { flex-basis:100% }
}
