#router-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}
#router-loader.active {
    opacity: 1;
}
#router-loader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-secondary), var(--accent-primary), transparent);
    animation: routerProgress 1s ease-in-out infinite;
}
@keyframes routerProgress {
    0% { left: -30%; }
    100% { left: 100%; }
}
.main-content {
    opacity: 1;
    transform: translateY(0);
}
.comments-section {
    background: var(--bg-secondary);
    padding: 20px;
    margin-top: 20px;
    border: 1px solid var(--border-color);
}
.comments-header h3 {
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}
.comments-header h3 i {
    margin-right: 8px;
    color: var(--accent-primary);
}
.comment-form {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.comment-avatar {
    width: 45px;
    height: 45px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
    color: var(--accent-primary);
}
.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.comment-input-wrapper {
    flex: 1;
}
.comment-input-wrapper textarea {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
}
.comment-input-wrapper textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}
.comment-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.spoiler-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted);
}
.spoiler-checkbox input {
    accent-color: var(--accent-primary);
}
.spoiler-checkbox i {
    color: var(--warning);
}
.comment-login-prompt {
    text-align: center;
    padding: 30px;
    background: var(--bg-tertiary);
    margin-bottom: 20px;
}
.comment-login-prompt i {
    font-size: 24px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
}
.comment-login-prompt a {
    color: var(--accent-primary);
}
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.no-comments {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}
.no-comments i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}
.comment-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}
.comment-content {
    flex: 1;
    min-width: 0;
}
.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.comment-author {
    font-weight: 600;
    font-size: 14px;
}
.comment-date {
    color: var(--text-muted);
    font-size: 12px;
}
.spoiler-badge {
    background: rgba(234,179,8,0.15);
    color: var(--warning);
    font-size: 10px;
    padding: 3px 8px;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.3px;
}
.spoiler-badge i {
    margin-right: 3px;
    font-size: 9px;
}
.comment-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}
.comment-text p {
    margin: 0;
}
.comment-text.spoiler-hidden {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
}
.comment-text.spoiler-hidden p {
    filter: blur(6px);
    user-select: none;
    transition: filter 0.3s ease;
    padding: 0;
    margin: 0;
}
.comment-text.spoiler-hidden .spoiler-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    z-index: 1;
    backdrop-filter: blur(2px);
}
.comment-text.spoiler-hidden .spoiler-overlay i {
    font-size: 14px;
    color: var(--warning);
}
.comment-text.spoiler-revealed p {
    filter: none;
}
.comment-text.spoiler-revealed .spoiler-overlay {
    display: none;
}
.comment-actions {
    display: flex;
    gap: 15px;
    margin-top: 12px;
}
.comment-action {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    padding: 5px;
    transition: color 0.2s ease;
}
.comment-action:hover {
    color: var(--text-primary);
}
.comment-action.like-btn:hover,
.comment-action.like-btn.active {
    color: var(--success);
}
.comment-action.dislike-btn:hover,
.comment-action.dislike-btn.active {
    color: var(--danger);
}
.comment-action.reply-btn:hover {
    color: var(--accent-primary);
}
.comment-action.show-replies-btn:hover {
    color: var(--accent-primary);
}
.reply-form-container {
    margin-top: 15px;
    padding: 15px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.reply-form textarea {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 10px;
    color: var(--text-primary);
    font-size: 14px;
    resize: vertical;
    min-height: 60px;
}
.reply-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}
.reply-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}
.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}
.btn-secondary {
    background: var(--bg-hover);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}
.replies-container {
    margin-top: 15px;
    margin-left: 20px;
    padding-left: 15px;
    border-left: 2px solid var(--border-color);
}
.reply-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}
.reply-item:last-child {
    border-bottom: none;
}
.reply-item .comment-avatar {
    width: 32px;
    height: 32px;
    font-size: 12px;
    flex-shrink: 0;
}
.reply-item .comment-content {
    flex: 1;
    min-width: 0;
}
.reply-item .comment-header {
    font-size: 12px;
}
.reply-item .comment-text {
    font-size: 13px;
}
.reply-item .comment-actions {
    margin-top: 8px;
}
.loading-replies,
.no-replies {
    padding: 15px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}
.loading-replies i {
    margin-right: 8px;
}
@media (max-width: 768px) {
    .comment-form {
        flex-direction: column;
    }
    .comment-avatar {
        width: 40px;
        height: 40px;
    }
    .comment-form-actions {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .replies-container {
        margin-left: 10px;
        padding-left: 10px;
    }
    .reply-form-actions {
        flex-direction: column;
    }
    .reply-form-actions button {
        width: 100%;
    }
    .comment-actions {
        flex-wrap: wrap;
    }
}
:root {
    --bg-body: #000000;
    --bg-primary: #0a0a0a;
    --bg-secondary: #0f0f0f;
    --bg-tertiary: #161616;
    --bg-card: #111111;
    --bg-hover: #1a1a1a;
    --bg-box: #080808;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #666666;
    --accent-primary: #e50914;
    --accent-secondary: #ff0a16;
    --accent-gradient: linear-gradient(135deg, #e50914 0%, #b20710 100%);
    --success: #46d369;
    --warning: #f5c518;
    --danger: #e50914;
    --info: #0080ff;
    --border-color: rgba(255, 255, 255, 0.06);
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.6);
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 8px;
    --radius-full: 2px;
    --transition: all 0.2s ease;
    --box-width: 1200px;
}
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #000000;
}
::-webkit-scrollbar-thumb {
    background: #e50914;
    border: 2px solid #000000;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff1a1a;
}
::-webkit-scrollbar-corner {
    background: #000000;
}
* {
    scrollbar-width: thin;
    scrollbar-color: #e50914 #000000;
}
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: var(--bg-body);
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
button {
    font-family: inherit;
    cursor: pointer;
}
.site-wrapper {
    max-width: var(--box-width);
    margin: 0 auto;
    background: var(--bg-box);
    min-height: 100vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    position: relative;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}
@media (min-width: 1600px) {
    .container {
        max-width: 1500px;
        padding: 0 50px;
    }
}
.announcement-bar {
    background: var(--accent-primary);
    padding: 10px 0;
}
.announcement-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.announcement-bar .ann-text {
    font-size: 14px;
    font-weight: 600;
}
.announcement-bar .ann-link {
    background: white;
    color: var(--bg-primary);
    padding: 6px 16px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
}
.announcement-bar .ann-link:hover {
    background: #ddd;
}
.main-header {
    background: var(--bg-secondary);
    z-index: 100;
    position: relative;
}
.main-header .header-inner {
    border-bottom: 1px solid var(--border-color);
}
.header-inner {
    display: flex;
    align-items: center;
    padding: 12px 0;
    gap: 25px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}
.logo-img {
    height: 40px;
    max-width: 200px;
    object-fit: contain;
}
.hero-logo-img {
    height: 60px;
    max-width: 300px;
}
.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}
.logo-icon {
    width: 26px;
    height: 26px;
    background: var(--accent-primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}
.main-nav {
    flex: 1;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 3px;
    list-style: none;
}
.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 0;
    font-weight: 500;
    font-size: 13px;
    transition: var(--transition);
    color: var(--text-secondary);
}
.nav-menu > li > a:hover {
    background: var(--bg-hover);
    color: white;
}
.nav-menu > li > a i {
    font-size: 12px;
}
.nav-menu > li > a .fa-chevron-down {
    font-size: 8px;
    margin-left: 2px;
}
.dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 4px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    list-style: none;
    z-index: 50;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(2px);
}
.dropdown-menu li a {
    display: block;
    padding: 6px 10px;
    border-radius: 0;
    font-size: 12px;
    color: var(--text-secondary);
    transition: var(--transition);
}
.dropdown-menu li a:hover {
    background: var(--bg-hover);
    color: white;
}
.dropdown-mega {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-width: 300px;
    gap: 0;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.search-wrapper {
    position: relative;
    display: block;
}
.search-form {
    display: flex;
    background: var(--bg-tertiary);
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.search-input {
    background: transparent;
    border: none;
    padding: 8px 12px;
    color: var(--text-primary);
    width: 200px;
    font-size: 13px;
    outline: none;
}
.search-input::placeholder {
    color: var(--text-muted);
}
.search-btn {
    background: var(--bg-hover);
    border: none;
    padding: 8px 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-top: none;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: var(--shadow-lg);
}
.search-dropdown.active {
    display: block;
}
.search-results {
    padding: 0;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}
.search-result-item:hover {
    background: var(--bg-hover);
}
.search-result-item:last-child {
    border-bottom: none;
}
.search-result-poster {
    width: 40px;
    height: 60px;
    background: var(--bg-tertiary);
    flex-shrink: 0;
    overflow: hidden;
}
.search-result-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.search-result-poster .no-poster {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-muted);
}
.search-result-info {
    flex: 1;
    min-width: 0;
}
.search-result-title {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-result-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
}
.search-result-type {
    padding: 2px 6px;
    background: var(--accent-primary);
    color: white;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
}
.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}
.search-loading {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
}
.search-loading i {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.search-all-results {
    display: block;
    padding: 12px;
    text-align: center;
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    font-size: 12px;
    font-weight: 500;
    border-top: 1px solid var(--border-color);
}
.search-all-results:hover {
    background: var(--bg-hover);
}
.search-btn:hover {
    background: var(--accent-primary);
    color: white;
}
.user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}
.user-dropdown {
    position: relative;
    z-index: 1000;
}
.user-avatar {
    width: 34px;
    height: 34px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: var(--transition);
}
.user-avatar:hover {
    background: var(--bg-hover);
}
.user-avatar.guest {
    color: var(--text-muted);
    font-size: 13px;
}
.user-avatar.guest:hover {
    color: var(--accent-primary);
}
.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 6px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    margin-top: 8px;
    z-index: 9999;
}
.user-dropdown:hover .user-dropdown-menu,
.user-dropdown.active .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-secondary);
    transition: var(--transition);
}
.user-dropdown-menu a:hover {
    background: var(--bg-hover);
    color: white;
}
.user-dropdown-menu a.logout,
.user-dropdown-menu button.logout {
    color: var(--accent-primary);
}
.user-dropdown-menu form {
    display: contents;
}
.user-dropdown-menu button.logout {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    width: 100%;
    text-align: left;
    transition: var(--transition);
}
.user-dropdown-menu button.logout:hover {
    background: var(--bg-hover);
    color: white;
}
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 22px;
    padding: 6px;
}
.mobile-menu {
    display: none;
}
.main-content {
    min-height: calc(100vh - 200px);
    padding: 25px 0;
    background: var(--bg-primary);
}
.hero-search {
    text-align: center;
    padding: 25px 0;
    margin-bottom: 10px;
}
.hero-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}
.hero-logo .logo {
    display: inline-flex;
    width: auto;
}
.hero-logo .logo-text {
    font-size: 42px;
    letter-spacing: -1px;
}
.hero-logo .logo-icon {
    width: 42px;
    height: 42px;
    font-size: 16px;
    border-radius: 6px;
}
.hero-search-wrapper {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}
.hero-search-form {
    display: flex;
    background: var(--bg-tertiary);
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.hero-search-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: white;
    font-size: 14px;
    outline: none;
}
.hero-search-form input::placeholder {
    color: var(--text-muted);
}
.hero-search-form button {
    background: var(--bg-hover);
    border: none;
    padding: 12px 18px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}
.hero-search-form button:hover {
    background: var(--accent-primary);
    color: white;
}
.hero-dropdown {
    text-align: left;
}
.hero-dropdown .search-result-poster {
    width: 50px;
    height: 75px;
}
.content-section {
    margin-bottom: 35px;
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.section-title {
    font-size: 16px;
    font-weight: 600;
}

/* Ana sayfa "Son Bölümler" — platform chip'li section header */
.episodes-section-header {
    gap: 12px;
    flex-wrap: nowrap;
}
.episodes-section-header .section-title {
    flex: 0 0 auto;
    white-space: nowrap;
}
.episodes-section-header .see-all-btn {
    flex: 0 0 auto;
    margin-left: auto;
}
.episodes-platform-tabs {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 4px 2px;
}
.episodes-platform-tabs::-webkit-scrollbar { display: none; }

.ep-platform-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    color: rgba(235, 235, 245, 0.78);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: color .2s, background-color .2s, border-color .2s, transform .15s;
    -webkit-tap-highlight-color: transparent;
}
.ep-platform-chip:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.14);
}
.ep-platform-chip:active { transform: scale(0.96); }
.ep-platform-chip.active {
    color: #fff;
    background: linear-gradient(180deg, rgba(229, 9, 20, 0.95), rgba(180, 0, 12, 0.95));
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 14px rgba(229, 9, 20, 0.35), inset 0 1px 0 rgba(255,255,255,0.22);
}

/* Mobilde header'ı dikey akıt: başlık üstte, chip'ler ortada scroll, "Tümünü Gör" altta */
@media (max-width: 640px) {
    .episodes-section-header {
        flex-wrap: wrap;
        row-gap: 8px;
    }
    .episodes-section-header .see-all-btn { order: 3; }
    .episodes-platform-tabs {
        order: 2;
        flex-basis: 100%;
    }
    .episodes-section-header .section-title { order: 1; }
}

