* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #0a0a0a;
    color: #ffffff;
    overflow: hidden;
    height: 100vh;
}

.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Header */
.app-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 20px 30px;
    border-bottom: 2px solid #e94560;
    box-shadow: 0 2px 10px rgba(233, 69, 96, 0.3);
}

.app-header h1 {
    margin: 0;
    font-size: 48px;
    color: #e94560;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Main Layout */
.main-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Left Sidebar - Categories */
.categories-sidebar {
    width: 280px;
    background-color: #1a1a2e;
    border-right: 2px solid #16213e;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100vh;
}

.sidebar-header {
    padding: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-bottom: 2px solid #16213e;
}

.sidebar-header h1 {
    margin: 0;
    font-size: 28px;
    color: #e94560;
    font-weight: bold;
}

.categories-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    min-height: 0;
}

.category-item {
    padding: 12px 15px;
    margin: 5px 0;
    background-color: #16213e;
    border-radius: 8px;
    cursor: pointer;
    font-size: 22px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

.category-item.selected {
    background-color: #16213e;
    color: #ffffff;
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

.category-count {
    background-color: #0f0f1a;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 16px;
    color: #888;
}

.category-item.selected .category-count {
    background-color: #ffffff;
    color: #e94560;
}

.sidebar-footer {
    padding: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-top: 2px solid #16213e;
}

.sidebar-footer h1 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #e94560;
    font-weight: bold;
}

.sidebar-footer p {
    margin: 0;
    font-size: 16px;
    color: #888;
}

.halow-plus-btn {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background-color: #e94560;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.halow-plus-btn:hover {
    background-color: #ff6b6b;
    transform: scale(1.02);
}

/* Center Panel - Channel List */
.channels-center {
    flex: 1;
    background-color: #1a1a2e;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.channels-header {
    padding: 15px 20px;
    background-color: #16213e;
    border-bottom: 2px solid #1a1a2e;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.channels-header h2 {
    margin: 0;
    font-size: 28px;
    color: #ffffff;
}

.menu-icon {
    font-size: 32px;
    color: #888;
    cursor: pointer;
}

.channels-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.channel-item {
    padding: 12px 15px;
    margin: 5px 0;
    background-color: #16213e;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    outline: none;
}

.channel-item.selected {
    background-color: #16213e;
    color: #ffffff;
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

.channel-number {
    font-size: 20px;
    font-weight: bold;
    color: #e94560;
    margin-right: 10px;
    min-width: 30px;
}

.channel-item.selected .channel-number {
    color: #ffffff;
}

.channel-logo {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background-color: #000;
    margin-right: 10px;
}

.channel-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-tag {
    background-color: #e94560;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
    margin-right: 10px;
}

.favorite-icon {
    font-size: 20px;
    margin-left: 10px;
}

/* Right Panel - Video and Details */
.video-right {
    flex: 1;
    background-color: #0a0a0a;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.top-bar {
    padding: 15px 20px;
    background-color: #16213e;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-bar-left {
    display: flex;
    margin-right: 20px;
}

.top-bar-left .icon {
    margin-right: 15px;
}

.top-bar-left .icon:last-child {
    margin-right: 0;
}

.icon {
    font-size: 24px;
    cursor: pointer;
    color: #888;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s ease;
}

.icon.selected {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

.icon-text {
    margin-left: 8px;
}

.icon-text {
    font-size: 18px;
    color: #ffffff;
}

.time {
    font-size: 24px;
    color: #ffffff;
    font-weight: bold;
}

.video-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #0a0a0a;
    padding: 20px;
}

/* Video Panel (Center) */
.video-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #0a0a0a;
    padding: 20px;
}

.video-container {
    flex: 1;
    background-color: #000000;
    border-radius: 12px;
    overflow: visible;
    position: relative;
    border: 3px solid #16213e;
    z-index: 1;
}

#avplay-object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.video-player {
    width: 100%;
    height: 100%;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.placeholder-content {
    text-align: center;
    padding: 40px;
}

.placeholder-content h2 {
    font-size: 48px;
    color: #e94560;
    margin-bottom: 20px;
}

.placeholder-content p {
    font-size: 32px;
    color: #888;
}

.fullscreen-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 20px;
    border-radius: 10px;
    z-index: 10000;
}

.fullscreen-logo {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    border-radius: 5px;
    background-color: #16213e;
}

.fullscreen-channel-name {
    font-size: 24px;
    color: #ffffff;
    font-weight: bold;
}

.fullscreen-quality {
    font-size: 24px;
    color: #e94560;
    font-weight: bold;
}

.channel-info {
    margin-top: 15px;
    padding: 15px 20px;
    background-color: #16213e;
    border-radius: 8px;
    border-left: 4px solid #e94560;
}

.channel-info h3 {
    margin: 0;
    font-size: 36px;
    color: #ffffff;
}

/* Channel Details */
.channel-details {
    padding: 20px;
    background-color: #16213e;
    border-top: 2px solid #1a1a2e;
}

.channel-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.channel-details-header h3 {
    margin: 0;
    font-size: 32px;
    color: #ffffff;
}

.live-tag {
    background-color: #e94560;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
}

.program-info {
    margin-bottom: 20px;
}

.category {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #888;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #0f0f1a;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-fill {
    width: 30%;
    height: 100%;
    background-color: #e94560;
    border-radius: 4px;
}

.program-time {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #888;
}

.program-title {
    margin: 0 0 20px 0;
    font-size: 24px;
    color: #ffffff;
    font-weight: bold;
}

.action-buttons {
    display: flex;
    align-items: center;
}

.action-buttons .btn-favorite {
    margin-right: 15px;
}

.action-buttons .btn-fullscreen {
    margin-right: 15px;
}

.btn-favorite,
.btn-fullscreen {
    padding: 12px 24px;
    background-color: #1a1a2e;
    border: 2px solid #e94560;
    border-radius: 8px;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-favorite:hover,
.btn-fullscreen:hover {
    background-color: #e94560;
    border-color: #ffffff;
}

.channels-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.channel-item {
    padding: 12px 15px;
    margin: 5px 0;
    background-color: #16213e;
    border-radius: 8px;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
}

.channel-item.selected {
    background-color: #e94560;
    color: #ffffff;
    border-color: #ffffff;
    transform: scale(1.02);
}

.channel-number {
    font-size: 24px;
    font-weight: bold;
    color: #e94560;
    margin-right: 10px;
    min-width: 30px;
}

.channel-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background-color: #000;
    margin-right: 10px;
}

.channel-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Loading state */
.loading {
    text-align: center;
    padding: 40px 20px;
    font-size: 28px;
    color: #888;
}

/* Scrollbar styling */
.categories-list::-webkit-scrollbar,
.channels-list::-webkit-scrollbar {
    width: 12px;
}

.categories-list::-webkit-scrollbar-track,
.channels-list::-webkit-scrollbar-track {
    background: #0f0f1a;
}

.categories-list::-webkit-scrollbar-thumb,
.channels-list::-webkit-scrollbar-thumb {
    background: #e94560;
    border-radius: 6px;
}

.categories-list::-webkit-scrollbar-thumb:hover,
.channels-list::-webkit-scrollbar-thumb:hover {
    background: #ff6b6b;
}

/* Search Dialog */
.search-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.search-content {
    background-color: #16213e;
    padding: 40px;
    border-radius: 12px;
    width: 600px;
    max-width: 90%;
    border: 3px solid #e94560;
}

.search-content h2 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 32px;
}

.search-input {
    width: 100%;
    padding: 15px;
    font-size: 24px;
    background-color: #0f0f1a;
    border: 2px solid #333;
    border-radius: 8px;
    color: #ffffff;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.search-input:focus {
    outline: none;
    border-color: #e94560;
}

.search-results {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.search-result-item {
    padding: 12px 15px;
    margin: 5px 0;
    background-color: #0f0f1a;
    border-radius: 8px;
    cursor: pointer;
    color: #ffffff;
    font-size: 20px;
    display: flex;
    align-items: center;
    outline: none;
    transition: all 0.3s ease;
}

.search-result-item.selected {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

.search-hint {
    color: #888;
    font-size: 18px;
    text-align: center;
}

.channel-category {
    margin-left: auto;
    color: #888;
    font-size: 16px;
}

/* Settings Dialog */
.code-dialog {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 20000;
}

.code-dialog-content {
    width: 520px;
    max-width: 90vw;
    padding: 32px;
    background-color: #16213e;
    border: 2px solid #e94560;
    border-radius: 12px;
    box-sizing: border-box;
}

.code-dialog-content h2 {
    color: #ffffff;
    margin: 0 0 20px;
}

.code-dialog-content input {
    width: 100%;
    padding: 14px;
    color: #ffffff;
    background-color: #0b0f19;
    border: 2px solid #555;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 24px;
}

.code-dialog-content input:focus {
    border-color: #e94560;
    outline: none;
}

#code-dialog-message {
    min-height: 24px;
    color: #ff8a9b;
}

.code-dialog-actions {
    display: flex;
    justify-content: flex-end;
}

.code-dialog-actions button {
    padding: 12px 24px;
    margin-left: 12px;
    color: #ffffff;
    background-color: #721c3b;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 18px;
}

.code-dialog-actions button:focus {
    border-color: #ffffff;
    outline: none;
}

.settings-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0b0f19;
    display: flex;
    flex-direction: column;
    z-index: 10000;
    box-sizing: border-box;
}

