/* TV pages (programmes-tv.php, detailMovie.php), 2026-10-30. Prefix .zt- */
.zt { --zt-accent: #60ff00; --zt-bg: #2b2b31; --zt-card: #232328; --zt-card2: #1d1d22; --zt-line: rgba(255,255,255,.09); --zt-text: #fff; --zt-muted: #a1a1aa; --zt-top: 90px;
	color: var(--zt-text); font-family: 'Open Sans', sans-serif; padding-bottom: 60px; }
.zt *, .zt *::before, .zt *::after { box-sizing: border-box; }
.zt a { color: inherit; text-decoration: none; }
.zt-wrap { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }

/* title */
.zt-head { padding: 120px 0 10px; }
.zt-head h1 { margin: 0; font: 500 44px/1.1 Oswald, sans-serif; letter-spacing: .5px; text-transform: none; color: #fff; }
.zt-head h1 small { display: block; margin-top: 6px; font: 400 17px 'Open Sans', sans-serif; color: var(--zt-muted); letter-spacing: 0; }

/* toolbar: days, moment, kinds */
.zt-bar-top { position: sticky; top: var(--zt-top); z-index: 20; background: rgba(43,43,49,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--zt-line); margin-top: 14px; }
.zt-days, .zt-kinds { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.zt-days::-webkit-scrollbar, .zt-kinds::-webkit-scrollbar { display: none; }
.zt-day { flex: none; display: flex; flex-direction: column; align-items: center; min-width: 64px; padding: 6px 10px; border-radius: 10px; color: var(--zt-muted); font-size: 12px; line-height: 1.25; transition: .15s; }
.zt-day b { font: 500 16px Oswald, sans-serif; color: #fff; letter-spacing: .3px; }
.zt-day:hover { background: rgba(255,255,255,.06); }
.zt-day.on { background: var(--zt-accent); color: #111; }
.zt-day.on b { color: #111; }
.zt-line2 { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--zt-line); }
.zt-moments { flex: none; display: flex; background: var(--zt-card2); border-radius: 22px; padding: 3px; margin: 8px 0; }
.zt-moments a { height: 34px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 18px; font: 500 14px Oswald, sans-serif; letter-spacing: .6px; text-transform: uppercase; color: #d4d4d8; white-space: nowrap; }
.zt-moments a.on { background: #fff; color: #111; }
.zt-moments sup { text-transform: none; font-size: 9px; margin-left: 1px; }
.zt-moments a .zt-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #e11d48; box-shadow: 0 0 0 3px rgba(225,29,72,.25); }
.zt-kinds { flex: 1; min-width: 0; padding: 8px 0; }
.zt-kind { flex: none; height: 32px; padding: 0 13px; border-radius: 16px; border: 1px solid var(--zt-line); background: none; color: #d4d4d8; font: 13px 'Open Sans', sans-serif; cursor: pointer; white-space: nowrap; transition: .15s; }
.zt-kind small { color: var(--zt-muted); margin-left: 3px; }
.zt-kind:hover { border-color: rgba(255,255,255,.3); }
.zt-kind.on { border-color: var(--zt-accent); color: var(--zt-accent); }

.zt-h2 { margin: 34px 0 16px; font: 500 15px Oswald, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: var(--zt-muted); display: flex; align-items: center; gap: 12px; }
.zt-h2::after { content: ''; flex: 1; height: 1px; background: var(--zt-line); }

/* cards */
.zt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.zt-card { display: flex; flex-direction: column; background: var(--zt-card); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .2s, box-shadow .2s; }
.zt-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.zt-card.is-hidden { display: none; }
.zt-pic { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #1a1a1f; }
.zt-img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.zt-card:hover .zt-img { transform: scale(1.03); }
/* no picture: the colours of the channel */
.zt-noimg { --zt-ch: #4b4b57; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: radial-gradient(120% 140% at 85% 0%, color-mix(in srgb, var(--zt-ch) 70%, transparent), transparent 60%), linear-gradient(135deg, color-mix(in srgb, var(--zt-ch) 45%, #1d1d22), #1d1d22 75%); }
.zt-noimg img { width: 34%; max-height: 40%; object-fit: contain; opacity: .85; filter: drop-shadow(0 6px 18px rgba(0,0,0,.45)); }
.zt-card--noimg .zt-pic { aspect-ratio: 16 / 5; }
.zt-card--noimg .zt-noimg img { width: 22%; max-height: 52%; }
.zt-logo { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; justify-content: center; height: 38px; min-width: 54px; padding: 6px 9px; border-radius: 9px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.zt-logo img { height: 24px; max-width: 64px; object-fit: contain; }
.zt-age { position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #111; font: 700 12px/30px 'Open Sans', sans-serif; text-align: center; }
.zt-body { flex: 1; display: flex; flex-direction: column; padding: 14px 16px 14px; }
.zt-time { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 13px; color: var(--zt-muted); }
.zt-time time { font: 500 20px Oswald, sans-serif; color: var(--zt-accent); }
.zt-time em { margin-left: auto; font-style: normal; color: #facc15; letter-spacing: 2px; font-size: 13px; }
.zt-live { padding: 2px 7px; border-radius: 4px; background: #e11d48; color: #fff; font: 700 10px/1.6 'Open Sans', sans-serif; letter-spacing: .6px; }
.zt-card h3 { margin: 0; font: 600 20px/1.25 'Open Sans', sans-serif; letter-spacing: 0; text-transform: none; color: #fff; }
.zt-card h3 a:hover { color: var(--zt-accent); }
.zt-sub { margin: 3px 0 0; font-size: 14px; color: #d4d4d8; }
.zt-meta { margin: 5px 0 0; font-size: 13px; color: var(--zt-muted); }
.zt-story { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: #c4c4cc; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.zt-bar { display: block; height: 4px; margin-top: 10px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; font-style: normal; }
.zt-bar i { display: block; height: 100%; width: 0; background: #e11d48; border-radius: 2px; transition: width .6s; }
.zt-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 10px; }
.zt-after { flex: 1; min-width: 0; font-size: 13px; color: #d4d4d8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-top: 12px; border-top: 1px solid var(--zt-line); }
.zt-after span { color: var(--zt-muted); margin-right: 6px; }
.zt-after:hover { color: var(--zt-accent); }
.zt-daybtn { flex: none; margin-left: auto; margin-top: 12px; height: 30px; padding: 0 12px; border-radius: 15px; border: 1px solid var(--zt-line); background: none; color: #d4d4d8; font: 12px 'Open Sans', sans-serif; cursor: pointer; }
.zt-daybtn:hover { border-color: var(--zt-accent); color: var(--zt-accent); }

/* "À la une": one big, two beside it */
.zt-featured { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 22px; }
.zt-featured .zt-card--big { grid-row: span 2; }
.zt-featured .zt-card--big .zt-pic { aspect-ratio: 16 / 9; }
.zt-featured .zt-card--big h3 { font-size: 28px; }
.zt-featured .zt-card--big .zt-story { display: block; -webkit-line-clamp: unset; overflow: visible; font-size: 15px; }
.zt-avis { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: rgba(96,255,0,.07); border-left: 3px solid var(--zt-accent); }
.zt-avis__h { margin: 0 0 6px; font: 500 14px Oswald, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: var(--zt-accent); }
.zt-avis__h b { margin-left: 8px; padding: 2px 8px; border-radius: 10px; background: var(--zt-accent); color: #111; font-weight: 500; letter-spacing: .5px; }
.zt-avis__t { margin: 0; font-size: 15px; line-height: 1.6; color: #e4e4e7; font-style: italic; }
.zt-avis.is-loading .zt-avis__t { color: var(--zt-muted); animation: ztPulse 1.4s ease-in-out infinite; }
@keyframes ztPulse { 50% { opacity: .45; } }
.zt-featured .zt-card:not(.zt-card--big) .zt-story, .zt-featured .zt-card:not(.zt-card--big) .zt-sub { display: none; }
.zt-filtering .zt-featured-block { display: none; }
.zt-empty { padding: 30px 0; color: var(--zt-muted); }

/* the day of one channel */
.zt-panel { --zt-accent: #60ff00; --zt-line: rgba(255,255,255,.09); --zt-muted: #a1a1aa; position: fixed; inset: 0; z-index: 1000; display: none; font-family: 'Open Sans', sans-serif; }
.zt-panel *, .zt-panel *::before, .zt-panel *::after { box-sizing: border-box; }
.zt-panel a { color: inherit; text-decoration: none; }
.zt-panel.open { display: block; }
.zt-panel .zt-empty { padding: 20px 10px; color: var(--zt-muted); }
.zt-panel .zt-bar { display: block; height: 4px; margin-top: 8px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.zt-panel .zt-bar i { display: block; height: 100%; width: 0; background: #e11d48; }
.zt-panel__bg { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.zt-panel__box { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: #1d1d22; display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0,0,0,.5); animation: ztIn .25s ease-out; }
@keyframes ztIn { from { transform: translateX(40px); opacity: 0; } }
.zt-panel__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--zt-line); }
.zt-panel__head img { height: 30px; max-width: 70px; object-fit: contain; }
.zt-panel__head h2 { flex: 1; margin: 0; font: 500 20px Oswald, sans-serif; color: #fff; letter-spacing: .4px; text-transform: none; }
.zt-panel__head h2 small { display: block; font: 13px 'Open Sans', sans-serif; color: var(--zt-muted); }
.zt-panel__close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 22px; cursor: pointer; }
.zt-panel__list { flex: 1; overflow-y: auto; padding: 8px 10px 30px; }
.zt-row { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: start; padding: 10px; border-radius: 8px; }
.zt-row:hover { background: rgba(255,255,255,.05); }
.zt-row time { font: 500 16px Oswald, sans-serif; color: #fff; }
.zt-row b { display: block; font-weight: 600; font-size: 14px; color: #fff; }
.zt-row small { display: block; font-size: 12px; color: var(--zt-muted); margin-top: 2px; }
.zt-row em { font-style: normal; color: #facc15; font-size: 11px; letter-spacing: 1px; }
.zt-row.is-past { opacity: .45; }
.zt-row.is-prime time { color: var(--zt-accent); }
.zt-row.is-live { background: rgba(225,29,72,.12); }
.zt-row.is-live time { color: #fb7185; }

@media (max-width: 991px) {
	.zt-featured { grid-template-columns: 1fr 1fr; }
	.zt-featured .zt-card--big { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 767px) {
	.zt { --zt-top: 70px; }
	.zt-bar-top { position: static; backdrop-filter: none; -webkit-backdrop-filter: none; }
	.zt-head { padding: 96px 0 4px; }
	.zt-head h1 { font-size: 32px; }
	.zt-head h1 small { font-size: 15px; }
	.zt-line2 { flex-direction: column; align-items: stretch; gap: 0; }
	.zt-moments { margin: 8px 0 0; }
	.zt-moments a { flex: 1; justify-content: center; padding: 0 8px; font-size: 13px; }
	.zt-grid { grid-template-columns: 1fr; gap: 18px; }
	.zt-featured { grid-template-columns: 1fr; }
	.zt-featured .zt-card--big { grid-column: auto; }
	.zt-featured .zt-card--big h3 { font-size: 23px; }
	.zt-featured .zt-card:not(.zt-card--big) { display: none; }
	.zt-card h3 { font-size: 19px; }
}

/* the page of one programme (detailMovie.php) */
.zd { padding-top: 0; }
.zd .zt-nav { margin-bottom: 0; }
.zd-hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; background: #1a1a1f; }
/* the pictures are 800 px wide at most: on computers they take the right two thirds, fading into the text */
.zd-hero__pic { position: absolute; top: 0; right: 0; bottom: 0; width: 66%; }
.zd-hero__pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.zd-hero__pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #1d1d22 0%, rgba(29,29,34,.75) 22%, rgba(29,29,34,0) 55%); }
/* one plain background, and the fade to the page across the whole width, so no edge shows */
.zd-hero { background: #1d1d22; }
.zd-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(0deg, #2b2b31, rgba(43,43,49,0)); pointer-events: none; }
.zd-hero__in { z-index: 1; }
.zd-hero--noimg .zd-hero__pic { width: 100%; }
.zd-hero--noimg { min-height: 380px; }
.zd-hero--noimg .zd-hero__pic::after { background: none; }
.zd-hero--noimg .zt-noimg img { width: 18%; max-height: 40%; margin-left: 45%; }
.zd-hero__in { position: relative; padding: 40px 0 34px; }
.zd-crumb { font-size: 13px; color: var(--zt-muted); margin-bottom: 18px; }
.zd-crumb a:hover { color: var(--zt-accent); }
.zd-when { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 14px; font-size: 15px; color: #e4e4e7; }
.zd-when b { font: 500 22px Oswald, sans-serif; color: var(--zt-accent); }
.zd-when .zt-logo { position: static; }
.zd h1 { margin: 0; max-width: 760px; font: 500 54px/1.08 Oswald, sans-serif; letter-spacing: .3px; text-transform: none; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.zd-sub { margin: 10px 0 0; max-width: 700px; font-size: 18px; color: #e4e4e7; }
.zd-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.zd-meta span { padding: 5px 12px; border-radius: 16px; background: rgba(255,255,255,.1); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 13px; color: #fff; }
.zd-meta .zd-age { background: #fff; color: #111; font-weight: 700; }
.zd-meta .zd-stars { color: #facc15; letter-spacing: 2px; }
.zd-bar { max-width: 420px; margin-top: 18px; }
.zd-cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; }
.zd-story { margin: 0; font-size: 17px; line-height: 1.75; color: #e4e4e7; max-width: 760px; }
.zd .zt-avis { margin-top: 24px; max-width: 760px; }
.zd-credits { margin: 0; display: grid; gap: 12px; }
.zd-credits div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--zt-line); }
.zd-credits dt { font: 500 14px Oswald, sans-serif; letter-spacing: .8px; text-transform: uppercase; color: var(--zt-muted); }
.zd-credits dd { margin: 0; font-size: 15px; color: #fff; line-height: 1.6; }
.zd-credits small { color: var(--zt-muted); font-size: 13px; }
.zd-list { background: var(--zt-card); border-radius: 12px; padding: 6px; }
.zd-list .zt-row { grid-template-columns: 58px 1fr; }
.zd-list .zt-row.is-current { background: rgba(96,255,0,.1); }
.zd-list .zt-row.is-current time, .zd-list .zt-row.is-current small { color: var(--zt-accent); }
.zd-list .zd-date { font: 13px/1.35 'Open Sans', sans-serif; color: var(--zt-accent); }
.zd-list .zt-row:has(.zd-date) { grid-template-columns: 110px 1fr; }
.zd-more { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--zt-accent) !important; }
.zd-like { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.zd-like__item b { display: block; margin-top: 10px; font-size: 15px; font-weight: 600; color: #fff; line-height: 1.3; }
.zd-like__item small { display: block; margin-top: 4px; font-size: 12px; color: var(--zt-muted); }
.zd-like__item em { font-style: normal; color: #facc15; }
.zd-like__item .zt-pic { border-radius: 10px; }
.zd-like__item .zt-logo { left: 8px; bottom: 8px; height: 28px; min-width: 40px; padding: 4px 6px; }
.zd-like__item .zt-logo img { height: 18px; }
.zd-like__item:hover b { color: var(--zt-accent); }
.zd-like__item:hover .zt-img { transform: scale(1.04); }
@media (max-width: 991px) {
	.zd-cols { grid-template-columns: 1fr; gap: 10px; }
	.zd-like { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.zd { padding-top: 0; }
	.zd-hero { display: block; min-height: 0; }
	.zd-hero__pic { position: relative; width: 100%; aspect-ratio: 16 / 9; }
	.zd-hero__pic::after { background: linear-gradient(0deg, #2b2b31 0%, rgba(43,43,49,0) 40%); }
	.zd-hero::after { display: none; }
	.zd-hero { background: none; }
	.zd-hero--noimg .zt-noimg img { margin-left: 0; width: 26%; }
	.zd-hero__in { padding: 6px 0 20px; }
	.zd h1 { font-size: 34px; }
	.zd-sub { font-size: 16px; }
	.zd-story { font-size: 16px; }
	.zd-credits div { grid-template-columns: 1fr; gap: 2px; }
	.zd-like { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 6px; }
	.zd-like__item { flex: 0 0 62%; scroll-snap-align: start; }
}

/* menu of the TV section */
.zt-nav { position: relative; z-index: 21; background: #1d1d22; border-bottom: 1px solid var(--zt-line); margin-top: 90px; }
.zt-nav .zt-wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.zt-nav .zt-wrap::-webkit-scrollbar { display: none; }
.zt-nav a { flex: none; display: inline-flex; align-items: center; height: 52px; padding: 0 16px; font: 500 15px Oswald, sans-serif; letter-spacing: .8px; text-transform: uppercase; color: #a1a1aa; border-bottom: 3px solid transparent; transition: .15s; }
.zt-nav a:hover { color: #fff; }
.zt-nav a.on { color: #fff; border-bottom-color: var(--zt-accent); }
.zt-nav .zt-dot, .zc-line .zt-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #e11d48; box-shadow: 0 0 0 3px rgba(225,29,72,.25); }
.zt-nav ~ .zt-head { padding-top: 34px; }
.zt-h1logo { height: 40px; max-width: 120px; object-fit: contain; vertical-align: -6px; margin-right: 16px; }

/* labels */
.zt-badge { display: inline-block; margin-left: 8px; padding: 1px 6px; border-radius: 4px; border: 1px solid rgba(255,255,255,.35); color: #e4e4e7; font: 600 10px/1.5 'Open Sans', sans-serif; letter-spacing: .5px; text-transform: uppercase; vertical-align: 3px; }
.zt-badge--new { border-color: var(--zt-accent); color: var(--zt-accent); }

/* lists of the week (films, series, sport, one channel) */
.zt-view { padding-top: 6px; }
.zl-day[hidden], .zl-item[hidden] { display: none; }
.zl-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.zl-list--day { grid-template-columns: 1fr; gap: 6px; }
.zl-item { display: flex; gap: 16px; padding: 12px; border-radius: 12px; background: var(--zt-card); color: #fff; border: 1px solid transparent; transition: border-color .15s, background .15s; }
.zl-item:hover { border-color: rgba(96,255,0,.5); color: #fff; }
.zl-item.is-live { border-color: rgba(225,29,72,.6); }
.zl-item.is-past { opacity: .5; }
.zl-pic { position: relative; flex: none; width: 176px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #1a1a1f; }
.zl-pic > img { width: 100%; height: 100%; object-fit: cover; }
.zl-pic .zt-logo { left: 6px; bottom: 6px; height: 26px; min-width: 36px; padding: 4px 6px; border-radius: 6px; }
.zl-pic .zt-logo img { height: 16px; max-width: 46px; }
.zl-pic .zt-noimg img { width: 40%; }
.zl-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.zl-time { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--zt-muted); }
.zl-time time { font: 500 18px Oswald, sans-serif; color: var(--zt-accent); }
.zl-time em { font-style: normal; color: #facc15; letter-spacing: 1px; }
.zl-time .zt-badge { margin-left: 0; vertical-align: 0; }
.zl-title { font-size: 16px; font-weight: 600; line-height: 1.3; }
.zl-sub { font-size: 14px; color: #e4e4e7; }
.zl-meta { font-size: 12px; color: var(--zt-muted); }
.zl-story { font-size: 13px; line-height: 1.5; color: #c4c4cc; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; }
.zl-list--day .zl-item { padding: 8px 10px; background: transparent; border-bottom: 1px solid var(--zt-line); border-radius: 0; }
.zl-list--day .zl-item:hover { background: var(--zt-card); }
.zl-list--day .zl-pic { width: 120px; }
.zl-list--day .zl-story { -webkit-line-clamp: 1; }
.zl-item--big .zl-pic { width: 300px; }
.zl-item--big .zl-title { font-size: 21px; }
.zl-item--big .zl-story { -webkit-line-clamp: 4; font-size: 14px; }
.zl-list--evening { grid-template-columns: 1fr 1fr; }
.zl-list--evening .zl-item { flex-direction: column; }
.zl-list--evening .zl-pic { width: 100%; }

/* the channels */
.zc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.zc-tile { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 12px; background: var(--zt-card); color: #fff; border: 1px solid transparent; transition: .15s; }
.zc-tile:hover { border-color: rgba(96,255,0,.5); color: #fff; transform: translateY(-2px); }
.zc-logo { height: 44px; display: flex; align-items: center; }
.zc-logo img { max-height: 40px; max-width: 110px; object-fit: contain; }
.zc-name { font: 500 15px Oswald, sans-serif; letter-spacing: .6px; color: var(--zt-muted); }
.zc-line { font-size: 13px; color: #e4e4e7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zc-line b { color: var(--zt-accent); font-weight: 600; }

/* the time grid: one minute = --zg-m pixels, channels column --zg-ch wide */
.zt-wide { width: calc(100% - 32px); max-width: 1680px; margin: 0 auto; }
.zg { --zg-m: 4px; --zg-ch: 86px; --zg-row: 62px; position: relative; border-radius: 12px; background: #1d1d22; border: 1px solid var(--zt-line); overflow: hidden; }
.zg-scroll { overflow: auto; max-height: calc(100vh - 230px); overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #444 transparent; }
.zg-inner { position: relative; width: calc(var(--zg-ch) + var(--zg-m) * var(--zg-w)); }
.zg-hours, .zg-row { display: flex; }
.zg-hours { position: sticky; top: 0; z-index: 3; height: 34px; background: #1d1d22; border-bottom: 1px solid var(--zt-line); }
.zg-corner, .zg-ch { position: sticky; left: 0; z-index: 2; flex: none; width: var(--zg-ch); background: #1d1d22; border-right: 1px solid var(--zt-line); }
.zg-corner { z-index: 4; }
.zg-line { position: relative; flex: 1; }
.zg-hour { position: absolute; top: 0; height: 34px; padding-left: 6px; border-left: 1px solid rgba(255,255,255,.18); font: 500 13px/34px Oswald, sans-serif; color: #e4e4e7; }
.zg-half { color: var(--zt-muted); border-left-color: rgba(255,255,255,.07); font-size: 11px; }
.zg-row { height: var(--zg-row); border-bottom: 1px solid var(--zt-line); }
.zg-ch { display: flex; align-items: center; justify-content: center; }
.zg-ch img { max-width: 58px; max-height: 32px; object-fit: contain; }
.zg-p { position: absolute; top: 4px; bottom: 4px; display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 0 8px; overflow: hidden; border-radius: 6px; background: #2a2a31; border-left: 3px solid #64748b; color: #fff; font-size: 12px; line-height: 1.25; transition: background .12s; }
.zg-p:hover { background: #393942; color: #fff; z-index: 1; }
.zg-p time { font-size: 11px; color: var(--zt-muted); }
.zg-p b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zg-p.is-tiny { padding: 0 3px; }
.zg-p.is-tiny time, .zg-p.is-tiny .zg-new { display: none; }
.zg-p.is-tiny b { font-weight: 400; font-size: 10px; color: var(--zt-muted); }
.zg-p.is-prime { background: #303038; }
.zg-p.is-prime b { font-size: 13px; }
.zg-p.is-past { opacity: .45; }
.zg-p.is-live { background: #3a2730; }
.zg-new { position: absolute; top: 3px; right: 4px; font: 600 9px 'Open Sans', sans-serif; font-style: normal; color: var(--zt-accent); text-transform: uppercase; }
.zg-p.g-film { border-left-color: #f43f5e; }
.zg-p.g-serie { border-left-color: #a855f7; }
.zg-p.g-divert { border-left-color: #f59e0b; }
.zg-p.g-sport { border-left-color: #22c55e; }
.zg-p.g-docu { border-left-color: #38bdf8; }
.zg-p.g-info { border-left-color: #94a3b8; }
.zg-p.g-jeune { border-left-color: #fb923c; }
.zg-now { position: absolute; top: 0; bottom: 0; z-index: 2; width: 2px; background: #e11d48; box-shadow: 0 0 8px rgba(225,29,72,.6); pointer-events: none; }

@media (max-width: 991px) {
	.zl-list { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.zt-nav { margin-top: 70px; }
	.zt-nav a { height: 46px; padding: 0 12px; font-size: 14px; }
	.zt-nav ~ .zt-head { padding-top: 22px; }
	.zl-pic { width: 112px; }
	.zl-item { gap: 12px; padding: 10px; }
	.zl-title { font-size: 15px; }
	.zl-story { display: none; }
	.zl-list--evening { grid-template-columns: 1fr; }
	.zl-item--big .zl-pic { width: 100%; }
	.zl-item--big { flex-direction: column; }
	.zl-item--big .zl-story { display: -webkit-box; }
	.zg { --zg-m: 3px; --zg-ch: 58px; --zg-row: 56px; }
	.zg-ch img { max-width: 42px; }
	.zg-scroll { max-height: calc(100vh - 150px); }
	.zt-wide { width: 100%; }
	.zg { border-radius: 0; border-left: 0; border-right: 0; }
}

/* « Chez nous à la télé » (2026-10-31): the list of each edition and the reminder on the programme page */
.zt-view--cheznous .zl-story { display: -webkit-box; -webkit-line-clamp: 4; color: #e4e4ea; }
.zl-also { display: block; margin-top: 6px; font-size: 12px; color: var(--zt-accent); letter-spacing: .2px; }
.zd-local { display: block; margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: rgba(255,255,255,.05); border-left: 3px solid var(--zt-accent); color: inherit; text-decoration: none; }
.zd-local:hover { background: rgba(255,255,255,.08); }
.zd-local b { display: block; margin-bottom: 4px; font: 500 14px Oswald, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: var(--zt-accent); }
.zd-local span { font-size: 15px; line-height: 1.55; }

/* « Chez nous »: the places put forward in the line (2026-11-01) */
.zl-place { padding: 0 .3em; border-radius: 3px; background: var(--zt-accent, #60ff00); color: #111; font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
