:root{
  --bg:#0b1014;
  --panel:#11191e;
  --panel2:#151f25;
  --line:rgba(255,255,255,.13);
}
body{
  background:linear-gradient(180deg,#0b1014 0%,#0d1418 100%)!important;
}
.groups{
  background:#0d1317!important;
}
.panel,
.content-card,
.info-box,
.side-card,
.episode,
.guide-table,
.series-main,
.series-side,
.season14,
.ep14,
.p14,
.seg14,
.facts14,
.kayi-more-panel,
.kayi-episode-row{
  background:#11191e!important;
}
.kayi-lower-v1{
  background:transparent!important;
}
.page-hero{
  background:linear-gradient(120deg,#162129,#0c161c)!important;
}


/* =========================================================
   KAYI TV PUBLIC LIGHT SURFACE R8
   Main editorial surfaces are light and calm.
   Header, live player, image heroes and footer stay dark.
   ========================================================= */
html{background:#f3f5f2!important}
body{
  background:
    radial-gradient(circle at 82% 4%,rgba(8,185,220,.055),transparent 26%),
    linear-gradient(180deg,#f7f8f6 0%,#eef2f0 100%)!important;
  color:#1d2a31!important;
}
main{color:#1d2a31}
.page-hero{
  background:
    radial-gradient(circle at 86% 18%,rgba(230,172,50,.12),transparent 31%),
    linear-gradient(120deg,#f8faf8 0%,#eef4f2 58%,#e7efed 100%)!important;
  border-bottom-color:rgba(35,58,69,.12)!important;
}
.page-hero h1,.page-hero h2,.section-title h2,.guide-head h2,
.content-card h3,.media-card h3,.list-item h3,.episode-card h3,
.article-card h2,.article-card h3,.info-box h3,.side-card h3,
.copy14 h2,.copy14 h3,.prose12 h2,.prose12 h3,
.kayi-more-title,.kayi-episode-copy h3{color:#17252d!important}
.page-hero p,.content-card p,.media-card p,.list-item p,.episode-card p,
.article-card p,.info-box p,.side-card p,.detail-copy p,.detail-copy ul,
.copy14 p,.copy14 li,.prose12 p,.prose12 li,.guide-program small,
.guide-kind,.guide-duration,.lang-note{color:#60717a!important}

.groups{background:#eef3f1!important;border-color:rgba(35,58,69,.10)!important}
.panel,.content-card,.info-box,.side-card,.episode,.guide-table,
.series-main,.series-side,.season14,.ep14,.p14,.seg14,.facts14,
.kayi-more-panel,.kayi-episode-row,.media-card,.list-item,.episode-card,
.cast-card,.article-card,.article-aside .box,.copy14,.prose12{
  background:#ffffff!important;
  border-color:rgba(35,58,69,.13)!important;
  box-shadow:0 10px 28px rgba(26,45,55,.055)!important;
}
.panel-head,.guide-row,.slot,.news-item,.schedule-table th,.schedule-table td{
  border-color:rgba(35,58,69,.10)!important;
}
.guide-table{background:#fff!important}
.guide-row{background:#fff!important}
.guide-row:nth-child(even){background:#f7f9f8!important}
.guide-row:hover{background:#eef5f3!important}
.guide-row.now{
  background:linear-gradient(90deg,rgba(230,172,50,.18),rgba(255,255,255,.92))!important;
}
.guide-row.repeat{
  background:linear-gradient(90deg,rgba(230,172,50,.105),#fff)!important;
}
.guide-repeat-note{background:#fff8e8!important;color:#73520a!important}
.guide-time,.section-title a,.panel-head a,.archive-link{color:#a36b00!important}

.filter-chip,.tab-btn,.day-tab,.program-facts span,.facts span{
  background:#fff!important;
  color:#344850!important;
  border-color:rgba(35,58,69,.14)!important;
}
.filter-chip:hover,.tab-btn:hover,.day-tab:hover{background:#eef4f2!important}
.filter-chip.active,.tab-btn.active,.day-tab.active,
.filter-chip[aria-pressed="true"],.tab-btn[aria-selected="true"],.day-tab[aria-selected="true"]{
  background:var(--gold)!important;border-color:var(--gold)!important;color:#151515!important;
}
.day-tab small{color:#718089!important}
.day-tab.active small,.day-tab[aria-selected="true"] small{color:#45320a!important}

.form input,.form textarea,.form select,.lang-options{
  background:#fff!important;color:#1d2a31!important;
  border-color:rgba(35,58,69,.16)!important;
}
.notice{background:#fff7e7!important;color:#4d5960!important}
.schedule-table tr:nth-child(even) td{background:#f7f9f8!important}
.schedule-table tr:hover td{background:#eef5f3!important}

.kayi-lower-v1,.kayi-episodes-panel,.guide-shell,.section{background:transparent!important}
.kayi-episode-row:hover,.media-card:hover,.list-item:hover,.episode-card:hover,
.ep14:hover,.p14:hover{background:#f5f8f7!important;border-color:rgba(230,172,50,.38)!important}

/* Image-led broadcast surfaces remain intentionally dark for contrast. */
header,.topbar,.v63-footer,.kayi-live-unified,.detail-hero,.program-hero,.hero,
.kayi-live-unified *,.detail-hero .copy,.program-hero-copy,.hero-copy{
  --text:#f4f6f7;--muted:#c8d1d5;
}
header,.topbar,.v63-footer,.kayi-live-unified,.detail-hero,.program-hero,.hero{
  color:#f4f6f7!important;
}
.detail-hero h1,.detail-hero h2,.detail-hero h3,.detail-hero p,
.program-hero h1,.program-hero h2,.program-hero h3,.program-hero p,
.hero h1,.hero h2,.hero h3,.hero p{color:#f4f6f7!important}
.v63-footer a,.v63-footer p,.v63-footer li,.v63-footer span{color:inherit}
.v63-footer-grid > div:not(.v63-footer-brand):not(.v63-contact),.v63-contact{
  background:rgba(255,255,255,.025)!important;
}

/* Image cards keep their cinematic overlay and white titles. */
.program-card,.program-card-v6{background:#13212b!important}
.program-card .program-info,.program-card .program-info h3,.program-card .program-info .time,
.program-card-v6 .meta,.program-card-v6 .meta h3,.program-card-v6 .meta p{
  color:#f5f7f8!important;
}
.program-card:hover,.program-card-v6:hover{background:#172732!important}

/* Soft separation instead of black bands. */
.content-grid,.dashboard,.detail-grid,.detail-layout-v6,.article-grid{color:#1d2a31}
@media(max-width:860px){
  body{background:#f5f7f5!important}
  .panel,.content-card,.info-box,.side-card,.guide-table,.media-card,.list-item,.episode-card{
    box-shadow:0 7px 18px rgba(26,45,55,.045)!important;
  }
}


/* =========================================================
   KAYI TV PUBLIC GLOBAL LIGHT SHELL R10R
   Unifies all public pages with the approved homepage shell.
   Real video and image-led cards may retain dark media overlays.
   ========================================================= */
:root{
  --kayi-shell-ink:#19303d;
  --kayi-shell-muted:#667983;
  --kayi-shell-copper:#b55f2d;
  --kayi-shell-copper-dark:#8f451f;
  --kayi-shell-gold:#e8b85c;
  --kayi-shell-line:#dce5e9;
  --kayi-shell-soft:#f4f7f8;
  --kayi-shell-white:#ffffff;
}

html,body{
  background:
    radial-gradient(circle at 82% 6%,rgba(232,184,92,.08),transparent 26%),
    linear-gradient(180deg,#f8fafb 0%,#f2f5f6 100%)!important;
  color:var(--kayi-shell-ink)!important;
}

/* Header: same light language as the approved homepage. */
.topbar,
header{
  background:rgba(255,255,255,.97)!important;
  color:var(--kayi-shell-ink)!important;
  border-color:var(--kayi-shell-line)!important;
  box-shadow:0 8px 24px rgba(36,58,70,.06)!important;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
header .nav{
  min-height:76px!important;
  height:auto!important;
}
header .brand{
  display:flex!important;
  align-items:center!important;
}
header .brand img{
  width:172px!important;
  height:66px!important;
  object-fit:contain!important;
  object-position:left center!important;
}
header .menu a{
  color:#223b49!important;
}
header .menu a:hover,
header .menu a.active,
header .menu a[aria-current="page"]{
  color:var(--kayi-shell-copper)!important;
}
header .r7-header-search,
header .toggle,
header .v63-lang button{
  color:#29414d!important;
}
header .r7-header-search{
  border-color:rgba(35,58,69,.16)!important;
  background:#fff!important;
}
header .live-btn{
  background:var(--kayi-shell-copper)!important;
  border-color:var(--kayi-shell-copper)!important;
  color:#fff!important;
  box-shadow:none!important;
}
header .live-btn:hover{
  background:var(--kayi-shell-copper-dark)!important;
  border-color:var(--kayi-shell-copper-dark)!important;
}
header .v63-lang button{
  background:#fff!important;
  border-color:rgba(35,58,69,.16)!important;
}
header .v63-lang-menu{
  background:#fff!important;
  border-color:var(--kayi-shell-line)!important;
  box-shadow:0 14px 34px rgba(31,55,67,.12)!important;
}
header .v63-lang-menu a{
  color:#314b58!important;
}
header .v63-lang-menu a:hover,
header .v63-lang-menu a.active{
  background:#fff5ee!important;
  color:var(--kayi-shell-copper-dark)!important;
}

/* Page chrome and common editorial surfaces. */
.page-hero{
  background:
    radial-gradient(circle at 86% 18%,rgba(232,184,92,.10),transparent 31%),
    linear-gradient(120deg,#fbfcfb 0%,#f1f5f3 58%,#edf2f0 100%)!important;
}
.guide-shell,
.section,
.kayi-lower-v1,
.kayi-episodes-panel,
.content-grid,
.dashboard,
.detail-grid,
.detail-layout-v6,
.article-grid{
  background:transparent!important;
}

/* Footer: remove the remaining black band from every public page. */
.v63-footer,
.v63-footer-main,
.v63-footer-bottom{
  background:
    radial-gradient(circle at 90% 8%,rgba(232,184,92,.08),transparent 28%),
    linear-gradient(180deg,#f8faf9 0%,#edf2f1 100%)!important;
  color:#3d535f!important;
  border-color:var(--kayi-shell-line)!important;
  box-shadow:none!important;
}
.v63-footer-main{
  border-top:1px solid var(--kayi-shell-line)!important;
}
.v63-footer-bottom{
  border-top:1px solid var(--kayi-shell-line)!important;
  background:#eaf0ef!important;
}
.v63-footer-grid > div,
.v63-footer-grid > div:not(.v63-footer-brand):not(.v63-contact),
.v63-contact{
  background:transparent!important;
  border-color:rgba(35,58,69,.10)!important;
  box-shadow:none!important;
}
.v63-footer h4,
.v63-footer .v63-social-label{
  color:var(--kayi-shell-copper-dark)!important;
}
.v63-footer a,
.v63-footer p,
.v63-footer li,
.v63-footer span,
.v63-footer .v63-copy,
.v63-footer .v63-legal a{
  color:#536a75!important;
}
.v63-footer a:hover,
.v63-footer .v63-legal a:hover{
  color:var(--kayi-shell-copper)!important;
}
.v63-footer-brand img{
  filter:none!important;
}
.v63-social span:not(.v63-social-label){
  background:#fff!important;
  border-color:rgba(35,58,69,.16)!important;
  color:#405864!important;
}

/* Dedicated live page: when inactive, never present a black fake-player shell. */
html.local-preview-mode .kayi-live-unified,
html.local-preview-mode .kayi-live-unified .kayi-live-unified-head,
html.local-preview-mode .kayi-live-unified .live-local-preview{
  background:
    radial-gradient(circle at 22% 18%,rgba(232,184,92,.10),transparent 30%),
    linear-gradient(145deg,#fbfcfd,#f1f5f6)!important;
  color:var(--kayi-shell-ink)!important;
  border-color:var(--kayi-shell-line)!important;
  box-shadow:0 14px 34px rgba(31,55,67,.08)!important;
}
html.local-preview-mode .kayi-live-unified .kayi-live-unified-head{
  border-bottom:1px solid var(--kayi-shell-line)!important;
}
html.local-preview-mode .kayi-live-unified .kayi-live-unified-badge{
  background:#8b99a1!important;
  color:#fff!important;
}
html.local-preview-mode .kayi-live-unified .kayi-live-unified-title,
html.local-preview-mode .kayi-live-unified .live-local-preview strong{
  color:#213a47!important;
}
html.local-preview-mode .kayi-live-unified .live-local-preview p{
  color:#6b7d86!important;
}
html.local-preview-mode .kayi-live-unified .kayi-live-unified-controls{
  display:none!important;
}

/* If the dedicated page is inactive before unified markup is applied. */
html.local-preview-mode .live-local-preview{
  background:
    radial-gradient(circle at 22% 18%,rgba(232,184,92,.10),transparent 30%),
    linear-gradient(145deg,#fbfcfd,#f1f5f6)!important;
  border-color:var(--kayi-shell-line)!important;
}
html.local-preview-mode .live-local-preview strong{
  color:#213a47!important;
}
html.local-preview-mode .live-local-preview p{
  color:#6b7d86!important;
}

/* Keep actual media itself dark only where technically appropriate. */
.live-embed,
.kayi-live-unified .live-embed{
  background:#06090b!important;
}

@media(max-width:860px){
  header .nav{min-height:68px!important}
  header .brand img{width:142px!important;height:58px!important}
  header .menu{
    background:#fff!important;
    border-bottom:1px solid var(--kayi-shell-line)!important;
    box-shadow:0 12px 24px rgba(31,55,67,.08)!important;
  }
  .v63-footer,
  .v63-footer-main,
  .v63-footer-bottom{
    background:#f3f6f5!important;
  }
}


/* R10R measurable light-surface guards */
html,body{background-color:#f4f7f8!important}
.v63-footer,.v63-footer-main{background-color:#f3f6f5!important}
.v63-footer-bottom{background-color:#eaf0ef!important}
html.local-preview-mode .live-status-v10{
  color:#5f717b!important;
}
html.local-preview-mode .live-status-v10 .live-dot-v10{
  display:none!important;
}


/* R10R final footer surface authority */
.v63-footer,
.v63-footer-main{
  background:#f3f6f5!important;
}
.v63-footer-bottom{
  background:#eaf0ef!important;
}


/* R10S — empty news list collapses instead of showing a system placeholder */
.article-list[hidden]{display:none!important}
.article-grid.cms-news-empty{
  grid-template-columns:minmax(0,1fr)!important;
}
.article-grid.cms-news-empty > .article-card{
  width:100%!important;
  max-width:none!important;
}


/* =========================================================
   KAYI TV GLOBAL LIGHT CONTENT SURFACES R10U
   Removes legacy dark UI surfaces while preserving real media.
   ========================================================= */
body:not(.home-r9v){
  --text:#203946;
  --muted:#667983;
  --panel:#ffffff;
  --panel2:#f7fafb;
  --surface-soft:#f4f7f8;
  --surface-hover:#fff7f1;
  --line:#dce5e9;
}

body:not(.home-r9v) .groups{
  background:#f4f7f8!important;
}

body:not(.home-r9v) .panel,
body:not(.home-r9v) .content-card,
body:not(.home-r9v) .info-box,
body:not(.home-r9v) .side-card,
body:not(.home-r9v) .episode,
body:not(.home-r9v) .guide-table,
body:not(.home-r9v) .series-main,
body:not(.home-r9v) .series-side,
body:not(.home-r9v) .season14,
body:not(.home-r9v) .ep14,
body:not(.home-r9v) .p14,
body:not(.home-r9v) .seg14,
body:not(.home-r9v) .facts14,
body:not(.home-r9v) .kayi-more-panel,
body:not(.home-r9v) .kayi-episode-row,
body:not(.home-r9v) .media-card,
body:not(.home-r9v) .list-item,
body:not(.home-r9v) .episode-card,
body:not(.home-r9v) .cast-card,
body:not(.home-r9v) .article-card,
body:not(.home-r9v) .article-aside .box{
  background:#fff!important;
  color:#203946!important;
  border-color:#dce5e9!important;
  box-shadow:0 8px 22px rgba(31,55,67,.06)!important;
}

body:not(.home-r9v) .panel h1,
body:not(.home-r9v) .panel h2,
body:not(.home-r9v) .panel h3,
body:not(.home-r9v) .content-card h1,
body:not(.home-r9v) .content-card h2,
body:not(.home-r9v) .content-card h3,
body:not(.home-r9v) .info-box h1,
body:not(.home-r9v) .info-box h2,
body:not(.home-r9v) .info-box h3,
body:not(.home-r9v) .side-card h1,
body:not(.home-r9v) .side-card h2,
body:not(.home-r9v) .side-card h3,
body:not(.home-r9v) .media-card h3,
body:not(.home-r9v) .list-item h3,
body:not(.home-r9v) .episode-card h3,
body:not(.home-r9v) .article-card h2,
body:not(.home-r9v) .article-card h3,
body:not(.home-r9v) .kayi-episode-row h3{
  color:#203946!important;
}

body:not(.home-r9v) .panel p,
body:not(.home-r9v) .content-card p,
body:not(.home-r9v) .info-box p,
body:not(.home-r9v) .side-card p,
body:not(.home-r9v) .media-card p,
body:not(.home-r9v) .list-item p,
body:not(.home-r9v) .episode-card p,
body:not(.home-r9v) .article-card p,
body:not(.home-r9v) .kayi-episode-row p{
  color:#667983!important;
}

/* Program cards: photo above, editorial information on a light surface. */
body:not(.home-r9v) .program-card-v6{
  background:#fff!important;
  color:#203946!important;
  border-color:#dce5e9!important;
  box-shadow:0 8px 22px rgba(31,55,67,.07)!important;
}
body:not(.home-r9v) .program-card-v6:hover{
  background:#fff!important;
  border-color:rgba(181,95,45,.38)!important;
  box-shadow:0 12px 28px rgba(31,55,67,.11)!important;
}
body:not(.home-r9v) .program-card-v6 .meta,
body:not(.home-r9v) .program-card-v6 .meta h3{
  color:#203946!important;
}
body:not(.home-r9v) .program-card-v6 .meta p{
  color:#667983!important;
}
body:not(.home-r9v) .program-card-v6 .meta b{
  color:#b55f2d!important;
}
body:not(.home-r9v) .program-card-v6 img{
  background:#edf2f3!important;
}

/* Non-home generic program cards that are not full-bleed hero media. */
body:not(.home-r9v) .program-card:not(.feature-card){
  background:#fff!important;
  border-color:#dce5e9!important;
  box-shadow:0 8px 22px rgba(31,55,67,.06)!important;
}
body:not(.home-r9v) .program-card:not(.feature-card):hover{
  background:#fff!important;
  border-color:rgba(181,95,45,.38)!important;
}

/* Chips, tabs and facts. */
body:not(.home-r9v) .program-facts span,
body:not(.home-r9v) .facts span,
body:not(.home-r9v) .filter-chip,
body:not(.home-r9v) .tab-btn,
body:not(.home-r9v) .day-tab{
  background:#fff!important;
  color:#405864!important;
  border-color:#d7e1e5!important;
}
body:not(.home-r9v) .filter-chip:hover,
body:not(.home-r9v) .tab-btn:hover,
body:not(.home-r9v) .day-tab:hover{
  background:#fff5ee!important;
  color:#8f451f!important;
  border-color:rgba(181,95,45,.30)!important;
}
body:not(.home-r9v) .filter-chip.active,
body:not(.home-r9v) .tab-btn.active,
body:not(.home-r9v) .day-tab.active,
body:not(.home-r9v) .filter-chip[aria-pressed="true"],
body:not(.home-r9v) .tab-btn[aria-selected="true"],
body:not(.home-r9v) .day-tab[aria-selected="true"]{
  background:#e8b85c!important;
  border-color:#e8b85c!important;
  color:#2d261b!important;
}
body:not(.home-r9v) .day-tab small{
  color:#73848d!important;
}
body:not(.home-r9v) .day-tab.active small,
body:not(.home-r9v) .day-tab[aria-selected="true"] small{
  color:#5b461c!important;
}

/* Schedule and table surfaces. */
body:not(.home-r9v) .guide-table{
  background:#fff!important;
}
body:not(.home-r9v) .guide-row{
  background:#fff!important;
  color:#29424f!important;
  border-bottom-color:#e3eaed!important;
}
body:not(.home-r9v) .guide-row:nth-child(even){
  background:#f8fafb!important;
}
body:not(.home-r9v) .guide-row:hover{
  background:#fff5ee!important;
}
body:not(.home-r9v) .guide-row.now{
  background:linear-gradient(90deg,rgba(232,184,92,.20),rgba(232,184,92,.05))!important;
}
body:not(.home-r9v) .guide-row .guide-time,
body:not(.home-r9v) .guide-row .guide-program strong,
body:not(.home-r9v) .guide-row .guide-kind,
body:not(.home-r9v) .guide-row .guide-action{
  color:#29424f!important;
}
body:not(.home-r9v) .guide-row .guide-program small{
  color:#74858d!important;
}
body:not(.home-r9v) .schedule-table td,
body:not(.home-r9v) .schedule-table th{
  background:#fff!important;
  color:#29424f!important;
  border-color:#e3eaed!important;
}
body:not(.home-r9v) .schedule-table tr:nth-child(even) td{
  background:#f8fafb!important;
}
body:not(.home-r9v) .schedule-table tr:hover td{
  background:#fff5ee!important;
}

/* Forms and search surfaces. */
body:not(.home-r9v) .form input,
body:not(.home-r9v) .form textarea,
body:not(.home-r9v) .form select,
body:not(.home-r9v) .lang-options{
  background:#fff!important;
  color:#29424f!important;
  border-color:#d7e1e5!important;
}
body:not(.home-r9v) .form input::placeholder,
body:not(.home-r9v) .form textarea::placeholder{
  color:#83939b!important;
}

/* Preserve true media surfaces. */
body:not(.home-r9v) .program-hero,
body:not(.home-r9v) .detail-hero,
body:not(.home-r9v) .feature-card,
body:not(.home-r9v) .live-embed,
body:not(.home-r9v) video,
body:not(.home-r9v) iframe.live-embed{
  --text:#f4f6f7;
  --muted:#c8d1d5;
}


/* R10U final: program catalog cards become true light editorial cards. */
body:not(.home-r9v) .program-card-v6{
  aspect-ratio:auto!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  background:#fff!important;
}
body:not(.home-r9v) .program-card-v6::after{
  display:none!important;
  content:none!important;
  background:none!important;
}
body:not(.home-r9v) .program-card-v6 img{
  width:100%!important;
  height:auto!important;
  aspect-ratio:16/9!important;
  object-fit:cover!important;
  flex:0 0 auto!important;
}
body:not(.home-r9v) .program-card-v6 .meta{
  position:static!important;
  inset:auto!important;
  z-index:auto!important;
  display:block!important;
  padding:12px 14px 14px!important;
  background:#fff!important;
  color:#203946!important;
  min-height:102px!important;
  box-sizing:border-box!important;
}
body:not(.home-r9v) .program-card-v6 .meta h3{
  margin:0 0 6px!important;
  color:#203946!important;
  font-size:17px!important;
  line-height:1.18!important;
}
body:not(.home-r9v) .program-card-v6 .meta p{
  margin:0!important;
  color:#667983!important;
  font-size:11px!important;
  line-height:1.48!important;
}
body:not(.home-r9v) .program-card-v6 .meta b{
  display:block!important;
  margin:0 0 5px!important;
  color:#b55f2d!important;
  font-size:10px!important;
}


/* R10U final authority: season cards must stay light even under detail-authority CSS. */
html body:not(.home-r9v) .season-card.season14{
  background:#fff!important;
  background-image:none!important;
  color:#203946!important;
  border-color:#dce5e9!important;
  box-shadow:0 8px 22px rgba(31,55,67,.06)!important;
}
html body:not(.home-r9v) .season-card.season14 > b{
  color:#b55f2d!important;
}
html body:not(.home-r9v) .season-card.season14 h3{
  color:#203946!important;
}
html body:not(.home-r9v) .season-card.season14 p{
  color:#667983!important;
}
html body:not(.home-r9v) .season-card.season14 .meta span{
  background:#f4f7f8!important;
  color:#536a75!important;
  border-color:#d7e1e5!important;
}


/* R11C — News landing editorial detail: image beside information */
.article-grid.cms-news-empty{
  grid-template-columns:1fr!important;
}
.article-grid.cms-news-empty > .article-card{
  display:grid!important;
  grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr)!important;
  align-items:stretch!important;
  overflow:hidden!important;
  min-height:330px!important;
}
.article-grid.cms-news-empty > .article-card > img{
  width:100%!important;
  height:100%!important;
  min-height:330px!important;
  object-fit:cover!important;
  margin:0!important;
  border-radius:0!important;
}
.article-grid.cms-news-empty > .article-card > .body{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  padding:34px!important;
  background:#fff!important;
}
.article-grid.cms-news-empty > .article-card > .body h2{
  font-size:clamp(26px,3vw,42px)!important;
  line-height:1.05!important;
  margin:8px 0 14px!important;
}
.article-grid.cms-news-empty > .article-card > .body p{
  font-size:14px!important;
  line-height:1.7!important;
  color:#667983!important;
}
@media(max-width:780px){
  .article-grid.cms-news-empty > .article-card{
    grid-template-columns:1fr!important;
    min-height:0!important;
  }
  .article-grid.cms-news-empty > .article-card > img{
    min-height:0!important;
    aspect-ratio:16/9!important;
    height:auto!important;
  }
  .article-grid.cms-news-empty > .article-card > .body{padding:22px!important}
}


/* =========================================================
   KAYI TV LIGHT DETAIL HERO R11E
   Final light editorial authority for program/movie/episode details.
   Real video playback surfaces are intentionally excluded.
   ========================================================= */
.detail-hero[data-cms-detail="content"],
.detail-hero[data-cms-detail="episode"]{
  background:
    radial-gradient(circle at 88% 12%,rgba(232,184,92,.09),transparent 30%),
    linear-gradient(145deg,#ffffff 0%,#f6f9f9 100%)!important;
  color:#203946!important;
  border:1px solid #dce5e9!important;
  box-shadow:0 14px 34px rgba(31,55,67,.08)!important;
}

/* Program and cinema main detail pages keep the approved two-column geometry,
   but the information surface is light. */
.detail-hero[data-cms-detail="content"] .copy{
  background:transparent!important;
  color:#203946!important;
}
.detail-hero[data-cms-detail="content"] > img{
  border-color:#dce5e9!important;
  box-shadow:0 10px 24px rgba(31,55,67,.08)!important;
}
.detail-hero[data-cms-detail="content"] .content-tree,
.detail-hero[data-cms-detail="content"] .breadcrumb{
  color:#74858d!important;
}
.detail-hero[data-cms-detail="content"] .content-tree a,
.detail-hero[data-cms-detail="content"] .breadcrumb a{
  color:#536a75!important;
}
.detail-hero[data-cms-detail="content"] .content-tree a:hover,
.detail-hero[data-cms-detail="content"] .breadcrumb a:hover{
  color:#b55f2d!important;
}
.detail-hero[data-cms-detail="content"] h1{
  color:#203946!important;
}
.detail-hero[data-cms-detail="content"] .copy > p,
.detail-hero[data-cms-detail="content"] p[data-cms-summary]{
  color:#667983!important;
}
.detail-hero[data-cms-detail="content"] .facts12 span{
  background:#f7fafb!important;
  color:#405864!important;
  border-color:#d7e1e5!important;
}
.detail-hero[data-cms-detail="content"] .subnav14 a{
  background:#fff!important;
  color:#405864!important;
  border-color:#d7e1e5!important;
}
.detail-hero[data-cms-detail="content"] .subnav14 a:hover{
  background:#fff5ee!important;
  color:#8f451f!important;
  border-color:rgba(181,95,45,.32)!important;
}
.detail-hero[data-cms-detail="content"] .kayi-v1-actions a:not(.primary),
.detail-hero[data-cms-detail="content"] .kayi-v1-actions button{
  background:#fff!important;
  color:#405864!important;
  border-color:#d7e1e5!important;
}
.detail-hero[data-cms-detail="content"] .kayi-v1-actions a:not(.primary):hover,
.detail-hero[data-cms-detail="content"] .kayi-v1-actions button:hover{
  background:#fff5ee!important;
  color:#8f451f!important;
  border-color:rgba(181,95,45,.32)!important;
}

/* Empty cinema detail is an editorial placeholder, not a dark panel. */
.detail-hero[data-cms-detail="content"] .cinema-hero-empty{
  background:
    radial-gradient(circle at 50% 35%,rgba(232,184,92,.12),transparent 36%),
    #f3f6f7!important;
  color:#8f451f!important;
  border:1px solid #dce5e9!important;
}

/* Episode detail: restore the two-column editorial layout and remove full-bleed black overlay. */
.detail-hero[data-cms-detail="episode"]{
  position:relative!important;
  width:min(var(--max),calc(100% - 44px))!important;
  max-width:none!important;
  min-height:0!important;
  margin:42px auto 30px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr)!important;
  gap:0!important;
  align-items:stretch!important;
  overflow:hidden!important;
  border-radius:20px!important;
  isolation:auto!important;
}
.detail-hero[data-cms-detail="episode"]::before,
.detail-hero[data-cms-detail="episode"]::after{
  content:none!important;
  display:none!important;
  background:none!important;
}
.detail-hero[data-cms-detail="episode"] > img{
  position:relative!important;
  inset:auto!important;
  grid-column:auto!important;
  grid-row:auto!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:430px!important;
  max-height:540px!important;
  aspect-ratio:16/9!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  object-fit:cover!important;
  object-position:center!important;
  z-index:auto!important;
  filter:none!important;
  transform:none!important;
}
.detail-hero[data-cms-detail="episode"] > .wrap.copy{
  position:relative!important;
  inset:auto!important;
  z-index:auto!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:46px 42px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  background:
    radial-gradient(circle at 100% 0%,rgba(232,184,92,.08),transparent 34%),
    #fff!important;
  color:#203946!important;
}
.detail-hero[data-cms-detail="episode"] .content-tree,
.detail-hero[data-cms-detail="episode"] .breadcrumb{
  color:#74858d!important;
}
.detail-hero[data-cms-detail="episode"] .content-tree a,
.detail-hero[data-cms-detail="episode"] .breadcrumb a{
  color:#536a75!important;
}
.detail-hero[data-cms-detail="episode"] .content-tree a:hover,
.detail-hero[data-cms-detail="episode"] .breadcrumb a:hover{
  color:#b55f2d!important;
}
.detail-hero[data-cms-detail="episode"] h1{
  color:#203946!important;
  font-size:clamp(34px,3.6vw,56px)!important;
  line-height:1.04!important;
}
.detail-hero[data-cms-detail="episode"] p[data-cms-summary]{
  color:#667983!important;
}
.detail-hero[data-cms-detail="episode"] .facts12 span{
  min-height:34px!important;
  padding:8px 11px!important;
  background:#f7fafb!important;
  color:#405864!important;
  border-color:#d7e1e5!important;
  font-size:10px!important;
  line-height:1.25!important;
}

/* RTL keeps the same two-column structure with logical direction, no dark overlay. */
html[dir="rtl"] .detail-hero[data-cms-detail="episode"] > .wrap.copy{
  margin:0!important;
  text-align:right!important;
}

/* Real media/video remains a media surface. */
.live-embed,
.detail-video,
.video-player,
video{
  background:#06090b!important;
}

@media(max-width:860px){
  .detail-hero[data-cms-detail="episode"]{
    width:calc(100% - 24px)!important;
    margin:22px auto 24px!important;
    grid-template-columns:1fr!important;
    border-radius:16px!important;
  }
  .detail-hero[data-cms-detail="episode"] > img{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:16/9!important;
  }
  .detail-hero[data-cms-detail="episode"] > .wrap.copy{
    padding:25px 22px 28px!important;
  }
  .detail-hero[data-cms-detail="episode"] h1{
    font-size:clamp(29px,8vw,42px)!important;
  }
  .detail-hero[data-cms-detail="content"] .copy{
    background:#fff!important;
  }
}


/* R11E measurable final light background authority */
.detail-hero[data-cms-detail="content"],
.detail-hero[data-cms-detail="episode"]{
  background-color:#ffffff!important;
}
.detail-hero[data-cms-detail="episode"] > .wrap.copy{
  background-color:#ffffff!important;
}


/* R11E cinema empty/detail status uses the same light editorial language. */
.cinema-detail-state,
.cinema-state{
  background:#fff8f2!important;
  color:#536a75!important;
  border-color:rgba(181,95,45,.24)!important;
  box-shadow:none!important;
}
.cinema-detail-state strong,
.cinema-state strong{
  color:#8f451f!important;
}


/* =========================================================
   KAYI TV R11E — REMAINING DARK SURFACE CLEANUP
   Lightens UI-only dark surfaces; preserves real media heroes.
   ========================================================= */

/* Episode information panel: light editorial surface. */
body:not(.home-r9v) .side12{
  background:#ffffff!important;
  background-image:none!important;
  color:#203946!important;
  border:1px solid #dce5e9!important;
  box-shadow:0 10px 24px rgba(31,55,67,.07)!important;
}
body:not(.home-r9v) .side12 h3{
  color:#203946!important;
}
body:not(.home-r9v) .side12 dt{
  color:#788a93!important;
}
body:not(.home-r9v) .side12 dd{
  color:#29424f!important;
}

/* Large category feature card: keep full visual, replace black fade with light editorial fade. */
body:not(.home-r9v) .feature-card{
  background:#ffffff!important;
  border-color:#dce5e9!important;
  box-shadow:0 10px 26px rgba(31,55,67,.07)!important;
}
body:not(.home-r9v) .feature-card::after{
  background:linear-gradient(
    0deg,
    rgba(255,255,255,.99) 0%,
    rgba(255,255,255,.98) 24%,
    rgba(255,255,255,.91) 38%,
    rgba(255,255,255,.54) 55%,
    rgba(255,255,255,0) 78%
  )!important;
}
body:not(.home-r9v) .feature-card .copy{
  color:#203946!important;
}
body:not(.home-r9v) .feature-card .copy b{
  color:#b55f2d!important;
}
body:not(.home-r9v) .feature-card .copy h2,
body:not(.home-r9v) .feature-card .copy h3{
  color:#203946!important;
  text-shadow:none!important;
}
body:not(.home-r9v) .feature-card .copy p{
  color:#536a75!important;
  text-shadow:none!important;
}


/* =========================================================
   KAYI TV R11G — GLOBAL LIGHT UTILITY / CORPORATE SURFACES
   UI-only cleanup. Real media cards/heroes remain untouched.
   ========================================================= */

body:not(.home-r9v) .v66-card,
body:not(.home-r9v) .person12,
body:not(.home-r9v) .episode-row,
body:not(.home-r9v) .person-card,
body:not(.home-r9v) .result-card,
body:not(.home-r9v) .corp-card,
body:not(.home-r9v) .value,
body:not(.home-r9v) .r3h-office-card,
body:not(.home-r9v) .r3h-message-card,
body:not(.home-r9v) .show-episode,
body:not(.home-r9v) .contact-box,
body:not(.home-r9v) .form-box,
body:not(.home-r9v) .ad-card{
  background:#ffffff!important;
  background-image:none!important;
  color:#203946!important;
  border-color:#dce5e9!important;
  box-shadow:0 8px 22px rgba(31,55,67,.06)!important;
}

body:not(.home-r9v) .v66-card h2,
body:not(.home-r9v) .v66-card h3,
body:not(.home-r9v) .person12 h3,
body:not(.home-r9v) .episode-row h3,
body:not(.home-r9v) .person-card h3,
body:not(.home-r9v) .result-card h2,
body:not(.home-r9v) .result-card h3,
body:not(.home-r9v) .corp-card h2,
body:not(.home-r9v) .corp-card h3,
body:not(.home-r9v) .value h3,
body:not(.home-r9v) .r3h-office-card h3,
body:not(.home-r9v) .r3h-message-card h2,
body:not(.home-r9v) .r3h-message-card h3,
body:not(.home-r9v) .show-episode h3{
  color:#203946!important;
}

body:not(.home-r9v) .v66-card p,
body:not(.home-r9v) .v66-card li,
body:not(.home-r9v) .person12 p,
body:not(.home-r9v) .episode-row p,
body:not(.home-r9v) .episode-row small,
body:not(.home-r9v) .person-card p,
body:not(.home-r9v) .person-card small,
body:not(.home-r9v) .result-card p,
body:not(.home-r9v) .result-card small,
body:not(.home-r9v) .corp-card p,
body:not(.home-r9v) .value p,
body:not(.home-r9v) .r3h-office-card p,
body:not(.home-r9v) .r3h-office-card small,
body:not(.home-r9v) .r3h-message-card p,
body:not(.home-r9v) .show-episode p,
body:not(.home-r9v) .show-episode small{
  color:#667983!important;
}

body:not(.home-r9v) .episode-row .no,
body:not(.home-r9v) .episode-row .go a,
body:not(.home-r9v) .show-episode b,
body:not(.home-r9v) .person-card b,
body:not(.home-r9v) .v66-card b,
body:not(.home-r9v) .corp-card b{
  color:#b55f2d!important;
}

/* Hub and corporate heroes are informational UI, not media surfaces. */
body:not(.home-r9v) .hub-hero,
body:not(.home-r9v) .corp-hero{
  background:
    radial-gradient(circle at 86% 12%,rgba(232,184,92,.10),transparent 31%),
    linear-gradient(145deg,#ffffff 0%,#f4f8f7 100%)!important;
  color:#203946!important;
  border-color:#dce5e9!important;
}
body:not(.home-r9v) .hub-hero h1,
body:not(.home-r9v) .corp-hero h1,
body:not(.home-r9v) .hub-hero h2,
body:not(.home-r9v) .corp-hero h2{
  color:#203946!important;
}
body:not(.home-r9v) .hub-hero p,
body:not(.home-r9v) .corp-hero p{
  color:#667983!important;
}
body:not(.home-r9v) .hub-hero .breadcrumb,
body:not(.home-r9v) .hub-hero .breadcrumb a,
body:not(.home-r9v) .corp-hero .breadcrumb,
body:not(.home-r9v) .corp-hero .breadcrumb a{
  color:#71838c!important;
}

/* People/avatar UI. */
body:not(.home-r9v) .person12 .avatar,
body:not(.home-r9v) .person-card .avatar{
  background:#f5f8f8!important;
  background-image:none!important;
  color:#b55f2d!important;
  border-color:rgba(181,95,45,.28)!important;
}

/* Search, contact and form controls. */
body:not(.home-r9v) #siteSearch,
body:not(.home-r9v) .searchbox input,
body:not(.home-r9v) .r3h-message-card input,
body:not(.home-r9v) .r3h-message-card select,
body:not(.home-r9v) .r3h-message-card textarea,
body:not(.home-r9v) .field input,
body:not(.home-r9v) .field select,
body:not(.home-r9v) .field textarea{
  background:#ffffff!important;
  color:#29424f!important;
  border-color:#cfdbe0!important;
  box-shadow:none!important;
}
body:not(.home-r9v) #siteSearch::placeholder,
body:not(.home-r9v) .searchbox input::placeholder,
body:not(.home-r9v) .r3h-message-card input::placeholder,
body:not(.home-r9v) .r3h-message-card textarea::placeholder,
body:not(.home-r9v) .field input::placeholder,
body:not(.home-r9v) .field textarea::placeholder{
  color:#82939b!important;
}

/* Legal link tiles should follow the same editorial surface. */
body:not(.home-r9v) .v66-list a{
  background:#ffffff!important;
  color:#29424f!important;
  border-color:#dce5e9!important;
  box-shadow:0 6px 18px rgba(31,55,67,.05)!important;
}
body:not(.home-r9v) .v66-list a:hover{
  background:#fff5ee!important;
  border-color:rgba(181,95,45,.32)!important;
}

/* R13A: readability/media corrections; no content, routes or grid replacement. */
html body:not(.home-r9v){font-size:16px;line-height:1.6;--text:#203946;--muted:#526570}
html body:not(.home-r9v) .page-hero h1{font-size:clamp(36px,5vw,64px)!important;line-height:1.12!important}
html body:not(.home-r9v) .page-hero p{font-size:clamp(16px,1.25vw,18px)!important;line-height:1.7!important;color:#405864!important}
html body:not(.home-r9v) :is(.copy14,.prose12,.article-copy,.article-card,.content-card,.corp-card,.info-box) :is(p,li){font-size:16px!important;line-height:1.7!important;color:#405864!important}
html body:not(.home-r9v) :is(.copy14,.prose12,.article-copy) h2{font-size:clamp(24px,2.2vw,30px)!important;line-height:1.25!important;color:#203946!important}
html body:not(.home-r9v) :is(.copy14,.prose12,.article-copy) h3{font-size:22px!important;line-height:1.3!important;color:#203946!important}
html body:not(.home-r9v) :is(.section-title,.kayi-lower-heading) h2{color:#203946!important;font-size:26px!important;line-height:1.3!important}
html body:not(.home-r9v) :is(.media-card,.list-item,.episode-card) h3{font-size:20px!important;line-height:1.35!important}
html body:not(.home-r9v) :is(.media-card,.list-item,.episode-card) p{font-size:15px!important;line-height:1.6!important;color:#405864!important}
html body:not(.home-r9v) .program-card-v6 .meta h3{font-size:20px!important;line-height:1.3!important}
html body:not(.home-r9v) .program-card-v6 .meta p{font-size:14px!important;line-height:1.6!important;color:#405864!important}
html body:not(.home-r9v) .program-card-v6 .meta b{font-size:13px!important;line-height:1.4!important;color:#89521f!important}
html body:not(.home-r9v) :is(.facts12,.facts,.program-facts) span{font-size:14px!important;line-height:1.45!important;color:#405864!important}
html body:not(.home-r9v) .detail-hero[data-cms-detail] :is(p[data-cms-summary],.copy>p){font-size:17px!important;line-height:1.65!important;color:#405864!important}
html body:not(.home-r9v) .detail-hero[data-cms-detail] .facts12 span{font-size:13px!important;line-height:1.5!important}
html body:not(.home-r9v) :is(.facts14,.side12) h3{font-size:22px!important;line-height:1.3!important;color:#203946!important}
html body:not(.home-r9v) :is(.facts14,.side12) dt{font-size:13px!important;line-height:1.5!important;color:#526570!important;letter-spacing:.045em!important}
html body:not(.home-r9v) :is(.facts14,.side12) dd{font-size:16px!important;line-height:1.55!important;color:#203946!important;overflow-wrap:anywhere}
html body:not(.home-r9v) .kayi-episode-copy h3{font-size:21px!important;line-height:1.35!important;color:#203946!important}
html body:not(.home-r9v) .kayi-episode-kicker{font-size:13px!important;line-height:1.5!important;color:#89521f!important}
html body:not(.home-r9v) .kayi-episode-meta{font-size:15px!important;line-height:1.5!important;color:#526570!important}
html body:not(.home-r9v) .kayi-episode-cta{font-size:15px!important;line-height:1.4!important;font-weight:700!important;color:#89521f!important;border-color:#b57b3e!important;min-height:42px;display:inline-flex;align-items:center;justify-content:center}
html body:not(.home-r9v) .kayi-more-card h3{color:#203946!important;font-size:16px!important;line-height:1.5!important}
html body:not(.home-r9v) .kayi-more-title{font-size:24px!important;line-height:1.3!important;color:#203946!important}
html body:not(.home-r9v) :is(.kayi-episode-copy,.kayi-more-card h3){min-width:0;overflow-wrap:break-word}
/* Category image: remove the full-image white mist; shade only the text area. */
html body:not(.home-r9v) .feature-card::after{content:none!important;display:none!important;background:none!important}
html body:not(.home-r9v) .feature-card .copy{background:linear-gradient(0deg,rgba(18,34,43,.96),rgba(18,34,43,.84) 70%,rgba(18,34,43,0))!important;padding-top:32px!important;color:#fff!important}
html body:not(.home-r9v) .feature-card .copy :is(h2,h3){color:#fff!important;font-size:clamp(25px,2.4vw,34px)!important;line-height:1.2!important;text-shadow:none!important}
html body:not(.home-r9v) .feature-card .copy p{color:#fff!important;font-size:15px!important;line-height:1.55!important;text-shadow:none!important}
html body:not(.home-r9v) .feature-card .copy b{color:#f5cb78!important;font-size:13px!important;line-height:1.5!important}
html body:not(.home-r9v) .feature-card>img{filter:none!important;opacity:1!important}
/* Contact and form labels keep the original layout and field semantics. */
html body:not(.home-r9v) .r3h-office-card h2{color:#203946!important;font-size:23px!important;line-height:1.35!important}
html body:not(.home-r9v) .r3h-office-card :is(li,li>a,li>span){color:#405864!important;font-size:16px!important;line-height:1.65!important}
html body:not(.home-r9v) .r3h-office-card .r3h-contact-whatsapp{color:#087745!important;text-decoration:underline!important}
html body:not(.home-r9v) .r3h-office-card .r3h-contact-wa-icon{color:#087745!important}
html body:not(.home-r9v) .r3h-message-card label{color:#203946!important;font-size:15px!important;line-height:1.5!important}
html body:not(.home-r9v) .r3h-message-card label>span{color:#203946!important;font-size:15px!important;font-weight:600!important}
html body:not(.home-r9v) .r3h-message-card :is(input,select,textarea){font-size:16px!important;line-height:1.5!important;color:#203946!important}
html body:not(.home-r9v) .r3h-message-card :is(input,textarea)::placeholder{color:#526570!important;opacity:1!important}
html body:not(.home-r9v) :is(.r3h-message-heading p,.r3h-form-status,.r3h-consent,.r3h-contact-note p){color:#405864!important;font-size:15px!important;line-height:1.65!important}
html body:not(.home-r9v) .r3h-contact-note h3{color:#203946!important}
/* News: original mark as a compact signature, not an oversized cover. */
html body .article-launch-media{display:flex!important;align-items:center;gap:18px;max-width:680px;margin:20px auto!important;padding:16px;background:#fff;border:1px solid #dce5e9;border-radius:14px;box-sizing:border-box}
html body .article-launch-media img{width:112px!important;height:112px!important;max-width:35%!important;aspect-ratio:1!important;object-fit:contain!important;flex:0 0 auto;border:0!important;border-radius:0!important;background:transparent!important}
html body .article-launch-media figcaption{font-size:14px!important;line-height:1.6!important;color:#405864!important;margin:0!important}
html body .article-launch-video{width:100%!important;max-width:680px!important;aspect-ratio:16/9!important;min-height:200px;margin:20px auto 28px!important}
html body .article-launch-video iframe{display:block;width:100%!important;height:100%!important;min-height:200px;aspect-ratio:16/9;border:0;border-radius:14px}
html body main :is(.article-card,.article-list,.news-item) img[src$="kayi-tv-logo.png"]{object-fit:contain!important;padding:24px!important;box-sizing:border-box;background:#fff!important}
@media(max-width:640px){html body .article-launch-media{gap:14px;padding:12px}html body .article-launch-media img{width:80px!important;height:80px!important}html body:not(.home-r9v) .kayi-episode-copy h3{font-size:18px!important}}
/* The fallback cover is a real play button; it is removed on activation. */
html body :is(.kayi-live-unified,.live-box).is-video-fallback .kayi-fallback-poster{bottom:52px!important;border:0!important;margin:0!important;padding:0!important;background:linear-gradient(135deg,#fff,#edf3f4)!important;color:#203946!important;font:inherit}
html body :is(.kayi-live-unified,.live-box).is-video-fallback .kayi-fallback-poster::after{display:none!important;content:none!important}
html body :is(.kayi-live-unified,.live-box).is-video-fallback .kayi-fallback-poster img{position:absolute!important;left:50%!important;top:35%!important;transform:translate(-50%,-50%)!important;width:clamp(72px,12vw,112px)!important;height:clamp(72px,12vw,112px)!important;object-fit:contain!important;filter:none!important;background:transparent!important}
html body :is(.kayi-live-unified,.live-box).is-video-fallback .kayi-fallback-play{top:76%!important;width:52px!important;height:52px!important;font-size:23px!important;box-shadow:0 5px 15px rgba(31,55,67,.14)!important}
html body .is-video-fallback .kayi-fallback-logo{display:none!important}
html body .kayi-fallback-open{height:52px!important;box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;padding:10px 16px;background:#fff;color:#89521f!important;text-decoration:underline;font-size:15px!important;line-height:1.5!important;position:relative;z-index:8}
html body .kayi-fallback-poster:focus-visible,html body .kayi-fallback-open:focus-visible{outline:3px solid #167b96!important;outline-offset:-4px!important}
html body .is-fallback-playing .kayi-fallback-poster{display:none!important}
html body .is-video-fallback .live-embed{min-height:200px!important}
/* CMS-rendered news article uses the same readable text hierarchy. */
html body main[data-cms-slug="kayi-tv-afrique-lance-ses-programmes-en-francais"] .article-body{max-width:960px;margin-inline:auto;color:#203946!important}
html body .article-body h1{color:#203946!important;font-size:clamp(30px,3.5vw,46px)!important;line-height:1.2!important}
html body .article-body :is(p,[data-cms-description]){font-size:17px!important;line-height:1.75!important;color:#405864!important}
html body .article-body>a{color:#89521f!important;font-size:15px!important;text-decoration:underline}
/* Align the small readability gradient with the card edges. */
html body:not(.home-r9v) .feature-card .copy{left:0!important;right:0!important;bottom:0!important;max-width:none!important;padding:34px 20px 18px!important}
html body:not(.home-r9v) :is(.list-item,.media-card,.episode-card,.article-card)>:is(b,small),html body:not(.home-r9v) :is(.list-item,.media-card,.episode-card,.article-card) .body>b{font-size:13px!important;line-height:1.5!important;color:#89521f!important}
html body:not(.home-r9v) :is(.filter-chip,.tab-btn,.day-tab){font-size:14px!important;line-height:1.5!important}
html body:not(.home-r9v) :is(.section-title a,.archive-link){font-size:14px!important;color:#89521f!important}
/* Final responsive/contact and active-player chrome review. */
html body:not(.home-r9v) .v66-hero h1{color:#203946!important;font-size:clamp(36px,5vw,64px)!important;line-height:1.15!important}
html body:not(.home-r9v) .v66-hero p{color:#405864!important;font-size:17px!important;line-height:1.7!important}
html body:not(.home-r9v) .r3h-message-heading h2{font-size:26px!important;line-height:1.3!important;color:#203946!important}
html body:not(.home-r9v) :is(.media-card,.list-item,.episode-card) b{font-size:13px!important;line-height:1.5!important;color:#89521f!important}
html body .live-status-v10{color:#405864!important;font-size:15px!important}
html body .live-status-v10[hidden]{display:none!important}
html body .kayi-live-unified .kayi-live-unified-head{background:#fff!important;color:#203946!important;border-color:#dce5e9!important}
html body .kayi-live-unified .kayi-live-unified-title{color:#203946!important;font-size:15px!important}
@media(max-width:640px){html body:not(.home-r9v) .r3h-office-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}html body:not(.home-r9v) .r3h-office-card{padding:20px!important}html body:not(.home-r9v) .r3h-office-card h2{font-size:22px!important}}

/* R14B3 — verified WCAG AA text contrast corrections only. */
@media(max-width:760px){
  html body .v63-footer-grid > div:not(.v63-footer-brand) > h4,
  html body .v63-contact > h4{color:#8f451f!important}
}
html body:not(.home-r9v) .media-card .tag,
html body:not(.home-r9v) .result-card .body > b,
html body:not(.home-r9v) .season-head .eyebrow,
html body:not(.home-r9v) .article-copy > .kicker{color:#89521f!important}
html body:not(.home-r9v) .media-card .meta span,
html body:not(.home-r9v) .season-card .meta span,
html body:not(.home-r9v) .guide-row .guide-program small,
html body:not(.home-r9v) .guide-head > span,
html body:not(.home-r9v) .breadcrumb > span:last-child,
html body:not(.home-r9v) .season-head > p{color:#526570!important}
html body:not(.home-r9v) .tagcloud a{color:#526570!important}
html body:not(.home-r9v) .person12 .avatar,
html body:not(.home-r9v) .person-card .avatar{color:#89521f!important}
html body:not(.home-r9v) .article-aside .box p{color:#405864!important}
html body:not(.home-r9v) .article-card small,
html body:not(.home-r9v) .news-item small{color:#526570!important}


/* R14B3 v2 — remaining verified text contrast selectors. */
@media(max-width:760px){
  html body .v63-footer .v63-footer-grid > div:not(.v63-footer-brand) > h4,
  html body .v63-footer .v63-contact > h4{color:#8f451f!important}
}
html body:not(.home-r9v) .day-tabs .day-tab > small{color:#526570!important}
html body:not(.home-r9v) main .breadcrumb > span:last-child{color:#526570!important}
html body:not(.home-r9v) main .season-head > p{color:#526570!important}
html body:not(.home-r9v) [data-cms-news-list] small{color:#526570!important}

/* R14B3 v3 — active day tab keeps AA contrast on gold state. */
html body:not(.home-r9v) .day-tabs .day-tab.active > small,
html body:not(.home-r9v) .day-tabs .day-tab[aria-selected="true"] > small{color:#3b2b08!important}

/* R14B3 v3 — detail authority specificity, text only. */
html.kayi-detail-series-authority body:not(.home-r9v) .kayi-authority-season-section .season-head > p,
html.kayi-detail-documentary-authority body:not(.home-r9v) .kayi-authority-season-section .season-head > p{color:#526570!important}

/* R14B3 v4 — content-detail current breadcrumb label, separator excluded. */
html body:not(.home-r9v) .detail-hero[data-cms-detail="content"] .content-tree > span:last-child{color:#526570!important}

/* R14B3 v5 — verified mobile schedule grid containment, preserve four columns. */
@media(max-width:680px){
  html body .day-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  html body .day-tabs .day-tab{
    min-width:0!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
}