/* Grid boş / yükleniyor durumu */
#latestEpisodesGrid { transition: opacity .18s ease; }
#latestEpisodesGrid.is-loading { opacity: .55; pointer-events: none; }
.ep-empty {
    grid-column: 1 / -1;
    padding: 30px 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

.dp-continue-section {
    margin-top: 18px;
}
.dp-continue-section .section-header {
    align-items: center;
    gap: 12px;
}
.dp-continue-controls {
    display: flex;
    gap: 6px;
    margin-left: auto;
}
.dp-continue-nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(235,235,245,0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .15s;
    -webkit-tap-highlight-color: transparent;
}
.dp-continue-nav:hover {
    color: #fff;
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.16);
}
.dp-continue-nav:active { transform: scale(0.94); }

.dp-continue-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 12px 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}
.dp-continue-slider::-webkit-scrollbar { display: none; }

.dp-continue-card {
    flex: 0 0 auto;
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
}
.dp-continue-card:hover .dp-continue-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.dp-continue-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #111114;
    border: 1px solid rgba(255,255,255,0.05);
}
.dp-continue-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dp-continue-thumb-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.35);
    font-size: 34px;
}
.dp-continue-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
    transition: opacity .2s ease, transform .2s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: none;
}
.dp-continue-progress {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 4px;
    background: rgba(255,255,255,0.12);
}
.dp-continue-progress::after {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: var(--dp-progress, 0%);
    background: linear-gradient(90deg, var(--accent-primary, #e50914), #ff5c66);
    border-radius: 0 2px 2px 0;
    transition: width .3s ease;
}
.dp-continue-meta { display: flex; flex-direction: column; gap: 2px; padding: 0 2px; }
.dp-continue-meta strong {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dp-continue-meta small {
    font-size: 11px;
    color: rgba(235,235,245,0.55);
}

@media (max-width: 640px) {
    .dp-continue-card { width: 220px; }
    .dp-continue-controls { display: none; }
}

.dp-resume-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 24, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    z-index: 2147483000;
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}
.dp-resume-toast.is-visible { opacity: 1; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.ua-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ic-premium-gold { color: #f59e0b; }
.dropdown-divider { border: 0; border-top: 1px solid var(--border-color); margin: 10px 0; }

.wt-open-btn-wrap {
    display: flex;
    justify-content: flex-end;
    margin: 8px 0 12px;
}
.wt-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: #fff;
    border: 0;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.35);
    transition: transform .15s ease, box-shadow .2s ease;
}
.wt-open-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(124, 58, 237, 0.45); }
.wt-open-btn i { font-size: 14px; }

.wt-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    max-width: 92vw;
    height: 100vh;
    background: rgba(15, 15, 20, 0.92);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border-left: 1px solid rgba(255,255,255,0.08);
    box-shadow: -12px 0 40px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    color: #f3f4f6;
    z-index: 2147483000;
    transform: translateX(105%);
    transition: transform .28s cubic-bezier(0.22, 1, 0.36, 1);
}
.wt-panel.is-open { transform: translateX(0); }
.wt-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.wt-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
}
.wt-title i { color: #a78bfa; }
.wt-member-count {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.2);
    color: #d8b4fe;
    margin-left: 6px;
}
.wt-member-count:empty { display: none; }
.wt-close {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s;
}
.wt-close:hover { background: rgba(255,255,255,0.12); }

.wt-controls {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.wt-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgba(235,235,245,0.55);
    margin-bottom: 6px;
}
.wt-input {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    padding: 9px 12px;
    outline: none;
    transition: border-color .2s;
}
.wt-input:focus { border-color: #a78bfa; }
.wt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 14px;
    border: 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s, transform .15s;
}
.wt-btn:active { transform: scale(0.97); }
.wt-btn-primary { background: linear-gradient(135deg,#7c3aed,#ec4899); color:#fff; }
.wt-btn-secondary { background: rgba(255,255,255,0.08); color:#fff; border:1px solid rgba(255,255,255,0.12); }
.wt-btn-danger { background: rgba(239,68,68,0.15); color:#fca5a5; border:1px solid rgba(239,68,68,0.25); }
.wt-btn-icon { padding: 9px 11px; }

.wt-lobby { display: flex; flex-direction: column; gap: 10px; }
.wt-or { text-align: center; color: rgba(235,235,245,0.35); font-size: 11px; margin: 2px 0; }
.wt-join-row { display: flex; gap: 6px; }
.wt-join-row .wt-input { flex: 1; }
.wt-invite-row { display: flex; gap: 6px; margin-bottom: 8px; }
.wt-invite-row .wt-input { flex: 1; font-size: 11px; }

.wt-session { display: none; margin-top: 6px; }
.wt-panel.is-connected .wt-lobby { display: none; }
.wt-panel.is-connected .wt-session { display: block; }

.wt-status {
    margin-top: 10px;
    font-size: 11px;
    color: rgba(235,235,245,0.5);
    min-height: 14px;
}
.wt-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.wt-chat-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.wt-chat-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13px;
    max-width: 90%;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}
.wt-chat-row.is-me {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(236,72,153,0.20));
    border-color: rgba(167,139,250,0.35);
}
.wt-chat-row.is-system {
    align-self: center;
    background: transparent;
    border: 0;
    color: rgba(235,235,245,0.45);
    font-size: 11px;
    font-style: italic;
}
.wt-chat-from {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgba(235,235,245,0.55);
}
.wt-chat-row.is-me .wt-chat-from { color: #ddd6fe; }
.wt-chat-text { color: #fff; }

.wt-chat-inputbar {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.wt-chat-inputbar .wt-input { flex: 1; }

@media (max-width: 480px) {
    .wt-panel { width: 100vw; max-width: 100vw; border-left: 0; }
}

body.cmdk-lock { overflow: hidden; }
.cmdk-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12vh;
}
.cmdk-overlay.is-open { display: flex; }
.cmdk-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: cmdkFade .18s ease-out both;
}
.cmdk-panel {
    position: relative;
    width: 640px;
    max-width: 92vw;
    max-height: 76vh;
    display: flex;
    flex-direction: column;
    background: rgba(17,17,22,0.94);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
    color: #f3f4f6;
    animation: cmdkPop .18s cubic-bezier(0.22,1,0.36,1);
    overflow: hidden;
}
@keyframes cmdkFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cmdkPop { from { opacity: 0; transform: translateY(6px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

.cmdk-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cmdk-icon { color: rgba(235,235,245,0.5); }
.cmdk-input {
    flex: 1;
    background: transparent;
    border: 0;
    outline: 0;
    color: #fff;
    font-size: 15px;
    padding: 4px 0;
}
.cmdk-kbd, kbd.cmdk-kbd {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    border-bottom-width: 2px;
    border-radius: 5px;
    padding: 2px 6px;
    font-size: 10px;
    font-family: inherit;
    letter-spacing: .04em;
    color: rgba(235,235,245,0.75);
    cursor: pointer;
}
.cmdk-body { flex: 1; overflow-y: auto; }
.cmdk-empty { padding: 40px 20px; text-align: center; color: rgba(235,235,245,0.5); font-size: 13px; }
.cmdk-empty.is-hidden { display: none; }
.cmdk-empty-emoji { font-size: 40px; margin-bottom: 8px; }
.cmdk-tips {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 16px;
    font-size: 11px;
}
.cmdk-tips kbd { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); border-radius: 4px; padding: 1px 5px; margin: 0 2px; font-family: inherit; font-size: 10px; }

.cmdk-results { list-style: none; margin: 0; padding: 6px; }
.cmdk-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color .12s ease;
}
.cmdk-item.is-active,
.cmdk-item:hover {
    background: rgba(255,255,255,0.06);
}
.cmdk-thumb {
    flex: 0 0 auto;
    width: 40px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    background: #0f0f14;
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cmdk-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cmdk-thumb-fallback { color: rgba(255,255,255,0.35); font-size: 20px; }
.cmdk-body-meta { flex: 1; min-width: 0; }
.cmdk-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cmdk-meta { display: flex; gap: 8px; margin-top: 3px; font-size: 11px; color: rgba(235,235,245,0.55); }
.cmdk-badge {
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
}
.cmdk-type-series { background: rgba(59,130,246,0.20); color: #93c5fd; }
.cmdk-type-movie  { background: rgba(236,72,153,0.20); color: #f9a8d4; }
.cmdk-go { color: rgba(235,235,245,0.35); font-size: 12px; }
.cmdk-item.is-active .cmdk-go { color: #a78bfa; }

.cmdk-loading, .cmdk-nores {
    padding: 30px 20px;
    text-align: center;
    color: rgba(235,235,245,0.5);
    font-size: 13px;
    list-style: none;
}

.cmdk-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 11px;
    color: rgba(235,235,245,0.5);
}
.cmdk-all {
    color: #a78bfa;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.cmdk-all:hover { color: #c4b5fd; }
.cmdk-all[style*="hidden"] { display: none; }

.az-hero {
    padding: 32px 0 20px;
    text-align: center;
}
.az-title {
    margin: 12px 0 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.az-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
}
.az-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 999px;
    color: rgba(235,235,245,0.7);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color .2s, background-color .2s;
}
.az-tab.is-active {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: #fff;
    box-shadow: 0 4px 14px rgba(124,58,237,0.35);
}
.az-tab:hover:not(.is-active) { color: #fff; background: rgba(255,255,255,0.06); }

.az-section { padding-top: 8px; }
.az-letters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 16px 0 24px;
    justify-content: center;
}
.az-letter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 8px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(235,235,245,0.85);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    transition: transform .15s, background-color .2s, border-color .2s;
}
.az-letter:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); }
.az-letter.is-active {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(124,58,237,0.35);
}
.az-letter.is-disabled { opacity: .28; pointer-events: none; }
.az-letter-count { font-size: 9px; margin-top: 2px; font-weight: 500; opacity: .7; }

.az-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    padding: 4px 0;
}
.az-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    color: inherit;
}
.az-card-thumb {
    aspect-ratio: 2 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: #111114;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform .2s, box-shadow .2s;
}
.az-card:hover .az-card-thumb {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}
.az-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.az-card-thumb-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.25);
    font-size: 34px;
}
.az-card-body { padding: 0 2px; }
.az-card-body strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.az-card-body small { font-size: 11px; color: rgba(235,235,245,0.55); }

.az-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: rgba(235,235,245,0.5);
}
.az-empty i { font-size: 40px; margin-bottom: 8px; display: block; opacity: .6; }

.az-load-more { text-align: center; margin-top: 28px; }
.az-load-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s;
}
.az-load-btn:hover { background: rgba(255,255,255,0.10); }
.az-load-btn.is-loading i { animation: cmdkFade 1s infinite alternate; }
.az-load-btn.is-hidden { display: none; }
.see-all {
    color: var(--accent-primary);
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}
.see-all:hover {
    color: var(--accent-secondary);
}
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}
.content-grid.large {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.content-card {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}
.card-link {
    display: block;
    position: relative;
}
.card-poster {
    position: relative;
    aspect-ratio: 2/3;
    background: var(--bg-tertiary);
    overflow: hidden;
    border-radius: 2px;
}
.card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.poster-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 35px;
    color: var(--text-muted);
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}
.card-overlay {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    justify-content: space-between;
    gap: 4px;
    z-index: 2;
}
.card-badge {
    padding: 4px 8px;
    border-radius: 2px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.card-badge.type {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.card-badge.new {
    background: #000;
    color: #fff;
}
.card-badge.quality {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}
.card-play {
    display: none;
}
.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 10px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    z-index: 2;
}
.card-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    color: white;
}
.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
}
.card-rating {
    color: var(--warning);
    font-weight: 600;
}
.card-rating i {
    margin-right: 2px;
}
.card-year {
    color: var(--text-muted);
}
.card-episodes {
    background: rgba(255,255,255,0.15);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: 10px;
}
.episodes-section {
    background: var(--bg-secondary);
    border-radius: 0;
    padding: 15px;
    border: 1px solid var(--border-color);
}
.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
}
.episode-card {
    background: var(--bg-tertiary);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}
