.bos-youtube-showcase {
    --bos-blue: #00a8ff;
    --bos-blue-bright: #39c7ff;
    --bos-blue-soft: rgba(0,168,255,.48);
    isolation: isolate;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 18px 15px 34px;
    overflow: hidden;
    background: #000;
    color: #fff;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}
.bos-youtube-showcase *,
.bos-youtube-showcase *::before,
.bos-youtube-showcase *::after { box-sizing: border-box; }

.bos-youtube-topbar {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 24px;
    margin-bottom: 14px;
}
.bos-youtube-heading {
    margin: 0 !important;
    color: #fff !important;
    font-family: Montserrat, Arial, Helvetica, sans-serif !important;
    font-size: clamp(26px,2.05vw,40px) !important;
    font-style: italic;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -1.6px;
    text-transform: uppercase;
}
.bos-youtube-subscribe,
.bos-youtube-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e20b12;
    border-radius: 3px;
    background: #030303;
    color: #fff !important;
    font-family: Montserrat, Arial, Helvetica, sans-serif !important;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.bos-youtube-subscribe {
    min-width: 290px;
    min-height: 48px;
    padding: 0 22px;
    gap: 11px;
    font-size: 14px;
    white-space: nowrap;
}
.bos-youtube-icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 17px;
    border-radius: 4px;
    background: #fff;
    color: #111;
    font-size: 9px;
    line-height: 1;
    padding-left: 1px;
}
.bos-youtube-subscribe:hover,
.bos-youtube-view-all:hover {
    background: #e20b12;
    color: #fff !important;
    transform: translateY(-1px);
}

