.masterclass-watch {
    background: #163c30;
    color: #f9f8f2;
    border-radius: 6px;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    box-shadow: 0 24px 70px rgba(23, 60, 48, .16);
}
.masterclass-watch h2 {
    color: #f9f8f2;
    margin: .25rem 0 0;
}
.masterclass-watch .eyebrow {
    color: #d8e695;
}
.masterclass-watch-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.access-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border: 1px solid rgba(216, 230, 149, .42);
    border-radius: 999px;
    color: #d8e695;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: .5rem .8rem;
    white-space: nowrap;
}
.access-badge::before {
    content: "";
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: #d8e695;
}
.masterclass-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 4px;
    background: #091b15;
}
.masterclass-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.masterclass-access-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.25rem;
}
.masterclass-access-note p {
    margin: 0;
    max-width: 48rem;
    color: rgba(249, 248, 242, .78);
}
.masterclass-access-note .text-link {
    color: #d8e695;
    flex: 0 0 auto;
}
.button-disabled {
    cursor: not-allowed;
    opacity: .62;
}
.masterclass-account {
    padding: clamp(1.5rem, 4vw, 3rem) 0;
}
.masterclass-account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.masterclass-account-card,
.masterclass-order-access {
    border: 1px solid #d5dbcc;
    border-radius: 6px;
    background: #f9f8f2;
    padding: 1.4rem;
}
.masterclass-account-card h3 {
    margin: .35rem 0 1.1rem;
}
.masterclass-order-access {
    margin: 2rem 0;
}
.masterclass-order-access .button {
    margin: .5rem .4rem 0 0;
}
@media (max-width: 700px) {
    .masterclass-watch-head,
    .masterclass-access-note {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Public teaser shown on the Fatigue masterclass card. */
.master-teaser-art {
    position: relative;
    display: block;
    width: 100%;
    min-height: 220px;
    padding: 0;
    border: 0;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    background-size: cover;
    background-position: center 28%;
    background-repeat: no-repeat;
    font: inherit;
    color: #fff;
}
.master-teaser-art:focus-visible {
    outline: 3px solid #d8e695;
    outline-offset: 3px;
}
.master-teaser-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9,27,21,.08) 20%, rgba(9,27,21,.72) 100%);
    transition: background .2s ease;
}
.master-teaser-art:hover .master-teaser-scrim {
    background: linear-gradient(180deg, rgba(9,27,21,.02) 15%, rgba(9,27,21,.64) 100%);
}
.master-teaser-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    padding-left: 4px;
    border-radius: 50%;
    background: rgba(249,248,242,.94);
    color: #163c30;
    box-shadow: 0 12px 30px rgba(9,27,21,.28);
    font-size: 22px;
    transition: transform .2s ease, background .2s ease;
}
.master-teaser-art:hover .master-teaser-play {
    transform: translate(-50%,-50%) scale(1.06);
    background: #d8e695;
}
.master-teaser-art .master-tag {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    color: #fff;
    background: rgba(22,60,48,.90);
    border: 1px solid rgba(255,255,255,.24);
}
.master-teaser-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(9,27,21,.82);
    backdrop-filter: blur(5px);
}
.master-teaser-dialog {
    position: relative;
    width: min(92vw, 520px);
    max-height: 94vh;
    overflow: auto;
    border-radius: 10px;
    background: #f9f8f2;
    color: #173c30;
    box-shadow: 0 30px 90px rgba(0,0,0,.38);
}
.master-teaser-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 16px 18px 12px;
}
.master-teaser-dialog-head p {
    margin: 0;
}
.master-teaser-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #d5dbcc;
    border-radius: 50%;
    background: #fff;
    color: #173c30;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}
.master-teaser-video-wrap {
    background: #091b15;
}
.master-teaser-video-wrap video {
    display: block;
    width: 100%;
    max-height: 68vh;
    margin: 0 auto;
    background: #091b15;
    object-fit: contain;
}
.master-teaser-cta {
    padding: 18px;
}
.master-teaser-cta h3 {
    margin: 0 0 .45rem;
}
.master-teaser-cta p {
    margin: 0 0 1rem;
}
.master-teaser-cta .button {
    width: 100%;
    justify-content: center;
    text-align: center;
}
body.master-teaser-open {
    overflow: hidden;
}
@media (max-width: 700px) {
    .master-teaser-art { min-height: 210px; }
    .master-teaser-modal { padding: 10px; }
    .master-teaser-dialog { width: min(96vw, 480px); }
    .master-teaser-video-wrap video { max-height: 70vh; }
}

/* Inline teaser: the poster behaves as the card image and plays on click. */
.master-card-teaser .master-teaser-art {
    min-height: 0;
    cursor: default;
    background: #091b15;
}
.master-card-teaser .master-teaser-video {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: contain;
    background: #091b15;
}
.master-card-teaser .master-teaser-label {
    top: 14px;
    bottom: auto;
    left: 14px;
    pointer-events: none;
}
.master-card-teaser .master-copy .master-teaser-purchase {
    margin: .35rem .75rem .55rem 0;
}
@media (max-width: 700px) {
    .master-card-teaser .master-teaser-video {
        height: 380px;
    }
}