.episode-card:hover {
    background: var(--bg-hover);
}
.episode-link {
    display: block;
    padding: 10px;
}
.episode-poster {
    width: 45px;
    height: 45px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    background: var(--bg-secondary);
    margin-bottom: 8px;
}
.episode-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.episode-poster .poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.episode-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    font-size: 12px;
    opacity: 0;
    transition: var(--transition);
}
.episode-card:hover .episode-play {
    opacity: 1;
}
.episode-info {
    min-width: 0;
}
.episode-series {
    font-weight: 600;
    font-size: 11px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
}
.episode-number {
    color: var(--text-muted);
    font-size: 10px;
    display: block;
    margin-bottom: 2px;
}
.episode-time {
    color: var(--accent-primary);
    font-size: 9px;
    font-weight: 500;
}
.latest-episodes-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.see-all-btn {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.see-all-btn:hover {
    background: var(--bg-hover);
}
.episodes-box {
    background: #111;
    border-radius: 10px;
    position: relative;
    padding: 15px;
    padding-top: 50px;
}
.episodes-tab {
    position: absolute;
    top: 0;
    left: 0;
    background: #0d0d0d;
    color: #fff;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 10px 0 10px 0;
}
.episodes-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.episode-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #1a1a1a;
    border-radius: 8px;
    text-decoration: none;
}
.episodes-page-box {
    padding-top: 15px;
}
.episode-thumb {
    width: 100px;
    height: 75px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
    background: #0d0d0d;
}
.episode-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}
.episode-thumb .thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 20px;
}
.episode-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.episode-meta .ep-title {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.episode-meta .ep-info {
    font-size: 13px;
    color: #999;
}
.episode-meta .ep-time {
    font-size: 12px;
    color: #666;
}
@media (max-width: 1200px) {
    .episodes-list-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 900px) {
    .episodes-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .episodes-list-grid {
        grid-template-columns: 1fr;
    }
    .episode-thumb {
        width: 80px;
        height: 60px;
    }
    .episode-meta .ep-title {
        font-size: 14px;
    }
}
.page-header {
    margin-bottom: 25px;
}
.page-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}
.filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
}
.filters-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.filter-group {
    position: relative;
}
.filter-select {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 35px 10px 12px;
    font-size: 13px;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 150px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.filter-select:hover,
.filter-select:focus {
    background: var(--bg-hover);
}
.filter-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 10px;
}
.filter-clear {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    background: var(--danger);
    color: white;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
}
.filter-clear:hover {
    background: #ff1a1a;
}
.results-count {
    color: var(--text-muted);
    font-size: 13px;
    white-space: nowrap;
}
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}
.empty-state i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 15px;
}
.empty-state h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.empty-state p {
    color: var(--text-muted);
    margin-bottom: 20px;
}
.page-dots {
    padding: 8px 4px;
    color: var(--text-muted);
}
.infinite-loader {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 30px;
    color: var(--text-muted);
    font-size: 14px;
}
.infinite-loader.active {
    display: flex;
}
.loader-spinner {
    font-size: 20px;
    color: var(--accent-primary);
}
.load-more-end {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 13px;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}
.lazyload,
.lazyloading {
    opacity: 0;
    transition: opacity 0.3s;
}
.lazyloaded {
    opacity: 1;
}
.card-poster .lazyload,
.card-poster .lazyloading,
.episode-poster .lazyload,
.episode-poster .lazyloading {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-hover) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.content-card .lazyload,
.content-card .lazyloading {
    min-height: 280px;
}
.trending-section {
    margin-bottom: 30px;
    position: relative;
}
.trending-wrapper {
    position: relative;
}
.trending-slider {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
.trending-slider::-webkit-scrollbar {
    display: none;
}
.trending-loading, .trending-empty {
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}
.trending-loading i {
    margin-right: 8px;
    color: var(--accent-primary);
}
.trending-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--border-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s;
}
.trending-nav:hover {
    background: var(--accent-primary);
}
.trending-nav.prev {
    left: 0;
}
.trending-nav.next {
    right: 0;
}
.trending-item {
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    scroll-snap-align: start;
    position: relative;
    width: 180px;
    margin-right: -30px;
}
.trending-rank {
    position: relative;
    width: 80px;
    height: 160px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 1;
}
.rank-number {
    font-family: 'Inter', sans-serif;
    font-size: 140px;
    font-weight: 900;
    line-height: 1;
    color: #333;
    opacity: 0.4;
    -webkit-text-stroke: 3px #555;
    margin-right: -25px;
    position: relative;
    z-index: 1;
}
.rank-number.stacked {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 70px;
    line-height: 0.85;
    margin-right: -15px;
}
.trending-poster {
    width: 110px;
    height: 160px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--border-color);
}
.trending-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.trending-info {
    display: none;
}
.trending-badge {
    display: inline-block;
    background: var(--accent-primary);
    color: white;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.trending-title {
    font-size: 12px;
    font-weight: 600;
    color: white;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.trending-top10 {
    margin-bottom: 40px;
}
.top10-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.top10-title::before {
    content: "TOP";
    background: var(--accent-primary);
    color: white;
    padding: 4px 10px;
    font-size: 14px;
    font-weight: 800;
}
.top10-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.top10-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}
.top10-item:hover {
    background: var(--bg-hover);
}
.top10-rank {
    width: 50px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.top10-rank span {
    font-size: 48px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 3px var(--accent-primary);
    text-shadow: 
        3px 3px 0 var(--bg-primary),
        -1px -1px 0 var(--bg-primary),
        1px -1px 0 var(--bg-primary),
        -1px 1px 0 var(--bg-primary);
}
.top10-poster {
    width: 70px;
    height: 100px;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--border-color);
}
.top10-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.top10-info {
    flex: 1;
    min-width: 0;
}
.top10-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.top10-badge.movie {
    background: var(--accent-primary);
    color: white;
}
.top10-badge.series {
    background: #3498db;
    color: white;
}
.top10-title-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.top10-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
}
.top10-rating {
    color: #f1c40f;
}
.top10-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}
.top10-stats i {
    margin-right: 4px;
}
.top10-stats span:first-child i {
    color: var(--accent-primary);
}
.top10-stats span:last-child i {
    color: #e74c3c;
}
.trends-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
@media (max-width: 992px) {
    .trends-split {
        grid-template-columns: 1fr;
    }
}
.trends-split .trending-top10 {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 0;
}
.trends-split .top10-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}
.trends-split .top10-title::before {
    display: none;
}
.trends-split .top10-title i {
    color: #ff6b35;
}
.trends-split .top10-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.trends-split .top10-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    background: transparent;
    border: none;
}
.trends-split .top10-item:hover {
    background: var(--bg-hover);
}
.trends-split .top10-rank {
    width: 50px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    border-radius: 0;
}
.trends-split .top10-rank span {
    font-size: 48px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 3px var(--accent-primary);
    text-shadow:
        3px 3px 0 var(--bg-primary),
        -1px -1px 0 var(--bg-primary),
        1px -1px 0 var(--bg-primary),
        -1px 1px 0 var(--bg-primary);
}
.trends-split .top10-rank span.stacked {
    display: flex;
    flex-direction: row;
    font-size: 48px;
}
.trends-split .top10-rank span.stacked span {
    font-size: 48px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 3px var(--accent-primary);
    text-shadow:
        3px 3px 0 var(--bg-primary),
        -1px -1px 0 var(--bg-primary),
        1px -1px 0 var(--bg-primary),
        -1px 1px 0 var(--bg-primary);
}
.trends-split .top10-poster {
    width: 45px;
    height: 65px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-tertiary);
    border: none;
}
.trends-split .top10-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.trends-split .top10-poster .poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}
.trends-split .top10-info {
    flex: 1;
    min-width: 0;
}
.trends-split .top10-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.trends-split .top10-badge.series {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}
.trends-split .top10-badge.movie {
    background: rgba(236, 72, 153, 0.2);
    color: #ec4899;
}
.trends-split .top10-title-text {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.trends-split .top10-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
}
.trends-split .top10-rating {
    color: #f5c518;
}
.trends-split .top10-rating i {
    font-size: 10px;
}
.empty-state-small {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
}
.top10-views i {
    color: var(--accent-primary);
}
.card-badge.fire {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    animation: firePulse 1.5s infinite;
}
@keyframes firePulse {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 107, 53, 0.5); }
    50% { box-shadow: 0 0 15px rgba(255, 107, 53, 0.8); }
}
@media (max-width: 768px) {
    .trending-section {
        overflow: hidden;
    }
    .trending-section .section-header {
        margin-bottom: 0;
    }
    .trending-wrapper {
        overflow: hidden;
    }
    .trending-slider {
        padding: 5px 0;
    }
    .trending-item {
        width: 150px;
    }
    .trending-rank {
        width: 60px;
        height: 140px;
    }
    .rank-number {
        font-size: 100px;
        -webkit-text-stroke: 3px var(--accent-primary);
    }
    .trending-poster {
        width: 90px;
        height: 130px;
    }
    .top10-rank span {
        font-size: 36px;
    }
    .top10-poster {
        width: 60px;
        height: 85px;
    }
    .top10-title-text {
        font-size: 14px;
    }
    .top10-meta {
        font-size: 12px;
        gap: 10px;
    }
}
@media (max-width: 480px) {
    .trending-section {
        overflow: hidden;
        margin-bottom: 15px;
    }
    .trending-section .section-header {
        margin-bottom: 0;
    }
    .trending-wrapper {
        overflow: hidden;
        margin-top: 0;
        padding-top: 0;
    }
    .trending-slider {
        padding: 0;
        margin-top: 0;
    }
    .trending-item {
        width: 120px;
        margin-right: -25px;
    }
    .trending-rank {
        width: 45px;
        height: 120px;
    }
    .rank-number {
        font-size: 70px;
    }
    .trending-poster {
        width: 75px;
        height: 110px;
    }
    .trending-nav {
        display: none;
    }
    .top10-item {
        padding: 10px;
        gap: 10px;
    }
    .top10-rank {
        width: 40px;
    }
    .top10-rank span {
        font-size: 28px;
        -webkit-text-stroke: 2px var(--accent-primary);
    }
}
.ad-container {
    width: 100%;
    margin: 15px auto;
    text-align: center;
}
.ad-container a {
    display: inline-block;
}
.ad-image {
    max-width: 100%;
    height: auto;
}
.ad-desktop {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.ad-mobile {
    display: none !important;
}
.ad-header {
    display: flex;
    justify-content: center;
    align-items: center;
}
.ad-header .ad-desktop {
    display: flex;
    justify-content: center;
    align-items: center;
}
.ad-header .ad-mobile {
    display: none;
    justify-content: center;
    align-items: center;
}
.ad-grid {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
.ad-grid .ad-item {
    flex: 0 1 auto;
    max-width: 440px;
}
.ad-grid .ad-item img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    border-radius: 6px;
}
.ad-grid .ad-item:only-child {
    max-width: 728px;
}
.ad-grid .ad-item:only-child img {
    max-height: 90px;
}
.ad-grid-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.ad-grid-mobile .ad-item {
    max-width: 320px;
}
.ad-grid-mobile .ad-item img {
    max-width: 100%;
    max-height: 100px;
    height: auto;
    border-radius: 4px;
}
.footer-ad-row {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}
.footer-ad-item {
    flex-shrink: 0;
}
.footer-ad-item img {
    max-height: 90px;
    width: auto;
    border-radius: 4px;
}
.pageskin-desktop-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    display: block;
    cursor: pointer;
    background: var(--bg-body); 
}
.pageskin-desktop-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}
body.has-pageskin-desktop {
    background: transparent !important;
}
body.has-pageskin-desktop .site-wrapper {
    position: relative;
    z-index: 1;
    background: var(--bg-primary);
}
.pageskin-click-left,
.pageskin-click-right {
    position: fixed;
    top: 0;
    width: calc((100% - 1200px) / 2);
    height: 100%;
    z-index: 9998;
    cursor: pointer;
}
.pageskin-click-left {
    left: 0;
}
.pageskin-click-right {
    right: 0;
}
@media (max-width: 1200px) {
    .pageskin-click-left,
    .pageskin-click-right {
        display: none;
    }
    .pageskin-desktop-wrapper {
        display: none;
    }
}
.pageskin-mobile-wrapper {
    display: none;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 1;
}
.pageskin-mobile-wrapper img {
    width: 100%;
    max-width: 550px;
    height: auto;
    display: block;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .ad-desktop,
    .ad-header .ad-desktop,
    .ad-video_top .ad-desktop,
    .ad-video_bottom .ad-desktop,
    .ad-search .ad-desktop,
    .ad-container .ad-desktop {
        display: none !important;
    }
    .ad-mobile,
    .ad-header .ad-mobile,
    .ad-video_top .ad-mobile,
    .ad-video_bottom .ad-mobile,
    .ad-search .ad-mobile,
    .ad-container .ad-mobile {
        display: flex !important;
        justify-content: center;
        width: 100%;
    }
    .ad-container {
        margin: 10px auto;
    }
    .footer-ad-item img {
        max-height: 60px;
    }
    .pageskin-desktop-wrapper,
    .pageskin-click-left,
    .pageskin-click-right {
        display: none !important;
    }
    .pageskin-mobile-wrapper {
        display: block;
    }
}
.ad-header {
    margin: 0;
    padding: 10px 0;
    background: transparent;
}
.ad-banner-container {
    text-align: center;
    padding: 10px 0;
    background: transparent;
}
.ad-banner-container .ad-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.ad-banner-container .ad-mobile {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.ad-banner-container .ad-banner-img {
    width: 1000px;
    height: 90px;
    object-fit: cover;
}
@media (max-width: 768px) {
    .ad-banner-container .ad-desktop {
        display: none !important;
    }
    .ad-banner-container .ad-mobile {
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }
    .ad-banner-container .ad-banner-img {
        width: 100%;
        height: 50px;
        object-fit: cover;
    }
}
.ad-search {
    margin: 20px auto;
    max-width: 728px;
}
.ad-video_top,
.ad-video_bottom {
    margin: 15px 0;
}
.ad-video_top .ad-desktop,
.ad-video_bottom .ad-desktop {
    display: flex !important;
}
.ad-video_top .ad-mobile,
.ad-video_bottom .ad-mobile {
    display: none !important;
}
.footer-sticky-ad {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: transparent;
    text-align: center;
    padding: 8px 0;
}
.footer-sticky-ad .footer-ad-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.footer-sticky-ad .ad-item {
    flex-shrink: 0;
}
.footer-sticky-ad img {
    max-height: 90px;
    width: auto;
    border-radius: 4px;
}
body.has-footer-ad {
    padding-bottom: 110px;
}
@media (max-width: 768px) {
    body.has-footer-ad {
        padding-bottom: 160px;
    }
    .footer-sticky-ad {
        bottom: 75px; 
        padding: 5px 0;
    }
    .footer-sticky-ad img {
        max-height: 60px;
    }
    .footer-sticky-ad .footer-ad-content {
        gap: 8px;
    }
}
.video-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
}
.embed-text-banner {
    display: block;
    background: #e50914;
    color: #fff;
    text-align: center;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    letter-spacing: 0.2px;
}
a.embed-text-banner:hover {
    background: #e50914;
    color: #fff;
    text-decoration: none;
}
@media (max-width: 768px) {
    .embed-text-banner {
        font-size: 12px;
        padding: 6px 10px;
    }
}
.player-cover-overlay {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
}
.player-cover-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}
.player-cover-overlay .play-btn {
    position: relative;
    width: 80px;
    height: 80px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;
    z-index: 2;
}
.player-cover-overlay .play-btn:hover {
    transform: none;
    background: transparent;
    box-shadow: none;
}
.player-cover-overlay .play-btn i {
    font-size: 30px;
    color: white;
    margin-left: 5px;
}
.player-cover-overlay .play-btn .jw-svg-icon,
.player-cover-overlay .play-btn svg {
    width: 80px;
    height: 80px;
    fill: #fff;
    display: block;
    margin: 0;
    transition: none;
    pointer-events: none;
}
@media (max-width: 768px) {
    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .filters-form {
        flex-direction: column;
        width: 100%;
    }
    .filter-group {
        width: 100%;
    }
    .filter-select {
        width: 100%;
    }
    .filter-clear {
        width: 100%;
        justify-content: center;
    }
    .results-count {
        text-align: center;
    }
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 25px;
}
.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    background: var(--bg-tertiary);
    border-radius: 0;
    font-weight: 500;
    font-size: 12px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}
