/* Zweck: Wiederverwendbare YouTube-Kanalkarte mit Home- und kompakter Unterseitenvariante | Schicht: Komponente */
.youtube-channel-card{max-width:100%;overflow:hidden;border:1px solid var(--amg-line);border-radius:16px;background:var(--amg-paper)}
.youtube-channel-card__head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:7px 14px;background:var(--amg-paper)}
.youtube-channel-card__prompt{color:var(--amg-ink);font-size:.76rem;font-weight:850;line-height:1.25}
.youtube-channel-card__subscribe{padding:5px 10px;border-radius:999px;background:#c70000;color:#fff!important;text-decoration:none}
.youtube-channel-card__stage{position:relative;aspect-ratio:16/9;overflow:hidden;background:#0e3737}
.youtube-channel-card__stage>.youtube-channel-card__thumbnail{display:block;width:100%;height:100%;object-fit:cover}
.youtube-channel-card__stage::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,25,26,.04),rgba(7,25,26,.22));pointer-events:none}
.youtube-channel-card__play{position:absolute;top:50%;left:50%;z-index:3;display:grid;place-items:center;width:58px;height:58px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 8px 24px rgba(0,0,0,.2);color:#c70000;font-size:1.25rem;transform:translate(-50%,-50%);cursor:pointer}
.youtube-channel-card__play:hover,.youtube-channel-card__play:focus-visible{outline:4px solid rgba(255,255,255,.56);transform:translate(-50%,-50%) scale(1.06)}
.youtube-channel-card__stage iframe{display:block;width:100%;height:100%;border:0}
.youtube-channel-card__copy{padding:12px 16px}
.youtube-channel-card__copy h2{margin:0;color:var(--amg-ink);font-size:.98rem;line-height:1.32}
.youtube-channel-card--with-audio-help{overflow:visible}
.youtube-audio-track-help{position:relative;margin:0 12px 12px;color:var(--amg-ink);font-size:.82rem;line-height:1.42}
.youtube-audio-track-help summary{display:inline-flex;align-items:center;min-height:36px;padding:7px 11px;border:1px solid var(--amg-line);border-radius:999px;background:var(--amg-paper);font-weight:800;cursor:pointer;list-style:none}
.youtube-audio-track-help summary::-webkit-details-marker{display:none}
.youtube-audio-track-help summary::after{content:"?";display:grid;place-items:center;width:18px;height:18px;margin-left:7px;border-radius:50%;background:var(--amg-mint-soft);font-size:.72rem;font-weight:900}
.youtube-audio-track-help summary:focus-visible{outline:3px solid var(--amg-teal);outline-offset:3px}
.youtube-audio-track-help__panel{position:absolute;right:0;top:calc(100% + 8px);z-index:12;display:none;width:min(320px,calc(100vw - 32px));padding:12px;border:1px solid var(--amg-line);border-radius:14px;background:var(--amg-paper);box-shadow:var(--amg-shadow)}
.youtube-audio-track-help[open]>.youtube-audio-track-help__panel{display:block}
.youtube-audio-track-help__panel p{margin:0 0 10px}
.youtube-audio-track-help__panel img{display:block;width:100%;height:auto;border:1px solid var(--amg-line);border-radius:10px}

.youtube-channel-card--home{position:relative;z-index:2;width:300px;box-shadow:0 22px 45px rgba(14,65,66,.15)}
.youtube-channel-card--compact{display:grid;grid-template-columns:minmax(0,1fr);width:100%;max-width:none}
.youtube-channel-card--single{align-self:start;min-width:0}
.planned-youtube-card{box-shadow:var(--amg-shadow);color:var(--amg-ink)}
.planned-youtube-card__stage{display:grid;place-items:center;background:linear-gradient(135deg,color-mix(in srgb,var(--amg-teal) 88%,#071b1c),color-mix(in srgb,var(--amg-teal) 64%,#fff));color:#fff}
.planned-youtube-card__play{display:grid;place-items:center;width:54px;height:54px;padding-left:4px;border:2px solid rgba(255,255,255,.9);border-radius:50%;background:rgba(255,255,255,.14);font-size:1.25rem}
.planned-youtube-card__state{position:absolute;right:.7rem;bottom:.65rem;padding:.28rem .5rem;border-radius:999px;background:rgba(5,23,24,.82);font-family:var(--book-sans);font-size:.66rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.planned-youtube-card__copy{display:flex;flex:1;flex-direction:column;padding:1rem}
.planned-youtube-card__eyebrow{margin:0 0 .45rem;color:#c4381d;font-family:var(--book-sans);font-size:.66rem;font-weight:850;letter-spacing:.08em;line-height:1.25;text-transform:uppercase}
.planned-youtube-card .planned-youtube-card__copy h2{margin:0;color:var(--amg-ink);font-family:var(--book-sans);font-size:1.05rem;line-height:1.25}
.planned-youtube-card__copy>p:not(.planned-youtube-card__eyebrow,.planned-youtube-card__window){margin:.6rem 0 0;font-size:.86rem;line-height:1.48}
.planned-youtube-card__window{margin:auto 0 0;padding-top:.8rem;color:var(--amg-muted);font-family:var(--book-sans);font-size:.72rem;line-height:1.35}

html[data-theme="dark"] .youtube-channel-card{background:var(--amg-paper)}

@media(min-width:1441px){
  .youtube-channel-card--home{width:360px}
}
@media(max-width:720px){
  .youtube-channel-card--home{width:min(300px,100%)}
  .youtube-channel-card__head{align-items:flex-start}
  .youtube-audio-track-help__panel{position:static;width:100%;margin-top:8px}
}
@media(hover:hover) and (pointer:fine){
  .youtube-audio-track-help:hover>.youtube-audio-track-help__panel,.youtube-audio-track-help:focus-within>.youtube-audio-track-help__panel{display:block}
}
@media(max-width:760px){
  .youtube-channel-card{border-radius:12px}
}