.settings-content {
    width: 100%;
    height: 100%;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.settings-content h2 {
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.settings-grid {
    display: block;
    width: 100%;
    flex-grow: 1;
}

.settings-row {
    display: flex;
    margin-bottom: 20px;
}

.settings-card {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #721c3b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 80px;
    box-sizing: border-box;
    border: 2px solid transparent;
    margin-right: 20px;
    flex: 1;
}

.settings-card:last-child {
    margin-right: 0;
}

.settings-card:hover,
.settings-card.selected {
    border-color: #fff;
    transform: scale(1.02);
}

.card-icon {
    font-size: 32px;
    margin-right: 20px;
    min-width: 40px;
}

.card-text {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

/* Playlist Panel */
.playlist-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0b0f19;
    display: flex;
    flex-direction: column;
    padding: 40px 60px;
    box-sizing: border-box;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.back-btn {
    background-color: #721c3b;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.back-btn:hover {
    background-color: #8b2345;
}

.panel-header h3 {
    color: #fff;
    margin: 0;
    font-size: 24px;
}

.active-count {
    color: #e94560;
    font-size: 16px;
    font-weight: bold;
}

.playlist-list {
    flex: 1;
    overflow-y: auto;
}

.playlist-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #16213e;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.playlist-item:hover,
.playlist-item.selected {
    border-color: #e94560;
    transform: scale(1.02);
}

.playlist-name {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.playlist-toggle {
    width: 80px;
    height: 40px;
    background-color: #333;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.playlist-toggle.on {
    background-color: #4caf50;
}

.playlist-toggle.off {
    background-color: #333;
}

.playlist-toggle::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 32px;
    height: 32px;
    background-color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.playlist-toggle.on::after {
    left: 44px;
}

.playlist-toggle.off::after {
    left: 4px;
}

/* Language Panel */
.language-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0b0f19;
    display: flex;
    flex-direction: column;
    padding: 40px 60px;
    box-sizing: border-box;
}

.language-list {
    flex: 1;
    overflow-y: auto;
}

.language-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    background-color: #16213e;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.language-item:hover,
.language-item.selected {
    border-color: #e94560;
    transform: scale(1.02);
}

.language-name {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.language-flag {
    font-size: 32px;
}



.settings-version-info {
    background-color: #0f0f1a;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.settings-version-info .app-logo h1 {
    color: #e94560;
    font-size: 36px;
    margin: 0 0 20px 0;
}

.settings-version-info .app-version {
    color: #888;
    font-size: 20px;
    margin: 0;
}

.settings-info-icon {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    position: relative;
}

.info-icon-emoji {
    font-size: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 12px;
    background-color: #0f0f1a;
    border: 2px solid #333;
}

.info-icon-emoji:hover {
    background-color: #16213e;
    border-color: #e94560;
    transform: scale(1.1);
}

.info-badge {
    position: absolute;
    top: 10px;
    right: 20px;
    background-color: #e94560;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}

.settings-playlists {
    background-color: #0f0f1a;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.settings-playlists h3 {
    color: #e94560;
    margin: 0 0 15px 0;
    font-size: 20px;
}

.playlists-list {
    max-height: 300px;
    overflow-y: auto;
}

.playlist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background-color: #16213e;
    border-radius: 8px;
    border: 1px solid #333;
}

.playlist-item.active {
    border-color: #e94560;
}

.playlist-name {
    color: #fff;
    font-size: 16px;
    flex: 1;
}

.playlist-toggle {
    width: 60px;
    height: 30px;
    background-color: #333;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 2px solid #555;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
}

.playlist-toggle.on {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

.playlist-toggle::before {
    content: 'OFF';
    position: absolute;
    left: 8px;
    z-index: 1;
}

.playlist-toggle.on::before {
    content: 'ON';
    left: auto;
    right: 8px;
}

.playlist-toggle::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: white;
    border-radius: 50%;
    top: 1px;
    left: 2px;
    transition: transform 0.3s ease;
    z-index: 2;
}

.playlist-toggle.on::after {
    transform: translateX(28px);
}

.settings-buttons {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
    margin-bottom: 20px;
}

.settings-btn {
    padding: 12px 30px;
    font-size: 18px;
    background-color: #333;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 15px;
}

.settings-btn-primary {
    background-color: #e94560;
}

.settings-btn:hover {
    background-color: #ff6b6b;
}

.settings-hint {
    color: #888;
    font-size: 18px;
    text-align: center;
}

/* Device Info Panel */
.device-info-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0b0f19;
    display: flex;
    flex-direction: column;
    padding: 40px 60px;
    box-sizing: border-box;
}

.device-info-panel h3 {
    color: #e94560;
    margin-bottom: 30px;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.device-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background-color: #16213e;
    border-radius: 12px;
    margin-bottom: 20px;
}

.device-label {
    color: #888;
    font-size: 20px;
    font-weight: bold;
}

.device-value {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.device-playlist-item {
    padding: 20px;
    background-color: #16213e;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid #e94560;
}

.device-playlist-item .playlist-name {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
}

.playlist-link {
    color: #e94560;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

.playlist-link:hover {
    text-decoration: underline;
}

.playlist-url {
    color: #e94560;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin: 30px 0;
    padding: 25px;
    background-color: #16213e;
    border-radius: 12px;
    border: 2px solid #e94560;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-text {
    color: #fff;
    font-size: 22px;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
    padding: 0 20px;
}

.status-text {
    color: #4CAF50;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-top: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* First-run info message */
.first-run-info {
    padding: 30px;
    margin: 20px;
    background-color: #1a1a2e;
    border: 2px solid #e94560;
    border-radius: 12px;
    text-align: center;
}

.first-run-info h2 {
    color: #e94560;
    font-size: 32px;
    margin-bottom: 20px;
}

.first-run-info p {
    font-size: 22px;
    line-height: 1.6;
    margin: 15px 0;
}

.first-run-info ol {
    text-align: left;
    font-size: 20px;
    line-height: 1.8;
    margin: 20px 0;
    padding-left: 30px;
}

.first-run-info li {
    margin: 10px 0;
}

.first-run-info a {
    color: #e94560;
    text-decoration: underline;
}

.first-run-info .device-info {
    background-color: #16213e;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #e94560;
}

.first-run-info .device-info div {
    font-size: 20px;
    margin: 10px 0;
    color: #ffffff;
}

.first-run-info .device-info strong {
    color: #e94560;
}


/* ===== Device Info Panel (redesign) ===== */
.device-info-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 48px 64px 32px;
    box-sizing: border-box;
    flex-direction: column;
    background: #0b0f19;
    background: radial-gradient(ellipse at top left, #1d1636 0%, #0b0f19 55%);
    color: #fff;
    overflow: hidden;
}
.di-header {
    display: flex;
    align-items: center;
    padding-bottom: 28px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.di-logo {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    margin-right: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.di-heading { flex: 1; }
.di-title {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.di-subtitle {
    font-size: 18px;
    color: #8b90a8;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 3px;
}
.di-status {
    display: flex;
    align-items: center;
    padding: 10px 22px;
    border-radius: 999px;
    background: rgba(76, 175, 80, 0.12);
    border: 1px solid rgba(76, 175, 80, 0.45);
    color: #6fdc76;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.di-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4caf50;
    margin-right: 10px;
    box-shadow: 0 0 10px #4caf50;
}
.di-body {
    display: flex;
    flex: 1;
    min-height: 0;
}
.di-col {
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.di-col-left { width: 44%; margin-right: 32px; }
.di-col-right { flex: 1; }
.di-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 24px;
}
.di-cred {
    background: linear-gradient(135deg, #2a1d4f 0%, #16213e 100%);
    border-color: rgba(167, 112, 255, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    padding: 36px;
}
.di-label {
    font-size: 15px;
    color: #8b90a8;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 600;
    margin-bottom: 10px;
}
.di-code {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #ffffff;
    word-break: break-all;
}
.di-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 28px 0;
}
.di-meta {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px 0;
}
.di-meta-item {
    flex: 1;
    padding: 0 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.di-meta-last { border-right: none; }
.di-meta-value {
    font-size: 24px;
    font-weight: 600;
}
.di-card-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e94560;
    margin-bottom: 20px;
}
.di-url {
    display: inline-block;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    padding: 14px 26px;
    border-radius: 14px;
    background: rgba(233, 69, 96, 0.12);
    border: 1px solid rgba(233, 69, 96, 0.5);
    margin-bottom: 24px;
}
.di-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}
.di-steps li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}
.di-steps li:last-child { margin-bottom: 0; }
.di-step-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    line-height: 38px;
    border-radius: 50%;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    background: #e94560;
    color: #fff;
    margin-right: 18px;
}
.di-step-text {
    font-size: 21px;
    color: #d6d8e4;
}
.di-card-playlists {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    margin-bottom: 0;
}
.di-playlist-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 12px;
}
.di-playlist-index {
    width: 32px;
    font-size: 18px;
    color: #8b90a8;
    font-weight: 600;
}
.di-playlist-name {
    flex: 1;
    font-size: 22px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.di-playlist-badge {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 5px 12px;
    border-radius: 8px;
    background: rgba(76, 175, 80, 0.15);
    color: #6fdc76;
}
.di-empty {
    font-size: 19px;
    color: #8b90a8;
    padding: 8px 0;
}
.di-error { color: #ff7b8f; }
.di-footer {
    text-align: center;
    font-size: 17px;
    color: #6c7088;
    padding-top: 20px;
}
.di-key {
    display: inline-block;
    padding: 3px 12px;
    margin: 0 6px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
}


/* ===== Language Panel (redesign) ===== */
.language-panel {
    padding: 48px 64px 32px;
    background: #0b0f19;
    background: radial-gradient(ellipse at top left, #1d1636 0%, #0b0f19 55%);
    overflow: hidden;
}
.lang-header {
    display: flex;
    align-items: center;
    padding-bottom: 28px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lang-header-icon {
    width: 72px;
    height: 72px;
    line-height: 72px;
    text-align: center;
    font-size: 38px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2a1d4f 0%, #16213e 100%);
    border: 1px solid rgba(167, 112, 255, 0.35);
    margin-right: 22px;
}
.lang-title {
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    margin: 0;
}
.lang-subtitle {
    font-size: 18px;
    color: #8b90a8;
    margin-top: 6px;
}
.language-panel .language-list {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    overflow: hidden;
    margin: 0 -12px;
    padding: 8px 0;
}
.language-panel .language-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: calc(50% - 24px);
    margin: 0 12px 24px;
    padding: 28px 32px;
    box-sizing: border-box;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.08);
    transform: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.language-panel .language-item:hover,
.language-panel .language-item.selected {
    transform: none;
    border-color: #e94560;
    background: rgba(233, 69, 96, 0.10);
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.18), 0 12px 32px rgba(0, 0, 0, 0.35);
}
.lang-badge {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    line-height: 72px;
    text-align: center;
    border-radius: 16px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(135deg, #3a2a6b 0%, #1f2a4d 100%);
    margin-right: 24px;
}
.language-item.selected .lang-badge {
    background: linear-gradient(135deg, #e94560 0%, #a12a4a 100%);
}
.lang-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.language-panel .language-name {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}
.lang-sub {
    font-size: 17px;
    color: #8b90a8;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.lang-check {
    display: none;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: #4caf50;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 0 14px rgba(76, 175, 80, 0.5);
}
.language-item.current .lang-check { display: block; }


/* ===== Settings main screen (redesign) ===== */
.settings-dialog {
    background: #0b0f19;
    background: radial-gradient(ellipse at top left, #1d1636 0%, #0b0f19 55%);
}
.settings-content {
    padding: 48px 64px 32px;
    position: relative;
}
.st-header {
    display: flex;
    align-items: center;
    padding-bottom: 28px;
    margin-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.st-header-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #2a1d4f 0%, #16213e 100%);
    border: 1px solid rgba(167, 112, 255, 0.35);
    margin-right: 22px;
}
.settings-content .st-header h2 {
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    border: none;
}
.st-subtitle {
    font-size: 18px;
    color: #8b90a8;
    margin-top: 6px;
}
.settings-grid {
    display: block;
    flex: 1;
}
.settings-row {
    display: flex;
    margin: 0;
}
.settings-card {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    height: 300px;
    padding: 36px;
    margin-right: 28px;
    box-sizing: border-box;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.08);
    transform: none;
    outline: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.settings-card:last-child { margin-right: 0; }
.settings-card:hover,
.settings-card.selected {
    transform: none;
    border-color: #e94560;
    background: rgba(233, 69, 96, 0.10);
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.18), 0 16px 40px rgba(0, 0, 0, 0.4);
}
.settings-card .card-icon {
    position: absolute;
    top: 36px;
    left: 36px;
    width: 88px;
    height: 88px;
    margin: 0;
    min-width: 0;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #3a2a6b 0%, #1f2a4d 100%);
}
.settings-card.selected .card-icon {
    background: linear-gradient(135deg, #e94560 0%, #a12a4a 100%);
    box-shadow: 0 8px 24px rgba(233, 69, 96, 0.4);
}
.settings-card .card-text {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
}
.card-desc {
    font-size: 18px;
    color: #8b90a8;
    margin-top: 8px;
}
.card-arrow {
    position: absolute;
    top: 36px;
    right: 36px;
    font-size: 44px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.25);
}
.settings-card.selected .card-arrow { color: #e94560; }
.st-footer {
    padding-top: 20px;
}


/* ===== Video placeholder / empty state (redesign) ===== */
.video-placeholder {
    background: #12152a;
    background: radial-gradient(ellipse at center, #1f1838 0%, #12152a 70%);
}
.placeholder-content {
    text-align: center;
    padding: 32px;
    max-width: 92%;
    box-sizing: border-box;
}
.ph-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #3a2a6b 0%, #1f2a4d 100%);
    border: 1px solid rgba(167, 112, 255, 0.35);
}
.placeholder-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 26px;
}
.ph-steps {
    display: inline-block;
    text-align: left;
    margin-bottom: 26px;
}
.ph-step {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}
.ph-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    line-height: 34px;
    border-radius: 50%;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    background: #e94560;
    margin-right: 16px;
}
.placeholder-content .ph-step-text {
    font-size: 22px;
    color: #d6d8e4;
}
.ph-cred {
    display: flex;
    justify-content: center;
    background: linear-gradient(135deg, #2a1d4f 0%, #16213e 100%);
    border: 1px solid rgba(167, 112, 255, 0.35);
    border-radius: 18px;
    padding: 20px 8px;
}
.ph-cred-item {
    flex: 1;
    padding: 0 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.ph-cred-last { border-right: none; }
.ph-label {
    font-size: 13px;
    color: #8b90a8;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 8px;
}
.ph-code {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fff;
    white-space: nowrap;
}


.ph-demo-note {
    margin-top: 18px;
    font-size: 15px;
    color: #8b90a8;
    line-height: 1.5;
}


/* ===== Channel details under the video (redesign + program guide) ===== */
.channel-details {
    flex-shrink: 0;
    padding: 22px 26px;
    background: #141a33;
    background: linear-gradient(180deg, #171e3b 0%, #121831 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.cd-top {
    display: flex;
    align-items: center;
}
.cd-logo {
    flex-shrink: 0;
    width: 76px;
    height: 76px;
    border-radius: 16px;
    margin-right: 20px;
    background: linear-gradient(135deg, #3a2a6b 0%, #1f2a4d 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cd-logo img {
    max-width: 86%;
    max-height: 86%;
    object-fit: contain;
}
#cd-logo-fallback {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}
.cd-main {
    flex: 1;
    min-width: 0;
}
.cd-title-row {
    display: flex;
    align-items: center;
}
.channel-details .cd-title-row h3 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.cd-status {
    flex-shrink: 0;
    margin-left: 14px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
}
.cd-status-loading {
    color: #ffd27a;
    background: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.4);
}
.cd-status-error {
    color: #ff8a9b;
    background: rgba(233, 69, 96, 0.12);
    border: 1px solid rgba(233, 69, 96, 0.45);
}
.cd-meta {
    display: flex;
    align-items: center;
    margin-top: 6px;
}
.channel-details .category {
    margin: 0;
    font-size: 18px;
    color: #8b90a8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cd-quality {
    flex-shrink: 0;
    margin-left: 12px;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}
.channel-details .live-tag {
    flex-shrink: 0;
    margin-left: 16px;
    border-radius: 8px;
    font-size: 16px;
    letter-spacing: 1px;
}
.cd-epg {
    margin-top: 18px;
}
.cd-row {
    display: flex;
    align-items: center;
}
.cd-row-next {
    margin-top: 12px;
}
.cd-label {
    flex-shrink: 0;
    width: 64px;
    text-align: center;
    padding: 3px 0;
    margin-right: 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #fff;
    background: #e94560;
}
.cd-label-next {
    background: rgba(255, 255, 255, 0.12);
    color: #c9cbe0;
}
.cd-prog-title {
    flex: 1;
    min-width: 0;
    font-size: 21px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cd-row-next .cd-prog-title {
    font-weight: 400;
    color: #b8bbd0;
}
.cd-prog-time {
    flex-shrink: 0;
    margin-left: 14px;
    font-size: 17px;
    color: #8b90a8;
}
.channel-details .progress-bar {
    width: auto;
    height: 6px;
    margin: 10px 0 0 78px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}
.channel-details .progress-fill {
    width: 0;
    background: #e94560;
    background: linear-gradient(90deg, #e94560 0%, #ff7a8f 100%);
    border-radius: 3px;
    transition: width 0.5s ease;
}
.cd-noepg {
    margin-top: 16px;
    font-size: 17px;
    color: #6c7088;
}

/* Smaller TVs / 1280x720 apps */
@media (max-width: 1400px), (max-height: 800px) {
    .channel-details { padding: 14px 18px; }
    .cd-logo { width: 54px; height: 54px; border-radius: 12px; margin-right: 14px; }
    #cd-logo-fallback { font-size: 18px; }
    .channel-details .cd-title-row h3 { font-size: 22px; }
    .channel-details .category { font-size: 14px; }
    .cd-status { font-size: 12px; padding: 3px 9px; }
    .cd-quality { font-size: 11px; }
    .channel-details .live-tag { font-size: 12px; padding: 4px 9px; }
    .cd-epg { margin-top: 12px; }
    .cd-label { width: 50px; font-size: 11px; margin-right: 10px; }
    .cd-prog-title { font-size: 16px; }
    .cd-prog-time { font-size: 13px; }
    .cd-row-next { margin-top: 8px; }
    .channel-details .progress-bar { margin-left: 60px; height: 5px; }
    .cd-noepg { font-size: 13px; margin-top: 10px; }
}


/* ===== Change Playlist panel (redesign) ===== */
.playlist-panel {
    padding: 48px 64px 32px;
    background: #0b0f19;
    background: radial-gradient(ellipse at top left, #1d1636 0%, #0b0f19 55%);
    overflow: hidden;
}
.pl-header { margin-bottom: 28px; }
.pl-heading { flex: 1; min-width: 0; }
.playlist-panel .pl-panel-header {
    display: block;
    margin: 0;
    padding: 0;
    border: none;
}
.playlist-panel .pl-panel-header h3 {
    font-size: 34px;
    font-weight: 700;
    margin: 0;
}
.pl-count {
    flex-shrink: 0;
    padding: 10px 22px;
    border-radius: 999px;
    background: rgba(76, 175, 80, 0.12);
    border: 1px solid rgba(76, 175, 80, 0.45);
    color: #6fdc76;
    font-size: 18px;
    font-weight: 600;
}
.playlist-panel .playlist-list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px 6px 6px 0;
}
.playlist-panel .playlist-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 26px;
    margin-bottom: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.08);
    transform: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.playlist-panel .playlist-item:hover,
.playlist-panel .playlist-item.selected {
    transform: none;
    border-color: #e94560;
    background: rgba(233, 69, 96, 0.10);
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.18);
}
.pl-index {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 12px;
    margin-right: 20px;
    font-size: 18px;
    font-weight: 700;
    color: #c9cbe0;
    background: rgba(255, 255, 255, 0.07);
}
.playlist-item.active .pl-index {
    color: #fff;
    background: linear-gradient(135deg, #3a2a6b 0%, #1f2a4d 100%);
}
.playlist-panel .playlist-name {
    flex: 1;
    min-width: 0;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pl-state {
    flex-shrink: 0;
    margin: 0 20px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #6c7088;
}
.playlist-item.active .pl-state { color: #6fdc76; }
.playlist-panel .playlist-toggle {
    flex-shrink: 0;
    width: 72px;
    height: 38px;
    border-radius: 19px;
    background: #3a3f55;
    position: relative;
}
.playlist-panel .playlist-toggle.on { background: #4caf50; }
.playlist-panel .playlist-toggle::after {
    top: 4px;
    left: 4px;
    width: 30px;
    height: 30px;
}
.playlist-panel .playlist-toggle.on::after { left: 38px; }
.playlist-panel .playlist-toggle.off::after { left: 4px; }
.pl-empty {
    font-size: 20px;
    color: #8b90a8;
    padding: 20px 0;
}

.playlist-panel .playlist-toggle {
    border: none;
    padding: 0;
    box-sizing: border-box;
}
.playlist-panel .playlist-toggle::before { content: none; display: none; }
.playlist-panel .playlist-toggle::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: #fff;
    transition: left 0.2s ease;
}
.playlist-panel .playlist-item.active { border-color: rgba(76, 175, 80, 0.45); }
.playlist-panel .playlist-item.active.selected { border-color: #e94560; }
.pl-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.playlist-panel .playlist-toggle::after,
.playlist-panel .playlist-toggle.on::after { transform: none; }

/* Empty state (admin, no active playlist) */
.ph-empty-hint {
    font-size: 22px;
    color: #8b90a8;
    margin: 0;
}

/* "Turn all off / on" row in Change Playlist */
.playlist-panel .playlist-item.pl-all {
    background: rgba(255, 255, 255, 0.02);
    border-style: dashed;
    margin-bottom: 22px;
}
.playlist-panel .playlist-item.pl-all.selected {
    border-style: solid;
}
.pl-all-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #e94560 0%, #a12a4a 100%);
}
.pl-all-icon svg { display: block; }
.pl-all-btn {
    flex-shrink: 0;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(233, 69, 96, 0.18);
    border: 1px solid rgba(233, 69, 96, 0.55);
}
.pl-all.all-off .pl-all-btn {
    background: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.55);
    color: #6fdc76;
}

/* ===== Device Info: user's playlists with Play / Delete ===== */
.di-card-playlists { overflow-y: auto; }
.di-up-row {
    border: 2px solid transparent;
}
.di-up-row.selected {
    border-color: #e94560;
    background: rgba(233, 69, 96, 0.10);
}
.di-up-row.di-up-active .di-playlist-index { color: #6fdc76; }
.di-up-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.di-up-text .di-playlist-name { flex: none; }
.di-up-type {
    font-size: 13px;
    color: #8b90a8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 2px;
}
.di-up-row .di-playlist-badge { margin-right: 12px; }
.di-up-btn {
    flex-shrink: 0;
    margin-left: 10px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #c9cbe0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
}
.di-up-btn.focused {
    color: #fff;
    background: #e94560;
    border-color: #e94560;
}
.di-up-del.di-up-confirm {
    color: #fff;
    background: #c0392b;
    border-color: #ff7b8f;
}
.di-up-status {
    min-height: 22px;
    margin-top: 6px;
    font-size: 16px;
    color: #c9cbe0;
}
.di-up-status.di-up-error { color: #ff7b8f; }
.di-up-row.di-up-active .di-up-play {
    color: #6fdc76;
    background: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.55);
}
.di-up-row.di-up-active .di-up-play.focused {
    color: #fff;
    background: #4caf50;
    border-color: #4caf50;
}

/* ===== Live TV / Movies / Series tabs ===== */
.ch-head {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}
.section-tabs {
    display: flex;
    margin-bottom: 10px;
}
.section-tab {
    flex-shrink: 0;
    margin-right: 10px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 600;
    color: #c9cbe0;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid transparent;
    cursor: pointer;
}
.section-tab .section-count {
    font-size: 13px;
    color: #8b90a8;
    margin-left: 4px;
}
.section-tab.active {
    color: #fff;
    background: linear-gradient(135deg, #e94560 0%, #a12a4a 100%);
}
.section-tab.active .section-count { color: rgba(255, 255, 255, 0.8); }
.section-tab.focused {
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.35);
}
.live-tag.vod-tag {
    background-color: #3a2a6b;
}

/* ===== Movies / Series poster grid ===== */
.vod-view {
    flex: 1;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    background: #0f1224;
    background: radial-gradient(ellipse at top right, #241a44 0%, #0f1224 60%);
}
.vod-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: #16213e;
}
.vod-top .top-bar { background: transparent; }
.vod-head {
    display: flex;
    align-items: center;
    padding: 16px 26px 6px;
}
.vod-head .section-tabs { margin: 0 20px 0 0; }
.vod-title {
    margin-left: auto;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vod-grid {
    flex: 1;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 8px 18px 30px;
}
.vod-grid .channel-item.vod-card {
    width: calc(16.666% - 16px);
    margin: 8px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid transparent;
    overflow: hidden;
    box-sizing: border-box;
    transform: none;
    cursor: pointer;
}
.vod-grid .channel-item.vod-card.selected {
    border-color: #e94560;
    background: rgba(233, 69, 96, 0.12);
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.25), 0 14px 30px rgba(0, 0, 0, 0.45);
    transform: none;
}
.vod-poster {
    position: relative;
    width: 100%;
    padding-top: 148%;
    background: linear-gradient(135deg, #3a2a6b 0%, #1f2a4d 100%);
}
.vod-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.vod-initials {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.85);
}
.vod-name {
    padding: 9px 10px 11px;
    font-size: 15px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vod-empty {
    width: 100%;
    padding: 40px 10px;
    font-size: 20px;
    color: #8b90a8;
}
@media (max-width: 1400px) {
    .vod-grid .channel-item.vod-card { width: calc(20% - 16px); }
    .vod-name { font-size: 13px; }
    .vod-title { font-size: 20px; }
}
/* Stronger focus on Live TV / Movies / Series so it is easy to see from the sofa */
.section-tab.focused {
    color: #16213e;
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.55), 0 6px 18px rgba(0, 0, 0, 0.45);
}
.section-tab.focused .section-count { color: #4a4f6a; }
.section-tab.active.focused {
    color: #ffffff;
    background: linear-gradient(135deg, #e94560 0%, #a12a4a 100%);
}
.section-tab.active.focused .section-count { color: rgba(255, 255, 255, 0.85); }
/* Bigger Live TV / Movies / Series tabs */
.section-tabs { margin-bottom: 14px; }
.section-tab {
    margin-right: 14px;
    padding: 12px 28px;
    font-size: 26px;
    font-weight: 700;
    border-width: 3px;
}
.section-tab .section-count { font-size: 18px; margin-left: 8px; }
.vod-head { padding: 20px 26px 10px; }
@media (max-width: 1400px) {
    .section-tab { padding: 8px 18px; font-size: 19px; margin-right: 10px; }
    .section-tab .section-count { font-size: 14px; }
}

/* ===== Settings: Load on Demand ===== */
.od-text p {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.5;
    color: #c9cbe0;
}
.od-text b { color: #fff; }
.od-list { margin-top: 26px; }
.od-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 30px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 3px solid rgba(255, 255, 255, 0.12);
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
}
.od-option.selected {
    border-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.35);
}
.od-option.chosen {
    background: linear-gradient(135deg, #e94560 0%, #a12a4a 100%);
    border-color: transparent;
}
.od-option.chosen.selected { border-color: #ffffff; }
.od-badge {
    display: none;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.28);
}
.od-option.chosen .od-badge { display: inline-block; }

/* ===== Movies / Series: backdrop + info panel ===== */
.vod-view { position: relative; }
.vod-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center top;
    z-index: 0;
}
.vod-top, .vod-head, .vod-hero, .vod-grid { position: relative; z-index: 1; }
.vod-hero {
    margin: 4px 26px 6px;
    padding: 20px 28px;
    max-width: 1150px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(10, 12, 30, 0.55);
}
.vod-hero-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vod-hero-meta {
    margin-top: 10px;
    font-size: 19px;
    color: #e6e7f0;
}
.vod-imdb {
    display: inline-block;
    padding: 2px 8px;
    margin-right: 8px;
    border-radius: 4px;
    font-weight: 900;
    font-size: 17px;
    color: #000;
    background: #f5c518;
}
.vod-rating {
    font-weight: 700;
    margin-right: 6px;
}
.vod-meta-part:before {
    content: "\2022";
    margin: 0 10px 0 6px;
    color: #8b90a8;
}
.vod-hero-overview {
    margin-top: 12px;
    max-height: 81px;
    overflow: hidden;
    font-size: 18px;
    line-height: 27px;
    color: #d6d8e4;
}
.vod-hero-line {
    margin-top: 6px;
    font-size: 16px;
    color: #aeb1c8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vod-grid .channel-item.vod-card { width: calc(14.285% - 16px); }
.cat-search { color: #fff; }
.cat-search svg { margin-right: 10px; }
.tmdb-note { font-size: 15px; color: #8b90a8; }
@media (max-width: 1400px) {
    .vod-grid .channel-item.vod-card { width: calc(16.666% - 16px); }
    .vod-hero { padding: 14px 18px; }
    .vod-hero-title { font-size: 26px; }
    .vod-hero-meta { font-size: 15px; }
    .vod-hero-overview { font-size: 14px; line-height: 21px; max-height: 63px; }
    .vod-hero-line { font-size: 13px; }
}

/* ===== Series page: info, seasons, episodes ===== */
.series-detail {
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    padding: 8px 26px 20px;
}
.sd-top { display: flex; }
.sd-poster {
    position: relative;
    flex-shrink: 0;
    width: 200px;
    height: 296px;
    margin-right: 26px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #3a2a6b 0%, #1f2a4d 100%);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.sd-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.sd-info {
    flex: 1;
    min-width: 0;
    padding: 20px 26px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(10, 12, 30, 0.55);
}
.sd-title {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sd-info .vod-hero-overview { max-height: 108px; }
.sd-seasons {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    margin: 22px 0 14px;
    flex-shrink: 0;
}
.sd-season {
    flex-shrink: 0;
    margin-right: 12px;
    padding: 10px 24px;
    border-radius: 999px;
    font-size: 21px;
    font-weight: 700;
    color: #c9cbe0;
    background: rgba(255, 255, 255, 0.07);
    border: 3px solid transparent;
    cursor: pointer;
}
.sd-season .section-count { font-size: 15px; color: #8b90a8; margin-left: 4px; }
.sd-season.active {
    color: #fff;
    background: linear-gradient(135deg, #e94560 0%, #a12a4a 100%);
}
.sd-season.active .section-count { color: rgba(255, 255, 255, 0.85); }
.sd-season.focused {
    border-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.45);
}
.sd-episodes {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 6px;
}
.sd-episode {
    display: flex;
    align-items: center;
    padding: 15px 22px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: rgba(10, 12, 30, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.08);
    font-size: 21px;
    color: #fff;
    cursor: pointer;
}
.sd-episode.selected {
    border-color: #e94560;
    background: rgba(233, 69, 96, 0.18);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.25);
}
.sd-ep-num {
    flex-shrink: 0;
    width: 76px;
    font-weight: 800;
    color: #e94560;
}
.sd-ep-title {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sd-ep-dur {
    flex-shrink: 0;
    margin-left: 14px;
    font-size: 16px;
    color: #8b90a8;
}
@media (max-width: 1400px) {
    .sd-poster { width: 140px; height: 207px; }
    .sd-title { font-size: 26px; }
    .sd-season { font-size: 16px; padding: 7px 16px; }
    .sd-episode { font-size: 16px; padding: 10px 16px; }
}
/* Last watched episode on a series card (Recently Viewed) */
.vod-ep-badge {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 6px 0;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    background: rgba(233, 69, 96, 0.92);
}

/* ===== Movies / Series full screen (IBO style): own left menu, tool buttons, posters ===== */
.vod-side-title { display: none; }
.vod-tools { display: none; }
body.vod-mode .app-header { display: none; }
body.vod-mode .main-layout { background: #0b0d1c; }
body.vod-mode .vod-view { background: transparent; }
body.vod-mode .vod-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0b0d1c;
}
body.vod-mode .categories-sidebar {
    position: relative;
    z-index: 2;
    width: 420px;
    min-width: 420px;
    background: rgba(8, 10, 22, 0.82);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}
body.vod-mode .sidebar-header {
    padding: 26px 26px 4px;
    background: transparent;
    border: 0;
}
body.vod-mode .sidebar-footer { display: none; }
body.vod-mode .vod-side-title {
    display: block;
    font-size: 30px;
    font-weight: 600;
    color: #fff;
    padding-left: 70px;
}
body.vod-mode .categories-list { padding: 8px 14px 20px; }
body.vod-mode .vod-cat {
    margin: 4px 0;
    padding: 10px 16px;
    min-height: 58px;
    font-size: 23px;
    background: transparent;
    border: 3px solid transparent;
    border-radius: 12px;
    justify-content: flex-start;
    color: #f2f3f8;
}
body.vod-mode .vod-cat.selected {
    outline: none;
    border-color: #e94560;
    background: rgba(233, 69, 96, 0.16);
}
body.vod-mode .vod-cat-plain { padding-left: 34px; }
.vod-cat-ico {
    width: 42px;
    min-width: 42px;
    margin-right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.vod-cat .cat-name {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.vod-mode .vod-cat .category-count,
body.vod-mode .vod-cat.selected .category-count {
    background: transparent;
    padding: 0 0 0 12px;
    font-size: 19px;
    color: #c9cbd8;
}
body.vod-mode .vod-cat.selected .category-count { color: #fff; }
.vod-cat-new .cat-name { font-weight: 600; }
.vod-ico-top {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 2px solid #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 14px;
    font-weight: 900;
    line-height: 11px;
    padding-top: 4px;
}
.vod-ico-top small { display: block; font-size: 8px; line-height: 9px; letter-spacing: 0.5px; }
.vod-cat-divider {
    height: 2px;
    margin: 12px 10px;
    background: rgba(255, 255, 255, 0.55);
}

/* tool buttons top right: red search, blue sort, green categories, yellow favourite */
body.vod-mode .vod-top { display: none; }
body.vod-mode .vod-tools {
    display: flex;
    position: absolute;
    top: 22px;
    right: 28px;
    z-index: 3;
}
.vod-tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 66px;
    margin-left: 10px;
    padding: 8px 0 6px;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
}
.vod-tool i {
    display: block;
    width: 40px;
    height: 5px;
    margin-top: 6px;
    border-radius: 3px;
}
.vod-tool.t-red i { background: #e53935; }
.vod-tool.t-blue i { background: #1e63ff; }
.vod-tool.t-green i { background: #2fbf4a; }
.vod-tool.t-yellow i { background: #f5d000; }
.vod-tool.focused {
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 0 3px #fff;
}

/* info panel + row title */
body.vod-mode .vod-hero {
    margin: 30px 330px 8px 30px;
    max-width: none;
    padding: 22px 30px;
    background: rgba(10, 12, 30, 0.42);
    border: 2px solid rgba(255, 255, 255, 0.28);
}
body.vod-mode .vod-hero-title { font-size: 40px; letter-spacing: 0.5px; }
.vod-imdb.vod-src-tmdb { background: #01b4e4; color: #fff; }
.vod-imdb.vod-src-star { background: #f5c518; color: #000; }
body.vod-mode .vod-head { padding: 14px 30px 2px; }
body.vod-mode .vod-title {
    margin-left: 0;
    font-size: 28px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}
.vod-sort-tag {
    margin-left: 16px;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    vertical-align: middle;
    color: #fff;
    background: #1e63ff;
}

/* posters */
body.vod-mode .vod-grid { padding: 6px 20px 30px; }
body.vod-mode .vod-grid .channel-item.vod-card {
    background: rgba(8, 10, 22, 0.72);
    border-radius: 10px;
}
body.vod-mode .vod-grid .channel-item.vod-card.selected {
    outline: none;
    border-color: #e94560;
    background: rgba(8, 10, 22, 0.9);
    box-shadow: 0 0 0 2px #e94560, 0 0 26px rgba(233, 69, 96, 0.65), 0 14px 30px rgba(0, 0, 0, 0.5);
}
body.vod-mode .vod-grid .channel-item.vod-card.selected .vod-name {
    color: #fff;
    background: #e94560;
}
body.vod-mode .vod-name {
    height: 52px;
    padding: 6px 8px 0;
    font-size: 16px;
    line-height: 21px;
    white-space: normal;
    text-align: center;
    overflow: hidden;
}
.vod-new-badge {
    position: absolute;
    top: 0;
    left: 0;
    padding: 3px 10px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: #e53935;
    border-bottom-right-radius: 6px;
}
.vod-fav-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f5d000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vod-toast {
    position: fixed;
    left: 50%;
    bottom: 50px;
    width: 460px;
    margin-left: -230px;
    padding: 14px 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 22px;
    color: #fff;
    background: rgba(10, 12, 30, 0.92);
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 10002;
}
@media (max-width: 1400px) {
    body.vod-mode .categories-sidebar { width: 300px; min-width: 300px; }
    body.vod-mode .sidebar-header { padding: 18px 18px 2px; }
    body.vod-mode .vod-side-title { font-size: 22px; padding-left: 48px; }
    body.vod-mode .vod-cat { font-size: 16px; min-height: 40px; padding: 6px 10px; }
    body.vod-mode .vod-cat-plain { padding-left: 22px; }
    body.vod-mode .vod-cat .category-count { font-size: 13px; }
    .vod-cat-ico { width: 30px; min-width: 30px; margin-right: 10px; }
    .vod-cat-ico svg { width: 20px; height: 20px; }
    .vod-ico-top { width: 24px; height: 24px; font-size: 10px; line-height: 8px; padding-top: 3px; }
    .vod-ico-top small { font-size: 6px; line-height: 7px; }
    body.vod-mode .vod-tools { top: 14px; right: 18px; }
    .vod-tool { width: 46px; margin-left: 6px; padding: 5px 0 4px; }
    .vod-tool svg { width: 24px; height: 24px; }
    .vod-tool i { width: 28px; height: 4px; margin-top: 4px; }
    body.vod-mode .vod-hero { margin: 18px 230px 6px 20px; padding: 14px 20px; }
    body.vod-mode .vod-hero-title { font-size: 26px; }
    body.vod-mode .vod-title { font-size: 19px; }
    body.vod-mode .vod-head { padding: 8px 20px 0; }
    body.vod-mode .vod-name { height: 38px; font-size: 12px; line-height: 15px; }
    .vod-new-badge { font-size: 10px; padding: 2px 6px; }
    .vod-fav-badge { width: 22px; height: 22px; }
    .vod-sort-tag { font-size: 12px; }
}
body.vod-mode .vod-hero { -webkit-order: 1; order: 1; }
body.vod-mode .vod-head { -webkit-order: 2; order: 2; }
body.vod-mode .vod-grid, body.vod-mode .series-detail { -webkit-order: 3; order: 3; }
body.vod-mode .vod-head { padding-top: 10px; padding-right: 330px; }
@media (max-width: 1400px) { body.vod-mode .vod-head { padding-right: 230px; } }

/* ===== Movie page / series page full screen (IBO style) ===== */
body.vod-mode.vod-detail .categories-sidebar,
body.vod-mode.vod-detail .vod-tools,
body.vod-mode.vod-detail .vod-head,
body.vod-mode.vod-detail .vod-hero,
body.vod-mode.vod-detail .vod-grid { display: none !important; }
.movie-detail {
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    justify-content: flex-start;
    padding: 70px 90px 30px;
    overflow: hidden;
}
.md-info { max-width: 1250px; }
.md-logo { max-width: 560px; max-height: 150px; margin-bottom: 18px; }
.md-title {
    font-size: 60px;
    font-weight: 800;
    color: #fff;
    line-height: 70px;
    margin-bottom: 8px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.6);
}
.md-meta { font-size: 24px; margin-top: 6px; }
.md-meta .vod-imdb { font-size: 20px; }
.md-line {
    margin-top: 10px;
    font-size: 21px;
    color: #e3e5ef;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
.md-overview {
    margin-top: 16px;
    max-width: 1100px;
    max-height: 96px;
    overflow: hidden;
    font-size: 21px;
    line-height: 32px;
    color: #f0f1f6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
.md-buttons { display: flex; align-items: center; margin-top: 30px; }
.md-btn {
    display: flex;
    align-items: center;
    height: 80px;
    margin-right: 22px;
    padding: 0 26px 0 14px;
    border-radius: 40px;
    background: rgba(14, 16, 32, 0.78);
    border: 3px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    cursor: pointer;
}
.md-btn.focused {
    border-color: #e94560;
    background: rgba(40, 14, 26, 0.9);
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.35), 0 10px 30px rgba(0, 0, 0, 0.5);
}
.md-play { min-width: 380px; }
.md-play-ico {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 50%;
    background: #e53935;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
}
.md-btn-text { display: flex; flex-direction: column; flex: 1; }
.md-play-label { font-size: 24px; font-weight: 600; white-space: nowrap; }
.md-progress {
    display: none;
    width: 230px;
    height: 6px;
    margin-top: 9px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.85);
    overflow: hidden;
}
.md-progress i { display: block; height: 100%; width: 0; background: #e53935; }
.md-pct { margin-left: 14px; font-size: 20px; font-weight: 600; }
.md-fav { width: 120px; padding: 0; justify-content: center; }
.md-fav.on { color: #f5d000; }
.md-fav.on svg path { fill: #f5d000; }
.md-cast-title {
    margin-top: 34px;
    font-size: 30px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
.md-cast-row {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    margin-top: 16px;
    padding-left: 40px;
}
.md-person { width: 160px; min-width: 160px; margin-right: 20px; text-align: center; }
.md-face {
    width: 124px;
    height: 124px;
    margin: 0 auto;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.55);
    background-color: #2a2f4a;
    background-size: cover;
    background-position: center top;
    font-size: 36px;
    font-weight: 800;
    line-height: 116px;
    color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}
.md-person-name {
    margin-top: 12px;
    font-size: 19px;
    color: #fff;
    max-height: 48px;
    overflow: hidden;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}
/* series page: buttons under the info, full width */
body.vod-mode.vod-detail .series-detail { padding: 50px 70px 20px; }
.sd-info .md-buttons { margin-top: 20px; }
.sd-info .md-btn { height: 66px; }
.sd-info .md-play { min-width: 360px; }
.sd-info .md-play-ico { width: 44px; height: 44px; min-width: 44px; }
.sd-info .md-play-label { font-size: 21px; }
.sd-info .md-fav { width: 100px; }
@media (max-width: 1400px) {
    .movie-detail { padding: 40px 56px 20px; }
    .md-logo { max-width: 380px; max-height: 100px; margin-bottom: 10px; }
    .md-title { font-size: 40px; line-height: 48px; }
    .md-meta { font-size: 16px; }
    .md-meta .vod-imdb { font-size: 14px; }
    .md-line { font-size: 14px; margin-top: 6px; }
    .md-overview { font-size: 14px; line-height: 21px; max-height: 63px; margin-top: 10px; }
    .md-buttons { margin-top: 18px; }
    .md-btn { height: 54px; padding: 0 18px 0 9px; margin-right: 14px; border-width: 2px; }
    .md-play { min-width: 250px; }
    .md-play-ico { width: 36px; height: 36px; min-width: 36px; margin-right: 12px; }
    .md-play-ico svg { width: 15px; height: 15px; }
    .md-play-label { font-size: 16px; }
    .md-progress { width: 150px; height: 4px; margin-top: 6px; }
    .md-pct { font-size: 14px; }
    .md-fav { width: 80px; }
    .md-fav svg { width: 22px; height: 22px; }
    .md-cast-title { font-size: 20px; margin-top: 22px; }
    .md-cast-row { margin-top: 10px; padding-left: 26px; }
    .md-person { width: 106px; min-width: 106px; margin-right: 14px; }
    .md-face { width: 82px; height: 82px; border-width: 3px; font-size: 24px; line-height: 76px; }
    .md-person-name { font-size: 13px; margin-top: 8px; max-height: 34px; }
    body.vod-mode.vod-detail .series-detail { padding: 30px 46px 14px; }
    .sd-info .md-btn { height: 46px; }
    .sd-info .md-play { min-width: 240px; }
    .sd-info .md-play-ico { width: 30px; height: 30px; min-width: 30px; }
    .sd-info .md-play-label { font-size: 14px; }
    .sd-info .md-fav { width: 70px; }
}
@media (max-width: 1400px) { .vod-toast { width: 320px; margin-left: -160px; font-size: 15px; padding: 9px 14px; bottom: 30px; } }

/* ===== Movies / Series player (IBO style) ===== */
.vp-root {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    overflow: hidden;
    color: #fff;
}
.vp-shade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 420px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    display: none;
}
.vp-show .vp-shade, .vp-subs-open .vp-shade { display: block; }
.vp-top, .vp-bar { display: none; }
.vp-show .vp-top, .vp-show .vp-bar { display: block; }
.vp-subs-open .vp-bar, .vp-subs-open .vp-top { display: none; }
.vp-side-open .vp-top { display: none; }
.vp-side-open .vp-bar { right: 690px; }

/* loading */
.vp-loading {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 160px;
    margin: -24px 0 0 -80px;
    text-align: center;
}
.vp-loading-text {
    font-size: 15px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 1px;
    color: #ff4fa0;
    text-shadow: 0 0 10px rgba(255, 79, 160, 0.8);
}
.vp-loading-bar {
    position: relative;
    height: 16px;
    margin-top: 5px;
    border: 2px solid #ff4fa0;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 0 14px rgba(255, 79, 160, 0.7);
}
.vp-loading-bar i {
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 2px;
    width: 40%;
    background: #ff4fa0;
    -webkit-animation: vp-load 1.2s ease-in-out infinite;
    animation: vp-load 1.2s ease-in-out infinite;
}
@-webkit-keyframes vp-load { 0% { left: 2px; } 50% { left: 58%; } 100% { left: 2px; } }
@keyframes vp-load { 0% { left: 2px; } 50% { left: 58%; } 100% { left: 2px; } }
.vp-error {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 600px;
    margin: -30px 0 0 -300px;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    font-size: 26px;
    background: rgba(10, 12, 30, 0.85);
}
.vp-osd {
    display: none;
    position: absolute;
    top: 46px;
    left: 50%;
    width: 300px;
    margin-left: -150px;
    padding: 10px;
    border-radius: 30px;
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    background: rgba(10, 12, 30, 0.75);
}

/* subtitles */
.vp-subs {
    display: none;
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: 90px;
    text-align: center;
    line-height: 1.3;
}
.vp-show .vp-subs { bottom: 280px; }
.vp-subs span { display: inline-block; border-radius: 6px; }

/* autoplay switch */
.vp-top { position: absolute; top: 44px; right: 54px; }
.vp-autoplay {
    display: flex;
    align-items: center;
    padding: 8px 10px 8px 18px;
    border-radius: 30px;
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    border: 3px solid transparent;
}
.vp-autoplay.focused { border-color: #fff; background: rgba(0, 0, 0, 0.45); }
.vp-switch {
    position: relative;
    width: 58px;
    height: 34px;
    margin-left: 16px;
    border-radius: 17px;
    background: #4c7df0;
    border: 3px solid #a9c2ff;
}
.vp-switch i {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
}
.vp-autoplay.on .vp-switch { background: #e53935; border-color: #ff8a80; }
.vp-autoplay.on .vp-switch i { left: 27px; }

/* control bar */
.vp-bar {
    position: absolute;
    left: 50px;
    right: 50px;
    bottom: 36px;
    padding: 24px 34px 18px;
    border-radius: 22px;
    background: rgba(28, 32, 48, 0.62);
}
.vp-row { display: flex; align-items: center; }
.vp-title {
    width: 300px;
    min-width: 300px;
    font-size: 26px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vp-center { flex: 1; display: flex; justify-content: center; align-items: center; }
.vp-right { display: flex; align-items: center; }
.vp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin: 0 18px;
    border-radius: 50%;
    border: 3px solid transparent;
    color: #fff;
    cursor: pointer;
}
.vp-right .vp-btn { width: 60px; height: 60px; margin: 0 8px; border-radius: 12px; }
.vp-btn.focused { border-color: #ff3d71; box-shadow: 0 0 14px rgba(255, 61, 113, 0.6); background: rgba(255, 255, 255, 0.08); }
.vp-btn.disabled { opacity: 0.35; }
.vp-progress { margin-top: 18px; padding: 8px 0; border-radius: 10px; }
.vp-track {
    position: relative;
    height: 8px;
    margin: 0 12px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.85);
}
.vp-track i {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    border-radius: 4px;
    background: #e53935;
}
.vp-track b {
    position: absolute;
    top: -9px;
    left: 0;
    width: 26px;
    height: 26px;
    margin-left: -13px;
    border-radius: 50%;
    background: #fff;
    border: 6px solid #7d8fb8;
    box-sizing: border-box;
}
.vp-progress.focused .vp-track b { border-color: #ff3d71; width: 32px; height: 32px; top: -12px; margin-left: -16px; }
.vp-times { display: flex; justify-content: space-between; margin: 6px 12px 0; font-size: 20px; color: #e6e8f2; }

/* side panel: audio track / aspect ratio / options */
.vp-side {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 640px;
    flex-direction: column;
    padding: 40px 32px;
    border-radius: 24px 0 0 24px;
    background: rgba(28, 28, 44, 0.96);
}
.vp-side-title {
    padding-bottom: 14px;
    margin-bottom: 18px;
    font-size: 36px;
    font-weight: 600;
    border-bottom: 3px solid rgba(255, 255, 255, 0.85);
}
.vp-side-list { flex: 1; overflow: hidden; }
.vp-side-item {
    display: flex;
    align-items: center;
    min-height: 82px;
    margin-bottom: 12px;
    padding: 0 30px;
    border-radius: 14px;
    border: 3px solid transparent;
    font-size: 32px;
    color: #e9e9f2;
}
.vp-side-big { font-size: 38px; font-weight: 500; margin-right: 12px; color: #fff; }
.vp-side-item .vp-side-label { flex: 1; }
.vp-side-item.chosen { background: #ff1a1a; color: #fff; }
.vp-side-item.focused { border-color: #ff3d71; background: rgba(255, 61, 113, 0.12); }
.vp-side-item.chosen.focused { background: #ff1a1a; border-color: #fff; }
.vp-side-check { margin-left: 12px; }
.vp-side-empty { font-size: 28px; color: #c9cbd8; padding: 20px 10px; }
.vp-side-btns { display: flex; justify-content: space-between; padding: 0 20px 6px; }
.vp-side-btn {
    min-width: 130px;
    padding: 12px 22px;
    border-radius: 6px;
    text-align: center;
    font-size: 26px;
    color: #333;
    background: #e9edf5;
    border: 3px solid transparent;
}
.vp-side-btn.focused { border-color: #ff3d71; box-shadow: 0 0 16px rgba(255, 255, 255, 0.7); background: #fff; }
.vp-side-list .vp-side-item:first-child { margin-top: 0; }

/* subtitle panel (Languages / Sizes / Styles) */
.vp-subpanel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 80px 56px;
}
.vp-sub-preview { text-align: center; margin-bottom: 40px; }
.vp-sub-preview span { display: inline-block; border-radius: 6px; }
.vp-sub-cols { display: flex; align-items: flex-end; }
.vp-sub-col { position: relative; width: 440px; margin-right: 50px; }
.vp-sub-title { font-size: 26px; margin-bottom: 12px; color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8); }
.vp-sub-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 26px;
    border-radius: 12px;
    font-size: 28px;
    background: rgba(140, 140, 190, 0.6);
    border: 3px solid transparent;
}
.vp-sub-box.focused { border-color: #fff; background: rgba(150, 150, 205, 0.85); }
.vp-sub-list {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 128px;
    max-height: 520px;
    overflow: hidden;
    padding: 12px 10px;
    border-radius: 14px;
    background: rgba(60, 56, 92, 0.96);
}
.vp-sub-list-title { font-size: 24px; padding: 4px 18px 10px; color: #e2e2ee; }
.vp-sub-opt {
    display: flex;
    align-items: center;
    height: 62px;
    padding: 0 18px;
    border-radius: 10px;
    border: 3px solid transparent;
    font-size: 28px;
}
.vp-sub-opt.focused { border-color: #fff; background: rgba(255, 255, 255, 0.12); }
.vp-sub-opt-label { flex: 1; }
.vp-sub-check { margin: 0 10px; }
.vp-swatch {
    display: inline-block;
    width: 44px;
    height: 34px;
    border-radius: 6px;
    text-align: center;
    font-size: 20px;
    line-height: 34px;
    font-weight: 600;
}

/* Settings > Subtitle Settings */
.sub-panel { padding: 40px 60px; }
.sub-head { display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.sub-head-line { flex: 1; max-width: 240px; height: 3px; background: #9fb8e8; border-radius: 2px; }
.sub-head-title { margin: 0 24px; font-size: 44px; font-weight: 600; color: #fff; }
.sub-desc { text-align: center; font-size: 22px; color: #e4e6f0; margin-bottom: 26px; }
.sub-label { font-size: 26px; color: #fff; margin: 14px 0 12px; }
.sub-row { display: flex; flex-wrap: wrap; }
.sub-chip {
    display: flex;
    align-items: center;
    padding: 16px 32px;
    margin: 0 18px 12px 0;
    border-radius: 14px;
    font-size: 28px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid transparent;
    cursor: pointer;
}
.sub-chip .vp-swatch { margin-right: 14px; }
.sub-chip.chosen { background: #ff1a1a; }
.sub-chip.focused { border-color: #fff; }
.sub-preview {
    margin-top: 10px;
    padding: 40px 10px;
    text-align: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}
.sub-preview span { display: inline-block; border-radius: 6px; }

@media (max-width: 1400px) {
    .vp-shade { height: 280px; }
    .vp-loading { width: 110px; margin: -16px 0 0 -55px; }
    .vp-loading-text { font-size: 10px; }
    .vp-loading-bar { height: 11px; }
    .vp-error { width: 400px; margin-left: -200px; font-size: 17px; }
    .vp-osd { font-size: 17px; width: 200px; margin-left: -100px; top: 30px; }
    .vp-subs { bottom: 60px; }
    .vp-show .vp-subs { bottom: 190px; }
    .vp-top { top: 28px; right: 36px; }
    .vp-autoplay { font-size: 17px; padding: 5px 7px 5px 12px; border-width: 2px; }
    .vp-switch { width: 40px; height: 24px; margin-left: 10px; border-width: 2px; }
    .vp-switch i { width: 16px; height: 16px; top: 2px; left: 2px; }
    .vp-autoplay.on .vp-switch i { left: 18px; }
    .vp-bar { left: 34px; right: 34px; bottom: 24px; padding: 16px 22px 12px; border-radius: 16px; }
    .vp-side-open .vp-bar { right: 460px; }
    .vp-title { width: 200px; min-width: 200px; font-size: 17px; }
    .vp-btn { width: 44px; height: 44px; margin: 0 10px; border-width: 2px; }
    .vp-btn svg { width: 20px; height: 20px; }
    .vp-right .vp-btn { width: 40px; height: 40px; margin: 0 5px; }
    .vp-right .vp-btn svg { width: 23px; height: 20px; }
    .vp-progress { margin-top: 12px; padding: 5px 0; }
    .vp-track { height: 5px; }
    .vp-track b { width: 18px; height: 18px; top: -7px; margin-left: -9px; border-width: 4px; }
    .vp-progress.focused .vp-track b { width: 22px; height: 22px; top: -9px; margin-left: -11px; }
    .vp-times { font-size: 13px; }
    .vp-side { width: 430px; padding: 26px 22px; }
    .vp-side-title { font-size: 24px; padding-bottom: 9px; margin-bottom: 12px; border-bottom-width: 2px; }
    .vp-side-item { min-height: 54px; font-size: 21px; padding: 0 20px; margin-bottom: 8px; border-width: 2px; }
    .vp-side-big { font-size: 25px; }
    .vp-side-btn { min-width: 86px; font-size: 17px; padding: 8px 14px; }
    .vp-subpanel { padding: 0 52px 36px; }
    .vp-sub-preview { margin-bottom: 26px; }
    .vp-sub-col { width: 290px; margin-right: 32px; }
    .vp-sub-title { font-size: 17px; margin-bottom: 8px; }
    .vp-sub-box { height: 48px; font-size: 18px; padding: 0 16px; border-width: 2px; }
    .vp-sub-list { bottom: 86px; max-height: 340px; }
    .vp-sub-opt { height: 42px; font-size: 18px; border-width: 2px; }
    .vp-sub-list-title { font-size: 16px; }
    .vp-swatch { width: 30px; height: 23px; line-height: 23px; font-size: 13px; }
    .sub-panel { padding: 26px 40px; }
    .sub-head-title { font-size: 29px; }
    .sub-desc { font-size: 15px; margin-bottom: 16px; }
    .sub-label { font-size: 17px; margin: 9px 0 8px; }
    .sub-chip { font-size: 18px; padding: 10px 20px; margin: 0 12px 8px 0; border-width: 2px; }
    .sub-preview { padding: 26px 8px; }
}
.vp-subs-open .vp-subs { visibility: hidden; }

.vp-sub-note {
    display: none;
    margin: -24px 0 26px;
    text-align: center;
    font-size: 22px;
    color: #e6e8f2;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}
@media (max-width: 1400px) { .vp-sub-note { font-size: 15px; margin: -16px 0 18px; } }

/* ===== Resume dialog, Next Episode card, watched episodes ===== */
.vp-resume {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    background: rgba(6, 40, 160, 0.72);
    background: radial-gradient(ellipse at center, rgba(20, 70, 220, 0.72) 0%, rgba(4, 22, 110, 0.9) 100%);
}
.vp-resume-box { width: 520px; text-align: center; color: #fff; }
.vp-resume-title { font-size: 48px; font-weight: 700; }
.vp-resume-text { margin-top: 14px; font-size: 26px; font-weight: 600; }
.vp-resume-time { margin: 14px 0 26px; font-size: 26px; font-weight: 600; }
.vp-resume-btn {
    display: block;
    width: 400px;
    margin: 0 auto 14px;
    padding: 12px 0;
    border-radius: 30px;
    font-size: 24px;
    color: #fff;
    background: #19b6ee;
    border: 3px solid transparent;
    cursor: pointer;
}
.vp-resume-btn.focused { background: #2b8cf0; border-color: #fff; box-shadow: 0 0 18px rgba(255, 255, 255, 0.45); }
.vp-next {
    display: none;
    position: absolute;
    right: 70px;
    bottom: 80px;
    width: 560px;
    padding: 28px 32px;
    border-radius: 20px;
    background: rgba(18, 20, 36, 0.92);
    border: 2px solid rgba(255, 255, 255, 0.2);
}
.vp-next-label { font-size: 22px; color: #c9cbd8; text-transform: uppercase; letter-spacing: 1px; }
.vp-next-title { margin-top: 8px; font-size: 30px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-next-count { margin-top: 6px; font-size: 22px; color: #ff6b8b; }
.vp-next-btns { display: flex; margin-top: 22px; }
.vp-next-btn {
    flex: 1;
    margin-right: 16px;
    padding: 14px 0;
    border-radius: 12px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.12);
    border: 3px solid transparent;
    cursor: pointer;
}
.vp-next-btn:last-child { margin-right: 0; }
.vp-next-btn.focused { background: #e53935; border-color: #fff; }
.vod-card-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: rgba(255, 255, 255, 0.35);
}
.vod-card-progress i { display: block; height: 100%; background: #e53935; }
.sd-ep-tag {
    margin-left: 18px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: #e53935;
    white-space: nowrap;
}
.sd-episode.sd-ep-marked { border-color: rgba(233, 69, 96, 0.6); }
.sd-ep-prog {
    width: 140px;
    min-width: 140px;
    height: 6px;
    margin-left: 18px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.3);
    overflow: hidden;
}
.sd-ep-prog i { display: block; height: 100%; background: #e53935; }
.sd-ep-watched {
    display: flex;
    align-items: center;
    margin-left: 18px;
    font-size: 16px;
    color: #4cd28a;
    white-space: nowrap;
}
.sd-ep-watched svg { margin-right: 6px; }
.sd-episode.sd-ep-done .sd-ep-title { color: #aeb1c8; }
@media (max-width: 1400px) {
    .vp-resume-box { width: 360px; }
    .vp-resume-title { font-size: 32px; }
    .vp-resume-text, .vp-resume-time { font-size: 17px; }
    .vp-resume-btn { width: 270px; font-size: 16px; padding: 8px 0; border-width: 2px; }
    .vp-next { right: 46px; bottom: 54px; width: 380px; padding: 18px 22px; }
    .vp-next-label { font-size: 15px; }
    .vp-next-title { font-size: 20px; }
    .vp-next-count { font-size: 15px; }
    .vp-next-btn { font-size: 16px; padding: 9px 0; border-width: 2px; }
    .vod-card-progress { height: 4px; }
    .sd-ep-tag { font-size: 11px; padding: 3px 8px; margin-left: 12px; }
    .sd-ep-prog { width: 90px; min-width: 90px; height: 4px; margin-left: 12px; }
    .sd-ep-watched { font-size: 12px; margin-left: 12px; }
    .sd-ep-watched svg { width: 15px; height: 15px; }
}

/* ===== Parental Control ===== */
.pc-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    align-items: center;
    justify-content: center;
    background: rgba(5, 6, 16, 0.86);
}
.pc-box {
    width: 560px;
    padding: 34px 40px 28px;
    border-radius: 24px;
    text-align: center;
    color: #fff;
    background: linear-gradient(160deg, #23244a 0%, #141629 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.pc-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e94560, #b8325a);
}
.pc-title { font-size: 34px; font-weight: 700; }
.pc-sub { margin-top: 6px; font-size: 22px; color: #c9cbd8; }
.pc-dots { display: flex; justify-content: center; margin: 26px 0 8px; }
.pc-dots span {
    width: 26px;
    height: 26px;
    margin: 0 12px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.6);
}
.pc-dots span.on { background: #fff; border-color: #fff; }
.pc-msg { height: 30px; font-size: 20px; color: #ff6b8b; }
.pc-pad { display: flex; flex-wrap: wrap; width: 372px; margin: 6px auto 0; }
.pc-key {
    width: 108px;
    height: 70px;
    margin: 7px 8px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    border: 3px solid transparent;
    cursor: pointer;
}
.pc-key-ok { background: #e53935; font-size: 24px; }
.pc-key.focused { border-color: #fff; background: rgba(255, 255, 255, 0.22); }
.pc-key-ok.focused { background: #ff4d4d; }
.pc-hint { margin-top: 14px; font-size: 16px; color: #8b90a8; }
.pc-lock { display: inline-flex; vertical-align: middle; margin-right: 10px; color: #f5c518; }
.pc-locked-cat .cat-name, .pc-locked-cat span:first-child { color: #d9dbe6; }
.pc-locked-box { width: 100%; padding: 80px 20px; text-align: center; color: #fff; }
.pc-locked-icon { color: #f5c518; }
.pc-locked-title { margin-top: 14px; font-size: 30px; font-weight: 700; }
.pc-locked-text { margin-top: 8px; font-size: 22px; color: #aeb1c8; }
.pc-panel { padding-bottom: 30px; }
.pc-rows { margin-top: 24px; }
.pc-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 20px 28px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 3px solid transparent;
    cursor: pointer;
}
.pc-row.focused { border-color: #e94560; background: rgba(233, 69, 96, 0.12); }
.pc-row-text { flex: 1; }
.pc-row-label { font-size: 28px; font-weight: 600; color: #fff; }
.pc-row-desc { margin-top: 4px; font-size: 18px; color: #aeb1c8; }
.pc-row-value { min-width: 90px; text-align: right; font-size: 22px; color: #fff; }
.pc-row-arrow { font-size: 40px; color: #c9cbd8; }
.pc-switch {
    position: relative;
    width: 64px;
    height: 36px;
    margin-right: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.25);
}
.pc-switch i {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
}
.pc-switch.on { background: #2fbf4a; }
.pc-switch.on i { left: 32px; }
@media (max-width: 1400px) {
    .pc-box { width: 380px; padding: 22px 26px 18px; }
    .pc-icon { width: 52px; height: 52px; margin-bottom: 9px; border-radius: 14px; }
    .pc-icon svg { width: 28px; height: 28px; }
    .pc-title { font-size: 23px; }
    .pc-sub { font-size: 15px; }
    .pc-dots { margin: 16px 0 5px; }
    .pc-dots span { width: 17px; height: 17px; margin: 0 8px; border-width: 2px; }
    .pc-msg { height: 20px; font-size: 13px; }
    .pc-pad { width: 252px; }
    .pc-key { width: 72px; height: 46px; margin: 5px 5px; font-size: 20px; border-width: 2px; }
    .pc-key-ok { font-size: 16px; }
    .pc-hint { font-size: 11px; margin-top: 9px; }
    .pc-locked-box { padding: 50px 14px; }
    .pc-locked-icon svg { width: 38px; height: 38px; }
    .pc-locked-title { font-size: 20px; }
    .pc-locked-text { font-size: 15px; }
    .pc-row { padding: 13px 18px; margin-bottom: 10px; border-width: 2px; }
    .pc-row-label { font-size: 19px; }
    .pc-row-desc { font-size: 12px; }
    .pc-row-value { font-size: 15px; min-width: 60px; }
    .pc-switch { width: 44px; height: 24px; margin-right: 10px; }
    .pc-switch i { width: 18px; height: 18px; top: 3px; left: 3px; }
    .pc-switch.on i { left: 23px; }
    .pc-lock svg { width: 14px; height: 14px; }
}


/* ===== Live TV: lower video, more program guide under it ===== */
.video-container {
    flex: 0 0 auto;
    height: 48vh;
}
.channel-details {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}
.cd-later { margin-top: 4px; }
.cd-row-later { margin-top: 12px; opacity: 0.85; }
.cd-label-later { visibility: visible; }
.cd-label-blank { visibility: hidden; }
.video-container.vc-tall { flex: 1 1 auto; height: auto; }
.video-container.vc-tall + .channel-details { flex: 0 0 auto; }
@media (max-width: 1400px), (max-height: 800px) {
    .cd-row-later { margin-top: 7px; }
    .placeholder-content { padding: 14px; }
    .ph-icon { width: 50px; height: 50px; margin-bottom: 10px; border-radius: 14px; }
    .ph-icon svg { width: 26px; height: 26px; }
    .placeholder-content h2 { font-size: 26px; margin-bottom: 14px; }
    .ph-steps { margin-bottom: 14px; }
    .ph-step { margin-bottom: 8px; }
    .ph-num { width: 24px; height: 24px; line-height: 24px; font-size: 12px; margin-right: 10px; }
    .placeholder-content .ph-step-text { font-size: 15px; }
    .ph-cred { padding: 12px 6px; border-radius: 12px; }
    .ph-cred-item { padding: 0 14px; }
    .ph-label { font-size: 10px; margin-bottom: 5px; }
    .ph-code { font-size: 18px; }
    .ph-demo-note { margin-top: 10px; font-size: 12px; }
}

/* ===== Live TV guide list + colour buttons (IBO style) ===== */
#icon-favorites { display: none !important; }
#epg-now-row, #epg-progress-wrap, #epg-next-row { display: none !important; }
.cd-later { margin-top: 14px; }
.cd-guide-row {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
    font-size: 24px;
    color: #f2f3f8;
    white-space: nowrap;
    overflow: hidden;
}
.cd-guide-time { width: 190px; min-width: 190px; color: #e6e8f2; }
.cd-guide-title { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.cd-guide-now, .cd-guide-now .cd-guide-time { color: #f5e663; }
.channel-details { position: relative; padding-bottom: 64px; }
.cd-keys {
    position: absolute;
    right: 26px;
    bottom: 18px;
    display: flex;
    align-items: center;
}
.cd-key { display: flex; align-items: center; margin-left: 30px; font-size: 20px; color: #fff; }
.cd-key i { display: inline-block; width: 38px; height: 22px; margin-right: 12px; border-radius: 4px; }
.k-red { background: #e53935; }
.k-blue { background: #1e3cff; }
.k-yellow { background: #f5e000; }
.k-green { background: #2fd03a; }
.channel-item.moving {
    outline: 3px dashed #f5e000;
    outline-offset: -3px;
}
@media (max-width: 1400px), (max-height: 800px) {
    .cd-later { margin-top: 9px; }
    .cd-guide-row { font-size: 15px; margin-bottom: 6px; }
    .cd-guide-time { width: 120px; min-width: 120px; }
    .channel-details { padding-bottom: 42px; }
    .cd-keys { right: 18px; bottom: 12px; }
    .cd-key { margin-left: 18px; font-size: 13px; }
    .cd-key i { width: 26px; height: 15px; margin-right: 7px; }
}
.cd-key { padding: 6px 12px; border-radius: 10px; border: 3px solid transparent; cursor: pointer; }
.cd-key.focused { border-color: #fff; background: rgba(255, 255, 255, 0.14); }
@media (max-width: 1400px), (max-height: 800px) { .cd-key { padding: 4px 8px; border-width: 2px; } }
.channel-item.moving, .channel-item.moving.selected {
    outline: none;
    background: #f5c518 !important;
    border-color: #fff !important;
    color: #111 !important;
}
.channel-item.moving * { color: #111 !important; }
.channel-item.moving::after {
    content: '\21C5';
    margin-left: 12px;
    font-size: 26px;
    font-weight: 700;
    color: #111;
}

/* ===== Exit question ===== */
.exit-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10003;
    background: rgba(0, 0, 0, 0.35);
}
.exit-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8%;
    right: 0;
    padding-top: 90px;
    text-align: center;
    border-radius: 30px 0 0 30px;
    border-left: 3px solid rgba(255, 255, 255, 0.55);
    background: #141a3a;
    background: linear-gradient(160deg, #3a1234 0%, #1a1d4a 35%, #0d1230 70%, #0a0e24 100%);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
}
.exit-title {
    font-size: 54px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}
.exit-btns { display: flex; justify-content: center; margin-top: 60px; }
.exit-btn {
    width: 260px;
    margin: 0 10px;
    padding: 16px 0;
    border-radius: 10px;
    font-size: 30px;
    font-weight: 500;
    color: #fff;
    border: 3px solid #fff;
    background: transparent;
    cursor: pointer;
}
.exit-btn.focused {
    border-color: #ff3b30;
    background: #ff3b30;
    box-shadow: 0 0 24px rgba(255, 59, 48, 0.55);
}
@media (max-width: 1400px), (max-height: 800px) {
    .exit-panel { padding-top: 60px; border-radius: 20px 0 0 20px; }
    .exit-title { font-size: 36px; }
    .exit-btns { margin-top: 40px; }
    .exit-btn { width: 175px; padding: 10px 0; font-size: 20px; border-width: 2px; }
}

/* ===== Start screen ===== */
.splash {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20000;
    overflow: hidden;
    color: #fff;
    background: #0b0b1e;
    background: radial-gradient(ellipse at 50% 40%, #1b1440 0%, #0c0c22 55%, #06060f 100%);
    -webkit-transition: opacity 0.6s ease;
    transition: opacity 0.6s ease;
}
.splash.splash-out { opacity: 0; }
.splash-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; }
.splash-ray {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2600px;
    height: 220px;
    margin: -110px 0 0 -1300px;
    border-radius: 50%;
    opacity: 0.6;
}
.splash-ray1 {
    background: radial-gradient(ellipse at center, rgba(233, 69, 96, 0.55) 0%, rgba(233, 69, 96, 0) 70%);
    -webkit-animation: splash-spin1 14s linear infinite;
    animation: splash-spin1 14s linear infinite;
}
.splash-ray2 {
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.6) 0%, rgba(139, 92, 246, 0) 70%);
    -webkit-animation: splash-spin2 18s linear infinite;
    animation: splash-spin2 18s linear infinite;
}
.splash-ray3 {
    height: 140px;
    margin-top: -70px;
    background: radial-gradient(ellipse at center, rgba(80, 140, 255, 0.45) 0%, rgba(80, 140, 255, 0) 70%);
    -webkit-animation: splash-spin3 22s linear infinite;
    animation: splash-spin3 22s linear infinite;
}
.splash-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    opacity: 0.55;
}
.splash-glow1 {
    left: -150px;
    top: -200px;
    background: radial-gradient(circle, rgba(109, 40, 217, 1) 0%, rgba(109, 40, 217, 0) 70%);
    -webkit-animation: splash-float1 9s ease-in-out infinite;
    animation: splash-float1 9s ease-in-out infinite;
}
.splash-glow2 {
    right: -200px;
    bottom: -250px;
    background: radial-gradient(circle, rgba(190, 24, 93, 1) 0%, rgba(190, 24, 93, 0) 70%);
    -webkit-animation: splash-float2 11s ease-in-out infinite;
    animation: splash-float2 11s ease-in-out infinite;
}
@-webkit-keyframes splash-spin1 { 0% { -webkit-transform: rotate(-25deg); } 100% { -webkit-transform: rotate(335deg); } }
@keyframes splash-spin1 { 0% { transform: rotate(-25deg); } 100% { transform: rotate(335deg); } }
@-webkit-keyframes splash-spin2 { 0% { -webkit-transform: rotate(40deg); } 100% { -webkit-transform: rotate(-320deg); } }
@keyframes splash-spin2 { 0% { transform: rotate(40deg); } 100% { transform: rotate(-320deg); } }
@-webkit-keyframes splash-spin3 { 0% { -webkit-transform: rotate(100deg); } 100% { -webkit-transform: rotate(460deg); } }
@keyframes splash-spin3 { 0% { transform: rotate(100deg); } 100% { transform: rotate(460deg); } }
@-webkit-keyframes splash-float1 { 0%, 100% { -webkit-transform: translate(0, 0); } 50% { -webkit-transform: translate(160px, 120px); } }
@keyframes splash-float1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(160px, 120px); } }
@-webkit-keyframes splash-float2 { 0%, 100% { -webkit-transform: translate(0, 0); } 50% { -webkit-transform: translate(-180px, -100px); } }
@keyframes splash-float2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-180px, -100px); } }
.splash-ids {
    position: absolute;
    top: 26px;
    left: 34px;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    color: #e8e8f2;
}
.splash-center {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-56%);
    transform: translateY(-56%);
    text-align: center;
}
.splash-logo {
    width: 230px;
    height: 230px;
    -webkit-animation: splash-pop 1s ease-out both, splash-breathe 3.5s ease-in-out 1s infinite;
    animation: splash-pop 1s ease-out both, splash-breathe 3.5s ease-in-out 1s infinite;
}
@-webkit-keyframes splash-pop { 0% { opacity: 0; -webkit-transform: scale(0.7); } 100% { opacity: 1; -webkit-transform: scale(1); } }
@keyframes splash-pop { 0% { opacity: 0; transform: scale(0.7); } 100% { opacity: 1; transform: scale(1); } }
@-webkit-keyframes splash-breathe { 0%, 100% { -webkit-transform: scale(1); } 50% { -webkit-transform: scale(1.05); } }
@keyframes splash-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.splash-title {
    margin-top: 36px;
    font-size: 64px;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    -webkit-animation: splash-up 0.9s ease-out 0.3s both;
    animation: splash-up 0.9s ease-out 0.3s both;
}
.splash-text {
    max-width: 1300px;
    margin: 18px auto 0;
    font-size: 28px;
    line-height: 42px;
    color: #e3e4ee;
    -webkit-animation: splash-up 0.9s ease-out 0.5s both;
    animation: splash-up 0.9s ease-out 0.5s both;
}
@-webkit-keyframes splash-up { 0% { opacity: 0; -webkit-transform: translateY(24px); } 100% { opacity: 1; -webkit-transform: translateY(0); } }
@keyframes splash-up { 0% { opacity: 0; transform: translateY(24px); } 100% { opacity: 1; transform: translateY(0); } }
.splash-loader { margin-top: 46px; }
.splash-loader i {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin: 0 8px;
    border-radius: 50%;
    background: #e94560;
    -webkit-animation: splash-dot 1.2s ease-in-out infinite;
    animation: splash-dot 1.2s ease-in-out infinite;
}
.splash-loader i:nth-child(2) { background: #a855f7; -webkit-animation-delay: 0.2s; animation-delay: 0.2s; }
.splash-loader i:nth-child(3) { background: #fff; -webkit-animation-delay: 0.4s; animation-delay: 0.4s; }
@-webkit-keyframes splash-dot { 0%, 80%, 100% { -webkit-transform: scale(0.5); opacity: 0.4; } 40% { -webkit-transform: scale(1.1); opacity: 1; } }
@keyframes splash-dot { 0%, 80%, 100% { transform: scale(0.5); opacity: 0.4; } 40% { transform: scale(1.1); opacity: 1; } }
.splash-status { margin-top: 18px; font-size: 20px; color: #a9abc4; }
.splash-made {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 40px;
    text-align: center;
    font-size: 22px;
    line-height: 32px;
    color: #e3e4ee;
}
.splash-made b { font-size: 28px; color: #fff; letter-spacing: 1px; }
@media (max-width: 1400px), (max-height: 800px) {
    .splash-ids { top: 18px; left: 22px; font-size: 14px; line-height: 21px; }
    .splash-logo { width: 150px; height: 150px; }
    .splash-title { margin-top: 22px; font-size: 42px; }
    .splash-text { max-width: 880px; margin-top: 12px; font-size: 18px; line-height: 28px; }
    .splash-loader { margin-top: 30px; }
    .splash-loader i { width: 12px; height: 12px; margin: 0 5px; }
    .splash-status { font-size: 14px; margin-top: 12px; }
    .splash-made { bottom: 26px; font-size: 15px; line-height: 22px; }
    .splash-made b { font-size: 19px; }
}

/* ===== Channel Theme: Classic (default) / Normal / Modern ===== */
.main-layout { position: relative; }
body.theme-normal:not(.vod-mode) .categories-sidebar,
body.theme-modern:not(.vod-mode) .categories-sidebar {
    display: none !important;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 60;
    width: 340px;
    box-shadow: 18px 0 50px rgba(0, 0, 0, 0.7);
}
body.theme-normal.cats-focus:not(.vod-mode) .categories-sidebar,
body.theme-modern.cats-focus:not(.vod-mode) .categories-sidebar {
    display: flex !important;
}
body.theme-modern:not(.vod-mode) .channels-center { flex: 0 0 34%; max-width: 34%; }
body.theme-modern:not(.vod-mode) .video-container,
body.theme-modern:not(.vod-mode) .video-container.vc-tall { flex: 1 1 auto; height: auto; }
body.theme-modern:not(.vod-mode) .channel-details { display: none !important; }

/* Settings > Channel Theme */
.th-panel { align-items: stretch; }
.th-title {
    padding-bottom: 18px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 44px;
    font-weight: 600;
    color: #fff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
}
.th-cards { display: flex; justify-content: center; }
.th-card { width: 30%; margin: 0 1.5%; text-align: center; cursor: pointer; }
.th-box {
    display: flex;
    height: 210px;
    padding: 14px;
    border-radius: 22px;
    border: 4px solid rgba(160, 175, 230, 0.55);
    background: rgba(20, 24, 50, 0.85);
}
.th-card.focused .th-box { border-color: #ff3b30; box-shadow: 0 0 24px rgba(255, 59, 48, 0.45); }
.th-col { display: flex; flex-direction: column; justify-content: space-between; margin-right: 8px; }
.th-col i { display: block; height: 11%; border-radius: 2px; background: #b8c4e8; }
.th-col-cats, .th-col-list { width: 21%; }
.th-col-wide { width: 40%; }
.th-col-modern { width: 40%; }
.th-right { flex: 1; display: flex; flex-direction: column; }
.th-video { height: 55%; border-radius: 3px; background: #b8c4e8; }
.th-guide { height: 6%; margin-top: 8px; border-radius: 2px; background: #b8c4e8; }
.th-video-full { height: 100%; }
.th-name {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    font-size: 30px;
    color: #fff;
}
.th-radio {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-sizing: border-box;
}
.th-card.chosen .th-radio { background: #ff3b30; border-color: #ff3b30; }
.th-desc { margin-top: 30px; text-align: center; font-size: 22px; color: #c9cbd8; min-height: 30px; }
@media (max-width: 1400px), (max-height: 800px) {
    body.theme-normal:not(.vod-mode) .categories-sidebar,
    body.theme-modern:not(.vod-mode) .categories-sidebar { width: 260px; }
    .th-title { font-size: 29px; padding-bottom: 12px; margin-bottom: 20px; }
    .th-box { height: 140px; padding: 9px; border-radius: 15px; border-width: 3px; }
    .th-name { font-size: 20px; margin-top: 12px; }
    .th-radio { width: 16px; height: 16px; border-width: 2px; margin-right: 7px; }
    .th-desc { font-size: 15px; margin-top: 20px; }
}

/* ===== Settings: cards in a grid, 4 per row ===== */
.settings-grid .settings-row {
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    align-content: flex-start;
    margin: 0 -12px;
}
.settings-grid .settings-card {
    flex: 0 0 auto;
    width: 25%;
    width: -webkit-calc(25% - 24px);
    width: calc(25% - 24px);
    height: 250px;
    margin: 0 12px 24px;
    padding: 30px;
}
.settings-grid .settings-card:last-child { margin-right: 12px; }
.settings-grid .settings-card .card-icon { top: 30px; left: 30px; width: 76px; height: 76px; border-radius: 20px; }
.settings-grid .settings-card .card-icon svg { width: 40px; height: 40px; }
.settings-grid .settings-card .card-arrow { top: 34px; right: 30px; }
.settings-grid .settings-card .card-text { font-size: 30px; line-height: 1.15; }
.settings-grid .settings-card .card-desc { font-size: 18px; line-height: 1.3; }
@media (max-width: 1400px), (max-height: 800px) {
    .settings-grid .settings-row { margin: 0 -8px; }
    .settings-grid .settings-card {
        width: -webkit-calc(25% - 16px);
        width: calc(25% - 16px);
        height: 168px;
        margin: 0 8px 16px;
        padding: 20px;
        border-radius: 18px;
    }
    .settings-grid .settings-card:last-child { margin-right: 8px; }
    .settings-grid .settings-card .card-icon { top: 20px; left: 20px; width: 52px; height: 52px; border-radius: 14px; }
    .settings-grid .settings-card .card-icon svg { width: 28px; height: 28px; }
    .settings-grid .settings-card .card-arrow { top: 22px; right: 20px; font-size: 32px; }
    .settings-grid .settings-card .card-text { font-size: 21px; }
    .settings-grid .settings-card .card-desc { font-size: 13px; margin-top: 5px; }
}

/* Channel quality badge (measured from the stream) */
.cd-quality.q-sd { background: rgba(255, 255, 255, 0.14); color: #d6d8e4; }
.cd-quality.q-hd { background: #1f8a4c; color: #fff; }
.cd-quality.q-fhd { background: #1f5fd1; color: #fff; }
.cd-quality.q-4k { background: #d4a017; color: #111; }

/* ===== Background style B "Graphite": one calm surface, thin lines, red only on focus ===== */
html body {
    background: #0e0f13;
    background: -webkit-linear-gradient(top, #17181e 0%, #0b0c10 100%);
    background: linear-gradient(180deg, #17181e 0%, #0b0c10 100%);
}
html body .app-container,
html body .main-layout,
html body .channels-center,
html body .video-right,
html body .sidebar-header,
html body .channels-header,
html body .top-bar,
html body .channel-details,
html body .app-header,
html body .categories-list,
html body .channels-list {
    background: transparent !important;
    box-shadow: none !important;
}
html body .app-header { border-bottom: 0 !important; }
html body .categories-sidebar {
    background: rgba(0, 0, 0, 0.25) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
}
html body .channels-center { border-right: 1px solid rgba(255, 255, 255, 0.06) !important; }
html body .channels-header,
html body .sidebar-header { border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important; }
html body .channel-details { border-top: 0 !important; }
/* NOTE: no overflow:hidden / box-shadow on the video area - the TV draws the picture
   on its own layer behind the page, and a clipped layer here makes it black (half screen) */
body:not(.vod-mode) .channel-item:not(.selected):not(.moving) {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 0 !important;
}
body:not(.vod-mode) .category-item:not(.selected) { background: transparent !important; }
/* the slide-in categories (Normal / Modern theme) need a solid panel */
body.theme-normal:not(.vod-mode) .categories-sidebar,
body.theme-modern:not(.vod-mode) .categories-sidebar { background: #15161b !important; }
/* fullscreen: no rounded corners on the picture */

/* Movies / Series and Settings on the same surface */
body.vod-mode .main-layout { background: transparent !important; }
.settings-dialog,
html body #settings-dialog {
    background: #0e0f13 !important;
    background: -webkit-linear-gradient(top, #17181e 0%, #0b0c10 100%) !important;
    background: linear-gradient(180deg, #17181e 0%, #0b0c10 100%) !important;
}
body.vod-mode .vod-backdrop { background-color: #0e0f13; }
html body.vod-mode .categories-sidebar { background: rgba(11, 12, 16, 0.86) !important; }

/* ===== Settings > Device Info: Your Playlists ===== */
.device-info-panel.pm-panel {
    padding: 0;
    overflow: hidden;
    background: #0e0f13;
}
#pm-root { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; }
.pm-wall {
    position: absolute;
    top: -40px;
    left: -60px;
    right: -60px;
    bottom: -40px;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
}
.pm-poster {
    display: inline-block;
    width: 12.5%;
    height: 34%;
    padding: 6px;
    box-sizing: border-box;
}
.pm-poster img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.pm-shade {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 11, 16, 0.78);
    background: -webkit-linear-gradient(left, rgba(10, 11, 16, 0.96) 0%, rgba(10, 11, 16, 0.82) 45%, rgba(10, 11, 16, 0.6) 100%);
    background: linear-gradient(90deg, rgba(10, 11, 16, 0.96) 0%, rgba(10, 11, 16, 0.82) 45%, rgba(10, 11, 16, 0.6) 100%);
}
.pm-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    padding: 56px 80px 0;
    box-sizing: border-box;
}
.pm-title { font-size: 54px; font-weight: 700; color: #fff; margin-bottom: 36px; }
.pm-body { flex: 1; display: flex; min-height: 0; }
.pm-list { flex: 1; overflow: hidden; padding: 6px 6px 6px 0; }
.pm-row {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    margin-bottom: 14px;
    border-radius: 18px;
    border: 3px solid transparent;
    max-width: 860px;
}
.pm-row.focused { background: rgba(255, 255, 255, 0.10); border-color: #fff; }
.pm-row.marked { background: rgba(255, 255, 255, 0.05); border-color: rgba(233, 69, 96, 0.6); }
.pm-tile {
    width: 112px;
    height: 112px;
    margin-right: 28px;
    flex-shrink: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pm-tile img { width: 76px; height: 76px; border-radius: 16px; }
.pm-info { min-width: 0; }
.pm-name { display: flex; align-items: center; font-size: 38px; color: #fff; }
.pm-name-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 520px; }
.pm-current {
    flex-shrink: 0;
    margin-left: 16px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
}
.pm-sub { margin-top: 8px; font-size: 26px; color: #c9cbd8; min-height: 32px; }
.pm-empty {
    max-width: 760px;
    padding: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 26px;
    line-height: 1.5;
    color: #c9cbd8;
}
.pm-empty b { display: block; font-size: 34px; color: #fff; margin-bottom: 10px; }
.pm-side {
    width: 560px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 30px;
}
.pm-status { min-height: 36px; margin-bottom: 18px; font-size: 24px; color: #9fe3b4; text-align: center; }
.pm-status-error { color: #ff8a80; }
.pm-btn {
    padding: 18px 20px;
    margin-bottom: 16px;
    border-radius: 16px;
    border: 3px solid transparent;
    background: rgba(40, 42, 52, 0.9);
    font-size: 30px;
    color: #fff;
    text-align: center;
    cursor: pointer;
}
.pm-btn.focused { background: #e94560; border-color: #fff; }
.pm-btn.disabled { opacity: 0.35; }
.pm-btn-danger.focused { background: #d32f2f; }
.pm-foot {
    display: flex;
    align-items: center;
    padding: 22px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 24px;
    color: #c9cbd8;
}
.pm-foot span { margin-right: 48px; }
.pm-foot b { color: #fff; font-weight: 600; letter-spacing: 1px; }
.pm-foot .pm-site { margin-left: auto; margin-right: 0; color: #e94560; }

/* overlays */
.pm-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 7;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 6, 10, 0.72);
}
.pm-qr-card, .pm-confirm-card {
    display: flex;
    align-items: center;
    padding: 44px;
    border-radius: 28px;
    background: #1b1d25;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.pm-qr-box { width: 400px; height: 400px; padding: 18px; border-radius: 20px; background: #fff; }
.pm-qr-box canvas, .pm-phone-qr canvas { display: block; width: 100%; height: 100%; }
.pm-qr-text { width: 520px; margin-left: 48px; }
.pm-qr-title { font-size: 40px; font-weight: 700; color: #fff; margin-bottom: 18px; }
.pm-qr-desc { font-size: 26px; line-height: 1.45; color: #c9cbd8; margin-bottom: 22px; }
.pm-qr-url { font-size: 28px; color: #e94560; margin-bottom: 34px; }
.pm-btn-wide { margin: 0; }
.pm-confirm-card { flex-direction: column; width: 760px; text-align: center; }
.pm-confirm-title { font-size: 38px; font-weight: 700; color: #fff; margin-bottom: 14px; word-wrap: break-word; }
.pm-confirm-desc { font-size: 26px; color: #c9cbd8; margin-bottom: 34px; }
.pm-confirm-btns { display: flex; width: 100%; }
.pm-confirm-btns .pm-btn { flex: 1; margin: 0 12px; }

/* Add Playlist */
.pm-add { align-items: stretch; justify-content: space-between; padding: 50px 60px; box-sizing: border-box; }
.pm-kb {
    width: 760px;
    align-self: flex-start;
    padding: 18px;
    border-radius: 22px;
    background: rgba(27, 29, 37, 0.96);
    opacity: 0.45;
}
.pm-kb.active { opacity: 1; }
.pm-kb-row { display: flex; margin-bottom: 10px; }
.pm-kb-row:last-child { margin-bottom: 0; }
.pm-key {
    margin-right: 10px;
    height: 62px;
    line-height: 62px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 28px;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
}
.pm-key:last-child { margin-right: 0; }
.pm-key-fn { font-size: 24px; background: rgba(255, 255, 255, 0.08); }
.pm-key.on { background: rgba(233, 69, 96, 0.45); }
.pm-key-done { background: rgba(255, 255, 255, 0.24); font-weight: 700; }
.pm-key.focused { background: #e94560; box-shadow: 0 0 0 3px #fff; }
.pm-form {
    width: 920px;
    padding: 40px 44px;
    border-radius: 28px;
    background: rgba(27, 29, 37, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    overflow: hidden;
}
.pm-tabs { display: flex; margin-bottom: 26px; }
.pm-tab {
    padding: 16px 34px;
    margin-right: 14px;
    border-radius: 14px;
    border: 3px solid transparent;
    background: rgba(255, 255, 255, 0.10);
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}
.pm-tab.active { background: #e94560; }
.pm-tab.focused { border-color: #fff; }
.pm-field {
    height: 74px;
    line-height: 70px;
    padding: 0 22px;
    margin-bottom: 18px;
    border-radius: 14px;
    border: 3px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    font-size: 28px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
}
.pm-field.focused { border-color: #fff; background: rgba(255, 255, 255, 0.12); }
.pm-field.editing { border-color: #e94560; background: rgba(233, 69, 96, 0.10); }
.pm-ph { color: rgba(255, 255, 255, 0.55); }
.pm-caret {
    display: inline-block;
    width: 3px;
    height: 34px;
    margin-left: 2px;
    vertical-align: middle;
    background: #fff;
    -webkit-animation: pm-blink 1s steps(1) infinite;
    animation: pm-blink 1s steps(1) infinite;
}
@-webkit-keyframes pm-blink { 50% { opacity: 0; } }
@keyframes pm-blink { 50% { opacity: 0; } }
.pm-save {
    height: 74px;
    line-height: 70px;
    border-radius: 14px;
    border: 3px solid transparent;
    background: #e94560;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    cursor: pointer;
}
.pm-save.focused { border-color: #fff; box-shadow: 0 0 24px rgba(233, 69, 96, 0.6); }
.pm-add-msg { min-height: 34px; margin-top: 12px; font-size: 22px; color: #9fe3b4; text-align: center; }
.pm-add-msg.err { color: #ff8a80; }
.pm-or { position: relative; margin: 10px 0 24px; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.pm-or span { position: relative; top: -16px; padding: 0 16px; font-size: 22px; color: #c9cbd8; background: #1b1d25; }
.pm-phone { display: flex; align-items: center; }
.pm-phone-text { flex: 1; padding-right: 28px; }
.pm-phone-title { font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.pm-phone-desc { font-size: 22px; line-height: 1.45; color: #c9cbd8; }
.pm-phone-qr { width: 190px; height: 190px; padding: 10px; border-radius: 16px; background: #fff; flex-shrink: 0; }

@media (max-width: 1400px), (max-height: 800px) {
    .pm-wrap { padding: 36px 52px 0; }
    .pm-title { font-size: 36px; margin-bottom: 24px; }
    .pm-row { padding: 9px 12px; margin-bottom: 9px; border-radius: 12px; border-width: 2px; max-width: 580px; }
    .pm-tile { width: 74px; height: 74px; margin-right: 18px; border-radius: 12px; }
    .pm-tile img { width: 50px; height: 50px; border-radius: 10px; }
    .pm-name { font-size: 25px; }
    .pm-name-text { max-width: 340px; }
    .pm-current { font-size: 13px; padding: 3px 9px; margin-left: 10px; }
    .pm-sub { font-size: 17px; margin-top: 5px; min-height: 22px; }
    .pm-empty { font-size: 17px; padding: 26px; max-width: 500px; }
    .pm-empty b { font-size: 23px; }
    .pm-side { width: 370px; padding-bottom: 20px; }
    .pm-status { font-size: 16px; min-height: 24px; margin-bottom: 12px; }
    .pm-btn { font-size: 20px; padding: 11px 14px; margin-bottom: 10px; border-radius: 11px; border-width: 2px; }
    .pm-foot { font-size: 16px; padding: 14px 0 17px; }
    .pm-foot span { margin-right: 32px; }
    .pm-qr-card, .pm-confirm-card { padding: 30px; border-radius: 20px; }
    .pm-qr-box { width: 270px; height: 270px; padding: 12px; }
    .pm-qr-text { width: 350px; margin-left: 32px; }
    .pm-qr-title { font-size: 27px; margin-bottom: 12px; }
    .pm-qr-desc { font-size: 17px; margin-bottom: 14px; }
    .pm-qr-url { font-size: 19px; margin-bottom: 22px; }
    .pm-confirm-card { width: 510px; }
    .pm-confirm-title { font-size: 25px; }
    .pm-confirm-desc { font-size: 17px; margin-bottom: 22px; }
    .pm-add { padding: 32px 40px; }
    .pm-kb { width: 505px; padding: 12px; border-radius: 15px; }
    .pm-kb-row { margin-bottom: 7px; }
    .pm-key { height: 41px; line-height: 41px; margin-right: 7px; border-radius: 7px; font-size: 19px; }
    .pm-key-fn { font-size: 16px; }
    .pm-form { width: 610px; padding: 26px 30px; border-radius: 20px; }
    .pm-tabs { margin-bottom: 17px; }
    .pm-tab { font-size: 19px; padding: 10px 22px; margin-right: 9px; border-radius: 10px; border-width: 2px; }
    .pm-field { height: 49px; line-height: 45px; font-size: 19px; padding: 0 15px; margin-bottom: 12px; border-radius: 10px; border-width: 2px; }
    .pm-caret { height: 23px; width: 2px; }
    .pm-save { height: 49px; line-height: 45px; font-size: 20px; border-radius: 10px; border-width: 2px; }
    .pm-add-msg { font-size: 15px; min-height: 22px; margin-top: 8px; }
    .pm-or { margin: 6px 0 16px; }
    .pm-or span { font-size: 15px; top: -11px; }
    .pm-phone-title { font-size: 20px; }
    .pm-phone-desc { font-size: 15px; }
    .pm-phone-qr { width: 126px; height: 126px; padding: 7px; border-radius: 11px; }
}

.pm-panel #device-info-back { position: absolute; top: 40px; right: 60px; z-index: 6; }

/* Video area with a playlist but no channel chosen yet: no setup help */
.video-placeholder .ph-ready { display: none; }
.video-placeholder.ph-has-channels .ph-ready { display: block; }
.video-placeholder.ph-has-channels #placeholder-title,
.video-placeholder.ph-has-channels .ph-steps,
.video-placeholder.ph-has-channels .ph-cred,
.video-placeholder.ph-has-channels .ph-empty-hint,
.video-placeholder.ph-has-channels .ph-demo-note { display: none !important; }
.ph-ready h2 { margin: 0 0 10px; font-size: 34px; font-weight: 600; color: #fff; }
.ph-ready p { margin: 0; font-size: 20px; color: #9a9db0; }
@media (max-width: 1400px), (max-height: 800px) {
    .ph-ready h2 { font-size: 24px; }
    .ph-ready p { font-size: 14px; }
}

/* ===== Search screen (keyboard + results, per section) ===== */
.search-dialog.ss-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9000;
    display: flex;
    align-items: stretch;
    padding: 40px 48px 0;
    box-sizing: border-box;
    background: #0e0f13;
    background: -webkit-linear-gradient(top, #1a1b22 0%, #0b0c10 100%);
    background: linear-gradient(180deg, #1a1b22 0%, #0b0c10 100%);
}
.ss-kb { width: 560px; flex-shrink: 0; align-self: flex-start; margin-right: 36px; }
.ss-row { display: flex; margin-bottom: 10px; }
.ss-key {
    height: 64px;
    line-height: 64px;
    margin-right: 10px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    font-size: 30px;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
}
.ss-key:last-child { margin-right: 0; }
.ss-fn { font-size: 22px; letter-spacing: 1px; background: rgba(255, 255, 255, 0.13); }
.ss-key.focused { background: #e94560; border-color: #fff; }
.ss-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ss-field {
    height: 70px;
    line-height: 70px;
    padding: 0 26px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 32px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
}
.ss-ph { color: rgba(255, 255, 255, 0.55); }
.ss-caret {
    display: inline-block;
    width: 3px;
    height: 36px;
    margin-left: 3px;
    vertical-align: middle;
    background: #fff;
    -webkit-animation: pm-blink 1s steps(1) infinite;
    animation: pm-blink 1s steps(1) infinite;
}
.ss-info { min-height: 30px; margin: 14px 4px 10px; font-size: 22px; color: #9a9db0; }
.ss-results { flex: 1; overflow: hidden; padding: 4px 4px 30px; }
.ss-empty { padding-top: 120px; text-align: center; font-size: 28px; color: #8b8fa3; }
/* Live TV: a list */
.ss-item {
    display: flex;
    align-items: center;
    height: 76px;
    padding: 0 20px;
    margin-bottom: 8px;
    border-radius: 12px;
    border: 3px solid transparent;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}
.ss-item.focused { background: #e94560; border-color: #fff; }
.ss-logo { width: 84px; height: 52px; margin-right: 22px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ss-logo img { max-width: 84px; max-height: 52px; }
.ss-name { flex: 1; min-width: 0; font-size: 28px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-group { margin-left: 20px; max-width: 34%; font-size: 21px; color: #a9acbd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-item.focused .ss-group { color: #fff; }
/* Movies / Series: posters */
.ss-poster {
    display: inline-block;
    vertical-align: top;
    width: 16.66%;
    padding: 8px;
    box-sizing: border-box;
    cursor: pointer;
}
.ss-pimg {
    position: relative;
    height: 300px;
    border-radius: 12px;
    border: 3px solid transparent;
    overflow: hidden;
    background: #23252f;
}
.ss-pimg img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.ss-pfall { position: absolute; left: 10px; right: 10px; top: 40%; text-align: center; font-size: 18px; color: #8b8fa3; }
.ss-pname { margin-top: 8px; font-size: 20px; color: #d6d8e4; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-poster.focused .ss-pimg { border-color: #e94560; box-shadow: 0 0 0 2px #fff; }
.ss-poster.focused .ss-pname { color: #fff; font-weight: 600; }
@media (max-width: 1400px), (max-height: 800px) {
    .search-dialog.ss-screen { padding: 26px 32px 0; }
    .ss-kb { width: 373px; margin-right: 24px; }
    .ss-row { margin-bottom: 7px; }
    .ss-key { height: 43px; line-height: 41px; margin-right: 7px; border-radius: 7px; font-size: 20px; }
    .ss-fn { font-size: 15px; }
    .ss-field { height: 47px; line-height: 47px; padding: 0 17px; font-size: 21px; border-radius: 8px; }
    .ss-caret { height: 24px; width: 2px; }
    .ss-info { font-size: 15px; min-height: 20px; margin: 9px 3px 7px; }
    .ss-empty { font-size: 19px; padding-top: 80px; }
    .ss-item { height: 51px; padding: 0 13px; margin-bottom: 5px; border-radius: 8px; border-width: 2px; }
    .ss-logo { width: 56px; height: 35px; margin-right: 15px; }
    .ss-logo img { max-width: 56px; max-height: 35px; }
    .ss-name { font-size: 19px; }
    .ss-group { font-size: 14px; }
    .ss-poster { padding: 5px; }
    .ss-pimg { height: 200px; border-radius: 8px; border-width: 2px; }
    .ss-pfall { font-size: 13px; }
    .ss-pname { font-size: 14px; margin-top: 5px; }
}

/* Live TV only (OK on the Live TV tab): no Movies / Series tabs */
.live-only-title { display: none; }
body.live-only:not(.vod-mode) #section-tabs { display: none !important; }
body.live-only:not(.vod-mode) .live-only-title {
    display: block;
    margin-bottom: 6px;
    font-size: 30px;
    font-weight: 700;
    color: #e94560;
}
@media (max-width: 1400px), (max-height: 800px) {
    body.live-only:not(.vod-mode) .live-only-title { font-size: 20px; margin-bottom: 4px; }
}
body.live-only:not(.vod-mode) #icon-refresh,
body.live-only:not(.vod-mode) #icon-info,
body.live-only:not(.vod-mode) #icon-search,
body.live-only:not(.vod-mode) #icon-settings { display: none !important; }

/* Movies / Series: the categories hide while the focus is in the posters */
body.vod-mode.vod-cats-hidden .categories-sidebar { display: none !important; }

/* Search removed from the top bar (search is on the blue colour key and the search screen) */
#icon-search { display: none !important; }

/* Activation (admin / reseller) */
.pm-foot .pm-act { color: #34D399; font-weight: 600; }
.device-activated { color: #34D399; font-weight: 600; }

.device-id-info .device-value { font-size: 0.7em; opacity: 0.6; }

/* Where to find MAC + Device Key later (no playlist yet) */
.placeholder-content .ph-settings-hint { margin: 16px 0 0; font-size: 18px; line-height: 1.4; color: #b9bdd3; }
.ph-settings-hint b { color: #fff; }
.video-placeholder.ph-has-channels .ph-settings-hint { display: none !important; }