.page-link:hover,
.page-link.active {
    background: var(--accent-primary);
}
.detail-hero {
    position: relative;
    background: var(--bg-secondary);
    background-size: cover;
    background-position: center top;
    margin-top: -25px;
    padding: 0;
    min-height: 350px;
}
.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-primary) 0%, rgba(13, 13, 13, 0.85) 50%, rgba(13, 13, 13, 0.7) 100%);
}
.detail-hero-content {
    position: relative;
    padding: 50px 25px 35px;
}
.detail-info {
    max-width: 650px;
}
.detail-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 12px;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
}
.meta-item.rating {
    color: var(--warning);
    font-weight: 600;
}
.detail-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}
.category-tag {
    padding: 4px 10px;
    background: var(--bg-tertiary);
    border-radius: 0;
    font-size: 11px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}
.category-tag:hover {
    background: var(--accent-primary);
}
.detail-description {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 550px;
}
.detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 0;
    font-weight: 600;
    font-size: 12px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-primary {
    background: var(--accent-primary);
    color: white;
}
.btn-primary:hover {
    background: var(--accent-secondary);
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}
.btn-outline:hover {
    background: var(--bg-hover);
    color: var(--accent-primary);
}
.btn-lg {
    padding: 12px 22px;
    font-size: 13px;
}
.btn-block {
    width: 100%;
}
.detail-episodes {
    padding: 25px 0;
}
.tabs {
    display: flex;
    gap: 0;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}
.tab-btn {
    padding: 10px 18px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}
.tab-btn:hover,
.tab-btn.active {
    color: white;
}
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-primary);
}
.seasons-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.season-tab {
    padding: 7px 14px;
    background: var(--bg-tertiary);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}
.season-tab:hover {
    background: var(--bg-hover);
    color: white;
}
.season-tab.active {
    background: var(--accent-primary);
    color: white;
}
.season-episodes {
    display: none;
}
.season-episodes.active {
    display: block;
}
.episodes-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 8px;
}
.episode-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.episode-item:hover {
    background: var(--bg-hover);
}
.episode-item .ep-num {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 13px;
    color: var(--accent-primary);
}
.episode-item .ep-info {
    flex: 1;
}
.episode-item .ep-title {
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 2px;
}
.episode-item .ep-date {
    color: var(--text-muted);
    font-size: 10px;
}
.episode-item .ep-play {
    font-size: 16px;
    color: var(--accent-primary);
}
.watch-page {
    padding: 20px 0;
}
.watch-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 18px;
}
.watch-hero-overlay {
    background: linear-gradient(to top, var(--bg-primary) 0%, rgba(13,13,13,0.75) 100%);
    padding: 35px 25px 25px;
}
.watch-hero-content h1 {
    font-size: 22px;
    margin-bottom: 5px;
}
.watch-hero-content .episode-info {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 12px;
}
.watch-hero-content .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--text-secondary);
}
.video-wrapper {
    margin-bottom: 18px;
}
.video-player {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.video-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.video-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.video-controls .btn {
    padding: 7px 14px;
    font-size: 12px;
}
.watch-info {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 18px;
    margin-bottom: 18px;
}
.watch-section-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--accent-primary);
}
.season-episodes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ep-box {
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    font-size: 11px;
    transition: var(--transition);
    text-align: center;
    min-width: 70px;
}
.ep-box:hover,
.ep-box.current {
    background: var(--accent-primary);
}
.ep-box .num {
    font-weight: 700;
    font-size: 14px;
    display: block;
}
.ep-box .label {
    color: var(--text-muted);
    font-size: 9px;
}
.ep-box.current .label,
.ep-box:hover .label {
    color: white;
}
.related-section {
    margin-top: 35px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}
.auth-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}
.auth-box {
    width: 100%;
    max-width: 380px;
    background: var(--bg-secondary);
    border-radius: 0;
    padding: 30px;
    border: 1px solid var(--border-color);
}
.auth-header {
    text-align: center;
    margin-bottom: 25px;
}
.auth-header .logo {
    justify-content: center;
    margin-bottom: 18px;
}
.auth-header h1 {
    font-size: 22px;
    margin-bottom: 6px;
}
.auth-header p {
    color: var(--text-muted);
    font-size: 13px;
}
.auth-form .form-group {
    margin-bottom: 18px;
}
.auth-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 13px;
}
.form-control {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: var(--transition);
}
.form-control:focus {
    border-color: var(--accent-primary);
}
.auth-footer {
    text-align: center;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
}
.auth-footer a {
    color: var(--accent-primary);
    font-weight: 500;
}
.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-muted);
}
.empty-state i {
    font-size: 45px;
    margin-bottom: 18px;
}
.empty-state h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: white;
}
.site-description {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 0;
    margin-top: 30px;
    border: 1px solid var(--border-color);
}
.site-description h1 {
    color: var(--accent-primary);
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}
.site-description p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 13px;
}
.alert {
    padding: 10px 14px;
    border-radius: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.alert-success {
    background: rgba(70, 211, 105, 0.1);
    color: var(--success);
    border: 1px solid rgba(70, 211, 105, 0.2);
}
.alert-error {
    background: rgba(229, 9, 20, 0.1);
    color: var(--danger);
    border: 1px solid rgba(229, 9, 20, 0.2);
}
.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 30px 0 18px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 25px;
}
.footer-logo .logo-text {
    font-size: 22px;
}
.footer-links {
    display: flex;
    gap: 20px;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 12px;
    transition: var(--transition);
}
.footer-links a:hover {
    color: white;
}
.footer-bottom {
    text-align: center;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 12px;
}
.search-page-form {
    margin-bottom: 25px;
}
.search-page-form form {
    display: flex;
    gap: 8px;
    max-width: 550px;
}
.search-input-large {
    flex: 1;
    padding: 12px 18px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: white;
    font-size: 14px;
    outline: none;
}
.contact-page {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 25px;
}
.contact-info h2 {
    margin-bottom: 12px;
    font-size: 18px;
}
.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 13px;
}
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-method {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.contact-method i {
    font-size: 18px;
    color: var(--accent-primary);
    width: 25px;
}
.contact-form-wrapper {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: var(--radius-lg);
}
.error-page {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.error-code {
    font-size: 100px;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
}
.error-title {
    font-size: 24px;
    margin-bottom: 12px;
}
.error-message {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 13px;
}
@media (max-width: 1024px) {
    .contact-page {
        grid-template-columns: 1fr;
    }
    .site-wrapper {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .mobile-menu {
        display: block;
        position: absolute;
        top: 55px;
        right: 0;
        width: 280px;
        max-height: calc(100vh - 55px);
        background: var(--bg-secondary);
        padding: 18px;
        transform: translateX(100%);
        transition: var(--transition);
        z-index: 99;
        overflow-y: auto;
        border-left: 1px solid var(--border-color);
        box-shadow: -5px 0 20px rgba(0,0,0,0.3);
    }
    .mobile-menu.active {
        transform: translateX(0);
    }
    .mobile-nav {
        list-style: none;
    }
    .mobile-nav > li > a,
    .mobile-nav > li > form button {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px;
        font-weight: 500;
        font-size: 14px;
    }
    .mobile-nav > li > form {
        display: contents;
    }
    .mobile-nav > li > form button {
        background: none;
        border: none;
        cursor: pointer;
        font: inherit;
        color: inherit;
        width: 100%;
        text-align: left;
    }
    .mobile-dropdown-menu {
        list-style: none;
        padding-left: 25px;
        display: none;
    }
    .mobile-dropdown.active .mobile-dropdown-menu {
        display: block;
    }
    .search-form {
        display: none;
    }
    .content-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .card-info {
        padding: 30px 8px 8px;
    }
    .card-title {
        font-size: 11px;
    }
    .card-meta {
        font-size: 9px;
        gap: 4px;
    }
    .episodes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .detail-title {
        font-size: 22px;
    }
    .hero-search {
        padding: 15px 0;
    }
    .hero-logo .logo-text {
        font-size: 32px;
    }
    .hero-logo .logo-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .episodes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .card-badge {
        font-size: 8px;
        padding: 2px 5px;
    }
    .detail-title {
        font-size: 18px;
    }
    .auth-box {
        padding: 22px;
    }
    .container {
        padding: 0 15px;
    }
}
/* ============================================================
   Mobile Bottom Nav — Apple "Liquid Glass" style
   Floating pill, deep frosted glass, inner highlight border,
   soft outer shadow, animated active pill.
============================================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom) + 12px);
    z-index: 1000;
    padding: 6px;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    border-radius: 28px;
    /* frosted translucent base */
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)) ,
        rgba(20, 20, 24, 0.55);
    -webkit-backdrop-filter: saturate(180%) blur(30px);
    backdrop-filter: saturate(180%) blur(30px);
    /* inner highlight + outer shadow */
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.45),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04);
    isolation: isolate;
    overflow: hidden;
}
/* subtle specular sheen across the top */
.mobile-bottom-nav::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255,255,255,0.35) 30%,
        rgba(255,255,255,0.35) 70%,
        transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.bottom-nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    color: rgba(235, 235, 245, 0.72);
    text-decoration: none;
    gap: 3px;
    border-radius: 20px;
    transition: color .25s ease, transform .25s ease, background-color .25s ease;
    -webkit-tap-highlight-color: transparent;
}
.bottom-nav-item i {
    font-size: 20px;
    line-height: 1;
    transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.bottom-nav-item span {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.1px;
}
.bottom-nav-item:hover {
    color: #fff;
}
.bottom-nav-item:active {
    transform: scale(0.94);
}
/* Active pill — inner frosted highlight */
.bottom-nav-item.active {
    color: #ffffff;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.22),
        inset 0 -1px 0 rgba(255,255,255,0.05),
        0 4px 14px rgba(0, 0, 0, 0.25);
}
.bottom-nav-item.active i {
    transform: translateY(-1px) scale(1.05);
}
.mobile-search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 2000;
    flex-direction: column;
}
.mobile-search-overlay.active {
    display: flex;
}
.mobile-search-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.mobile-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}
.mobile-search-header h3 {
    font-size: 18px;
    font-weight: 600;
}
.close-search {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    padding: 8px;
    cursor: pointer;
}
.mobile-search-input-wrapper {
    position: relative;
    padding: 15px 20px;
}
.mobile-search-input-wrapper input {
    width: 100%;
    padding: 14px 20px;
    padding-left: 50px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 16px;
    outline: none;
}
.mobile-search-input-wrapper input:focus {
    border-color: var(--accent-primary);
}
.mobile-search-input-wrapper i {
    position: absolute;
    left: 38px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
}
.mobile-search-results {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px;
}
.mobile-search-results .search-result-item {
    padding: 12px;
    margin-bottom: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}
