/*
 * ============================================================================
 *  CANLI TV — STİL        Yol: /modules/canlitv/canlitv.css        Önek: .szlt-
 *  Masaüstü: solda oynatıcı + yayın akışı, sağda kanal listesi
 *  Mobil: oynatıcı üstte yapışık, kanallar yatay kaydırmalı şerit değil — liste altta
 * ============================================================================
 */
.szlt { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; padding-top: calc(var(--sz-header-h) + 20px); padding-bottom: 40px; align-items: start; }
.szlt [hidden] { display: none !important; }
.szlt-main { display: grid; gap: 16px; min-width: 0; }
.szlt-player { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.szlt-video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.szlt-player:fullscreen { border-radius: 0; }
.szlt-big { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: #000; display: grid; place-items: center; cursor: pointer; z-index: 3; }
.szlt-big .sz-ico { width: 32px; height: 32px; margin-left: 4px; }
.szlt-player.is-playing .szlt-big { display: none; }
.szlt-spin { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; opacity: 0; transition: opacity .2s; z-index: 2; }
.szlt-player.is-loading .szlt-spin { opacity: 1; }
.szlt-ov { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); padding: 16px; text-align: center; }
.szlt-ov__box { display: grid; gap: 12px; justify-items: center; }
.szlt-ov__box > .sz-ico { width: 34px; height: 34px; }
.szlt-ctrl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 6px; padding: 40px 12px 10px; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent); transition: opacity .3s; }
.szlt-player.is-playing.is-idle .szlt-ctrl { opacity: 0; }
.szlt-player.is-idle { cursor: none; }
.szlt-ib { width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.szlt-ib:hover, .szlt-ib:focus-visible { background: rgba(255,255,255,.12); outline: none; }
.szlt-i-pause, .szlt-i-mute { display: none; }
.szlt-player.is-playing .szlt-i-play { display: none; } .szlt-player.is-playing .szlt-i-pause { display: grid; }
.szlt-player.is-muted .szlt-i-vol { display: none; } .szlt-player.is-muted .szlt-i-mute { display: grid; }
.szlt-ctrl__t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: 14px; }
.szlt-live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 6px; background: #e50914; color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; flex: none; vertical-align: middle; }
.szlt-live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: szlt-blink 1.4s infinite; }
@keyframes szlt-blink { 50% { opacity: .25; } }

