/* The TV app's own typefaces, served from this site (SIL Open Font License 1.1, see OFL.txt). */
@font-face { font-family: "Big Shoulders Display"; src: url("big-shoulders.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Familjen Grotesk"; src: url("familjen-grotesk.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; src: url("hanken-grotesk.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; src: url("ibm-plex-mono-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; src: url("ibm-plex-mono-medium.woff2") format("woff2"); font-weight: 500 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Other Latin alphabets, Vietnamese, Cyrillic and Greek: separate files with unicode-range, so a page only fetches the one its text needs (none for English). Noto Sans (OFL) carries Cyrillic and Greek, which the brand faces don't have. Telugu has its own face. */
@font-face { font-family: "Hanken Grotesk"; src: url("hanken-grotesk-cyrillic-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Hanken Grotesk"; src: url("hanken-grotesk-vietnamese.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Hanken Grotesk"; src: url("hanken-grotesk-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Familjen Grotesk"; src: url("familjen-grotesk-vietnamese.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Familjen Grotesk"; src: url("familjen-grotesk-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Big Shoulders Display"; src: url("big-shoulders-vietnamese.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Big Shoulders Display"; src: url("big-shoulders-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Noto Sans"; src: url("noto-sans-cyrillic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Noto Sans"; src: url("noto-sans-greek.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Noto Sans"; src: url("noto-sans-vietnamese.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Noto Sans Telugu"; src: local("Noto Sans Telugu"), url("noto-sans-telugu-telugu.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0B83, U+0C00-0C7F, U+1CD5-1CD6, U+1CD8, U+1CDA, U+1CF2, U+200C-200D, U+25CC; }
@font-face { font-family: "IBM Plex Mono"; src: url("ibm-plex-mono-cyrillic-ext-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "IBM Plex Mono"; src: url("ibm-plex-mono-cyrillic-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; src: url("ibm-plex-mono-vietnamese-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "IBM Plex Mono"; src: url("ibm-plex-mono-latin-ext-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; src: url("ibm-plex-mono-cyrillic-ext-medium.woff2") format("woff2"); font-weight: 500 700; font-display: swap; unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "IBM Plex Mono"; src: url("ibm-plex-mono-cyrillic-medium.woff2") format("woff2"); font-weight: 500 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; src: url("ibm-plex-mono-vietnamese-medium.woff2") format("woff2"); font-weight: 500 700; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "IBM Plex Mono"; src: url("ibm-plex-mono-latin-ext-medium.woff2") format("woff2"); font-weight: 500 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---- Scripts the brand faces do not cover ---------------------------------------------------
   Only the system's own fonts are used (the CSP allows no others), apart from Telugu, which gets
   a self-hosted face for the platforms that lack one. The Latin brand face stays first, so names,
   digits and codes keep their look inside any language; the script's fonts take over for its own
   letters. The rules set --display, --body and --mono (defined on :root by app.css, home.css and
   legal.css), so everything follows. Matched by <html lang>, set from the chosen language. */
:root:is(:lang(ja)) { --body: "Hanken Grotesk", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif; --display: var(--body); }
:root:is(:lang(ko)) { --body: "Hanken Grotesk", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", system-ui, sans-serif; --display: var(--body); }
:root:is(:lang(zh), :lang(zh-Hans), :lang(zh-CN), :lang(zh-SG)) { --body: "Hanken Grotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", system-ui, sans-serif; --display: var(--body); }
:root:is(:lang(zh-Hant), :lang(zh-TW), :lang(zh-HK), :lang(zh-MO)) { --body: "Hanken Grotesk", "PingFang TC", "PingFang HK", "Microsoft JhengHei UI", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", system-ui, sans-serif; --display: var(--body); }
:root:is(:lang(ar), :lang(fa), :lang(ur), :lang(ps), :lang(sd), :lang(ug), :lang(ckb)) { --body: "Hanken Grotesk", "Segoe UI", "Noto Sans Arabic", "Noto Naskh Arabic", "Geeza Pro", "Tahoma", system-ui, sans-serif; --display: var(--body); }
:root:is(:lang(he), :lang(yi)) { --body: "Hanken Grotesk", "Segoe UI", "Noto Sans Hebrew", "Arial Hebrew", "Arial", "Tahoma", system-ui, sans-serif; --display: var(--body); }
:root:is(:lang(th)) { --body: "Hanken Grotesk", "Leelawadee UI", "Noto Sans Thai", "Thonburi", "Tahoma", system-ui, sans-serif; --display: var(--body); }
:root:is(:lang(lo), :lang(km), :lang(my)) { --body: "Hanken Grotesk", "Leelawadee UI", "Noto Sans Lao", "Noto Sans Khmer", "Noto Sans Myanmar", "Myanmar Text", "Khmer UI", "Lao UI", system-ui, sans-serif; --display: var(--body); }
:root:is(:lang(hi), :lang(mr), :lang(ne), :lang(sa)) { --body: "Hanken Grotesk", "Nirmala UI", "Noto Sans Devanagari", "Kohinoor Devanagari", "Devanagari Sangam MN", "Mangal", system-ui, sans-serif; --display: var(--body); }
:root:is(:lang(bn), :lang(as)) { --body: "Hanken Grotesk", "Nirmala UI", "Noto Sans Bengali", "Kohinoor Bangla", "Bangla Sangam MN", "Vrinda", system-ui, sans-serif; --display: var(--body); }
:root:is(:lang(ta)) { --body: "Hanken Grotesk", "Nirmala UI", "Noto Sans Tamil", "Tamil Sangam MN", "Latha", system-ui, sans-serif; --display: var(--body); }
:root:is(:lang(te)) { --body: "Hanken Grotesk", "Noto Sans Telugu", "Nirmala UI", "Gautami", "Telugu Sangam MN", "Mandali", system-ui, sans-serif; --display: var(--body); }
:root:is(:lang(gu)) { --body: "Hanken Grotesk", "Nirmala UI", "Noto Sans Gujarati", "Kohinoor Gujarati", "Gujarati Sangam MN", "Shruti", system-ui, sans-serif; --display: var(--body); }
:root:is(:lang(kn)) { --body: "Hanken Grotesk", "Nirmala UI", "Noto Sans Kannada", "Kannada Sangam MN", "Tunga", system-ui, sans-serif; --display: var(--body); }
:root:is(:lang(ml)) { --body: "Hanken Grotesk", "Nirmala UI", "Noto Sans Malayalam", "Malayalam Sangam MN", "Kartika", system-ui, sans-serif; --display: var(--body); }
:root:is(:lang(pa)) { --body: "Hanken Grotesk", "Nirmala UI", "Noto Sans Gurmukhi", "Gurmukhi Sangam MN", "Raavi", system-ui, sans-serif; --display: var(--body); }
:root:is(:lang(si)) { --body: "Hanken Grotesk", "Nirmala UI", "Noto Sans Sinhala", "Sinhala Sangam MN", "Iskoola Pota", system-ui, sans-serif; --display: var(--body); }
:root:is(:lang(ka)) { --body: "Hanken Grotesk", "Noto Sans Georgian", "Segoe UI", "Sylfaen", system-ui, sans-serif; --display: var(--body); }
:root:is(:lang(hy)) { --body: "Hanken Grotesk", "Noto Sans Armenian", "Segoe UI", "Sylfaen", system-ui, sans-serif; --display: var(--body); }
:root:is(:lang(am), :lang(ti)) { --body: "Hanken Grotesk", "Noto Sans Ethiopic", "Nyala", "Kefa", "Abyssinica SIL", system-ui, sans-serif; --display: var(--body); }
/* Cyrillic and Greek: Noto Sans, from the files split out above (the brand faces have neither). */
:root:is(:lang(ru), :lang(uk), :lang(bg), :lang(be), :lang(sr), :lang(mk), :lang(kk), :lang(ky), :lang(mn), :lang(tg), :lang(el)) { --display: "Noto Sans", "Segoe UI", system-ui, sans-serif; }

/* Line height: stacked vowel signs, conjuncts and Arabic marks need room, and a line of 1 clips them.
   !important because components set their own line height in the font shorthand. */
:root:is(:lang(th), :lang(lo), :lang(km), :lang(my)) :where(body, body *) { line-height: 1.7 !important; }
:root:is(:lang(te), :lang(hi), :lang(mr), :lang(ne), :lang(sa), :lang(bn), :lang(as), :lang(ta), :lang(gu), :lang(kn), :lang(ml), :lang(pa), :lang(si)) :where(body, body *) { line-height: 1.75 !important; }
:root:is(:lang(ar), :lang(fa), :lang(ur), :lang(ps), :lang(sd), :lang(ug), :lang(ckb)) :where(body, body *) { line-height: 1.6 !important; }
:root:is(:lang(he), :lang(yi), :lang(am), :lang(ti), :lang(ka), :lang(hy), :lang(vi)) :where(body, body *) { line-height: 1.5 !important; }
:root:is(:lang(ja), :lang(zh), :lang(ko)) :where(body, body *) { line-height: 1.55 !important; }
/* Icons and pictures keep their own. */
:root :where(svg, svg *, img, canvas, video) { line-height: normal !important; }

/* Letters with no case, and those whose capitals are not the plain ones (Turkish, Azeri, Lithuanian): no upper-casing; and no tracking where letters join or carry marks. */
:root:is(:lang(ja), :lang(zh), :lang(ko), :lang(ar), :lang(fa), :lang(ur), :lang(ps), :lang(sd), :lang(ug), :lang(ckb), :lang(he), :lang(yi), :lang(th), :lang(lo), :lang(km), :lang(my), :lang(hi), :lang(mr), :lang(ne), :lang(sa), :lang(bn), :lang(as), :lang(ta), :lang(te), :lang(gu), :lang(kn), :lang(ml), :lang(pa), :lang(si), :lang(ka), :lang(am), :lang(ti), :lang(tr), :lang(az), :lang(lt)) :where(body, body *) { text-transform: none !important; }
:root:is(:lang(ja), :lang(zh), :lang(ko), :lang(ar), :lang(fa), :lang(ur), :lang(ps), :lang(sd), :lang(ug), :lang(ckb), :lang(th), :lang(lo), :lang(km), :lang(my), :lang(hi), :lang(mr), :lang(ne), :lang(sa), :lang(bn), :lang(as), :lang(ta), :lang(te), :lang(gu), :lang(kn), :lang(ml), :lang(pa), :lang(si)) :where(body, body *) { letter-spacing: 0 !important; }

/* Breaking lines: CJK may break between characters; long compound words (German, Finnish, Dutch) break
   and hyphenate rather than push a box wider. */
:root:is(:lang(de), :lang(fi), :lang(nl), :lang(sv), :lang(da), :lang(nb), :lang(nn), :lang(no), :lang(hu), :lang(pl), :lang(cs), :lang(sk), :lang(ru), :lang(uk), :lang(bg), :lang(es), :lang(fr), :lang(it), :lang(pt), :lang(ro), :lang(hr), :lang(sl), :lang(tr), :lang(el), :lang(lt), :lang(lv), :lang(et)) :where(p, li, dd, dt, td, th, h1, h2, h3, h4, small, label) { hyphens: auto; }
/* Words under six letters never break (Haven, Trakt, Simkl, Plex stay whole); no break within three letters of either end. */
:root :where(p, li, dd, dt, td, th, h1, h2, h3, h4, small, label) { hyphenate-limit-chars: 6 3 3; }
:root:is(:lang(ja), :lang(zh), :lang(ko)) :where(body, body *) { word-break: normal; line-break: strict; overflow-wrap: anywhere; }
:root:is(:lang(ja), :lang(zh), :lang(ko)) :where(button, label) { line-break: auto; }
:root:is(:lang(th), :lang(lo), :lang(km), :lang(my)) :where(body, body *) { word-break: normal; overflow-wrap: anywhere; }