.mobile-search-results .search-result-poster {
    width: 50px;
    height: 75px;
}
.mobile-search-results .search-result-title {
    font-size: 14px;
}
.mobile-search-results .search-no-results,
.mobile-search-results .search-loading {
    padding: 40px 20px;
}
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: grid;
    }
    /* Floating pill için içerik altında yeterli boşluk bırak */
    .main-footer {
        padding-bottom: calc(env(safe-area-inset-bottom) + 96px);
    }
    .main-content {
        padding-bottom: calc(env(safe-area-inset-bottom) + 88px);
    }
    .header-inner {
        justify-content: space-between;
    }
    .main-nav {
        display: none;
    }
    .header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .search-wrapper {
        display: none;
    }
    .user-menu {
        display: none;
    }
    .mobile-toggle {
        display: flex;
        background: var(--bg-tertiary);
        border: 1px solid var(--border-color);
        color: var(--text-primary);
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }
}
.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-action i {
    font-size: 16px;
}
.btn-action:hover {
    background: var(--bg-hover);
}
.btn-action.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}
.btn-watchlist i {
    transition: transform 0.3s;
}
.btn-watchlist.active i {
    transform: rotate(45deg);
}
.btn-like i {
    color: var(--text-muted);
    transition: all 0.3s;
}
.btn-like:hover i,
.btn-like.active i {
    color: #e74c3c;
}
.btn-like.active {
    background: rgba(231, 76, 60, 0.15);
    border-color: #e74c3c;
}
.btn-like .like-count {
    font-size: 12px;
    color: var(--text-muted);
}
.btn-like.active .like-count {
    color: #e74c3c;
}
.series-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}
.btn-watch-first,
.btn-watch-last {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
}
.btn-watch-first {
    background: #fff;
    color: #000;
}
.btn-watch-last {
    background: var(--accent-primary);
    color: white;
}
.btn-watch-first i,
.btn-watch-last i {
    font-size: 16px;
}
.film-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}
.user-dropdown-menu {
    min-width: 200px;
}
.user-dropdown-menu a,
.user-dropdown-menu button.logout {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
}
.user-dropdown-menu a i,
.user-dropdown-menu button.logout i {
    width: 20px;
    text-align: center;
    color: var(--text-muted);
}
.user-dropdown-menu a:hover i,
.user-dropdown-menu button.logout:hover i {
    color: var(--accent-primary);
}
.user-dropdown-menu hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 5px 0;
}
.dropdown-user-info {
    display: block;
    padding: 12px 15px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    color: var(--accent-primary);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 768px) {
    .btn-action {
        padding: 8px 15px;
        font-size: 12px;
    }
    .btn-action span {
        display: none;
    }
    .btn-action i {
        font-size: 18px;
    }
    .series-hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .btn-watch-first,
    .btn-watch-last {
        justify-content: center;
        padding: 10px 15px;
        font-size: 13px;
    }
    .series-hero-actions .btn-action {
        grid-column: span 1;
    }
}
.toast-notification {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toast-notification i {
    font-size: 18px;
}
.toast-success {
    border-color: #46d369;
}
.toast-success i {
    color: #46d369;
}
.toast-error {
    border-color: var(--danger);
}
.toast-error i {
    color: var(--danger);
}
.toast-info {
    border-color: #0080ff;
}
.toast-info i {
    color: #0080ff;
}
@media (max-width: 768px) {
    .toast-notification {
        bottom: 120px;
        left: 20px;
        right: 20px;
        transform: translateX(0) translateY(100px);
    }
    .toast-notification.show {
        transform: translateX(0) translateY(0);
    }
}
.watch-title-top {
    padding: 16px 0 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}
.watch-title-top h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px 0;
}
.watch-title-top .episode-name {
    color: var(--text-muted);
    font-size: 14px;
    display: block;
}
.watch-title-top .film-year {
    color: var(--text-muted);
    font-size: 14px;
}
.watch-title-top .original-title {
    color: var(--text-muted);
    font-size: 14px;
    font-style: italic;
}
.film-page .watch-title-top {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}
.episode-navigation {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 20px;
}
.ep-nav-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.25s ease;
    flex: 1;
    min-width: 0;
}
.ep-nav-card:hover {
    background: var(--bg-secondary);
}
.ep-nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.ep-nav-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.ep-nav-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    transition: color 0.25s ease;
}
.ep-nav-detail {
    font-size: 13px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ep-nav-prev .ep-nav-info {
    text-align: left;
}
.ep-nav-next {
    justify-content: flex-end;
}
.ep-nav-next .ep-nav-info {
    text-align: right;
}
.ep-nav-all {
    flex: 0 0 auto;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 12px;
}
.ep-nav-all:hover {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    color: white;
}
.ep-nav-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}
/* Keep old nav-btn for report button */
.nav-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 13px;
    transition: var(--transition);
    text-decoration: none;
}
.nav-btn:hover {
    background: var(--accent-primary);
    color: white;
}
.nav-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
.nav-btn.all {
    background: var(--accent-primary);
    color: white;
}
.episode-panel {
    background: var(--bg-secondary);
    padding: 16px;
    margin-bottom: 20px;
}
.season-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}
.season-tab-btn {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.season-tab-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}
.season-content {
    display: none;
}
.season-content.active {
    display: block;
}
.episode-grid-small {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-tertiary);
}
.episode-grid-small::-webkit-scrollbar {
    height: 6px;
}
.episode-grid-small::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 3px;
}
.episode-grid-small::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 3px;
}
.episode-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 12px;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}
.episode-item:hover,
.episode-item.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}
.episode-item .ep-number {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    font-size: 11px;
    font-weight: 600;
}
.episode-item .ep-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.video-player-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    max-height: 80vh;
    margin: 0 auto;
}
.player-cover-overlay,
.video-player-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.preroll-ad {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10;
    display: none;
}
.player-cover-overlay {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}
.player-cover-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}
.player-cover-overlay .play-btn {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: none;
}
.player-cover-overlay .play-btn:hover {
    transform: none;
    background: transparent;
    box-shadow: none;
}
.player-cover-overlay .play-btn i {
    color: white;
    font-size: 30px;
    margin-left: 5px;
}
.player-cover-overlay .play-btn .jw-svg-icon,
.player-cover-overlay .play-btn svg {
    width: 80px;
    height: 80px;
    fill: #fff;
    display: block;
    margin: 0;
    transition: none;
    pointer-events: none;
}
.video-player-wrapper {
    z-index: 1;
}
.video-player-wrapper video,
.video-player-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    border: none;
}
#playerContent {
    position: absolute;
    inset: 0;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    overflow: hidden;
}
#playerContent > div,
#playerContent iframe,
#playerContent video,
#playerContent .pjsdiv {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
}
.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--text-muted);
}
.video-placeholder i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}
.video-placeholder p {
    font-size: 14px;
}
.preroll-ad video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}
.preroll-clickable {
    position: absolute;
    inset: 0;
    z-index: 12;
    cursor: pointer;
}
.preroll-skip-box {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    pointer-events: auto;
}
.preroll-skip-box .skip-countdown {
    display: inline-block;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
}
.preroll-skip-box .skip-btn {
    display: none;
    background: rgba(255,255,255,0.95);
    color: #000;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.preroll-skip-box .skip-btn:hover {
    background: #fff;
}
.preroll-skip-box .skip-btn.show {
    display: inline-block;
}
.preroll-skip-box .skip-countdown.hide {
    display: none;
}
.preroll-resume {
    position: absolute;
    inset: 0;
    z-index: 20;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}
