:root {

  --bg: #08090e;

  --panel: #10131a;

  --elev: #161a24;

  --line: rgba(255, 255, 255, 0.08);

  --text: #f4f6fb;

  --text-2: #b7bfcf;

  --muted: #8791a4;

  --accent: #ff4d4d;

  --accent-2: #ff7a45;

  --accent-soft: rgba(255, 77, 77, 0.14);

  --danger: #ff7b7b;

  --ok: #3dd68c;

  --shell: #05060a;

  --sidebar-w: 470px;

  --topbar-h: 68px;

  --yt-crop: 72px;

  --ratio: 16 / 9;

  --font: "Outfit", system-ui, sans-serif;

  --display: "Syne", "Outfit", sans-serif;

}



* { box-sizing: border-box; margin: 0; padding: 0; }



html, body { min-height: 100%; }



body {

  font-family: var(--font);

  color: var(--text);

  background:

    radial-gradient(ellipse 60% 40% at 70% 0%, rgba(255, 77, 77, 0.1), transparent 55%),

    var(--bg);

}



button, input, select { font: inherit; color: inherit; }



.watch {

  min-height: 100vh;

  width: 100%;

  max-width: 100%;

  overflow-x: hidden;

  display: grid;

  grid-template-rows: var(--topbar-h) 1fr;

  position: relative;

}



.topbar {

  width: 100%;

  height: var(--topbar-h);

  display: flex;

  align-items: center;

  gap: 0.85rem;

  padding: 0 1.35rem;

  border-bottom: 1px solid var(--line);

  background: #0c0e14;

  position: sticky;

  top: 0;

  left: 0;

  right: 0;

  z-index: 40;

  box-sizing: border-box;

}



.topbar__left,

.topbar__right {

  display: flex;

  align-items: center;

  gap: 0.7rem;

  flex-shrink: 0;

}



.topbar__right {

  margin-left: auto;

}



.logo {

  display: inline-flex;

  align-items: center;

  gap: 0.55rem;

  text-decoration: none;

  color: inherit;

  cursor: pointer;

}



.logo:hover .logo__text span {

  filter: brightness(1.08);

}



.logo__mark {

  width: 34px;

  height: 34px;

  display: grid;

  place-items: center;

  background: linear-gradient(135deg, var(--accent), var(--accent-2));

  color: #fff;

  font-family: var(--display);

  font-weight: 800;

}



.logo__text {

  font-family: var(--display);

  font-size: 1.2rem;

  font-weight: 800;

  letter-spacing: -0.04em;

}



.logo__text span { color: var(--accent); }



.topbar__live {

  display: inline-flex;

  align-items: center;

  gap: 0.4rem;

  padding: 0.4rem 0.7rem;

  border: 1px solid rgba(255, 77, 77, 0.35);

  background: rgba(255, 77, 77, 0.1);

  color: #ffd0d0;

  font-size: 0.72rem;

  font-weight: 700;

  letter-spacing: 0.04em;

  text-transform: uppercase;

  white-space: nowrap;

}



.topnav {

  display: inline-flex;

  align-items: center;

  gap: 0.2rem;

  margin-left: 0.15rem;

  padding: 0.2rem;

  border: 1px solid rgba(255, 255, 255, 0.07);

  background: rgba(255, 255, 255, 0.025);

}



.topnav__item {

  display: inline-flex;

  align-items: center;

  gap: 0.4rem;

  height: 34px;

  padding: 0 0.75rem;

  border: 0;

  background: transparent;

  color: #9aa3b6;

  cursor: pointer;

  font-size: 0.84rem;

  font-weight: 650;

  letter-spacing: 0.01em;

  white-space: nowrap;

  transition: color 0.15s ease, background 0.15s ease;

}



.topnav__icon {

  display: grid;

  place-items: center;

  opacity: 0.85;

}



.topnav__item:hover {

  color: #e8edf7;

  background: rgba(255, 255, 255, 0.04);

}



.topnav__item.is-active {

  color: #fff;

  background: rgba(255, 77, 77, 0.16);

}



.topnav__item[data-mode="film"],

.topnav__item[data-mode="dizi"] {

  opacity: 0.9;

}



.topnav__item[data-mode="film"]:hover,

.topnav__item[data-mode="dizi"]:hover {

  color: #e8edf7;

}



.pulse-dot {

  width: 7px;

  height: 7px;

  border-radius: 50%;

  background: var(--accent);

  box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.55);

  animation: pulse 1.6s infinite;

}



@keyframes pulse {

  0% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.5); }

  70% { box-shadow: 0 0 0 8px rgba(255, 77, 77, 0); }

  100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }

}



.topbar__search {

  position: relative;

  flex: 1 1 auto;

  display: flex;

  align-items: center;

  gap: 0.55rem;

  min-width: 160px;

  max-width: 480px;

  height: 42px;

  margin-left: 0.35rem;

  margin-right: 0.35rem;

  padding: 0 0.9rem;

  border: 1px solid var(--line);

  background: rgba(255, 255, 255, 0.035);

  color: var(--muted);

}



.topbar__search input {

  width: 100%;

  border: 0;

  outline: none;

  background: transparent;

  color: var(--text);

}



.topbar__search input::placeholder { color: #6f788b; }



.search-overlay {

  position: absolute;

  top: calc(100% + 8px);

  left: 0;

  right: 0;

  min-width: min(520px, 92vw);

  max-height: min(70vh, 480px);

  overflow: auto;

  background: #12161f;

  border: 1px solid var(--line);

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);

  z-index: 60;

}



.search-overlay__section {

  padding: 0.65rem 0.85rem 0.25rem;

  color: var(--muted);

  font-size: 0.72rem;

  font-weight: 700;

  letter-spacing: 0.06em;

  text-transform: uppercase;

}



.search-hit {

  width: 100%;

  display: flex;

  align-items: center;

  gap: 0.7rem;

  border: 0;

  background: transparent;

  color: var(--text);

  text-align: left;

  padding: 0.65rem 0.85rem;

  cursor: pointer;

}



.search-hit:hover,

.search-hit:focus-visible {

  background: rgba(255, 255, 255, 0.05);

  outline: none;

}



.search-hit__thumb {

  width: 36px;

  height: 36px;

  object-fit: cover;

  border-radius: 4px;

  background: rgba(255, 255, 255, 0.06);

  flex: 0 0 auto;

}



.search-hit__thumb--poster {

  width: 28px;

  height: 40px;

}



.search-hit__meta {

  min-width: 0;

  display: grid;

  gap: 0.15rem;

}



.search-hit__meta strong {

  font-size: 0.88rem;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;

}



.search-hit__meta span {

  color: var(--muted);

  font-size: 0.74rem;

}



.search-empty {

  padding: 1rem 0.85rem;

  color: var(--muted);

  font-size: 0.85rem;

}



.fav-list .fav-item {

  display: flex;

  align-items: center;

  gap: 0.65rem;

  width: 100%;

  border: 0;

  background: transparent;

  color: var(--text);

  text-align: left;

  padding: 0.7rem 0.85rem;

  cursor: pointer;

}



.fav-list .fav-item:hover {

  background: rgba(255, 255, 255, 0.04);

}



.fav-item__thumb {

  width: 34px;

  height: 34px;

  object-fit: cover;

  border-radius: 4px;

  background: rgba(255, 255, 255, 0.06);

  flex: 0 0 auto;

}



.fav-item__thumb--poster {

  width: 26px;

  height: 38px;

}



.fav-item__meta {

  min-width: 0;

  flex: 1;

}



.fav-item__meta strong {

  display: block;

  font-size: 0.86rem;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;

}



.fav-item__meta span {

  color: var(--muted);

  font-size: 0.72rem;

}



.fav-item__remove {

  border: 0;

  background: transparent;

  color: #8b93a5;

  cursor: pointer;

  padding: 0.25rem;

  font-size: 0.9rem;

  line-height: 1;

}



.fav-item__remove:hover { color: var(--accent); }



.channel-card__fav {

  position: absolute;

  top: 0.45rem;

  right: 0.45rem;

  width: 28px;

  height: 28px;

  border: 0;

  border-radius: 99px;

  background: rgba(0, 0, 0, 0.45);

  color: #c8ceda;

  cursor: pointer;

  display: grid;

  place-items: center;

  z-index: 2;

}



.channel-card__fav.is-on {

  color: #ffb020;

}



.channel-card__fav:hover {

  background: rgba(0, 0, 0, 0.65);

  color: #ffb020;

}



.package-actions {

  display: flex;

  flex-wrap: wrap;

  gap: 0.65rem;

  margin-top: 1.15rem;

}



.package-actions .btn {

  min-height: 2.5rem;

}



.vod-sheet__actions {

  padding: 0 1rem 1rem;

}



.vod-continue {

  margin-bottom: 1.25rem;

}



.vod-continue__card {

  position: relative;

}



.vod-continue__bar {

  position: absolute;

  left: 0;

  right: 0;

  bottom: 0;

  height: 3px;

  background: rgba(255, 255, 255, 0.18);

}