.szlt-info { background: var(--sz-surface); border: 1px solid var(--sz-line); border-radius: 18px; padding: clamp(14px, 3vw, 22px); min-width: 0; }
.szlt-info__h { display: flex; gap: 14px; align-items: center; }
.szlt-info h1 { margin: 0; font-size: clamp(20px, 3.5vw, 26px); }
.szlt-nownext { margin: 4px 0 0; color: var(--sz-muted); font-size: 14px; line-height: 1.55; }
.szlt-nownext b { color: #fff; }
.szlt-logo { flex: none; width: 44px; height: 44px; border-radius: 10px; background: #fff; display: grid; place-items: center; overflow: hidden; color: #111; font-weight: 900; font-size: 14px; }
.szlt-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.szlt-logo--lg { width: 64px; height: 64px; border-radius: 14px; font-size: 18px; }
.szlt-days { display: flex; gap: 6px; overflow-x: auto; margin: 16px 0 10px; scrollbar-width: none; }
.szlt-days::-webkit-scrollbar { display: none; }
.szlt-days button { flex: none; display: grid; justify-items: center; gap: 2px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--sz-line-2); background: transparent; color: var(--sz-muted); font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.szlt-days button small { font-weight: 500; font-size: 11.5px; }
.szlt-days button.is-active { background: var(--sz-primary); border-color: var(--sz-primary); color: #fff; }
.szlt-epg { list-style: none; margin: 0; padding: 0; display: grid; max-height: 520px; overflow-y: auto; }
.szlt-epg li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 12px 6px; border-top: 1px solid var(--sz-line); }
.szlt-epg time { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--sz-muted); }
.szlt-epg li div { min-width: 0; }
.szlt-epg b { display: block; overflow-wrap: anywhere; }
.szlt-epg em { font-style: normal; font-size: 11.5px; color: #c9b9ff; background: rgba(123,92,255,.16); padding: 2px 7px; border-radius: 6px; display: inline-block; margin-top: 4px; }
.szlt-epg p { margin: 4px 0 0; color: var(--sz-muted); font-size: 13px; line-height: 1.5; }
.szlt-epg .is-now { background: rgba(229,9,20,.08); border-radius: 12px; border-top-color: transparent; }
.szlt-epg .is-now time { color: #ff6b6b; }
.szlt-epg .is-past { opacity: .5; }
.szlt-epg__empty { display: block !important; color: var(--sz-muted); }
.szlt-pbar { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); margin-top: 6px; overflow: hidden; }
.szlt-pbar > i { display: block; height: 100%; background: #e50914; }

.szlt-side { position: sticky; top: calc(var(--sz-header-h) + 16px); background: var(--sz-surface); border: 1px solid var(--sz-line); border-radius: 18px; padding: 12px; max-height: calc(100vh - var(--sz-header-h) - 32px); display: flex; flex-direction: column; min-width: 0; }
.szlt-side__h { display: grid; gap: 10px; padding: 4px 4px 10px; }
.szlt-side h2 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 17px; }
.szlt-side h2 small { color: var(--sz-muted); font-weight: 600; }
.szlt-q { height: 40px; }
.szlt-cats { display: flex; gap: 6px; overflow-x: auto; padding: 0 4px 10px; scrollbar-width: none; flex: none; }
.szlt-cats::-webkit-scrollbar { display: none; }
.szlt-cats button { flex: none; height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--sz-line-2); background: transparent; color: var(--sz-muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.szlt-cats button.is-active { background: #fff; color: #000; border-color: #fff; }
.szlt-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; display: grid; gap: 2px; }
.szlt-ch { display: grid; grid-template-columns: 22px 44px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px; border-radius: 12px; color: inherit; text-decoration: none; }
.szlt-ch:hover, .szlt-ch:focus-visible { background: rgba(255,255,255,.06); outline: none; }
.szlt-ch.is-active { background: var(--sz-primary-soft, rgba(123,92,255,.18)); box-shadow: inset 3px 0 0 var(--sz-primary); }
.szlt-num { color: var(--sz-muted); font-size: 12px; font-weight: 700; text-align: right; }
.szlt-ch__t { display: grid; min-width: 0; }
.szlt-ch__t b { font-size: 14px; display: flex; align-items: center; gap: 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.szlt-ch__t b .sz-ico { width: 14px; height: 14px; color: #f5c518; flex: none; }
.szlt-ch__t small { color: var(--sz-muted); font-size: 12.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Ana sayfa şeridi */
.szlt-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 260px); gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.szlt-chip { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: var(--sz-surface); border: 1px solid var(--sz-line); color: inherit; text-decoration: none; scroll-snap-align: start; min-width: 0; }
.szlt-chip:hover { border-color: var(--sz-line-2); }
.szlt-chip__t { display: grid; min-width: 0; flex: 1; }
.szlt-chip__t b { font-size: 14px; } .szlt-chip__t small { color: var(--sz-muted); font-size: 12.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.szlt-row .sz-title .szlt-live { margin-right: 6px; }

@media (max-width: 1000px) {
  /* Mobil/tablet sıra: oynatıcı → kanallar → yayın akışı */
  .szlt { display: flex; flex-direction: column; align-items: stretch; }
  .szlt > *, .szlt-main > * { min-width: 0; max-width: 100%; }
  .szlt-main { display: contents; }
  .szlt-player { order: 1; } .szlt-side { order: 2; } .szlt-info { order: 3; }
  .szlt-side { position: static; max-height: none; }
  .szlt-list { max-height: 46vh; }
  .szlt-epg { max-height: 460px !important; }
}
@media (max-width: 640px) {
  .szlt { padding-left: 0; padding-right: 0; gap: 12px; }
  .szlt-player { border-radius: 0; position: sticky; top: var(--sz-header-h); z-index: 20; }
  .szlt-info, .szlt-side { border-radius: 0; border-left: 0; border-right: 0; }
  .szlt-ctrl [data-szlt-act="pip"] { display: none; }
}

/* SEZFILM kanalı rozeti (kanal listesinde) */
.szlt-own { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 5px; background: var(--sz-grad); color: #fff; font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; vertical-align: 2px; }
