/* FILM26 TV / 10-foot navigation */
html.film26-remote-mode :focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 4px;
}

/* Grid cards: remote focus reproduces the existing card hover state. */
html.film26-remote-mode .item:focus-within .img-overlay-icon::before {
    opacity: 1;
}

html.film26-remote-mode .item:focus-within .item__rating,
html.film26-remote-mode .item:focus-within .item__btn-info {
    opacity: 1;
    scale: 1 1;
    transition-delay: 0.1s;
}

/* The poster is the card's remote target; do not show the generic white focus ring. */
html.film26-remote-mode [data-film26-card] .item__img:focus,
html.film26-remote-mode [data-film26-card] .item__img:focus-visible {
    outline: none;
    outline-offset: 0;
    box-shadow: none;
}

/* Card title/year are not navigation targets. */
html.film26-remote-mode [data-film26-card] .item__meta a,
html.film26-remote-mode [data-film26-card] .item__title {
    outline: none;
}

html.film26-remote-mode .page__player-controls button:focus-visible,
html.film26-remote-mode select:focus-visible,
html.film26-remote-mode input:focus-visible {
    outline: 4px solid currentColor;
    outline-offset: 5px;
    transform: scale(1.02);
    transition: transform .12s ease, outline-offset .12s ease;
}

html.film26-remote-mode .page__player-controls .tabs-block__select button:focus-visible {
    transform: scale(1.04);
    position: relative;
    z-index: 2;
}

html.film26-remote-mode .page__player iframe {
    pointer-events: auto;
}

html.film26-remote-mode .page__player iframe:focus {
    outline: none;
}

[data-film26-remote-notice] {
    position: fixed;
    left: 50%;
    bottom: 32px;
    z-index: 10000;
    transform: translate(-50%, 20px);
    opacity: 0;
    pointer-events: none;
    padding: 10px 18px;
    border-radius: 8px;
    background: rgba(0,0,0,.85);
    color: #fff;
    font-size: 15px;
    line-height: 1.3;
    transition: opacity .18s ease, transform .18s ease;
}

[data-film26-remote-notice].is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}