.vod-continue__bar > span {

  display: block;

  height: 100%;

  background: var(--accent);

}



.clock {

  font-variant-numeric: tabular-nums;

  color: var(--text-2);

  font-size: 0.92rem;

  font-weight: 600;

  min-width: 3.5rem;

  text-align: right;

}



.icon-btn {

  position: relative;

  width: 42px;

  height: 42px;

  display: grid;

  place-items: center;

  border: 1px solid var(--line);

  background: rgba(255, 255, 255, 0.03);

  color: var(--text-2);

  cursor: pointer;

  text-decoration: none;

  flex-shrink: 0;

}



#admin-link[hidden] {

  display: none !important;

}



.icon-btn:hover {

  color: var(--text);

  border-color: rgba(255, 255, 255, 0.16);

  background: rgba(255, 255, 255, 0.05);

}



.icon-btn--telegram {

  color: #5dade2;

}



.icon-btn--telegram:hover {

  color: #7ec8f0;

  border-color: rgba(93, 173, 226, 0.45);

  background: rgba(93, 173, 226, 0.12);

}



.icon-btn__badge {

  position: absolute;

  top: -4px;

  right: -4px;

  min-width: 16px;

  height: 16px;

  padding: 0 4px;

  border-radius: 99px;

  background: var(--accent);

  color: #fff;

  font-size: 0.65rem;

  font-weight: 700;

  display: grid;

  place-items: center;

}



.icon-btn__badge.is-zero { display: none; }



.menu { position: relative; }



.dropdown {

  position: absolute;

  top: calc(100% + 8px);

  right: 0;

  width: 300px;

  background: #12161f;

  border: 1px solid var(--line);

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);

  z-index: 50;

}



.dropdown__head {

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 0.75rem 0.85rem;

  border-bottom: 1px solid var(--line);

}



.linkish {

  border: 0;

  background: transparent;

  color: var(--accent-2);

  cursor: pointer;

  font-size: 0.78rem;

  font-weight: 600;

}



.notify-list {

  list-style: none;

  max-height: 280px;

  overflow-y: auto;

}



.notify-list li {

  padding: 0.75rem 0.85rem;

  border-bottom: 1px solid rgba(255, 255, 255, 0.05);

}



.fav-list li {

  display: flex;

  align-items: center;

  gap: 0.15rem;

  padding: 0;

}



.notify-list li strong {

  display: block;

  font-size: 0.86rem;

  margin-bottom: 0.2rem;

}



.notify-list li span {

  display: block;

  color: var(--muted);

  font-size: 0.76rem;

  line-height: 1.4;

}



.notify-list li em {

  display: block;

  margin-top: 0.3rem;

  color: #6d7689;

  font-style: normal;

  font-size: 0.68rem;

}



.notify-item.is-unread {

  background: rgba(255, 77, 77, 0.08);

}



.notify-item.is-unread strong::before {

  content: "";

  display: inline-block;

  width: 7px;

  height: 7px;

  margin-right: 0.4rem;

  border-radius: 99px;

  background: var(--accent);

  vertical-align: middle;

}



.notify-empty {

  padding: 1.1rem 0.85rem;

  color: var(--muted);

  font-size: 0.85rem;

}



.dropdown__item {

  width: 100%;

  border: 0;

  background: transparent;

  color: var(--text);

  text-align: left;

  padding: 0.8rem 0.9rem;

  cursor: pointer;

}



.dropdown__item:hover { background: rgba(255, 255, 255, 0.04); }



.dropdown__meta {

  padding: 0.75rem 0.9rem 0.4rem;

  color: var(--muted);

  font-size: 0.75rem;

  font-weight: 600;

  border-bottom: 1px solid var(--line);

  margin-bottom: 0.15rem;

}



.account-page {

  flex: 1;

  min-height: 0;

  overflow: auto;

  padding: 0;

  background:

    radial-gradient(ellipse 55% 40% at 15% 0%, rgba(255, 77, 77, 0.14), transparent 55%),

    radial-gradient(ellipse 40% 35% at 90% 20%, rgba(255, 122, 69, 0.08), transparent 50%),

    transparent;

}



.account-page[hidden] {

  display: none !important;

}



.account-shell {

  width: min(720px, 100%);

  margin: 0 auto;

  padding: 1.25rem 1.25rem 2.5rem;

}



.account-head {

  display: flex;

  align-items: center;

  gap: 1rem;

  margin-bottom: 1.35rem;

}



.account-back {

  border: 1px solid var(--line);

  background: rgba(8, 10, 16, 0.65);

  color: #fff;

  padding: 0.6rem 0.9rem;

  font-weight: 650;

  cursor: pointer;

  flex-shrink: 0;

}



.account-back:hover {

  border-color: rgba(255, 122, 69, 0.45);

}



.account-kicker {

  margin: 0;

  font-size: 0.7rem;

  font-weight: 700;

  letter-spacing: 0.08em;

  text-transform: uppercase;

  color: var(--accent, #ff4d4d);

}



.account-head h1 {

  margin: 0.1rem 0 0;

  font-family: var(--display, "Syne", sans-serif);

  font-size: clamp(1.5rem, 3vw, 1.9rem);

  font-weight: 800;

  letter-spacing: -0.02em;

}



.account-panel {

  display: grid;

  gap: 1rem;

}



.account-panel[hidden] {

  display: none !important;

}



.account-card {

  border: 1px solid rgba(255, 255, 255, 0.08);

  background: rgba(12, 14, 20, 0.82);

  padding: 1.25rem 1.3rem 1.35rem;

  backdrop-filter: blur(8px);

}



.account-card__title {

  margin: 0 0 0.95rem;

  font-size: 0.95rem;

  font-weight: 700;

}



.account-identity {

  display: flex;

  align-items: center;

  gap: 1rem;

  margin-bottom: 1.15rem;

}



.account-avatar {

  width: 64px;

  height: 64px;

  border-radius: 50%;

  display: grid;

  place-items: center;

  flex-shrink: 0;

  font-family: var(--display, "Syne", sans-serif);

  font-size: 1.45rem;

  font-weight: 800;

  color: #fff;

  background: linear-gradient(135deg, #ff4d4d, #ff7a45);

  box-shadow: 0 10px 28px rgba(255, 77, 77, 0.28);

}



.account-identity h2 {

  margin: 0;

  font-size: 1.25rem;

  font-weight: 750;

  line-height: 1.2;

}



.account-identity p {

  margin: 0.25rem 0 0;

  color: var(--muted);

  font-size: 0.9rem;

  word-break: break-all;

}



.account-facts {

  display: grid;

  gap: 0;

  margin: 0;

  border-top: 1px solid rgba(255, 255, 255, 0.07);

}



.account-facts > div {

  display: grid;

  grid-template-columns: 110px minmax(0, 1fr);

  gap: 0.75rem;

  align-items: baseline;

  padding: 0.85rem 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.07);

}



.account-facts dt {

  margin: 0;

  font-size: 0.72rem;

  font-weight: 700;

  letter-spacing: 0.05em;

  text-transform: uppercase;

  color: var(--muted);

}



.account-facts dd {

  margin: 0;

  font-size: 0.95rem;

  word-break: break-word;

}



.account-note {

  margin: 0.95rem 0 0;

  color: var(--muted);

  font-size: 0.82rem;

  line-height: 1.45;

}



.account-form {

  display: grid;

  gap: 0.85rem;

}



.account-form label {

  display: grid;

  gap: 0.4rem;

  font-size: 0.75rem;

  font-weight: 650;

  letter-spacing: 0.03em;

  color: var(--muted);

}



.account-form input {

  border: 1px solid rgba(255, 255, 255, 0.1);

  background: rgba(0, 0, 0, 0.35);

  color: var(--text);

  padding: 0.8rem 0.9rem;

  font: inherit;

}



.account-form input:focus {

  outline: none;

  border-color: rgba(255, 122, 69, 0.55);

  box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.12);

}



.account-form .btn {

  justify-self: start;

  margin-top: 0.15rem;

  min-height: 2.7rem;

  padding: 0.7rem 1.2rem;

}



.package-hero {

  background:

    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(255, 77, 77, 0.18), transparent 55%),

    rgba(12, 14, 20, 0.88);

}



.package-hero__top h2 {

  margin: 0.55rem 0 0;

  font-family: var(--display, "Syne", sans-serif);

  font-size: clamp(1.45rem, 3vw, 1.85rem);

  font-weight: 800;

  letter-spacing: -0.02em;

}



.package-hero__top p {

  margin: 0.45rem 0 0;

  color: var(--muted);

  font-size: 0.92rem;

  line-height: 1.5;

  max-width: 38rem;

}



.package-pill {

  display: inline-flex;

  align-items: center;

  padding: 0.28rem 0.65rem;

  border: 1px solid rgba(255, 122, 69, 0.35);

  background: rgba(255, 77, 77, 0.12);

  color: #ffb087;

  font-size: 0.7rem;

  font-weight: 750;

  letter-spacing: 0.06em;

  text-transform: uppercase;

}