.preroll-resume-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}
.preroll-resume-btn:hover {
    background: #fff;
    transform: scale(1.05);
}
.film-info-box {
    background: var(--bg-secondary);
    padding: 20px;
    margin-bottom: 20px;
}
.film-info-grid {
    display: flex;
    gap: 20px;
}
.film-poster {
    width: 160px;
    flex-shrink: 0;
}
.film-poster img {
    width: 100%;
}
.film-details {
    flex: 1;
    min-width: 0;
}
.film-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}
.film-original-title {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}
.film-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}
.film-meta .rating {
    color: var(--warning);
}
.film-meta .quality {
    background: var(--accent-primary);
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
}
.film-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.film-categories .label {
    color: var(--accent-primary);
    font-size: 12px;
}
.film-description {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 15px;
}
.film-actions {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.comments-form h3 {
    font-size: 15px;
    margin-bottom: 15px;
}
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.form-note {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 10px;
}
@media (max-width: 640px) {
    .episode-navigation {
        flex-direction: column;
        gap: 8px;
    }
    .ep-nav-card {
        padding: 12px 14px;
    }
    .ep-nav-next {
        flex-direction: row-reverse;
        justify-content: flex-start;
    }
    .ep-nav-next .ep-nav-info {
        text-align: left;
    }
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    .episode-grid-small {
        gap: 6px;
        padding: 8px;
    }
    .episode-item-wrap {
        min-width: 120px;
    }
    .episode-item {
        padding: 8px 6px;
        font-size: 11px;
    }
    .film-info-grid {
        flex-direction: column;
    }
    .film-poster {
        width: 120px;
    }
}
.series-detail-page {
    padding-bottom: 40px;
}
.series-hero {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: flex-end;
    padding-bottom: 30px;
}
.series-hero.watch-hero {
    min-height: 250px;
    padding-bottom: 20px;
}
.watch-hero .series-title {
    font-size: 24px;
    margin-bottom: 10px;
}
.watch-hero .episode-name {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
}
.series-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, var(--bg-primary) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.3) 100%);
}
.series-hero-content {
    position: relative;
    z-index: 2;
}
.series-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.series-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.btn-watch-last {
    display: inline-block;
    padding: 14px 28px;
    background: var(--accent-primary);
    color: white;
    font-weight: 600;
    font-size: 14px;
}
.btn-watch-first {
    display: inline-block;
    padding: 14px 28px;
    background: #fff;
    color: #000;
    font-weight: 600;
    font-size: 14px;
}
.series-content-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}
.series-main {
    flex: 1;
    min-width: 0;
}
.series-sidebar {
    width: 280px;
    flex-shrink: 0;
}
.series-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
}
.series-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}
.series-tabs .tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}
.series-tabs .tab-btn:hover {
    color: var(--text-primary);
}
.series-tabs .tab-btn.active {
    color: var(--text-primary);
}
.series-tabs .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-primary);
}
.season-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.season-btn {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}
.season-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}
.detail-episode-list {
    display: none;
}
.detail-episode-list.active {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.detail-episode-item {
    display: block;
    padding: 15px;
    background: var(--bg-secondary);
    transition: var(--transition);
    text-decoration: none;
}
.detail-episode-item:hover {
    background: var(--bg-tertiary);
}
.detail-episode-title {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}
.detail-episode-subtitle {
    color: var(--text-muted);
    font-size: 12px;
}
/* Episode watch tick */
.episode-item-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    transition: border-color 0.2s;
    flex-shrink: 0;
    min-width: 140px;
}
.episode-item-wrap:hover {
    border-color: var(--accent-primary);
}
.episode-item-wrap .episode-item {
    border: none;
    border-radius: 0;
    flex: 1;
}
.episode-item-wrap .ep-watch-tick {
    border-top: 1px solid var(--border-color);
}
.detail-episode-item-wrap {
    display: flex;
    align-items: stretch;
    position: relative;
}
.detail-episode-item-wrap .detail-episode-item {
    flex: 1;
    min-width: 0;
}
.ep-watch-tick {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 28px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 11px;
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.2s ease;
    gap: 4px;
}
.detail-episode-item-wrap .ep-watch-tick {
    width: 40px;
    height: auto;
    border-left: 1px solid var(--border-color);
}
.ep-watch-tick:hover {
    opacity: 1;
    color: #fff;
    background: rgba(220, 38, 38, 0.3);
}
.ep-watch-tick.ticked {
    opacity: 1;
    color: #fff;
    background: #dc2626;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.5px;
}
.sidebar-info {
    background: transparent;
}
.sidebar-cast {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.sidebar-cast h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.cast-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cast-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.actor-name {
    font-size: 13px;
    color: var(--text-primary);
}
.actor-role {
    font-size: 11px;
    color: var(--text-muted);
}
.film-cast {
    margin-top: 15px;
}
.film-cast .label {
    font-size: 13px;
    color: var(--text-muted);
    margin-right: 10px;
}
.cast-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.cast-tag {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}
.info-row:last-child {
    border-bottom: none;
}
.info-label {
    color: var(--text-muted);
    font-size: 13px;
}
.info-value {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    text-align: right;
}
.info-value.categories a {
    color: var(--accent-primary);
    display: block;
}
.info-value.categories a:hover {
    text-decoration: underline;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.recommended-section {
    margin-top: 50px;
}
.recommended-section .section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}
.recommended-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}
.recommended-series {
    grid-template-columns: repeat(5, 1fr);
}
.related-movies {
    grid-template-columns: repeat(8, 1fr);
}
@media (max-width: 768px) {
    .recommended-series .recommended-card[data-index="5"] {
        display: none;
    }
}
@media (max-width: 768px) {
    .related-movies .content-card[data-index="5"],
    .related-movies .content-card[data-index="6"],
    .related-movies .content-card[data-index="7"],
    .related-movies .content-card[data-index="8"] {
        display: none;
    }
}
.recommended-card {
    display: block;
    overflow: hidden;
    transition: var(--transition);
}
.recommended-card:hover {
    transform: translateY(-5px);
}
.recommended-poster {
    position: relative;
    aspect-ratio: 2/3;
}
.recommended-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.recommended-poster .poster-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--text-muted);
}
.recommended-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 12px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
}
.recommended-info h4 {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.recommended-info .year {
    font-size: 11px;
    color: var(--text-muted);
}
.no-episodes {
    padding: 40px;
    text-align: center;
    background: var(--bg-secondary);
    color: var(--text-muted);
}
@media (max-width: 992px) {
    .series-content-wrapper {
        flex-direction: column;
    }
    .series-sidebar {
        width: 100%;
        order: -1;
    }
    .sidebar-info {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
    .info-row {
        flex: 1;
        min-width: 120px;
        flex-direction: column;
        gap: 5px;
        border-bottom: none;
        padding: 10px;
        background: var(--bg-secondary);
    }
    .info-value {
        text-align: left;
    }
    .recommended-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .related-movies {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 768px) {
    .series-hero {
        min-height: 300px;
    }
    .series-title {
        font-size: 24px;
    }
    .detail-episode-list.active {
        grid-template-columns: 1fr;
    }
    .recommended-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .related-movies {
        grid-template-columns: repeat(4, 1fr);
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .season-buttons {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }
    .season-btn {
        white-space: nowrap;
    }
}
li.content-card {
    list-style: none;
}
.content-grid {
    list-style: none;
    padding: 0;
    margin: 0;
}
.report-bar {
    display: flex;
    justify-content: flex-end;
    margin: 12px 0;
}
.report-bar .btn-report {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-report,
.nav-btn.report {
    background: var(--accent-gradient) !important;
    color: white !important;
    border: none !important;
}
.btn-report:hover,
.nav-btn.report:hover {
    background: linear-gradient(135deg, #b20710 0%, #8b0000 100%) !important;
}
.report-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.report-btn {
    background: #1a1a1a;
    border: 2px solid #2a2a2a;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.report-btn:hover {
    border-color: #e50914;
    background: #252525;
}
.report-btn.selected {
    border-color: #e50914;
    background: rgba(229, 9, 20, 0.15);
}
.report-btn i {
    color: #e50914;
}
.device-section { margin-top:15px; border-top:1px solid #2a2a2a; padding-top:12px; }
.device-label { font-size:11px; color:#6b7280; margin-bottom:6px; text-align:left; }
.device-group { display:flex; gap:6px; margin-bottom:8px; flex-wrap:wrap; }
.device-btn { background:#1a1a1a; border:2px solid #2a2a2a; color:#fff; padding:4px 10px; border-radius:6px; font-size:11px; cursor:pointer; display:inline-flex; align-items:center; gap:4px; transition:all .2s; }
.device-btn:hover { border-color:#3b82f6; }
.device-btn.selected { border-color:#3b82f6; background:rgba(59,130,246,0.15); color:#60a5fa; }
.swal2-container {
    z-index: 99999 !important;
}
.swal2-popup {
    background: #0d0d0d !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 16px !important;
    color: #fff !important;
    padding: 24px !important;
}
.swal2-title {
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    padding: 0 !important;
    margin-bottom: 8px !important;
}
.swal2-html-container {
    color: #a0a0a0 !important;
    font-size: 14px !important;
    margin: 16px 0 !important;
    padding: 0 !important;
}
.swal2-actions {
    margin-top: 20px !important;
    gap: 12px !important;
}
.swal2-styled {
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}
.swal2-confirm {
    background: linear-gradient(135deg, #e50914 0%, #b20710 100%) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.3) !important;
}
.swal2-confirm:hover {
    background: linear-gradient(135deg, #ff1a1a 0%, #e50914 100%) !important;
    transform: translateY(-1px) !important;
}
.swal2-confirm:focus {
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.4) !important;
}
.swal2-cancel {
    background: #1a1a1a !important;
    border: 1px solid #333 !important;
    color: #fff !important;
}
.swal2-cancel:hover {
    background: #252525 !important;
    border-color: #444 !important;
}
.swal2-cancel:focus {
    box-shadow: none !important;
}
.swal2-close {
    color: #666 !important;
    font-size: 28px !important;
}
.swal2-close:hover {
    color: #fff !important;
}
.swal2-validation-message {
    background: rgba(229, 9, 20, 0.1) !important;
    color: #ff6b6b !important;
    border: none !important;
    padding: 10px 16px !important;
    margin-top: 10px !important;
}
.swal2-icon {
    margin: 0 auto 16px !important;
    border-width: 3px !important;
}
.swal2-icon.swal2-success {
    border-color: #22c55e !important;
    color: #22c55e !important;
}
.swal2-icon.swal2-success .swal2-success-line-tip,
.swal2-icon.swal2-success .swal2-success-line-long {
    background-color: #22c55e !important;
}
.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(34, 197, 94, 0.3) !important;
}
.swal2-icon.swal2-error {
    border-color: #e50914 !important;
}
.swal2-icon.swal2-error .swal2-x-mark-line-left,
.swal2-icon.swal2-error .swal2-x-mark-line-right {
    background-color: #e50914 !important;
}
.swal2-icon.swal2-warning {
    border-color: #f59e0b !important;
    color: #f59e0b !important;
}
.swal2-icon.swal2-info {
    border-color: #3b82f6 !important;
    color: #3b82f6 !important;
}
.swal2-loader {
    border-color: #e50914 transparent #e50914 transparent !important;
}
.swal2-timer-progress-bar {
    background: #e50914 !important;
}
.swal2-timer-progress-bar {
    background: #e50914 !important;
}
.profile-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-top: 20px;
}
.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    height: fit-content;
}
.profile-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #ff6b6b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
}
.profile-card h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.profile-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 5px;
}
.profile-date {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
}
.profile-forms {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.profile-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 25px;
}
.profile-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}
.profile-section .form-group {
    margin-bottom: 20px;
}
.profile-section .form-group:last-of-type {
    margin-bottom: 25px;
}
.profile-section .form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}
.profile-section .form-control {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.2s ease;
}
.profile-section .form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}
.profile-section .form-control:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.profile-section .btn {
    margin-top: 10px;
}
@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
    .profile-card {
        padding: 25px 20px;
    }
    .profile-avatar {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    .profile-section {
        padding: 20px 15px;
    }
}
.user-content-page {
    padding: 30px 0;
}
.user-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.user-content-header .page-title {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}
.user-content-header .page-title i {
    color: var(--accent-primary);
}
.user-content-header .content-count {
    background: var(--bg-tertiary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}
.user-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}
.user-content-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.user-content-card .card-link {
    display: block;
}
.user-content-card .card-poster {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
}
.user-content-card .card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.user-content-card .card-type {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--accent-primary);
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.user-content-card .card-type.series {
    background: #00b894;
}
.user-content-card .card-overlay {
    display: none;
}
.user-content-card .card-play {
    display: none;
}
.user-content-card .card-info {
    padding: 12px;
}
.user-content-card .card-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-primary);
}
.user-content-card .card-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--text-muted);
}
.user-content-card .card-meta i {
    color: #f5c518;
}
.user-content-card .btn-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}
.user-content-empty {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-color);
}
.user-content-empty i {
    font-size: 64px;
    color: var(--text-muted);
    margin-bottom: 20px;
    opacity: 0.5;
}
.user-content-empty h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.user-content-empty p {
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto 25px;
    font-size: 14px;
}
.user-content-empty .empty-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}
@media (max-width: 768px) {
    .user-content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .user-content-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .user-content-empty .empty-actions {
        flex-direction: column;
    }
}
/* ===== Public Profile - Twitter Style ===== */
.public-profile-page {
    padding: 0;
    max-width: 700px;
    margin: 0 auto;
}
.profile-banner {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.profile-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    pointer-events: none;
}
.profile-header {
    position: relative;
    background: var(--bg-card);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding: 0 30px 25px;
    text-align: center;
}
.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #ff6b6b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin: -60px auto 15px;
    position: relative;
    z-index: 2;
    border: 4px solid var(--accent-primary);
    box-shadow: 0 0 0 4px var(--bg-card), 0 4px 20px rgba(229, 9, 20, 0.4);
}
.profile-username {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}
.profile-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}
.profile-badge-vip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.profile-member-date {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.profile-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0;
    margin: 0 -30px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-card);
}
.stat-item {
    text-align: center;
    flex: 1;
    padding: 18px 10px;
    transition: background 0.2s ease;
    cursor: default;
    border-right: 1px solid var(--border-color);
}
.stat-item:last-child {
    border-right: none;
}
.stat-item:hover {
    background: rgba(229, 9, 20, 0.05);
}
.stat-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1.2;
}
.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}
.profile-actions {
    margin-top: 20px;
}
.profile-actions .btn {
    border-radius: 20px;
    padding: 8px 24px;
    font-size: 14px;
}
.profile-private-notice {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
}
.profile-private-notice i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    opacity: 0.5;
}
.profile-private-notice p {
    font-size: 18px;
    font-weight: 500;
}
.profile-tabs-wrapper {
    background: var(--bg-card);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    overflow: hidden;
}
.comment-author {
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.comment-author:hover {
    color: var(--accent-primary);
}
/* Verified Badge */
.verified-badge {
    color: #3b82f6;
    font-size: 14px;
    margin-left: 4px;
    display: inline-flex;
    align-items: center;
}
.verified-badge i {
    filter: drop-shadow(0 0 2px rgba(59, 130, 246, 0.3));
}
.comment-header .verified-badge {
    font-size: 13px;
    margin-left: 2px;
}
.profile-username .verified-badge {
    font-size: 20px;
    margin-left: 6px;
}
.profile-card h2 .verified-badge {
    font-size: 16px;
}
.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.profile-avatar img,
.profile-card .profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
/* Banner selection grid in settings */
.banner-selection-section {
    margin-bottom: 30px;
}
.banner-preview {
    width: 100%;
    height: 150px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
}
.banner-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-preview .banner-preview-label {
    position: absolute;
    bottom: 8px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
}
.backdrop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
    padding: 5px;
}
.backdrop-grid::-webkit-scrollbar {
    width: 6px;
}
.backdrop-grid::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}
.backdrop-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
    border: 3px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.backdrop-item:hover {
    border-color: var(--text-muted);
    transform: scale(1.02);
}
.backdrop-item.selected {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px var(--accent-primary);
}
.backdrop-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.backdrop-item .backdrop-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 8px 6px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.banner-save-status {
    display: inline-block;
    margin-left: 10px;
    font-size: 13px;
    color: #22c55e;
    opacity: 0;
    transition: opacity 0.3s;
}
.banner-save-status.show {
    opacity: 1;
}
@media (max-width: 768px) {
    .public-profile-page {
        margin: 0;
    }
    .profile-banner {
        height: 180px;
        border-radius: 0;
    }
    .profile-header {
        padding: 0 15px 20px;
        border-left: none;
        border-right: none;
    }
    .profile-avatar-large {
        width: 90px;
        height: 90px;
        font-size: 36px;
        margin-top: -45px;
        border-width: 3px;
    }
    .profile-username {
        font-size: 22px;
    }
    .profile-stats {
        margin: 0 -15px;
        gap: 0;
    }
    .stat-value {
        font-size: 18px;
    }
    .profile-tabs-wrapper {
        border-left: none;
        border-right: none;
        border-radius: 0;
    }
    .backdrop-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}
.static-page-content {
    background: var(--bg-secondary);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    line-height: 1.8;
}
.static-page-content h1,
.static-page-content h2,
.static-page-content h3,
.static-page-content h4 {
    margin: 20px 0 15px;
    color: var(--text-primary);
}
.static-page-content h1:first-child,
.static-page-content h2:first-child {
    margin-top: 0;
}
.static-page-content p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}
.static-page-content a {
    color: var(--accent-primary);
}
.static-page-content a:hover {
    text-decoration: underline;
}
.static-page-content ul,
.static-page-content ol {
    margin: 15px 0;
    padding-left: 25px;
    color: var(--text-secondary);
}
.static-page-content li {
    margin-bottom: 8px;
}
.static-page-content img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
}
.static-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}
.static-page-content table th,
.static-page-content table td {
    padding: 10px;
    border: 1px solid var(--border-color);
    text-align: left;
}
.static-page-content table th {
    background: var(--bg-tertiary);
}
.static-page-content blockquote {
    margin: 15px 0;
    padding: 15px 20px;
    background: var(--bg-tertiary);
    border-left: 3px solid var(--accent-primary);
    font-style: italic;
}
.static-page-content hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 25px 0;
}
.static-page-content code {
    background: var(--bg-tertiary);
    padding: 2px 6px;
    font-family: monospace;
    border-radius: 3px;
}
.static-page-content pre {
    background: var(--bg-tertiary);
    padding: 15px;
    overflow-x: auto;
    margin: 15px 0;
    border-radius: var(--radius-sm);
}
.platform-header {
    display: flex;
    align-items: center;
    gap: 15px;
}
.platform-header img {
    height: 50px;
    object-fit: contain;
}
.section-title .count {
    font-size: 14px;
    opacity: 0.7;
    font-weight: normal;
}
.notification-dropdown {
    position: relative;
    z-index: 1001;
}
.notification-bell {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
    color: var(--text-muted);
    font-size: 14px;
}
.notification-bell:hover {
    background: var(--bg-hover);
    color: white;
}
.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent-primary);
    color: white;
    font-size: 10px;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
