[hidden] { display: none !important; }
html, body { background: #20035b; color: #ffffff; }
.bg-ink { background-color: #20035b; }
.bg-ink\/95 { background-color: rgba(32, 3, 91, 0.95); }
.bg-panel { background-color: #0d0426; }
.bg-panel2 { background-color: #0d0426; }
.bg-dogood { background-color: #5520d8; }
.text-paper { color: #ffffff; }
.text-muted { color: #beb4e5; }
.text-sunshine { color: #beb4e5; }
.border-line { border-color: #5520d8; }
.border-dogood\/80 { border-color: rgba(85, 32, 216, 0.8); }
.brand-mark { background: center / contain no-repeat url("brand/lineuptv-mark-white.svg"); clip-path: none; }
.header-controls select { max-width: min(42vw, 220px); }
.header-nav { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header-menu-shell { position: relative; }
.header-menu-button { display: grid; width: 36px; height: 36px; place-content: center; gap: 4px; border: 1px solid #5520d8; border-radius: 6px; background: #000; color: #ffffff; }
.header-menu-button span { display: block; width: 16px; height: 2px; background: currentColor; }
.header-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; width: min(88vw, 320px); max-height: min(72vh, 520px); overflow: auto; border: 1px solid #5520d8; background: #20035b; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.38); }
.header-menu-section { padding: 6px; }
.header-menu-title { padding: 8px 10px 6px; color: #beb4e5; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.header-menu-group-title { padding: 10px 10px 4px; color: #beb4e5; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.header-menu-divider { height: 1px; margin: 8px 4px; background: #5520d8; }
.header-menu-item { display: flex; width: 100%; min-height: 36px; align-items: center; justify-content: space-between; gap: 12px; border: 0; border-radius: 4px; background: transparent; padding: 8px 10px; color: #ffffff; text-align: left; font-size: 13px; font-weight: 800; text-decoration: none; }
.header-menu-item:hover, .header-menu-item:focus-visible { background: rgba(255, 255, 255, 0.08); outline: none; }
.header-menu-item.is-active { color: #5520d8; }
.header-menu-item.is-active .header-menu-chevron { color: #5520d8; }
.header-menu-chevron { color: #beb4e5; }
.switcher-select {
  min-height: 0;
  appearance: none;
  width: auto;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='14' viewBox='0 0 24 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h24L12 14z' fill='%23beb4e5'/%3E%3C/svg%3E");
  background-position: right 50%;
  background-size: 14px 8px;
  background-repeat: no-repeat;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  padding: 0.1em 20px 0.1em 0;
}
.switcher-select:hover, .switcher-select:focus-visible { color: #fff; outline: none; }
.switcher-select:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.switcher-select:disabled { opacity: 0.58; }
.switcher-select option { background: #000; color: #ffffff; }
.switcher-select-sm, .switcher-select-lg { font-size: 14px; max-width: min(86vw, 220px); }
.now-section-header { display: grid; gap: 12px; }
.now-header-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.live-header-controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-left: auto; }
.tag-filter-list { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; max-height: 34px; overflow: hidden; }
.tag-filter-list.is-open { max-height: none; overflow: visible; }
.tag-filter-chip { min-height: 34px; border: 1px solid #5520d8; border-radius: 6px; background: #000; padding: 0 12px; color: #beb4e5; font-size: 12px; font-weight: 800; }
.tag-filter-chip:hover, .tag-filter-chip:focus-visible { border-color: #beb4e5; color: #ffffff; }
.tag-filter-chip.is-active { border-color: #5520d8; background: #000; color: #5520d8; }
.tag-filter-chip.is-active:hover, .tag-filter-chip.is-active:focus-visible { border-color: #5520d8; background: rgba(85, 32, 216, 0.12); color: #ffffff; }
.live-scroll-controls, .guide-scroll-controls { display: flex; align-items: center; gap: 4px; }
.guide-scroll-controls { justify-content: center; margin-top: 8px; }
.guide-scroll { max-height: min(76vh, 860px); overflow: auto; position: relative; }
.live-scroll { height: 544px; max-height: none; overflow: auto; }
.guide-grid { --slot-height: 120px; min-width: 0; position: relative; }
.live-grid { --live-channel-header-width: 168px; --live-row-height: 96px; --live-time-width: 960px; min-width: calc(var(--live-channel-header-width) + var(--live-time-width)); overflow: hidden; }
.time-header, .channel-header, .time-label { position: absolute; }
.time-header { left: 0; top: 0; width: 76px; height: 64px; z-index: 8; }
.channel-header { top: 0; height: 64px; z-index: 6; }
.time-label { left: 0; width: 76px; z-index: 5; }
.live-time-mask { position: absolute; left: 0; top: 0; z-index: 8; width: 76px; height: 64px; border-right: 1px solid #5520d8; background: #0d0426; pointer-events: none; }
.live-time-header { display: flex; align-items: center; justify-content: center; gap: 4px; }
.live-scroll-button { display: grid; min-width: 28px; height: 28px; place-items: center; border: 1px solid #5520d8; border-radius: 6px; background: #000; color: #ffffff; font-weight: 800; }
.live-scroll-button-up { transform: rotate(-90deg); }
.live-scroll-button-down { transform: rotate(90deg); }
.live-scroll-button:disabled { cursor: default; opacity: 0.28; }
.live-scroll-button.is-fetch { border-color: #5520d8; color: #5520d8; opacity: 1; }
.live-scroll-button.is-fetch:hover, .live-scroll-button.is-fetch:focus-visible { background: rgba(85, 32, 216, 0.12); color: #ffffff; }
.filter-toggle-button { display: none; }
.filter-toggle-button.can-expand { display: grid; }
.filter-toggle-button.is-active { border-color: #5520d8; color: #5520d8; }
.filter-glyph { position: relative; display: block; width: 15px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.filter-glyph::before { content: ""; position: absolute; left: 3px; right: 3px; top: 3px; border-top: 2px solid currentColor; }
.live-grid .time-header { width: var(--live-channel-header-width); z-index: 13; }
.live-grid .channel-header { left: 0; width: var(--live-channel-header-width); z-index: 11; }
.live-channel-header { cursor: pointer; outline: none; }
.live-channel-header:hover, .live-channel-header:focus-visible { box-shadow: inset 0 0 0 2px #5520d8; }
.live-channel-header:hover .live-channel-name, .live-channel-header:focus-visible .live-channel-name { color: #5520d8; }
.live-channel-header.active-live-channel { cursor: default; }
.live-channel-header.active-live-channel:hover, .live-channel-header.active-live-channel:focus-visible { box-shadow: none; }
.live-channel-header.active-live-channel .live-channel-name { color: #5520d8; }
.live-channel-header.active-live-channel::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 100%; border-top: 2px solid #5520d8; border-bottom: 2px solid #5520d8; border-left: 2px solid #5520d8; pointer-events: none; }
.live-active-row-outline { position: absolute; left: 0; right: 0; z-index: 4; border: 2px solid #5520d8; pointer-events: none; }
.live-grid .time-label { top: 0; height: 64px; display: flex; align-items: center; background: transparent; z-index: 10; }
.time-label-day { color: #beb4e5; display: inline-block; margin-left: 0.25em; }
.live-grid .live-time-mask { width: var(--live-channel-header-width); z-index: 12; }
.live-time-row-bg { position: absolute; top: 0; height: 64px; border-bottom: 1px solid #5520d8; background: #0d0426; z-index: 8; pointer-events: none; }
.now-line { position: absolute; left: 0; right: 0; height: 2px; background: #5520d8; z-index: 2; box-shadow: 0 0 0 1px rgba(85, 32, 216, 0.25); pointer-events: none; }
.live-grid .now-line { right: auto; top: 64px; width: 2px; height: calc(100% - 64px); z-index: 2; }
.guide-grid .now-line { right: auto; width: 76px; z-index: 4; }
.guide-grid.live-grid .now-line { width: 2px; z-index: 2; }
.live-header-now-line { position: absolute; top: 0; width: 2px; height: 64px; background: #5520d8; z-index: 9; box-shadow: 0 0 0 1px rgba(85, 32, 216, 0.25); pointer-events: none; }
.guide-time-column-bg { position: absolute; left: 0; width: 76px; border-right: 1px solid #5520d8; background: #0d0426; z-index: 3; pointer-events: none; }
.guide-grid:not(.live-grid) .time-label { background: transparent; display: flex; align-items: flex-start; justify-content: center; overflow: hidden; padding: 12px 6px; text-align: center; white-space: normal; z-index: 7; }
.guide-grid:not(.live-grid) .time-label > span { min-width: 0; position: relative; z-index: 1; }
.guide-grid:not(.live-grid) .time-label > span:not(.guide-time-label-stack) { white-space: nowrap; }
.guide-grid:not(.live-grid) .guide-time-label-stack { display: grid; gap: 2px; line-height: 1.1; }
.guide-grid:not(.live-grid) .guide-time-label-stack > span:first-child { white-space: nowrap; }
.guide-grid:not(.live-grid) .guide-time-label-stack .time-label-day { display: block; margin-left: 0; }
.live-card-now-line, .guide-card-now-line { position: absolute; right: 0; height: 2px; background: #5520d8; z-index: 2; box-shadow: 0 0 0 1px rgba(85, 32, 216, 0.25); pointer-events: none; }
.live-card-now-line { right: auto; width: 2px; height: auto; z-index: 3; }
.guide-channel-select select { max-width: 100%; }
.program-card { z-index: auto; }
.program-card > * { position: relative; z-index: 3; }
.program-card:focus-visible { outline: 2px solid #beb4e5; outline-offset: -3px; }
.program-card.active-card { outline: 3px solid #5520d8; outline-offset: -3px; }
.program-card.active-current { z-index: 5; background: #5520d8; }
.program-card.active-current .text-muted { color: rgba(255, 255, 255, 0.82); }
.program-cluster { z-index: 6; background: #0d0426; }
.program-cluster:focus-visible { outline: 2px solid #5520d8; outline-offset: -3px; }
.program-cluster.active-card { outline: 3px solid #5520d8; outline-offset: -3px; }
.program-cluster.active-current { background: #5520d8; }
.program-cluster.active-current .program-cluster-time { color: rgba(255, 255, 255, 0.82); }
.program-cluster-count { display: -webkit-box; overflow: hidden; color: #ffffff; font-size: 14px; font-weight: 800; line-height: 1.25; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.program-cluster-time { display: block; overflow: hidden; margin-top: 4px; color: #beb4e5; font-size: 12px; font-weight: 700; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.status-live-button { min-height: 2.25rem; border-radius: 0.375rem; border: 1px solid #5520d8; padding: 0 0.75rem; background: #000; color: #beb4e5; font-size: 0.75rem; font-weight: 800; }
.status-live-button.is-live { cursor: default; background: #000; color: #beb4e5; }
.status-live-button.is-watch-live { border-color: #1ed760; background: #1ed760; color: #0d0426; }
.progress-live-tick { position: absolute; top: 50%; z-index: 2; width: 2px; height: 16px; background: #5520d8; box-shadow: 0 0 0 1px rgba(85, 32, 216, 0.25); transform: translate(-1px, -50%); pointer-events: none; }
.card-play-overlay { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: rgba(0, 0, 0, 0.34); opacity: 0; transition: opacity 150ms ease; pointer-events: none; }
.program-card:hover .card-play-overlay, .program-card:focus-visible .card-play-overlay, .program-cluster:hover .card-play-overlay, .program-cluster:focus-visible .card-play-overlay { opacity: 1; }
.program-card.active-current:hover .card-play-overlay, .program-card.active-current:focus-visible .card-play-overlay { opacity: 0; }
.watch-live-badge { border-radius: 0.375rem; background: #1ed760; padding: 0.5rem 0.75rem; color: #0d0426; font-size: 0.75rem; font-weight: 800; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.player-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.72)); }
.poster-play { position: relative; z-index: 1; display: grid; width: 76px; height: 76px; place-items: center; border-radius: 9999px; background: #1ed760; box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35); }
.poster-play::before { content: ""; width: 0; height: 0; margin-left: 5px; border-top: 14px solid transparent; border-bottom: 14px solid transparent; border-left: 22px solid #0d0426; }
.play-glyph, .icon-play-button span { display: block; width: 0; height: 0; margin-left: 2px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 10px solid currentColor; }
.icon-play-button span { border-top-width: 6px; border-bottom-width: 6px; border-left-width: 9px; }
.restart-glyph { display: block; font-size: 18px; font-weight: 800; line-height: 1; transform: translateY(-1px); }
.youtube-glyph { position: relative; display: block; width: 20px; height: 14px; border-radius: 4px; background: #fff; }
.youtube-glyph::after { content: ""; position: absolute; left: 8px; top: 3px; width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 6px solid #000; }
.cluster-drawer-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, 0.5); }
.cluster-drawer { position: fixed; left: 50%; bottom: 0; z-index: 51; display: grid; width: min(720px, 100vw); max-height: min(78vh, 680px); transform: translateX(-50%); border: 1px solid #5520d8; border-bottom: 0; background: #20035b; box-shadow: 0 -18px 52px rgba(0, 0, 0, 0.48); }
.cluster-drawer-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid #5520d8; padding: 16px; }
.cluster-drawer-close { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border: 1px solid #5520d8; border-radius: 6px; background: #000; color: #ffffff; font-size: 24px; line-height: 1; }
.cluster-drawer-list { overflow: auto; padding: 8px; }
.cluster-drawer-item { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; border: 0; border-radius: 6px; background: transparent; padding: 12px; color: #ffffff; text-align: left; }
.cluster-drawer-item:hover, .cluster-drawer-item:focus-visible { background: rgba(255, 255, 255, 0.08); outline: none; }
.cluster-drawer-item-title { display: block; overflow: hidden; font-size: 14px; font-weight: 800; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.cluster-drawer-item-meta { display: block; margin-top: 4px; color: #beb4e5; font-size: 12px; font-weight: 700; }
.cluster-drawer-item-play { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #5520d8; border-radius: 6px; background: #000; color: #ffffff; }
.cluster-drawer-item-play::before { content: ""; width: 0; height: 0; margin-left: 2px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor; }
.cluster-drawer-watch { min-height: 34px; border-radius: 0.375rem; border: 1px solid #1ed760; padding: 0 0.75rem; display: inline-flex; align-items: center; justify-content: center; background: #1ed760; color: #0d0426; font-size: 0.75rem; font-weight: 800; white-space: nowrap; }

@media (max-width: 560px) {
  .now-header-row { align-items: flex-end; gap: 12px; }
  .live-header-controls { justify-content: flex-end; align-items: flex-end; width: auto; margin-left: auto; }
  .filter-toggle-button { display: grid; }
  .tag-filter-list { display: none; width: 100%; justify-content: flex-start; }
  .tag-filter-list.is-open { display: flex; }
  .cluster-drawer { max-height: 84vh; }
  .cluster-drawer-item { grid-template-columns: minmax(0, 1fr) 34px; min-height: 56px; }
}