.package-stats {

  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 0.65rem;

  margin-top: 1.25rem;

}



.package-stat {

  padding: 0.8rem 0.75rem;

  border: 1px solid rgba(255, 255, 255, 0.07);

  background: rgba(0, 0, 0, 0.22);

}



.package-stat span {

  display: block;

  font-size: 0.68rem;

  font-weight: 700;

  letter-spacing: 0.05em;

  text-transform: uppercase;

  color: var(--muted);

}



.package-stat strong {

  display: block;

  margin-top: 0.35rem;

  font-size: 0.95rem;

  font-weight: 700;

  line-height: 1.25;

}



.package-scope {

  list-style: none;

  display: flex;

  flex-wrap: wrap;

  gap: 0.45rem;

  margin: 0;

  padding: 0;

}



.package-scope li {

  padding: 0.45rem 0.75rem;

  border: 1px solid rgba(255, 255, 255, 0.1);

  background: rgba(255, 255, 255, 0.03);

  font-size: 0.86rem;

  font-weight: 600;

}



.package-scope li.muted {

  color: var(--muted);

  font-weight: 500;

}



.support-toolbar {

  display: flex;

  justify-content: flex-end;

  margin-bottom: 0.85rem;

}



.support-list {

  display: grid;

  gap: 0.55rem;

}



.support-empty {

  padding: 1.4rem 1rem;

  border: 1px dashed rgba(255, 255, 255, 0.12);

  color: var(--muted);

  font-size: 0.9rem;

  text-align: center;

}



.support-item {

  width: 100%;

  text-align: left;

  border: 1px solid rgba(255, 255, 255, 0.08);

  background: rgba(12, 14, 20, 0.82);

  color: inherit;

  padding: 0.95rem 1rem;

  cursor: pointer;

  display: grid;

  gap: 0.4rem;

}



.support-item:hover {

  border-color: rgba(255, 122, 69, 0.35);

}



.support-item__top {

  display: flex;

  justify-content: space-between;

  gap: 0.75rem;

  align-items: flex-start;

}



.support-item__top strong {

  font-size: 0.98rem;

  line-height: 1.3;

}



.support-item__meta {

  color: var(--muted);

  font-size: 0.78rem;

}



.support-actions {

  display: flex;

  gap: 0.55rem;

  flex-wrap: wrap;

}



.support-thread__head {

  display: grid;

  grid-template-columns: auto 1fr auto;

  gap: 0.85rem;

  align-items: start;

  margin-bottom: 1rem;

}



.support-thread__head h2 {

  margin: 0.4rem 0 0;

  font-size: 1.2rem;

  line-height: 1.25;

}



.support-thread__ops {

  display: flex;

  gap: 0.4rem;

  flex-wrap: wrap;

}



.support-messages {

  display: grid;

  gap: 0.65rem;

  max-height: min(48vh, 420px);

  overflow: auto;

  padding-right: 0.2rem;

  margin-bottom: 0.85rem;

}



.support-msg {

  border: 1px solid rgba(255, 255, 255, 0.08);

  background: rgba(255, 255, 255, 0.03);

  padding: 0.8rem 0.9rem;

}



.support-msg.is-staff {

  border-color: rgba(255, 122, 69, 0.28);

  background: rgba(255, 77, 77, 0.08);

}



.support-msg.is-user {

  background: rgba(255, 255, 255, 0.04);

}



.support-msg header {

  display: flex;

  justify-content: space-between;

  gap: 0.75rem;

  margin-bottom: 0.4rem;

  font-size: 0.78rem;

  color: var(--muted);

}



.support-msg p {

  margin: 0;

  font-size: 0.92rem;

  line-height: 1.5;

  white-space: pre-wrap;

}



.support-reply {

  display: grid;

  gap: 0.65rem;

}



.support-reply textarea,

.account-form textarea {

  border: 1px solid rgba(255, 255, 255, 0.1);

  background: rgba(0, 0, 0, 0.35);

  color: var(--text);

  padding: 0.8rem 0.9rem;

  font: inherit;

  resize: vertical;

  min-height: 88px;

}



.support-reply .btn {

  justify-self: start;

}



.package-pill.is-waiting-admin {

  color: #ffb087;

}



.package-pill.is-waiting-user {

  color: #7ddea3;

  border-color: rgba(125, 222, 163, 0.35);

  background: rgba(125, 222, 163, 0.1);

}



.package-pill.is-in-progress {

  color: #8ec5ff;

  border-color: rgba(142, 197, 255, 0.35);

  background: rgba(142, 197, 255, 0.1);

}



.package-pill.is-closed {

  color: var(--muted);

  border-color: rgba(255, 255, 255, 0.12);

  background: rgba(255, 255, 255, 0.04);

}



@media (max-width: 700px) {

  .support-thread__head {

    grid-template-columns: 1fr;

  }

}



@media (max-width: 700px) {

  .account-shell {

    padding: 1rem 0.9rem 2rem;

  }



  .account-facts > div {

    grid-template-columns: 1fr;

    gap: 0.25rem;

  }



  .package-stats {

    grid-template-columns: 1fr 1fr;

  }



  .account-identity {

    align-items: flex-start;

  }

}



.user-btn {

  display: flex;

  align-items: center;

  gap: 0.7rem;

  min-width: 190px;

  height: 42px;

  border: 1px solid var(--line);

  background: rgba(255, 255, 255, 0.03);

  padding: 0 0.9rem 0 0.3rem;

  cursor: pointer;

}



.user-btn:hover {

  border-color: rgba(255, 255, 255, 0.16);

  background: rgba(255, 255, 255, 0.05);

}



.user-btn__avatar {

  width: 32px;

  height: 32px;

  display: grid;

  place-items: center;

  background: linear-gradient(135deg, #2a3144, #171b26);

  font-weight: 800;

  font-size: 0.8rem;

  flex-shrink: 0;

}



.user-btn__meta {

  display: grid;

  text-align: left;

  line-height: 1.15;

  min-width: 0;

  flex: 1;

}



.user-btn__meta strong {

  font-size: 0.86rem;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

}



.user-btn__meta small {

  color: var(--muted);

  font-size: 0.7rem;

}



.watch__body {

  width: 100%;

  display: grid;

  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);

  min-height: 0;

  height: 100%;

}



.watch__stage {

  min-height: 0;

  min-width: 0;

  height: 100%;

  overflow: hidden;

  display: grid;

}



.sidebar {

  display: grid;

  grid-template-columns: 168px 1fr;

  min-height: 0;

  border-right: 1px solid var(--line);

  background: #0c0e14;

}



.cat-rail {

  display: flex;

  flex-direction: column;

  min-height: 0;

  border-right: 1px solid var(--line);

  background: #090b10;

}



.cat-rail__label {

  padding: 1rem 0.9rem 0.55rem;

  color: #6d7689;

  font-size: 0.62rem;

  font-weight: 700;

  letter-spacing: 0.16em;

  text-transform: uppercase;

}



.cat-rail__list {

  display: flex;

  flex-direction: column;

  gap: 0.15rem;

  padding: 0 0.45rem 0.85rem;

  overflow-y: auto;

  flex: 1;

  min-height: 0;

}



.cat-rail__list::-webkit-scrollbar { width: 0; }



.cat-item {

  width: 100%;

  border: 0;

  background: transparent;

  color: #9aa3b6;

  text-align: left;

  padding: 0.72rem 0.55rem;

  cursor: pointer;

  display: grid;

  grid-template-columns: 22px 1fr auto;

  gap: 0.55rem;

  align-items: center;

  position: relative;

  transition: color 0.15s ease, background 0.15s ease;

}



.cat-item::before {

  content: "";

  position: absolute;

  left: 0;

  top: 8px;

  bottom: 8px;

  width: 2px;

  background: transparent;

  transition: background 0.15s ease;

}



.cat-item__icon {

  display: grid;

  place-items: center;

  color: #7d8698;

  opacity: 0.9;

}



.cat-item__icon svg {

  width: 17px;

  height: 17px;

}



.cat-item__name {

  font-family: var(--font);

  font-size: 0.9rem;

  font-weight: 600;

  letter-spacing: 0.01em;

  line-height: 1.2;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;

}



.cat-item__count {

  min-width: 1.25rem;

  height: 1.25rem;

  padding: 0 0.3rem;

  display: inline-grid;

  place-items: center;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.04);

  color: #6f788b;

  font-size: 0.65rem;

  font-weight: 700;

}



.cat-item:hover {

  color: #e8edf7;

  background: rgba(255, 255, 255, 0.035);

}



.cat-item:hover .cat-item__icon {

  color: var(--accent-2);

}



.cat-item.is-active {

  color: #fff;

  background: rgba(255, 77, 77, 0.1);

}



.cat-item.is-active::before {

  background: var(--accent);

}



.cat-item.is-active .cat-item__icon {

  color: var(--accent);

}



.cat-item.is-active .cat-item__name {

  font-weight: 700;

}