.notification-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 380px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1002;
}
.notification-dropdown.active .notification-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 14px;
}
.notification-header a {
    font-size: 12px;
    color: var(--accent-primary);
    font-weight: normal;
}
.notification-header a:hover {
    text-decoration: underline;
}
.notification-list {
    max-height: 400px;
    overflow-y: auto;
}
.notification-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 12px 15px;
    padding-right: 40px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
    position: relative;
}
.notification-item:hover {
    background: var(--bg-hover);
}
.notification-item.unread {
    background: rgba(229, 9, 20, 0.05);
}
.notification-item.unread:hover {
    background: rgba(229, 9, 20, 0.1);
}
.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
}
.notification-item.unread .notification-icon {
    background: var(--accent-primary);
    color: white;
}
.notification-content {
    flex: 1;
    min-width: 0;
}
.notification-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2px;
    line-height: 1.3;
}
.notification-time {
    font-size: 11px;
    color: var(--text-muted);
}
.notification-link {
    display: flex;
    gap: 12px;
    flex: 1;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
}
.notification-message {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 4px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.notification-delete {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.2s;
    z-index: 10;
    pointer-events: auto;
}
.notification-item:hover .notification-delete {
    opacity: 1;
}
.notification-delete:hover {
    color: #e50914;
    background: rgba(229, 9, 20, 0.1);
    border-radius: 50%;
}
.notification-reply-area {
    width: 100%;
    padding: 0 0 4px;
}
.notification-reply-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: pointer;
    padding: 3px 10px;
    font-size: 11px;
    border-radius: 4px;
}
.notification-reply-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}
.notification-reply-form {
    margin-top: 6px;
}
.notification-reply-input {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 12px;
    resize: none;
    font-family: inherit;
}
.notification-reply-input:focus {
    outline: none;
    border-color: var(--primary);
}
.notification-reply-send {
    margin-top: 4px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 11px;
    cursor: pointer;
}
.notification-reply-send:hover {
    opacity: 0.9;
}
.notification-empty {
    padding: 30px 15px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}
.notification-empty i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
    opacity: 0.5;
}
.notification-footer {
    padding: 10px 15px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}
.notification-footer a {
    font-size: 13px;
    color: var(--accent-primary);
}
.notification-footer a:hover {
    text-decoration: underline;
}
.notification-loading {
    padding: 30px;
    text-align: center;
    color: var(--text-muted);
}
.user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}
@media (max-width: 768px) {
    .notification-dropdown-menu {
        width: 290px;
        right: -50px;
    }
}
.user-avatar.ua-p7x {
    position: relative;
    border: 2px solid #f59e0b;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.1));
}
.user-avatar .ic-k3m {
    position: absolute;
    top: -8px;
    right: -4px;
    color: #f59e0b;
    font-size: 10px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.dropdown-user-info .fa-crown {
    margin-left: 5px;
}
.pbs-r9n {
    animation: ax4q 2s ease-in-out infinite alternate;
}
@keyframes ax4q {
    from { box-shadow: 0 0 10px rgba(245, 158, 11, 0.3); }
    to { box-shadow: 0 0 20px rgba(245, 158, 11, 0.6); }
}

/* ============================================
   PUBLIC PROFILE PAGE
   ============================================ */
.profile-private-notice {
    margin-top: 20px;
    padding: 30px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--text-muted);
}
.profile-private-notice i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}
.profile-private-notice p {
    font-size: 16px;
    margin: 0;
}
.profile-tabs {
    display: flex;
    gap: 10px;
    margin: 30px 0 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0;
    max-width: 100%;
}
.profile-tab {
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s;
}
.profile-tab:hover {
    color: var(--text-primary);
}
.profile-tab.active {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
}
.profile-tab .tab-count {
    background: var(--bg-tertiary);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}
.profile-tab.active .tab-count {
    background: var(--accent-primary);
    color: #fff;
}
.profile-tab-content {
    display: none;
    padding-top: 20px;
}
.profile-tab-content.active {
    display: block;
}
.profile-tab-content .user-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}
@media (max-width: 768px) {
    .profile-tabs {
        justify-content: center;
    }
    .profile-tab {
        padding: 10px 15px;
        font-size: 13px;
    }
    .profile-tab-content .user-content-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }
}

/* Movie Series Card */
.movie-series-card {
    display: flex;
    background: var(--bg-secondary, #1a1a2e);
    border-radius: 12px;
    overflow: hidden;
    margin: 25px 0;
    border: 1px solid rgba(255,255,255,0.08);
}
.movie-series-poster {
    position: relative;
    width: 200px;
    min-height: 200px;
    flex-shrink: 0;
    overflow: hidden;
}
.movie-series-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.movie-series-poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e50914 0%, #8b0000 100%);
    font-size: 48px;
    color: rgba(255,255,255,0.3);
}
.movie-series-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.movie-series-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #e50914;
}
.movie-series-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
.movie-series-list {
    flex: 1;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 280px;
}
.movie-series-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    font-size: 14px;
}
.movie-series-item:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}
.movie-series-item.active {
    background: rgba(229,9,20,0.12);
    color: #e50914;
    font-weight: 600;
}
.movie-series-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}
.movie-series-item.active .movie-series-num {
    background: #e50914;
    color: #fff;
}
.movie-series-item-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.movie-series-item-year {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .movie-series-card {
        flex-direction: column;
    }
    .movie-series-poster {
        width: 100%;
        min-height: 140px;
        max-height: 160px;
    }
    .movie-series-list {
        max-height: none;
    }
}

