/* modules/tv/assets/css/tv-embed.css
   The player-only TV page (modules/tv/embed.php) that the homepage LIVE panel
   frames: the player fills the frame edge to edge, with no page around it.
   Loaded after tv-broadcast.css; every rule is scoped to body.ktv-embed, so
   the TV page itself is never touched. */

/* The TV page gets FiraGO from site-chrome.css; this page has no site chrome */
@font-face {
    font-family: 'FiraGO';
    src: url('../../../../assets/fonts/firago-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'FiraGO';
    src: url('../../../../assets/fonts/firago-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html:has(body.ktv-embed),
body.ktv-embed {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000 !important;
}

body.ktv-embed {
    font-family: var(--ktv-text);
}

/* The frame is the whole iframe: no rounding, no lift, no 16:9 box of its own
   (the panel's player box is already 16:9) */
body.ktv-embed .tv-viewport-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
}