.cat-item.is-active .cat-item__count {

  background: rgba(255, 77, 77, 0.2);

  color: #ffc2c2;

}



.cat-item.is-vip {

  margin: 0.35rem 0 0.45rem;

  padding: 0.78rem 0.55rem;

  border-radius: 10px;

  border: 1px solid rgba(255, 196, 77, 0.28);

  background:

    linear-gradient(135deg, rgba(255, 196, 77, 0.14), rgba(255, 77, 77, 0.1) 55%, rgba(255, 122, 69, 0.06));

  color: #f6df9a;

  box-shadow: inset 0 1px 0 rgba(255, 230, 160, 0.12);

  animation: vipGlow 3.2s ease-in-out infinite;

}



.cat-item.is-vip::before {

  top: 10px;

  bottom: 10px;

  width: 3px;

  border-radius: 2px;

  background: linear-gradient(180deg, #ffe39a, #ff9a3c);

}



.cat-item.is-vip .cat-item__icon {

  color: #ffc44d;

  filter: drop-shadow(0 0 6px rgba(255, 196, 77, 0.35));

}



.cat-item.is-vip .cat-item__name {

  font-weight: 800;

  letter-spacing: 0.03em;

  background: linear-gradient(90deg, #fff1c2 0%, #ffc44d 45%, #ff8a4c 100%);

  -webkit-background-clip: text;

  background-clip: text;

  color: transparent;

}



.cat-item__vip {

  min-width: 2rem;

  height: 1.2rem;

  padding: 0 0.35rem;

  display: inline-grid;

  place-items: center;

  border-radius: 999px;

  border: 1px solid rgba(255, 196, 77, 0.45);

  background: linear-gradient(180deg, rgba(255, 214, 110, 0.28), rgba(255, 140, 60, 0.18));

  color: #ffe6a8;

  font-size: 0.58rem;

  font-weight: 800;

  letter-spacing: 0.08em;

}



.cat-item.is-vip:hover {

  color: #fff3c8;

  background:

    linear-gradient(135deg, rgba(255, 196, 77, 0.2), rgba(255, 77, 77, 0.14) 55%, rgba(255, 122, 69, 0.1));

  border-color: rgba(255, 196, 77, 0.45);

}



.cat-item.is-vip.is-active {

  color: #fff;

  background:

    linear-gradient(135deg, rgba(255, 196, 77, 0.26), rgba(255, 77, 77, 0.18) 60%, rgba(255, 122, 69, 0.12));

  border-color: rgba(255, 196, 77, 0.55);

}



.cat-item.is-vip.is-active .cat-item__name {

  background: linear-gradient(90deg, #fff7d6, #ffd36a, #ff9a4a);

  -webkit-background-clip: text;

  background-clip: text;

  color: transparent;

}



.cat-item.is-vip.is-active .cat-item__vip {

  background: linear-gradient(180deg, #ffd978, #ff9a3c);

  color: #2a1a08;

  border-color: transparent;

}



@keyframes vipGlow {

  0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 230, 160, 0.12), 0 0 0 rgba(255, 196, 77, 0); }

  50% { box-shadow: inset 0 1px 0 rgba(255, 230, 160, 0.18), 0 0 18px rgba(255, 196, 77, 0.12); }

}



.channel-pane {

  display: flex;

  flex-direction: column;

  min-width: 0;

  min-height: 0;

  background: linear-gradient(180deg, #11141c 0%, #0d1017 100%);

}



.channel-pane__head {

  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 0.75rem;

  padding: 0.95rem 0.9rem 0.75rem;

  border-bottom: 1px solid var(--line);

}



.channel-pane__eyebrow {

  color: var(--muted);

  font-size: 0.66rem;

  font-weight: 700;

  letter-spacing: 0.12em;

  text-transform: uppercase;

  margin-bottom: 0.2rem;

}



.channel-pane__head h2 {

  font-family: var(--display);

  font-size: 1rem;

  letter-spacing: -0.02em;

}



.channel-pane__count {

  min-width: 1.55rem;

  height: 1.55rem;

  padding: 0 0.4rem;

  display: inline-grid;

  place-items: center;

  border: 1px solid var(--line);

  background: rgba(255, 255, 255, 0.04);

  color: var(--text-2);

  font-size: 0.72rem;

  font-weight: 700;

}



.channel-list {

  overflow-y: auto;

  padding: 0.55rem;

  display: grid;

  gap: 0.28rem;

  align-content: start;

  flex: 1;

  min-height: 0;

}



.channel-list::-webkit-scrollbar { width: 8px; }

.channel-list::-webkit-scrollbar-thumb { background: #2a3140; }



.channel-card {

  position: relative;

  display: grid;

  grid-template-columns: 2.7rem 1fr auto;

  gap: 0.7rem;

  align-items: center;

  width: 100%;

  border: 1px solid transparent;

  background: rgba(255, 255, 255, 0.02);

  text-align: left;

  padding: 0.55rem 0.55rem;

  cursor: pointer;

  color: inherit;

  transition: border-color 0.15s ease, background 0.15s ease;

}



.channel-card:hover {

  background: rgba(255, 255, 255, 0.045);

  border-color: rgba(255, 255, 255, 0.08);

}



.channel-card.is-active {

  background: rgba(255, 77, 77, 0.14);

  border-color: rgba(255, 77, 77, 0.4);

}



.channel-card .channel-logo {

  width: 2.7rem;

  height: 2.7rem;

  border-radius: 6px;

  background: #161922;

}



.channel-card__body {

  min-width: 0;

}



.channel-card__title {

  display: block;

  font-size: 0.88rem;

  font-weight: 700;

  letter-spacing: -0.01em;

  line-height: 1.25;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

}



.channel-card__meta {

  display: block;

  margin-top: 0.15rem;

  color: var(--accent);

  font-size: 0.66rem;

  font-weight: 700;

  letter-spacing: 0.06em;

  text-transform: uppercase;

  text-transform: uppercase;

}



.channel-card__play {

  width: 18px;

  height: 18px;

  opacity: 0;

  position: relative;

}



.channel-card__play::after {

  content: "";

  position: absolute;

  inset: 3px 2px 3px 5px;

  border-left: 3px solid var(--accent);

  border-top: 6px solid transparent;

  border-bottom: 6px solid transparent;

}



.channel-card:hover .channel-card__play,

.channel-card.is-active .channel-card__play {

  opacity: 1;

}



.channel-empty {

  color: var(--muted);

  font-size: 0.86rem;

  padding: 1rem 0.4rem;

  line-height: 1.45;

}



.main {

  min-width: 0;

  overflow: auto;

  padding: 0.85rem 1rem 1.1rem;

  display: grid;

  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);

  gap: 0.75rem;

  align-content: start;

  align-items: start;

}



.main__center {

  min-width: 0;

  display: grid;

  gap: 0.55rem;

  align-content: start;

}



.main__player {

  width: 100%;

  max-width: none;

  display: grid;

  gap: 0.55rem;

}



.player-shell {

  width: 100%;

  position: relative;

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);

}



#player-wrap.is-iframe {

  position: relative;

  aspect-ratio: 16 / 9;

  width: 100%;

  background: #000;

}



#player-wrap .embed-frame {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  border: 0;

  background: #000;

}



#package-lock {

  position: absolute;

  inset: 0;

  z-index: 5;

  display: grid;

  place-content: center;

  gap: 0.35rem;

  text-align: center;

  background: rgba(8, 9, 14, 0.96);

  color: var(--muted);

  padding: 1.5rem;

}



#package-lock[hidden] { display: none !important; }



.player-offline {

  position: absolute;

  inset: 0;

  z-index: 4;

  display: grid;

  place-items: center;

  background: #05060a;

  overflow: hidden;

}



.player-offline[hidden] { display: none !important; }



.player-offline img {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  object-fit: contain;

  background: #05060a;

}



.player-offline__meta {

  position: relative;

  z-index: 1;

  display: grid;

  gap: 0.25rem;

  padding: 0.85rem 1.1rem;

  border-radius: 12px;

  background: rgba(0, 0, 0, 0.55);

  color: #fff;

  text-align: center;

  max-width: min(90%, 28rem);

}



.player-offline__meta strong {

  font-family: var(--display);

  font-size: 1.05rem;

  letter-spacing: -0.02em;

}



.player-offline__meta span {

  color: rgba(255, 255, 255, 0.78);

  font-size: 0.88rem;

}



.channel-card.is-offline .channel-card__meta {

  color: #f0b429;

}



#package-lock p {

  color: var(--text);

  font-family: var(--display);

  font-size: 1.15rem;

  font-weight: 800;

  letter-spacing: -0.03em;

}



#package-lock span {

  max-width: 28rem;

  font-size: 0.9rem;

  line-height: 1.45;

}



.info-tabs {

  width: 100%;

  max-width: none;

  border: 1px solid var(--line);

  background: var(--panel);

}