.ep-rate {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 12px 16px;
    margin: 16px 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    -webkit-backdrop-filter: saturate(140%) blur(8px);
    backdrop-filter: saturate(140%) blur(8px);
    position: relative;
}
.ep-rate.is-loading { opacity: 0.6; pointer-events: none; }
.ep-rate-label {
    font-size: 13px;
    font-weight: 600;
    color: #cfd3dc;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}
.ep-rate-stars {
    display: inline-flex;
    gap: 4px;
    line-height: 1;
}
.ep-rate-star {
    background: transparent;
    border: 0;
    padding: 4px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.28);
    font-size: 18px;
    transition: color 0.15s ease, transform 0.15s ease;
    line-height: 1;
}
.ep-rate-star:hover { transform: scale(1.12); }
.ep-rate-star.is-on { color: #ffd465; }
.ep-rate-star:focus-visible {
    outline: 2px solid #7c9aff;
    outline-offset: 2px;
    border-radius: 4px;
}
.ep-rate-meta {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    color: #d6d9e0;
    font-size: 13px;
}
.ep-rate-avg { font-weight: 700; color: #fff; font-size: 15px; }
.ep-rate-sep { color: rgba(255, 255, 255, 0.35); }
.ep-rate-count { color: #a8adb8; }
.ep-rate-mine { color: #ffd465; font-weight: 700; }
.ep-rate-mine.is-set::before { content: 'Puanın: '; color: #a8adb8; font-weight: 500; }
.ep-rate-clear {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cfd3dc;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}
.ep-rate-clear:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.ep-rate-msg {
    font-size: 12px;
    color: #9ceabc;
    margin-left: auto;
    min-height: 16px;
}
.ep-rate-msg.is-error { color: #ff8b8b; }
@media (max-width: 640px) {
    .ep-rate { flex-direction: column; align-items: flex-start; gap: 8px; }
    .ep-rate-msg { margin-left: 0; }
}

.col-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.col-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.col-card-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #1e2531 0%, #2b3243 100%);
    background-size: cover;
    background-position: center;
    color: rgba(255, 255, 255, 0.25);
    font-size: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.col-card-cover.is-empty i { opacity: 0.4; }
.col-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #d6d9e0;
    font-size: 11px;
    font-weight: 600;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.col-card-badge.is-public { color: #b0e6ff; }
.col-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.col-card-title { margin: 0; font-size: 16px; font-weight: 600; }
.col-card-title a { color: #fff; text-decoration: none; }
.col-card-title a:hover { color: #7c9aff; }
.col-card-meta { margin: 0; color: #a8adb8; font-size: 12px; }
.col-card-desc { margin: 4px 0 0; color: #cfd3dc; font-size: 13px; line-height: 1.4; }
.col-card-actions { margin-top: 10px; display: flex; gap: 8px; }
.btn-mini {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cfd3dc;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn-mini:hover { color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.col-delete:hover { color: #ff8b8b; border-color: rgba(255, 139, 139, 0.4); }

.col-hero {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 22px;
    margin: 16px 0 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}
.col-hero-owner { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.col-hero-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: #2b3243;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
}
.col-hero-avatar-fallback { text-transform: uppercase; }
.col-hero-owner-name { color: #cfd3dc; font-weight: 500; text-decoration: none; }
.col-hero-owner-name:hover { color: #7c9aff; }
.col-hero-title { margin: 0; font-size: 26px; font-weight: 700; display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.col-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #d6d9e0;
    font-size: 12px;
    font-weight: 500;
}
.col-hero-badge.is-public { color: #b0e6ff; background: rgba(124, 154, 255, 0.15); }
.col-hero-desc { color: #cfd3dc; margin: 12px 0 0; line-height: 1.5; max-width: 720px; }
.col-hero-meta { color: #a8adb8; font-size: 13px; margin: 10px 0 0; }

.col-item-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.15s ease, background 0.15s ease;
}
.user-content-card { position: relative; }
.user-content-card:hover .col-item-remove { opacity: 1; }
.col-item-remove:hover { background: #d64545; }

.col-modal {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.col-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 6, 10, 0.72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.col-modal-dialog {
    position: relative;
    background: #14171d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 40px);
    overflow: hidden;
}
.col-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.col-modal-header h2 { margin: 0; font-size: 18px; }
.col-modal-close {
    background: transparent;
    border: 0;
    color: #a8adb8;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
}
.col-modal-close:hover { color: #fff; }
.col-modal-body { padding: 20px; overflow-y: auto; }
.col-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; color: #cfd3dc; font-size: 13px; }
.col-field.is-inline { flex-direction: row; align-items: center; gap: 8px; }
.col-field input[type="text"], .col-field textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    padding: 9px 12px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
}
.col-field input[type="text"]:focus, .col-field textarea:focus {
    outline: none;
    border-color: #7c9aff;
    background: rgba(255, 255, 255, 0.08);
}
.col-form-msg { min-height: 18px; font-size: 12px; color: #9ceabc; margin-bottom: 10px; }
.col-form-msg.is-error { color: #ff8b8b; }
.col-modal-footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }

.col-popover {
    position: absolute;
    z-index: 3500;
    width: 300px;
    max-width: calc(100vw - 20px);
    background: #14171d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}
.col-popover-head {
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #cfd3dc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.col-popover-body { max-height: 260px; overflow-y: auto; padding: 6px; }
.col-popover-loading, .col-popover-empty { padding: 14px; color: #a8adb8; font-size: 13px; text-align: center; }
.col-popover-empty a { color: #7c9aff; }
.col-popover-row {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 8px 10px;
    color: #d6d9e0;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border-radius: 6px;
}
.col-popover-row:hover { background: rgba(255, 255, 255, 0.06); }
.col-popover-name { flex: 1; text-align: left; }
.col-popover-count { color: #7d8291; font-size: 12px; }
.col-popover-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: transparent;
    font-size: 10px;
}
.col-popover-row.is-in .col-popover-check {
    background: #7c9aff;
    border-color: #7c9aff;
    color: #fff;
}
.col-popover-foot { border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 8px; }
.col-popover-new {
    width: 100%;
    background: rgba(124, 154, 255, 0.14);
    border: 1px solid rgba(124, 154, 255, 0.3);
    color: #b0c4ff;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.col-popover-new:hover { background: rgba(124, 154, 255, 0.22); color: #fff; }

.col-add-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cfd3dc;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.col-add-btn:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.has-col-modal { overflow: hidden; }

.comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.comments-sort {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 3px;
}
.comments-sort-btn {
    background: transparent;
    border: 0;
    color: #a8adb8;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}
.comments-sort-btn:hover { color: #fff; }
.comments-sort-btn.is-active {
    background: rgba(124, 154, 255, 0.18);
    color: #b0c4ff;
}
.comments-loader {
    padding: 16px;
    color: #a8adb8;
    font-size: 13px;
    text-align: center;
}
.comment-char-count {
    color: #a8adb8;
    font-size: 12px;
    margin-right: auto;
    padding-left: 8px;
}

.comment-text.comment-spoiler {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
}
.comment-text.comment-spoiler p {
    filter: blur(6px);
    user-select: none;
    transition: filter 0.3s ease;
    padding: 0;
    margin: 0;
}
.comment-text.comment-spoiler .spoiler-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    z-index: 1;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.comment-text.comment-spoiler .spoiler-overlay i {
    font-size: 14px;
    color: #ffb84d;
}
.comment-text.comment-spoiler.is-revealed p { filter: none; user-select: text; }
.comment-text.comment-spoiler.is-revealed .spoiler-overlay { display: none; }

.comment-item[data-score] .like-btn.is-active {
    color: #7cd67c;
    border-color: rgba(124, 214, 124, 0.35);
}
.comment-item[data-score] .dislike-btn.is-active {
    color: #ff8b8b;
    border-color: rgba(255, 139, 139, 0.35);
}

.replies-container {
    margin-top: 12px;
    padding-left: 16px;
    border-left: 2px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.comment-reply .comment-item {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    padding: 10px 12px;
}
.no-replies {
    color: #a8adb8;
    font-size: 13px;
    padding: 6px 4px;
    margin: 0;
}

.episode-navigation.ep-nav-thin { margin: 12px 0; }
.episode-navigation.ep-nav-thin .ep-nav-card {
    min-height: 44px;
    padding: 6px 12px;
    transition: none;
}
.episode-navigation.ep-nav-thin .ep-nav-card:hover { transform: none; }
.episode-navigation.ep-nav-thin .ep-nav-arrow { font-size: 13px; }
.episode-navigation.ep-nav-thin .ep-nav-label { font-size: 12px; line-height: 1.2; }
.episode-navigation.ep-nav-thin .ep-nav-detail { font-size: 11px; line-height: 1.2; }
.episode-navigation.ep-nav-thin .ep-nav-info { gap: 2px; }

.tw-profile {
    width: 100%;
    background: #0b0e14;
    min-height: calc(100vh - 60px);
}

.tw-cover {
    height: 260px;
    background: linear-gradient(135deg, #4a0e12 0%, #a01620 60%, #d61f2c 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 3px solid #d61f2c;
}
.tw-cover.is-empty { background: linear-gradient(135deg, #4a0e12 0%, #a01620 60%, #d61f2c 100%); }

.tw-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 32px 0;
    min-height: 68px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}
.tw-avatar-wrap { margin-top: -90px; }
.tw-avatar {
    width: 168px;
    height: 168px;
    border-radius: 50%;
    background: #14171d;
    border: 5px solid #0b0e14;
    box-shadow: 0 0 0 2px #d61f2c;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 56px;
    font-weight: 700;
}
.tw-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tw-avatar-fallback { text-transform: uppercase; }

.tw-header-actions {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding-top: 16px;
}
.tw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    transition: none;
}
.tw-btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
}
.tw-btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }
.tw-btn-solid {
    background: #d61f2c;
    color: #fff;
    border: 1px solid #d61f2c;
}
.tw-btn-solid:hover { background: #b91723; border-color: #b91723; }
.tw-btn-solid:disabled { opacity: 0.55; cursor: not-allowed; }
.tw-btn-icon {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    padding: 0;
}
.tw-btn-icon:hover { background: rgba(214, 31, 44, 0.15); border-color: #d61f2c; color: #ff8b8b; }

.tw-identity {
    padding: 14px 32px 20px;
    max-width: 1400px;
    margin: 0 auto;
}
.tw-name {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.15;
}
.tw-verified { color: #d61f2c; font-size: 24px; }
.tw-handle { margin: 4px 0 0; color: #b8bcc4; font-size: 16px; font-weight: 500; }
.tw-bio { color: #e6e9ef; font-size: 16px; margin: 14px 0 0; line-height: 1.5; white-space: pre-wrap; word-break: break-word; max-width: 820px; }

.tw-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 14px;
    color: #b8bcc4;
    font-size: 14px;
}
.tw-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.tw-meta-item i { font-size: 13px; color: #ff5a67; }
.tw-meta-item a { color: #ff5a67; text-decoration: none; font-weight: 500; }
.tw-meta-item a:hover { text-decoration: underline; }

.tw-counts { display: flex; gap: 24px; margin-top: 14px; font-size: 15px; color: #b8bcc4; }
.tw-count strong { color: #fff; font-weight: 700; margin-right: 4px; }

.tw-tabs {
    display: flex;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(11, 14, 20, 0.9);
    position: sticky;
    top: 0;
    z-index: 20;
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    backdrop-filter: saturate(160%) blur(12px);
    padding: 0 32px;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: center;
}
.tw-tab {
    position: relative;
    background: transparent;
    border: 0;
    padding: 18px 32px;
    color: #b8bcc4;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tw-tab:hover { color: #fff; }
.tw-tab.is-active { color: #fff; font-weight: 700; }
.tw-tab-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 4px;
    width: 0;
    background: #d61f2c;
    border-radius: 999px 999px 0 0;
}
.tw-tab.is-active .tw-tab-indicator { width: 60px; }

.tw-tab-panel {
    padding: 24px 32px 40px;
    max-width: 1400px;
    margin: 0 auto;
}
.tw-tab-panel[hidden] { display: none; }

.tw-empty {
    text-align: center;
    padding: 80px 16px;
    color: #b8bcc4;
}
.tw-empty i { font-size: 44px; color: #d61f2c; margin-bottom: 14px; opacity: 0.5; }
.tw-empty h3 { margin: 0 0 6px; color: #fff; font-size: 22px; font-weight: 700; }
.tw-empty p { margin: 0; font-size: 15px; color: #b8bcc4; }

.tw-private {
    text-align: center;
    padding: 80px 16px;
    color: #b8bcc4;
}
.tw-private i { font-size: 36px; color: #d61f2c; margin-bottom: 14px; opacity: 0.6; }
.tw-private h2 { margin: 0 0 6px; color: #fff; font-size: 24px; }

.tw-profile .user-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
}

@media (max-width: 900px) {
    .tw-cover { height: 200px; }
    .tw-avatar { width: 132px; height: 132px; font-size: 44px; border-width: 4px; }
    .tw-avatar-wrap { margin-top: -70px; }
    .tw-header, .tw-identity, .tw-tabs, .tw-tab-panel { padding-left: 20px; padding-right: 20px; }
    .tw-name { font-size: 26px; }
}
@media (max-width: 640px) {
    .tw-cover { height: 160px; }
    .tw-avatar { width: 100px; height: 100px; font-size: 34px; border-width: 3px; }
    .tw-avatar-wrap { margin-top: -55px; }
    .tw-name { font-size: 22px; }
    .tw-btn { padding: 7px 14px; font-size: 13px; }
    .tw-btn-icon { width: 34px; height: 34px; }
    .tw-header, .tw-identity, .tw-tabs, .tw-tab-panel { padding-left: 14px; padding-right: 14px; }
    .tw-tab { padding: 14px 18px; }
}

.tw-edit .tw-tabs { justify-content: flex-start; }
.tw-vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 7px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #1a0f00;
    font-size: 13px;
    font-weight: 700;
}
.tw-vip-badge i { color: #1a0f00; }

.tw-alert {
    max-width: 1400px;
    margin: 12px auto 0;
    padding: 12px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}
.tw-alert-success {
    background: rgba(45, 200, 90, 0.12);
    color: #7fe0a0;
    border: 1px solid rgba(45, 200, 90, 0.32);
}
.tw-alert-error {
    background: rgba(214, 31, 44, 0.14);
    color: #ff8b8b;
    border: 1px solid rgba(214, 31, 44, 0.42);
}

.tw-form {
    max-width: 640px;
    margin: 0 auto;
    padding: 8px 0 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.tw-form-secondary {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.tw-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.tw-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.tw-form-group label {
    font-size: 13px;
    color: #b8bcc4;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.tw-form-group input[type="text"],
.tw-form-group input[type="email"],
.tw-form-group input[type="password"],
.tw-form-group textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;
    outline: none;
    transition: none;
    resize: vertical;
}
.tw-form-group input:focus,
.tw-form-group textarea:focus {
    border-color: #d61f2c;
    background: rgba(255, 255, 255, 0.06);
}
.tw-form-group input[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    color: #d6d9e0;
}
.tw-form-hint {
    font-size: 12px;
    color: #7a828e;
}
.tw-form-hint strong { color: #ff8b8b; }
.tw-form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 4px;
}
.tw-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #e6e9ef;
    font-size: 15px;
    font-weight: 500;
}
.tw-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 5px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}
.tw-checkbox input[type="checkbox"]:checked {
    background: #d61f2c;
    border-color: #d61f2c;
}
.tw-checkbox input[type="checkbox"]:checked::after {
    content: '';
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.tw-banner-preview {
    position: relative;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, #4a0e12, #a01620);
    display: flex;
    align-items: center;
    justify-content: center;
}
.tw-banner-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tw-banner-preview-empty {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    font-weight: 500;
}
.tw-backdrop-none {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 22px;
}
.tw-form .backdrop-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.tw-form .backdrop-item.selected { outline: 3px solid #d61f2c; }

@media (max-width: 640px) {
    .tw-form-row { grid-template-columns: 1fr; }
    .tw-form { padding-left: 14px; padding-right: 14px; }
    .tw-alert { margin-left: 14px; margin-right: 14px; }
}

.lib {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px 60px;
    color: #e6e9ef;
}
.lib-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 6px 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lib-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.2px;
}
.lib-count { color: #6f7480; font-size: 14px; font-weight: 500; }
.lib-count::before { content: '·'; margin-right: 8px; color: #3a3f48; }
.lib-toolbar {
    position: sticky;
    top: 62px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    margin-bottom: 4px;
    background: rgba(11, 13, 16, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.lib-filters { display: inline-flex; gap: 4px; }
.lib-filter {
    background: transparent;
    border: 1px solid transparent;
    color: #8b8f98;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.lib-filter:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.lib-filter.is-active { color: #fff; background: rgba(214, 31, 44, 0.16); border-color: rgba(214, 31, 44, 0.45); }
.lib-sort {
    background: transparent;
    color: #8b8f98;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    padding: 6px 30px 6px 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b8f98' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 8px center;
}
.lib-sort:hover { color: #fff; border-color: rgba(255, 255, 255, 0.2); }

.lib-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 20px 16px;
    padding: 18px 0 0;
}
.lib-card {
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
}
.lib-card .card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.lib-card .poster {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: #14171d;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.lib-card .poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lib-card .poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.18);
    font-size: 32px;
}
.lib-card .card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.lib-card .card-badge.movie { background: rgba(214, 31, 44, 0.9); }
.lib-card .card-title {
    margin: 8px 2px 0;
    font-size: 13.5px;
    font-weight: 600;
    color: #e6e9ef;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}
.lib-card .card-sub {
    margin: 2px 2px 0;
    font-size: 11.5px;
    color: #6f7480;
    display: flex;
    gap: 8px;
    font-variant-numeric: tabular-nums;
}
.lib-card .card-sub .dot { color: #3a3f48; }
.lib-card:hover .poster { border-color: rgba(255, 255, 255, 0.12); }
.lib-card:hover .card-title { color: #fff; }
.lib-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(15, 17, 21, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: #d6d9e0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10px;
    opacity: 0;
    z-index: 5;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.lib-card:hover .lib-remove { opacity: 1; }
.lib-remove:hover { background: #d61f2c; border-color: #d61f2c; color: #fff; }
.lib-card.is-removing { opacity: 0; }

.lib-empty {
    padding: 90px 20px 60px;
    text-align: center;
    color: #6f7480;
}
.lib-empty i { font-size: 26px; color: #3a3f48; margin-bottom: 12px; display: block; }
.lib-empty h3 { margin: 0 0 4px; color: #d6d9e0; font-size: 16px; font-weight: 600; }
.lib-empty p { margin: 0 0 18px; font-size: 13.5px; }
.lib-empty a {
    color: #d6d9e0;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(214, 31, 44, 0.6);
    padding-bottom: 1px;
}
.lib-empty a:hover { color: #fff; border-color: #d61f2c; }

.lib-hidden { display: none !important; }

@media (max-width: 900px) {
    .lib { padding: 14px 20px 60px; }
    .lib-toolbar { top: 56px; }
    .lib-grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 16px 12px; }
}
@media (max-width: 640px) {
    .lib { padding: 10px 14px 60px; }
    .lib-title { font-size: 19px; }
    .lib-grid { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 14px 10px; }
    .lib-remove { opacity: 1; }
    .lib-card .card-title { font-size: 12.5px; }
    .lib-toolbar { padding: 8px 0; }
    .lib-filter { padding: 5px 10px; font-size: 12.5px; }
    .lib-sort { padding: 5px 26px 5px 8px; font-size: 12.5px; }
}

.ad-container,
.ad-banner-container,
.ad-header,
.ad-search,
.ad-video_top,
.ad-video_bottom {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    min-height: 0 !important;
}
.ad-container:empty,
.ad-banner-container:empty,
.ad-header:empty,
.ad-search:empty,
.ad-video_top:empty,
.ad-video_bottom:empty { display: none !important; margin: 0 !important; padding: 0 !important; }
.ad-container .ad-item,
.ad-banner-container .ad-item {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.ad-image,
.ad-banner-img {
    background: transparent !important;
    display: block;
    max-width: 100%;
    height: auto;
    transition: opacity 0.2s ease;
}
.dp-ad-img:not(.is-ad-loaded) {
    opacity: 0;
    background: transparent !important;
}
.dp-ad-img.is-ad-loaded { opacity: 1; }
.ad-grid .ad-item:has(> .dp-ad-img:not(.is-ad-loaded)),
.ad-grid-mobile .ad-item:has(> .dp-ad-img:not(.is-ad-loaded)) {
    background: transparent !important;
}

.ad-banner-container .ad-banner-img.is-slim-50 {
    width: 1000px;
    height: 50px;
    max-width: 100%;
    object-fit: cover;
}
@media (max-width: 1024px) {
    .ad-banner-container .ad-desktop .ad-banner-img.is-slim-50 {
        width: 100%;
        height: auto;
        aspect-ratio: 1000 / 50;
    }
}