.bos-youtube-layout {
    display: grid;
    grid-template-columns: minmax(0,1.86fr) minmax(430px,1fr);
    gap: clamp(16px,1.2vw,24px);
    align-items: stretch;
    min-width: 0;
}
.bos-youtube-featured { min-width: 0; }
.bos-youtube-player-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/9;
    border: 1px solid #777;
    border-radius: 7px;
    background: #090909;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.bos-youtube-player-wrap:hover {
    border-color: var(--bos-blue-bright);
    box-shadow: 0 0 8px rgba(0,168,255,.8), 0 0 24px rgba(0,168,255,.48), inset 0 0 10px rgba(0,168,255,.14);
}
.bos-youtube-player {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.bos-youtube-grid {
    display: grid;
    grid-template-rows: repeat(4,minmax(0,1fr));
    gap: 10px;
    min-width: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Flex is used here deliberately to prevent Avada's button/span rules from
   allowing thumbnails to slide over the text column. */
.bos-youtube-showcase button.bos-youtube-card {
    all: unset;
    appearance: none !important;
    -webkit-appearance: none !important;
    position: relative !important;
    display: flex !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--bos-blue) !important;
    border-radius: 5px !important;
    background: linear-gradient(90deg,#080808 0%,#050505 100%) !important;
    color: #fff !important;
    cursor: pointer !important;
    font-family: Montserrat, Arial, Helvetica, sans-serif !important;
    text-align: left !important;
    white-space: normal !important;
    box-shadow: 0 0 0 rgba(0,168,255,0) !important;
    transform: translateZ(0);
    transition: border-color .22s ease, background-color .22s ease, transform .22s ease, box-shadow .22s ease !important;
}
.bos-youtube-showcase button.bos-youtube-card:hover,
.bos-youtube-showcase button.bos-youtube-card:focus-visible,
.bos-youtube-showcase button.bos-youtube-card[aria-current="true"] {
    border-color: var(--bos-blue-bright) !important;
    background: #101010 !important;
    box-shadow: 0 0 8px rgba(0,168,255,.9), 0 0 22px rgba(0,168,255,.52), inset 0 0 9px rgba(0,168,255,.14) !important;
    transform: translateY(-2px) !important;
    outline: none !important;
}
.bos-youtube-showcase button.bos-youtube-card > .bos-youtube-thumb-wrap {
    position: relative !important;
    display: block !important;
    flex: 0 0 46% !important;
    width: 46% !important;
    max-width: 46% !important;
    min-width: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
    aspect-ratio: 16/9;
    background: #111;
}
.bos-youtube-thumb {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    object-fit: cover !important;
    transition: transform .25s ease, filter .25s ease;
}
.bos-youtube-card:hover .bos-youtube-thumb,
.bos-youtube-card[aria-current="true"] .bos-youtube-thumb {
    transform: scale(1.035);
    filter: brightness(.84);
}
.bos-youtube-duration {
    position: absolute !important;
    right: 6px;
    bottom: 5px;
    z-index: 4;
    display: block !important;
    width: auto !important;
    padding: 3px 5px;
    border-radius: 3px;
    background: rgba(0,0,0,.9);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}
.bos-youtube-showcase button.bos-youtube-card > .bos-youtube-copy {
    position: relative !important;
    z-index: 5 !important;
    display: flex !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: 0 !important;
    max-width: none !important;
    overflow: hidden !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    padding: 8px 14px 8px 0 !important;
    background: transparent !important;
    white-space: normal !important;
}
.bos-youtube-card-title,
.bos-youtube-channel,
.bos-youtube-meta {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    overflow: hidden !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-align: left !important;
}
.bos-youtube-card-title {
    color: #fff !important;
    font-size: clamp(13px,.88vw,17px) !important;
    font-weight: 700 !important;
    line-height: 1.22 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.bos-youtube-channel,
.bos-youtube-meta {
    color: #a8a8a8 !important;
    font-size: clamp(11px,.7vw,14px) !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis;
}
.bos-youtube-channel { margin-top: 7px !important; }
.bos-youtube-meta { margin-top: 3px !important; }

.bos-youtube-view-wrap { display: flex; justify-content: center; padding-top: 9px; }
.bos-youtube-view-all { min-width: 158px; min-height: 31px; padding: 0 28px; font-size: 11px; letter-spacing: .15px; }
.bos-youtube-error { padding: 15px; border-left: 4px solid #d63638; background: #fff; color: #1d2327; }

@media (max-width: 1250px) {
    .bos-youtube-layout { grid-template-columns: minmax(0,1.55fr) minmax(390px,1fr); }
    .bos-youtube-showcase button.bos-youtube-card > .bos-youtube-thumb-wrap { flex-basis: 43% !important; width: 43% !important; max-width: 43% !important; }
    .bos-youtube-channel { margin-top: 4px !important; }
}
@media (max-width: 900px) {
    .bos-youtube-topbar { grid-template-columns: 1fr; gap: 14px; }
    .bos-youtube-subscribe { justify-self: start; min-width: 260px; }
    .bos-youtube-layout { grid-template-columns: 1fr; }
    .bos-youtube-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto; height: auto; overflow: visible; }
    .bos-youtube-showcase button.bos-youtube-card { display: block !important; }
    .bos-youtube-showcase button.bos-youtube-card > .bos-youtube-thumb-wrap { width: 100% !important; max-width: 100% !important; height: auto !important; aspect-ratio: 16/9; }
    .bos-youtube-showcase button.bos-youtube-card > .bos-youtube-copy { width: 100% !important; min-height: 112px !important; padding: 11px 12px 14px !important; }
    .bos-youtube-card-title { font-size: 15px !important; }
    .bos-youtube-channel,.bos-youtube-meta { font-size: 12px !important; }
}
@media (max-width: 580px) {
    .bos-youtube-showcase { padding-left: 12px; padding-right: 12px; }
    .bos-youtube-heading { font-size: clamp(23px,8.2vw,34px) !important; letter-spacing: -1px; }
    .bos-youtube-subscribe { width: 100%; min-width: 0; min-height: 46px; font-size: 12px; }
    .bos-youtube-grid { grid-template-columns: 1fr; }
    .bos-youtube-showcase button.bos-youtube-card { display: flex !important; gap: 10px !important; }
    .bos-youtube-showcase button.bos-youtube-card > .bos-youtube-thumb-wrap { flex: 0 0 42% !important; width: 42% !important; max-width: 42% !important; height: auto !important; }
    .bos-youtube-showcase button.bos-youtube-card > .bos-youtube-copy { width: 0 !important; min-height: 0 !important; padding: 8px 9px 8px 0 !important; }
    .bos-youtube-card-title { font-size: 13px !important; }
    .bos-youtube-channel { margin-top: 5px !important; }
    .bos-youtube-channel,.bos-youtube-meta { font-size: 10.5px !important; }
    .bos-youtube-view-all { width: 100%; max-width: 260px; min-height: 40px; font-size: 12px; }
}

/* Version 1.5.0 refinements: visible hover halo, unclipped right edge,
   tighter card rhythm, slightly larger thumbnails and title type. */
.bos-youtube-showcase {
    overflow: visible !important;
    padding-right: clamp(24px, 2vw, 38px) !important;
}

.bos-youtube-layout {
    overflow: visible !important;
}

.bos-youtube-grid {
    overflow: visible !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 8px 10px 8px 8px !important;
    gap: 8px !important;
}

.bos-youtube-showcase button.bos-youtube-card {
    overflow: hidden !important;
    border: 1px solid var(--bos-blue) !important;
    background: linear-gradient(105deg, rgba(17,17,17,.98), rgba(3,3,3,.98)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035) !important;
    will-change: transform, box-shadow, border-color;
}

.bos-youtube-showcase button.bos-youtube-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 20;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: 0 0 0 rgba(0,168,255,0);
    transition: box-shadow .24s ease;
}

.bos-youtube-showcase button.bos-youtube-card:hover,
.bos-youtube-showcase button.bos-youtube-card:focus-visible,
.bos-youtube-showcase button.bos-youtube-card[aria-current="true"],
.bos-youtube-showcase button.bos-youtube-card.is-active {
    border-color: #48d2ff !important;
    background: linear-gradient(105deg, rgba(17,24,29,.99), rgba(3,8,12,.99)) !important;
    box-shadow:
        0 0 5px rgba(0,168,255,.95),
        0 0 13px rgba(0,168,255,.78),
        0 0 27px rgba(0,168,255,.55),
        0 0 42px rgba(0,168,255,.33),
        inset 0 0 10px rgba(0,168,255,.13) !important;
    transform: translateY(-2px) !important;
}

.bos-youtube-showcase button.bos-youtube-card:hover::after,
.bos-youtube-showcase button.bos-youtube-card:focus-visible::after,
.bos-youtube-showcase button.bos-youtube-card[aria-current="true"]::after,
.bos-youtube-showcase button.bos-youtube-card.is-active::after {
    box-shadow: inset 0 0 9px rgba(0,190,255,.20);
}

.bos-youtube-showcase button.bos-youtube-card > .bos-youtube-thumb-wrap {
    flex-basis: 48% !important;
    width: 48% !important;
    max-width: 48% !important;
}

.bos-youtube-card-title {
    font-size: clamp(14px, .94vw, 18px) !important;
    line-height: 1.2 !important;
}

.bos-youtube-player-wrap {
    transition: opacity .18s ease, border-color .22s ease, box-shadow .22s ease !important;
}
.bos-youtube-player-wrap.is-switching { opacity: .48; }

.bos-youtube-subscribe:hover,
.bos-youtube-subscribe:focus-visible,
.bos-youtube-view-all:hover,
.bos-youtube-view-all:focus-visible {
    border-color: #44d2ff !important;
    background: #07151d !important;
    box-shadow:
        0 0 5px rgba(0,168,255,.85),
        0 0 15px rgba(0,168,255,.55),
        0 0 28px rgba(0,168,255,.30) !important;
    outline: none !important;
}

@media (max-width: 1250px) {
    .bos-youtube-showcase button.bos-youtube-card > .bos-youtube-thumb-wrap {
        flex-basis: 46% !important;
        width: 46% !important;
        max-width: 46% !important;
    }
}

@media (max-width: 900px) {
    .bos-youtube-showcase { padding-right: 18px !important; }
    .bos-youtube-grid { padding: 8px !important; }
    .bos-youtube-showcase button.bos-youtube-card > .bos-youtube-thumb-wrap {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 580px) {
    .bos-youtube-showcase { padding-right: 12px !important; }
    .bos-youtube-showcase button.bos-youtube-card > .bos-youtube-thumb-wrap {
        flex: 0 0 43% !important;
        width: 43% !important;
        max-width: 43% !important;
    }
}

/* Version 1.6.0: three-video layout and merchandise micro-CTAs. */
.bos-youtube-heading-group {
    min-width: 0;
}

.bos-youtube-top-cta,
.bos-youtube-bottom-cta {
    margin: 8px 0 0 !important;
    color: #c8c8c8 !important;
    font-family: Montserrat, Arial, Helvetica, sans-serif !important;
    font-size: clamp(12px, .78vw, 15px) !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

.bos-youtube-top-cta a,
.bos-youtube-bottom-cta a {
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(0,168,255,.75);
    transition: color .2s ease, border-color .2s ease, text-shadow .2s ease;
}

.bos-youtube-top-cta a:hover,
.bos-youtube-top-cta a:focus-visible,
.bos-youtube-bottom-cta a:hover,
.bos-youtube-bottom-cta a:focus-visible {
    color: #55d6ff !important;
    border-color: #55d6ff;
    text-shadow: 0 0 10px rgba(0,168,255,.65);
    outline: none;
}

.bos-youtube-bottom-cta {
    text-align: center;
    margin-top: 10px !important;
}

.bos-youtube-grid {
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
}

@media (min-width: 901px) {
    .bos-youtube-showcase button.bos-youtube-card > .bos-youtube-thumb-wrap {
        flex-basis: 46% !important;
        width: 46% !important;
        max-width: 46% !important;
    }

    .bos-youtube-showcase button.bos-youtube-card > .bos-youtube-copy {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }
}

@media (max-width: 900px) {
    .bos-youtube-grid {
        grid-template-rows: auto !important;
    }
}

@media (max-width: 580px) {
    .bos-youtube-top-cta,
    .bos-youtube-bottom-cta {
        font-size: 12px !important;
    }
}

/* Version 1.8.0: near-live public YouTube subscriber count. */
.bos-youtube-top-actions {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
}

.bos-youtube-subscriber-count {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 142px;
    min-height: 48px;
    padding: 7px 14px;
    border: 1px solid #00a8ff;
    border-radius: 3px;
    background: linear-gradient(105deg, rgba(8,18,25,.98), rgba(2,5,8,.98));
    color: #fff;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    line-height: 1;
    text-align: center;
    box-shadow: inset 0 0 8px rgba(0,168,255,.08);
    white-space: nowrap;
}

.bos-youtube-subscriber-number {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.25px;
    color: #fff;
}

.bos-youtube-subscriber-label {
    display: block;
    width: 100%;
    margin-top: 4px;
    color: #9fdfff;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .7px;
    text-align: center;
}

.bos-youtube-subscriber-count.is-updating .bos-youtube-subscriber-number {
    opacity: .58;
}

@media (max-width: 1120px) {
    .bos-youtube-topbar {
        grid-template-columns: minmax(0,1fr) auto;
    }
    .bos-youtube-top-actions {
        flex-direction: column;
        gap: 7px;
    }
    .bos-youtube-subscriber-count {
        min-width: 100%;
    }
}

@media (max-width: 900px) {
    /* Keep heading/CTA and subscribe controls on separate rows.
       This must live after the 1120px rule so it wins the cascade. */
    .bos-youtube-topbar {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }
    .bos-youtube-top-actions {
        justify-self: start;
        width: min(100%, 430px);
        max-width: 100%;
        flex-direction: row;
    }
    .bos-youtube-subscribe {
        min-width: 0;
        flex: 1 1 auto;
    }
    .bos-youtube-subscriber-count {
        min-width: 132px;
        width: auto;
    }
}

@media (max-width: 580px) {
    .bos-youtube-top-actions {
        width: 100%;
        flex-direction: column;
    }
    .bos-youtube-subscriber-count {
        width: 100%;
        min-width: 0;
    }
    .bos-youtube-subscriber-label {
        font-size: 9px;
    }
}


/* Version 1.8.1: hard mobile separation for heading/CTA and YouTube actions. */
@media (max-width: 900px) {
    .bos-youtube-topbar {
        display: block !important;
        width: 100% !important;
    }
    .bos-youtube-topbar > * {
        width: 100% !important;
        max-width: 100% !important;
        position: static !important;
    }
    .bos-youtube-top-actions {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 14px !important;
        justify-content: flex-start !important;
        position: static !important;
        transform: none !important;
    }
    .bos-youtube-heading,
    .bos-youtube-top-cta {
        position: static !important;
        transform: none !important;
    }
}

@media (max-width: 580px) {
    .bos-youtube-top-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .bos-youtube-subscribe,
    .bos-youtube-subscriber-count {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }
}


/* Version 1.8.2: official YouTube Subscribe widget inside the existing action area. */
.bos-youtube-subscribe-official {
    cursor: default;
}
.bos-youtube-subscribe-official:hover {
    background: #030303;
    transform: none;
}
.bos-youtube-subscribe-official .g-ytsubscribe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
}

/* Version 1.8.4: size the official YouTube widget itself instead of leaving it inside the old oversized custom-button shell. */
.bos-youtube-subscribe-official {
    flex: 0 0 178px;
    width: 178px;
    min-width: 178px;
    min-height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
    cursor: default;
}

.bos-youtube-subscribe-official:hover,
.bos-youtube-subscribe-official:focus-visible {
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.bos-youtube-subscribe-official .g-ytsubscribe {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 178px;
    min-width: 178px;
    height: 48px;
    min-height: 48px;
    overflow: visible;
}

/* Google renders the official control as an iframe. Scale that rendered control,
   while leaving enough real layout space around it so it is not clipped. */
.bos-youtube-subscribe-official .g-ytsubscribe iframe {
    display: block !important;
    transform: scale(1.55) !important;
    transform-origin: center center !important;
}

@media (max-width: 1120px) {
    .bos-youtube-subscribe-official {
        flex-basis: 178px;
        width: 178px;
        min-width: 178px;
    }
}

@media (max-width: 900px) {
    .bos-youtube-subscribe-official {
        flex: 0 0 178px;
        width: 178px;
        min-width: 178px;
    }
}

@media (max-width: 580px) {
    .bos-youtube-subscribe-official,
    .bos-youtube-subscribe-official .g-ytsubscribe {
        width: 100%;
        min-width: 0;
        min-height: 52px;
    }
}

/* Version 1.8.5: make the actual Google/YouTube subscribe control fill the entire subscribe box. */
.bos-youtube-subscribe-official {
    position: relative !important;
    flex: 0 0 290px !important;
    width: 290px !important;
    min-width: 290px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    border: 1px solid #e20b12 !important;
    border-radius: 3px !important;
    background: #030303 !important;
    overflow: hidden !important;
}
.bos-youtube-subscribe-official .g-ytsubscribe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}
.bos-youtube-subscribe-official .g-ytsubscribe iframe {
    display: block !important;
    margin: 0 !important;
    transform-origin: top left !important;
}
@media (max-width: 900px) {
    .bos-youtube-subscribe-official {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
    }
}
@media (max-width: 580px) {
    .bos-youtube-subscribe-official {
        width: 100% !important;
        min-width: 0 !important;
        height: 52px !important;
        min-height: 52px !important;
    }
}


/* Version 1.8.6: Google removes/replaces the .g-ytsubscribe node after rendering.
   These selectors target the actual generated wrapper + iframe instead. */
.bos-youtube-subscribe-official > div,
.bos-youtube-subscribe-official > span,
.bos-youtube-subscribe-official iframe {
    margin: 0 !important;
}
.bos-youtube-subscribe-official > div,
.bos-youtube-subscribe-official > span {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    overflow: visible !important;
}
.bos-youtube-subscribe-official iframe {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    transform-origin: top left !important;
}
\n\n/* Version 1.8.7: custom high-resolution YouTube image button. */\n.bos-youtube-subscribe-image {\n    position: relative !important;\n    display: block !important;\n    flex: 0 0 290px !important;\n    width: 290px !important;\n    min-width: 290px !important;\n    height: 48px !important;\n    min-height: 48px !important;\n    padding: 0 !important;\n    border: 1px solid #e20b12 !important;\n    border-radius: 3px !important;\n    overflow: hidden !important;\n    background: #e21b1b !important;\n    line-height: 0 !important;\n}\n.bos-youtube-subscribe-image img {\n    display: block !important;\n    width: 100% !important;\n    height: 100% !important;\n    object-fit: cover !important;\n    margin: 0 !important;\n    padding: 0 !important;\n    border: 0 !important;\n}\n.bos-youtube-subscribe-image:hover,\n.bos-youtube-subscribe-image:focus-visible {\n    transform: none !important;\n    background: #e21b1b !important;\n    box-shadow: 0 0 8px rgba(226, 11, 18, .55) !important;\n}\n@media (max-width: 900px) {\n    .bos-youtube-subscribe-image {\n        flex: 1 1 auto !important;\n        width: auto !important;\n        min-width: 0 !important;\n    }\n}\n@media (max-width: 580px) {\n    .bos-youtube-subscribe-image {\n        width: 100% !important;\n        min-width: 0 !important;\n        height: 52px !important;\n        min-height: 52px !important;\n    }\n}\n
/* Version 1.8.8: compact custom YouTube image button (requested ~1/3 previous visual size). */
.bos-youtube-top-actions {
    align-items: center !important;
}
.bos-youtube-subscribe-image {
    flex: 0 0 120px !important;
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 2px !important;
    background: transparent !important;
    overflow: hidden !important;
}
.bos-youtube-subscribe-image img {
    width: 120px !important;
    height: 20px !important;
    object-fit: cover !important;
}
@media (max-width: 900px) {
    .bos-youtube-subscribe-image {
        flex: 0 0 120px !important;
        width: 120px !important;
        min-width: 120px !important;
        max-width: 120px !important;
        height: 20px !important;
        min-height: 20px !important;
        max-height: 20px !important;
    }
}
@media (max-width: 580px) {
    .bos-youtube-subscribe-image {
        width: 120px !important;
        min-width: 120px !important;
        max-width: 120px !important;
        height: 20px !important;
        min-height: 20px !important;
        max-height: 20px !important;
        align-self: flex-start !important;
    }
}

/* Version 1.8.9: YouTube image matches subscriber box height while preserving its native aspect ratio. */
.bos-youtube-top-actions {
    align-items: stretch !important;
}
.bos-youtube-subscribe-image {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 3px !important;
    background: transparent !important;
    overflow: hidden !important;
    line-height: 0 !important;
    align-self: stretch !important;
}
.bos-youtube-subscribe-image img {
    display: block !important;
    width: auto !important;
    height: 48px !important;
    max-width: none !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
@media (max-width: 1120px) {
    .bos-youtube-subscribe-image {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        align-self: flex-start !important;
    }
    .bos-youtube-subscribe-image img {
        width: auto !important;
        height: 48px !important;
    }
}
@media (max-width: 580px) {
    .bos-youtube-subscribe-image {
        width: auto !important;
        min-width: 0 !important;
        max-width: calc(100vw - 40px) !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
    }
    .bos-youtube-subscribe-image img {
        width: auto !important;
        height: 48px !important;
        max-width: 100% !important;
        object-fit: contain !important;
    }
}

/* Version 1.8.10: custom Subscribe artwork + invisible official Google/YouTube widget overlay.
   The artwork stays crisp at its native 6.04:1 ratio (290x48 display), while the official
   widget receives the click so Google's signed-in profile/subscribe confirmation can appear. */
.bos-youtube-subscribe-hybrid {
    position: relative !important;
    flex: 0 0 290px !important;
    width: 290px !important;
    min-width: 290px !important;
    max-width: 290px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    overflow: visible !important;
    cursor: pointer !important;
}
.bos-youtube-subscribe-hybrid > img {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 290px !important;
    height: 48px !important;
    max-width: none !important;
    object-fit: contain !important;
    z-index: 1 !important;
    pointer-events: none !important;
}
.bos-youtube-subscribe-fallback {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    z-index: 2 !important;
    background: transparent !important;
}
.bos-youtube-official-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 3 !important;
    overflow: hidden !important;
    opacity: 0.01 !important;
    pointer-events: auto !important;
}
.bos-youtube-official-overlay > div,
.bos-youtube-official-overlay > span {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}
.bos-youtube-official-overlay iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    transform-origin: top left !important;
    pointer-events: auto !important;
}
.bos-youtube-subscribe-hybrid.is-official-ready .bos-youtube-subscribe-fallback {
    pointer-events: none !important;
}
@media (max-width: 580px) {
    .bos-youtube-subscribe-hybrid {
        flex: 0 0 290px !important;
        width: 290px !important;
        min-width: 290px !important;
        max-width: min(290px, calc(100vw - 40px)) !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
    }
    .bos-youtube-subscribe-hybrid > img {
        width: 100% !important;
        height: 48px !important;
    }
}

/* Version 1.8.12: the complete custom Subscribe artwork is the link.
   No iframe hotspot: every pixel of the 290x48 button is clickable. */
.bos-youtube-subscribe-full-link {
    position: relative !important;
    display: block !important;
    flex: 0 0 290px !important;
    width: 290px !important;
    min-width: 290px !important;
    max-width: 290px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    cursor: pointer !important;
    line-height: 0 !important;
    text-decoration: none !important;
    z-index: 5 !important;
}
.bos-youtube-subscribe-full-link img {
    display: block !important;
    position: static !important;
    width: 290px !important;
    height: 48px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    pointer-events: none !important;
}
@media (max-width: 580px) {
    .bos-youtube-subscribe-full-link {
        width: min(290px, calc(100vw - 40px)) !important;
        min-width: 0 !important;
        max-width: min(290px, calc(100vw - 40px)) !important;
        height: 48px !important;
    }
    .bos-youtube-subscribe-full-link img {
        width: 100% !important;
        height: 48px !important;
    }
}


/* Version 1.8.13: full custom button remains clickable while a small official
   YouTube control sits only over the play-icon area. This restores Google's
   signed-in account/profile hover UI without turning the rest of the artwork
   into a dead iframe area. */
.bos-youtube-subscribe-hybrid-v1813-old {
    position: relative !important;
    display: block !important;
    flex: 0 0 290px !important;
    width: 290px !important;
    min-width: 290px !important;
    max-width: 290px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
}
.bos-youtube-subscribe-hybrid-v1813-old > .bos-youtube-subscribe-full-link {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    width: 290px !important;
    height: 48px !important;
}
.bos-youtube-subscribe-hybrid-v1813-old > .bos-youtube-subscribe-full-link img {
    display: block !important;
    width: 290px !important;
    height: 48px !important;
    object-fit: contain !important;
}
.bos-youtube-profile-hotspot-old {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 5 !important;
    width: 58px !important;
    height: 48px !important;
    overflow: visible !important;
    opacity: 0.01 !important;
    pointer-events: auto !important;
}
.bos-youtube-profile-hotspot-old > div,
.bos-youtube-profile-hotspot-old > span {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}
.bos-youtube-profile-hotspot-old iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    transform-origin: top left !important;
    pointer-events: auto !important;
}
@media (max-width: 580px) {
    .bos-youtube-subscribe-hybrid-v1813-old {
        width: min(290px, calc(100vw - 40px)) !important;
        min-width: 0 !important;
        max-width: min(290px, calc(100vw - 40px)) !important;
    }
    .bos-youtube-subscribe-hybrid-v1813-old > .bos-youtube-subscribe-full-link,
    .bos-youtube-subscribe-hybrid-v1813-old > .bos-youtube-subscribe-full-link img {
        width: 100% !important;
    }
}


/* Version 1.8.14: the invisible official YouTube control covers the ENTIRE
   290x48 custom artwork. This makes Google's signed-in account/profile hover
   behavior and subscribe interaction respond across the whole visible button. */
.bos-youtube-subscribe-hybrid-v1814 {
    position: relative !important;
    display: block !important;
    flex: 0 0 290px !important;
    width: 290px !important;
    min-width: 290px !important;
    max-width: 290px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
}
.bos-youtube-subscribe-hybrid-v1814 > .bos-youtube-subscribe-full-link {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    width: 290px !important;
    height: 48px !important;
}
.bos-youtube-subscribe-hybrid-v1814 > .bos-youtube-subscribe-full-link img {
    display: block !important;
    width: 290px !important;
    height: 48px !important;
    object-fit: contain !important;
}
.bos-youtube-profile-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 20 !important;
    width: 290px !important;
    height: 48px !important;
    overflow: visible !important;
    opacity: 0.01 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}
.bos-youtube-profile-overlay > div,
.bos-youtube-profile-overlay > span {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}
.bos-youtube-profile-overlay iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    transform-origin: top left !important;
    pointer-events: auto !important;
}
@media (max-width: 580px) {
    .bos-youtube-subscribe-hybrid-v1814,
    .bos-youtube-profile-overlay {
        width: min(290px, calc(100vw - 40px)) !important;
        min-width: 0 !important;
        max-width: min(290px, calc(100vw - 40px)) !important;
    }
    .bos-youtube-subscribe-hybrid-v1814 > .bos-youtube-subscribe-full-link,
    .bos-youtube-subscribe-hybrid-v1814 > .bos-youtube-subscribe-full-link img {
        width: 100% !important;
    }
}