.epg {

  position: sticky;

  top: 0.25rem;

  max-height: calc(100vh - var(--topbar-h) - 1.5rem);

  display: flex;

  flex-direction: column;

  border: 1px solid var(--line);

  background: linear-gradient(180deg, #12151d 0%, #0d1017 100%);

  min-height: 0;

  align-self: stretch;

}



.epg__head {

  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 0.75rem;

  padding: 0.95rem 0.95rem 0.8rem;

  border-bottom: 1px solid var(--line);

}



.epg__eyebrow {

  color: var(--muted);

  font-size: 0.66rem;

  font-weight: 700;

  letter-spacing: 0.12em;

  text-transform: uppercase;

  margin-bottom: 0.2rem;

}



.epg__head h2 {

  font-family: var(--display);

  font-size: 1.05rem;

  letter-spacing: -0.02em;

}



.epg__day {

  color: var(--text-2);

  font-size: 0.75rem;

  font-weight: 600;

  padding: 0.28rem 0.5rem;

  border: 1px solid var(--line);

  background: rgba(255, 255, 255, 0.03);

  white-space: nowrap;

}



.epg__list {

  overflow-y: auto;

  padding: 0.55rem;

  display: grid;

  gap: 0.35rem;

  align-content: start;

  flex: 1;

  min-height: 0;

}



.epg__list::-webkit-scrollbar { width: 8px; }

.epg__list::-webkit-scrollbar-thumb { background: #2a3140; }



.epg__empty {

  color: var(--muted);

  font-size: 0.86rem;

  line-height: 1.45;

  padding: 1rem 0.5rem;

}



.epg-item {

  display: grid;

  grid-template-columns: 52px 1fr;

  gap: 0.65rem;

  padding: 0.7rem 0.65rem;

  border: 1px solid transparent;

  background: rgba(255, 255, 255, 0.02);

}



.epg-item.is-live {

  border-color: rgba(255, 77, 77, 0.4);

  background: rgba(255, 77, 77, 0.12);

}



.epg-item.is-past {

  opacity: 0.45;

}



.epg-item__time {

  font-variant-numeric: tabular-nums;

  font-size: 0.78rem;

  font-weight: 700;

  color: var(--muted);

  padding-top: 0.1rem;

}



.epg-item.is-live .epg-item__time {

  color: var(--accent-2);

}



.epg-item__title {

  font-size: 0.88rem;

  font-weight: 700;

  letter-spacing: -0.01em;

  line-height: 1.25;

}



.epg-item__meta {

  margin-top: 0.2rem;

  display: flex;

  align-items: center;

  gap: 0.4rem;

  color: var(--muted);

  font-size: 0.7rem;

}



.epg-item__badge {

  display: inline-flex;

  align-items: center;

  padding: 0.1rem 0.35rem;

  background: var(--accent);

  color: #fff;

  font-size: 0.62rem;

  font-weight: 800;

  letter-spacing: 0.06em;

}



.now-bar {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 1rem;

  width: 100%;

  padding: 0.8rem 0.95rem;

  background: var(--panel);

  border: 1px solid var(--line);

}



.now-bar__left {

  display: flex;

  align-items: center;

  gap: 0.75rem;

  min-width: 0;

}



.now-bar__copy { min-width: 0; }



.now-bar__label {

  display: block;

  color: var(--muted);

  font-size: 0.68rem;

  font-weight: 700;

  letter-spacing: 0.12em;

  text-transform: uppercase;

  margin-bottom: 0.15rem;

}



.now-bar__title {

  display: block;

  font-family: var(--display);

  font-size: 1.28rem;

  line-height: 1.15;

  letter-spacing: -0.045em;

  font-weight: 800;

  color: var(--text);

  text-wrap: balance;

}



.now-bar__meta {

  color: var(--muted);

  font-size: 0.78rem;

  margin-top: 0.28rem;

}



.now-bar__live {

  color: var(--accent);

  font-weight: 700;

  letter-spacing: 0.04em;

}



.now-bar__right {

  display: flex;

  align-items: center;

  gap: 0.4rem;

  flex-shrink: 0;

}



.fs-btn {

  display: inline-flex;

  align-items: center;

  gap: 0.4rem;

  height: 32px;

  padding: 0 0.7rem;

  border: 1px solid var(--line);

  background: rgba(255, 255, 255, 0.04);

  color: var(--text);

  cursor: pointer;

  font-size: 0.75rem;

  font-weight: 700;

  touch-action: manipulation;

}



.fs-btn--share {

  border-color: rgba(61, 156, 240, 0.35);

  background: rgba(61, 156, 240, 0.12);

  color: #c8e4ff;

}



.fs-btn--share:hover {

  border-color: rgba(61, 156, 240, 0.55);

}



.fs-btn:hover {

  border-color: rgba(255, 77, 77, 0.45);

  background: rgba(255, 77, 77, 0.12);

  color: #fff;

}



.pill {

  display: inline-flex;

  align-items: center;

  padding: 0.28rem 0.55rem;

  border: 1px solid var(--line);

  background: rgba(255, 255, 255, 0.03);

  font-size: 0.68rem;

  font-weight: 700;

  letter-spacing: 0.08em;

}



.pill--live {

  background: var(--accent);

  border-color: transparent;

  color: #fff;

}



.now-error {

  display: block;

  color: var(--danger);

  font-size: 0.8rem;

  margin-top: 0.2rem;

}



.info-tabs__nav {

  display: flex;

  gap: 0.2rem;

  padding: 0.45rem;

  border-bottom: 1px solid var(--line);

  overflow-x: auto;

}



.tab {

  border: 0;

  background: transparent;

  color: var(--muted);

  padding: 0.55rem 0.8rem;

  cursor: pointer;

  font-weight: 650;

  white-space: nowrap;

}



.tab.is-active {

  color: var(--text);

  background: rgba(255, 255, 255, 0.05);

}



.info-tabs__body {

  padding: 0.95rem 1rem 1.05rem;

  color: var(--text-2);

  font-size: 0.92rem;

  line-height: 1.55;

}



.tab-panel[hidden] { display: none; }



.about-support {

  margin-top: 0.75rem;

  color: var(--muted, #8a93a6);

  font-size: 0.92rem;

}



.about-support a {

  color: #5dade2;

  text-decoration: none;

  font-weight: 600;

}



.about-support a:hover {

  text-decoration: underline;

}



.tips {

  list-style: none;

  display: grid;

  gap: 0.45rem;

}



.tips li {

  display: flex;

  align-items: center;

  gap: 0.55rem;

}



kbd {

  display: inline-flex;

  min-width: 1.6rem;

  justify-content: center;

  padding: 0.15rem 0.4rem;

  border: 1px solid var(--line);

  background: var(--elev);

  font-size: 0.75rem;

  font-weight: 700;

}



.toast {

  position: fixed;

  right: 1rem;

  bottom: 1rem;

  z-index: 80;

  padding: 0.75rem 0.95rem;

  background: #151922;

  border: 1px solid var(--line);

  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);

  font-size: 0.88rem;

  font-weight: 600;

}



@media (max-width: 1200px) {

  .main {

    grid-template-columns: 1fr;

  }



  .epg {

    position: static;

    max-height: 380px;

  }



  /* Canlı TV menüsü varken rozet gereksiz / sıkıştırır */

  .topbar__live {

    display: none;

  }

}



@media (max-width: 1100px) {

  .topnav__item {

    padding: 0 0.55rem;

    font-size: 0.8rem;

  }

}



/* ===== Telefon / dar ekran ===== */

@media (max-width: 980px) {

  :root {

    --bottomnav-h: 64px;

  }



  html, body {

    width: 100%;

    max-width: 100%;

    overflow-x: hidden;

    height: auto;

    min-height: 100%;

  }



  body {

    -webkit-tap-highlight-color: rgba(255, 77, 77, 0.2);

  }



  .watch {

    width: 100%;

    max-width: 100%;

    min-width: 0;

    min-height: 100dvh;

    height: auto;

    grid-template-rows: auto auto;

    overflow-x: hidden;

    padding-bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom, 0px));

  }



  .topbar {

    width: 100%;

    max-width: 100%;

    height: auto;

    min-height: 56px;

    flex-wrap: wrap;

    padding: 0.55rem 0.75rem;

    position: sticky;

    top: 0;

    z-index: 40;

    background: rgba(8, 9, 14, 0.98);

    /* backdrop-filter fixed çocukları bozar — kullanma */

    backdrop-filter: none;

    -webkit-backdrop-filter: none;

    transform: none;

    filter: none;

  }



  .topbar__search {

    order: 3;

    flex: 1 1 100%;

    max-width: none;

  }



  .topbar__live,

  .clock { display: none; }



  .user-btn { min-width: 0; }

  .user-btn__meta { display: none; }



  /* Bildirim paneli — kompakt, ekranı kaplamasın */

  #notify-panel.dropdown {

    position: fixed;

    top: auto;

    right: 0.65rem;

    left: 0.65rem;

    bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom, 0px) + 0.65rem);

    width: auto;

    max-width: none;

    max-height: min(42dvh, 320px);

    display: flex;

    flex-direction: column;

    overflow: hidden;

    z-index: 110;

    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);

  }



  #notify-panel[hidden] {

    display: none !important;

  }



  #notify-panel .dropdown__head {

    flex: 0 0 auto;

    padding: 0.65rem 0.75rem;

  }



  #notify-panel .notify-list {

    flex: 1 1 auto;

    min-height: 0;

    max-height: none;

    overflow-y: auto;

    -webkit-overflow-scrolling: touch;

  }



  #notify-panel .notify-list li {

    padding: 0.6rem 0.75rem;

  }



  #user-panel.dropdown {

    position: fixed;

    top: auto;

    right: 0.65rem;

    left: auto;

    bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom, 0px) + 0.65rem);

    width: min(260px, calc(100vw - 1.3rem));

    max-height: min(40dvh, 280px);

    z-index: 110;

  }



  #user-panel[hidden] {

    display: none !important;

  }



  /* Canlı / Film / Dizi — ekranın en altı (viewport) */

  .topnav {

    position: fixed !important;

    left: 0 !important;

    right: 0 !important;

    bottom: 0 !important;

    top: auto !important;

    z-index: 100 !important;

    display: grid !important;

    grid-template-columns: repeat(4, 1fr) !important;

    gap: 0.2rem;

    width: 100% !important;

    max-width: 100vw !important;

    margin: 0 !important;

    padding: 0.35rem 0.45rem calc(0.35rem + env(safe-area-inset-bottom, 0px));

    border: 0;

    border-top: 1px solid var(--line);

    border-radius: 0;

    background: #0a0c12;

    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.35);

    transition: transform 0.22s ease, opacity 0.22s ease;

  }



  .topnav__item {

    width: 100%;

    height: auto;

    min-height: 52px;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 0.2rem;

    padding: 0.35rem 0.2rem;

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.02em;

    border-radius: 12px;

    color: #8b94a7;

  }



  .topnav__icon {

    opacity: 1;

  }



  .topnav__icon svg {

    width: 22px;

    height: 22px;

    display: block;

  }



  .topnav__text {

    display: block;

    font-size: 0.68rem;

  }



  .topnav__item.is-active {

    color: #fff;

    background: rgba(255, 77, 77, 0.18);

  }



  .watch__body {

    display: flex;

    flex-direction: column;

    width: 100%;

    max-width: 100%;

    min-width: 0;

    grid-template-columns: none;

    height: auto !important;

    min-height: 0;

    overflow-x: hidden;

  }



  /* Player üstte, kanallar altta */

  .main {

    order: -1;

    display: block;

    position: -webkit-sticky;

    position: sticky;

    top: 0;

    z-index: 70;

    width: 100%;

    max-width: 100%;

    min-width: 0;

    padding: 0;

    grid-template-columns: none;

    overflow: visible;

    background: #08090e;

  }



  .main__center {

    width: 100%;

    max-width: 100%;

    min-width: 0;

    gap: 0.55rem;

  }



  .main__player,

  .info-tabs {

    width: 100%;

    max-width: 100%;

    min-width: 0;

  }



  .player-shell {

    width: 100% !important;

    max-width: 100% !important;

    margin: 0 !important;

    overflow: hidden;

  }



  #player-wrap {

    width: 100% !important;

    max-width: 100% !important;

    margin: 0 !important;

    aspect-ratio: 16 / 9;

    height: auto !important;

    max-height: none !important;

    overflow: hidden;

  }



  #player-wrap > .plyr,

  #player-wrap > video,

  #player-wrap > #player,

  #player-wrap > .embed-frame {

    max-height: none !important;

  }



  .info-tabs,

  .epg {

    display: none !important;

  }



  .now-bar {

    padding: 0.45rem 0.55rem;

    gap: 0.5rem;

    align-items: center;

  }



  .now-bar__left {

    gap: 0.5rem;

  }



  .now-bar .channel-logo--lg {

    width: 1.85rem;

    height: 1.85rem;

  }



  .now-bar__label {

    display: none;

  }



  .now-bar__title {

    font-size: 0.95rem;

    line-height: 1.2;

    letter-spacing: -0.02em;

  }



  .now-bar__meta {

    font-size: 0.68rem;

    margin-top: 0.1rem;

  }



  .now-bar__right {

    gap: 0.25rem;

  }



  .now-bar .pill:not(.pill--live) {

    display: none;

  }



  .now-bar .pill--live {

    padding: 0.18rem 0.4rem;

    font-size: 0.62rem;

  }



  .fs-btn {

    height: 36px;

    width: 36px;

    padding: 0;

    justify-content: center;

    font-size: 0;

    gap: 0;

  }



  .fs-btn svg {

    width: 18px;

    height: 18px;

  }



  .sidebar {

    order: 0;

    width: 100%;

    max-width: 100%;

    min-width: 0;

    border-right: 0;

    border-top: 1px solid var(--line);

    max-height: none;

    min-height: 50vh;

    display: flex;

    flex-direction: column;

    grid-template-columns: none;

    grid-template-rows: none;

    background: #0c0e14;

    overflow: hidden;

  }



  .cat-rail {

    border-right: 0;

    border-bottom: 1px solid var(--line);

    flex: 0 0 auto;

    width: 100%;

    max-width: 100%;

    min-width: 0;

    background: #090b10;

    overflow: hidden;

  }



  .cat-rail__label {

    padding: 0.65rem 0.75rem 0.35rem;

  }



  .cat-rail__list {

    display: flex;

    flex-direction: row;

    flex-wrap: nowrap;

    width: 100%;

    max-width: 100%;

    min-width: 0;

    overflow-x: auto;

    overflow-y: hidden;

    overscroll-behavior-x: contain;

    -webkit-overflow-scrolling: touch;

    touch-action: pan-x;

    padding: 0 0.65rem 0.7rem;

    gap: 0.4rem;

    scrollbar-width: thin;

  }



  .cat-item {

    flex: 0 0 auto;

    width: auto;

    min-width: 7.25rem;

    max-width: 11rem;

    min-height: 48px;

    grid-template-columns: 18px minmax(0, 1fr) auto;

    padding: 0.65rem 0.8rem;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid transparent;

    touch-action: manipulation;

    pointer-events: auto;

    position: relative;

    z-index: 2;

  }



  .cat-item.is-active {

    background: var(--accent-soft);

    border-color: rgba(255, 77, 77, 0.45);

    color: #fff;

  }



  .cat-item.is-active::before {

    top: auto;

    bottom: 0;

    left: 12px;

    right: 12px;

    width: auto;

    height: 2px;

  }



  .cat-item.is-vip {

    margin: 0;

    min-width: 8.5rem;

    border-radius: 12px;

    animation: none;

    box-shadow: inset 0 1px 0 rgba(255, 230, 160, 0.14);

  }



  .cat-item.is-vip.is-active {

    border-color: rgba(255, 196, 77, 0.6);

  }



  .channel-pane {

    flex: 1 1 auto;

    min-width: 0;

    max-width: 100%;

    min-height: 0;

    display: flex;

    flex-direction: column;

  }



  .channel-pane__head {

    padding: 0.7rem 0.85rem 0.35rem;

  }



  .channel-list {

    flex: 1;

    max-height: none;

    overflow-y: visible;

    padding: 0.35rem 0.65rem calc(1.25rem + 0.25rem);

    -webkit-overflow-scrolling: touch;

  }



  .channel-card {

    min-height: 56px;

    touch-action: manipulation;

  }

}



@media (max-width: 860px) {

  .user-btn__meta small { display: none; }

  .user-btn { min-width: 0; }

}



@media (max-width: 640px) {

  :root { --yt-crop: 36px; }



  .main { padding: 0.55rem 0.65rem 0.25rem; }



  .logo__text { font-size: 1rem; }

}



/* Capacitor / notch — sadece geniş ekranda sabit yükseklik */

@supports (padding: env(safe-area-inset-top)) {

  .topbar {

    padding-left: max(0.75rem, env(safe-area-inset-left));

    padding-right: max(0.75rem, env(safe-area-inset-right));

    padding-top: max(0.55rem, env(safe-area-inset-top));

  }



  .watch {

    grid-template-rows: auto 1fr;

  }



  @media (min-width: 981px) {

    .topbar {

      min-height: calc(var(--topbar-h) + env(safe-area-inset-top));

      height: auto;

    }



    .watch__body {

      height: calc(100dvh - var(--topbar-h) - env(safe-area-inset-top));

      min-height: 0;

    }

  }

}



@media (max-width: 980px) and (orientation: landscape) {

  #player-wrap {

    max-width: min(100%, 480px);

    margin-inline: auto !important;

  }



  .sidebar {

    min-height: 40vh;

  }

}



/* ===== Android TV / D-pad ===== */

body.is-tv {

  --topbar-h: 76px;

  --sidebar-w: 520px;

  cursor: none;

}



body.is-tv .topbar {

  gap: 1rem;

  padding: 0 1.6rem;

}



body.is-tv .topnav__item,

body.is-tv .icon-btn,

body.is-tv .user-btn,

body.is-tv .cat-item,

body.is-tv .channel-card,

body.is-tv .fs-btn,

body.is-tv .tab,

body.is-tv .dropdown__item {

  outline: none;

  transition: box-shadow 0.12s ease, background 0.12s ease, transform 0.12s ease;

}



body.is-tv .topnav__item:focus-visible,

body.is-tv .icon-btn:focus-visible,

body.is-tv .user-btn:focus-visible,

body.is-tv .cat-item:focus-visible,

body.is-tv .channel-card:focus-visible,

body.is-tv .fs-btn:focus-visible,

body.is-tv .tab:focus-visible,

body.is-tv .dropdown__item:focus-visible,

body.is-tv .topnav__item:focus,

body.is-tv .icon-btn:focus,

body.is-tv .user-btn:focus,

body.is-tv .cat-item:focus,

body.is-tv .channel-card:focus,

body.is-tv .fs-btn:focus,

body.is-tv .tab:focus,

body.is-tv .dropdown__item:focus {

  box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.95), 0 0 0 6px rgba(255, 77, 77, 0.25);

  background: rgba(255, 77, 77, 0.16);

  transform: scale(1.02);

  z-index: 2;

  position: relative;

}



body.is-tv .channel-card {

  min-height: 72px;

  padding: 0.95rem 1rem;

  font-size: 1.05rem;

}



body.is-tv .channel-card__title {

  font-size: 1.05rem;

}



body.is-tv .cat-item {

  min-height: 56px;

  padding: 0.85rem 0.95rem;

  font-size: 1rem;

}



body.is-tv .topnav__item {

  min-height: 48px;

  padding: 0.7rem 1.05rem;

  font-size: 1rem;

}



body.is-tv .icon-btn {

  width: 48px;

  height: 48px;

}



body.is-tv .user-btn {

  min-height: 52px;

  min-width: 220px;

}



body.is-tv .watch__body {

  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.4fr) minmax(260px, 0.85fr);

}



body.is-tv .epg-item {

  padding: 0.85rem 0.9rem;

  min-height: 64px;

}



body.is-tv .channel-card__play {

  opacity: 0.35;

}



body.is-tv .channel-card:focus .channel-card__play,

body.is-tv .channel-card.is-active .channel-card__play {

  opacity: 1;

}



@media (min-width: 960px) and (orientation: landscape) {

  body.is-tv .sidebar {

    max-height: none;

  }

}



/* ===== VOD Film / Dizi (hdkeyfi tarzı katalog) ===== */

.vod-page[hidden],

.vod-watch[hidden],

.vod-sheet[hidden],

#live-body[hidden] {

  display: none !important;

}



.vod-page {

  min-height: 0;

  height: 100%;

  overflow-x: hidden;

  overflow-y: auto;

  padding: 1rem 1.1rem 5.5rem;

  background:

    radial-gradient(900px 420px at 10% -10%, rgba(255, 77, 77, 0.12), transparent 60%),

    #0a0c12;

  -webkit-overflow-scrolling: touch;

}



.vod-page__bar {

  display: flex;

  flex-wrap: wrap;

  gap: 0.85rem 1rem;

  align-items: end;

  justify-content: space-between;

  margin-bottom: 0.85rem;

}



.vod-page__eyebrow {

  margin: 0;

  color: var(--muted);

  font-size: 0.68rem;

  font-weight: 700;

  letter-spacing: 0.14em;

  text-transform: uppercase;

}



.vod-page__title {

  margin: 0.2rem 0 0;

  font-family: var(--display);

  font-size: clamp(1.4rem, 3vw, 2rem);

  letter-spacing: -0.03em;

}



#vod-search {

  width: min(340px, 100%);

  height: 42px;

  border: 1px solid var(--line);

  background: rgba(255, 255, 255, 0.03);

  padding: 0 0.85rem;

  color: var(--text);

}



.vod-genres {

  display: flex;

  gap: 0.4rem;

  overflow-x: auto;

  padding: 0.15rem 0 0.85rem;

  margin-bottom: 0.35rem;

  -webkit-overflow-scrolling: touch;

}



.vod-genre {

  flex: 0 0 auto;

  border: 1px solid var(--line);

  background: transparent;

  color: var(--muted);

  padding: 0.5rem 0.85rem;

  font-size: 0.8rem;

  font-weight: 650;

  cursor: pointer;

  touch-action: manipulation;

}



.vod-genre.is-active {

  color: #fff;

  border-color: rgba(255, 77, 77, 0.55);

  background: rgba(255, 77, 77, 0.18);

}



.vod-sections {

  display: grid;

  gap: 1.35rem;

  width: 100%;

  max-width: 100%;

  min-width: 0;

  overflow-x: hidden;

}



.vod-row {

  width: 100%;

  max-width: 100%;

  min-width: 0;

  overflow: hidden;

}



.vod-row__head {

  display: flex;

  align-items: baseline;

  justify-content: space-between;

  gap: 0.75rem;

  margin-bottom: 0.7rem;

  width: 100%;

  max-width: 100%;

}



.vod-row__title {

  margin: 0;

  font-family: var(--display);

  font-size: 1.15rem;

  letter-spacing: -0.02em;

}



.vod-row__see-all {

  flex: 0 0 auto;

  border: 0;

  background: transparent;

  color: var(--muted);

  font-size: 0.8rem;

  font-weight: 650;

  cursor: pointer;

  touch-action: manipulation;

  padding: 0.25rem 0;

  white-space: nowrap;

}



.vod-row__see-all:hover,

.vod-row__see-all:focus-visible {

  color: #fff;

}



.vod-row__scroller {

  position: relative;

  width: 100%;

  max-width: 100%;

  min-width: 0;

  /* Sayfa değil, sadece içerik kayar */

  overflow: hidden;

}



.vod-row__track {

  display: flex;

  gap: 0.75rem;

  width: 100%;

  max-width: 100%;

  min-width: 0;

  overflow-x: auto;

  overflow-y: hidden;

  overscroll-behavior-x: contain;

  overscroll-behavior-y: none;

  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;

  padding: 0.1rem 0.15rem 0.45rem;

  scroll-behavior: auto;

  touch-action: pan-x;

  cursor: default;

}



.vod-row__track::-webkit-scrollbar {

  display: none;

  height: 0;

  width: 0;

}



.vod-row__track .vod-card,

.vod-row__track .vod-continue__card {

  flex: 0 0 132px;

  width: 132px;

}



.vod-row__nav {

  position: absolute;

  top: 42%;

  z-index: 2;

  transform: translateY(-50%);

  width: 2.2rem;

  height: 2.2rem;

  border: 1px solid rgba(255, 255, 255, 0.14);

  border-radius: 999px;

  background: rgba(8, 10, 14, 0.82);

  color: #fff;

  font-size: 1.35rem;

  line-height: 1;

  cursor: pointer;

  display: grid;

  place-items: center;

  touch-action: manipulation;

}



.vod-row__nav--prev { left: 0.15rem; }

.vod-row__nav--next { right: 0.15rem; }



.vod-row__nav:hover {

  background: rgba(20, 24, 32, 0.95);

}



.vod-row__grid {

  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));

  gap: 0.85rem;

}



.vod-card {

  border: 0;

  background: transparent;

  color: inherit;

  text-align: left;

  cursor: pointer;

  display: grid;

  gap: 0.45rem;

  touch-action: manipulation;

}



.vod-card__media {

  position: relative;

  display: block;

}



.vod-card__poster {

  display: block;

  aspect-ratio: 2 / 3;

  width: 100%;

  object-fit: cover;

  background: #12151d;

  border: 1px solid var(--line);

}



.vod-card__poster--fallback {

  display: grid;

  place-items: center;

  font-family: var(--display);

  font-size: 1.7rem;

  font-weight: 800;

  background: linear-gradient(160deg, #2a1520, #12151d);

}



.vod-card__rating {

  position: absolute;

  left: 0.35rem;

  top: 0.35rem;

  padding: 0.18rem 0.4rem;

  background: rgba(0, 0, 0, 0.72);

  color: #ffe08a;

  font-size: 0.68rem;

  font-weight: 700;

}



.vod-card__title {

  font-size: 0.84rem;

  font-weight: 700;

  line-height: 1.25;

  display: -webkit-box;

  -webkit-line-clamp: 2;

  -webkit-box-orient: vertical;

  overflow: hidden;

}



.vod-empty {

  padding: 2.5rem 1rem;

  text-align: center;

  color: var(--muted);

  border: 1px dashed var(--line);

}



.vod-watch {

  position: fixed;

  inset: 0;

  z-index: 130;

  display: grid;

  grid-template-rows: auto 1fr;

  background: #05060a;

  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);

}



.vod-watch__top {

  display: flex;

  align-items: center;

  gap: 0.75rem;

  padding: 0.75rem 1rem;

  border-bottom: 1px solid var(--line);

}



.vod-watch__top #vod-watch-title {

  flex: 1;

  min-width: 0;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

}



.vod-watch__share {

  flex-shrink: 0;

  margin-left: auto;

}



.vod-watch__back {

  border: 1px solid var(--line);

  background: rgba(255, 255, 255, 0.05);

  color: #fff;

  padding: 0.55rem 0.8rem;

  font-weight: 650;

  cursor: pointer;

  touch-action: manipulation;

}



.vod-watch__body {

  min-height: 0;

  overflow: auto;

  display: grid;

  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.75fr);

  gap: 1rem;

  padding: 0.85rem 1rem 1.25rem;

  align-items: start;

}



.vod-watch__stage {

  min-height: 0;

  display: grid;

  place-items: start center;

}



.vod-watch__stage .player-shell {

  width: min(1100px, 100%);

  margin: 0;

}



.vod-watch__stage #player-wrap {

  width: 100%;

  aspect-ratio: 16 / 9;

  height: auto;

  max-height: min(72vh, 680px);

}



.vod-watch__info {

  padding: 0.25rem 0.15rem 1rem;

}



.vod-watch__info[hidden] {

  display: none;

}



.vod-watch__eyebrow {

  margin: 0 0 0.35rem;

  font-size: 0.72rem;

  font-weight: 700;

  letter-spacing: 0.06em;

  text-transform: uppercase;

  color: var(--brand, #ff4d4d);

}



.vod-watch__info h2 {

  margin: 0;

  font-size: clamp(1.15rem, 2vw, 1.55rem);

  line-height: 1.2;

}



.vod-watch__sub {

  margin: 0.45rem 0 0;

  color: var(--muted);

  font-size: 0.86rem;

}



.vod-watch__overview {

  margin: 0.85rem 0 0;

  color: rgba(255, 255, 255, 0.82);

  font-size: 0.9rem;

  line-height: 1.5;

}



.vod-watch__credits {

  display: grid;

  gap: 0.55rem;

  margin: 0.95rem 0 0;

}



.vod-watch__credits[hidden] {

  display: none;

}



.vod-watch__credits > div {

  display: grid;

  gap: 0.12rem;

}



.vod-watch__credits dt {

  font-size: 0.7rem;

  font-weight: 700;

  letter-spacing: 0.04em;

  text-transform: uppercase;

  color: var(--muted);

}



.vod-watch__credits dd {

  margin: 0;

  font-size: 0.86rem;

  line-height: 1.4;

}



@media (max-width: 900px) {

  .vod-watch__body {

    grid-template-columns: 1fr;

    padding: 0.65rem 0.75rem 1rem;

  }



  .vod-watch__stage #player-wrap {

    max-height: min(52vh, 420px);

  }

}



.vod-sheet {

  position: fixed;

  inset: 0;

  z-index: 120;

  display: grid;

  place-items: end center;

}



.vod-sheet__backdrop {

  position: absolute;

  inset: 0;

  background: rgba(0, 0, 0, 0.6);

}



.vod-sheet__panel {

  position: relative;

  z-index: 1;

  width: min(720px, 100%);

  max-height: min(88dvh, 820px);

  display: flex;

  flex-direction: column;

  overflow: hidden;

  background: #0e1118;

  border: 1px solid var(--line);

  border-bottom: 0;

}



.vod-sheet__scroll {

  flex: 1 1 auto;

  min-height: 0;

  overflow-y: auto;

  -webkit-overflow-scrolling: touch;

  overscroll-behavior: contain;

  padding: 1rem 1rem 0.75rem;

  padding-right: 1rem;

}



.vod-sheet__foot {

  flex: 0 0 auto;

  padding: 0.75rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));

  border-top: 1px solid var(--line);

  background: #0e1118;

}



.vod-sheet__foot[hidden] {

  display: none !important;

}



.btn--block {

  width: 100%;

}



.vod-sheet__x {

  position: absolute;

  top: 0.65rem;

  right: 0.65rem;

  z-index: 2;

  width: 40px;

  height: 40px;

  border: 0;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.08);

  color: #fff;

  cursor: pointer;

}



.vod-sheet__hero {

  display: grid;

  grid-template-columns: 120px 1fr;

  gap: 0.9rem;

  align-items: start;

  padding-right: 2.2rem;

}



.vod-sheet__hero img {

  width: 120px;

  aspect-ratio: 2 / 3;

  object-fit: cover;

  border: 1px solid var(--line);

  background: #12151d;

}



.vod-sheet__eyebrow {

  color: var(--muted);

  font-size: 0.68rem;

  font-weight: 700;

  letter-spacing: 0.12em;

  text-transform: uppercase;

}



.vod-sheet__meta h2 {

  font-family: var(--display);

  font-size: 1.35rem;

  letter-spacing: -0.03em;

  margin: 0.25rem 0 0.35rem;

}



.vod-sheet__sub {

  color: var(--text-2);

  font-size: 0.82rem;

  margin-bottom: 0.45rem;

}



.vod-sheet__overview {

  color: var(--muted);

  font-size: 0.88rem;

  line-height: 1.45;

  margin-bottom: 0;

}



.vod-sheet__credits {

  display: grid;

  gap: 0.55rem;

  margin: 0.85rem 0 0;

}



.vod-sheet__credits[hidden] {

  display: none;

}



.vod-sheet__credits > div {

  display: grid;

  gap: 0.15rem;

}



.vod-sheet__credits dt {

  font-size: 0.7rem;

  font-weight: 700;

  letter-spacing: 0.04em;

  text-transform: uppercase;

  color: var(--muted);

}



.vod-sheet__credits dd {

  margin: 0;

  font-size: 0.86rem;

  line-height: 1.4;

}



.vod-sheet__episodes {

  margin-top: 1rem;

  display: grid;

  gap: 0.55rem;

  padding-bottom: 0.5rem;

}



.vod-season-title {

  font-size: 0.78rem;

  font-weight: 700;

  color: var(--muted);

  letter-spacing: 0.08em;

  text-transform: uppercase;

  margin-top: 0.35rem;

}



.vod-ep {

  width: 100%;

  display: flex;

  justify-content: space-between;

  gap: 0.75rem;

  align-items: center;

  border: 1px solid var(--line);

  background: rgba(255, 255, 255, 0.03);

  color: inherit;

  padding: 0.7rem 0.8rem;

  cursor: pointer;

  text-align: left;

  touch-action: manipulation;

}



.vod-ep:hover,

.vod-ep.is-active {

  border-color: rgba(255, 77, 77, 0.45);

  background: rgba(255, 77, 77, 0.12);

}



.btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  height: 40px;

  padding: 0 1rem;

  border: 1px solid transparent;

  font-weight: 700;

  cursor: pointer;

  color: #fff;

  background: rgba(255, 255, 255, 0.06);

}



.btn--primary {

  background: linear-gradient(135deg, var(--accent), var(--accent-2));

  color: #fff;

  border-color: transparent;

}



.btn--ghost {

  background: rgba(8, 10, 16, 0.75);

  border: 1px solid rgba(255, 255, 255, 0.16);

  color: #f0f3f8;

}



.btn--ghost:hover {

  background: rgba(255, 255, 255, 0.08);

  border-color: rgba(255, 122, 69, 0.4);

  color: #fff;

}



.btn--sm {

  height: 34px;

  padding: 0 0.75rem;

  font-size: 0.8rem;

}



@media (max-width: 980px) {

  .vod-page {

    padding: 0.85rem 0.75rem 6.5rem;

  }



  .vod-row__grid {

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 0.55rem;

  }



  .vod-row__title {

    font-size: 1.02rem;

  }



  .vod-row__see-all {

    font-size: 0.75rem;

  }



  .vod-row__nav {

    display: none;

  }



  .vod-row__track {

    gap: 0.55rem;

    padding-left: 0;

    padding-right: 0;

    scrollbar-width: none;

  }



  .vod-row__track::-webkit-scrollbar {

    display: none;

  }



  .vod-row__track .vod-card,

  .vod-row__track .vod-continue__card {

    flex: 0 0 28vw;

    width: 28vw;

    min-width: 96px;

    max-width: 124px;

  }



  .vod-sheet {

    place-items: end center;

    padding: 0;

  }



  .vod-sheet__panel {

    width: 100%;

    max-height: min(92dvh, 100%);

    border-left: 0;

    border-right: 0;

    border-radius: 16px 16px 0 0;

  }



  .vod-sheet__scroll {

    padding-bottom: 1rem;

  }



  .vod-sheet__hero {

    grid-template-columns: 96px 1fr;

  }



  .vod-sheet__hero img { width: 96px; }



  .vod-watch__stage #player-wrap {

    max-height: none;

  }



  /* Modal / izleme açıkken alt menüyü gizle */

  body.vod-sheet-open .topnav,

  body.vod-watching .topnav {

    transform: translateY(110%);

    pointer-events: none;

    opacity: 0;

  }



  body.vod-sheet-open .vod-page,

  body.vod-watching .vod-page {

    padding-bottom: 1rem;

  }

}



@media (min-width: 981px) {

  .vod-sheet {

    place-items: center;

  }

  .vod-sheet__panel {

    border-bottom: 1px solid var(--line);

    max-height: min(84vh, 760px);

  }

}

