/* DiziKorea Plus — Asya Fanatikleri tarzı tema */

:root {
    --bg:            #040518;
    --header-bg:     #040518;
    --card-bg:       #101825;
    --card:          #101825;
    --surface:       #0c1220;
    --primary:       #b1133f;
    --primary-hover: #e63946;
    --accent:        #ed034e;
    --text:          #ffffff;
    --text-muted:    #8a98a8;
    --text-nav:      #c4c4c4;
    --border:        rgba(255, 255, 255, 0.1);
    --border-light:  rgba(255, 255, 255, 0.08);
    --radius:        8px;
    --radius-lg:     12px;
    --radius-xl:     32px;
    --shadow:        0 10px 40px rgba(0, 0, 0, 0.4);
    --transition:    0.3s ease;
    --container:     1280px;
    --header-top-h:  70px;
    --header-sub-h:  44px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-top-h) + var(--header-sub-h) + 16px); }

html:has(body.menu-sidebar) {
    scroll-padding-top: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

/* ── h1 — minimal site geneli ── */
h1 {
    font-family: inherit;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: var(--text-nav);
}

.cal-page-title,
.level-hero h1 {
    font-size: clamp(17px, 1.8vw, 20px);
    font-weight: 600;
    color: var(--text);
    margin: 0 0 8px;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Sidebar layout (dizikorea3.com — ortalanmış çerçeve) ── */
:root {
    --sidebar-w: 210px;
}

body.menu-sidebar .site-wrapper {
    flex-direction: column;
}

/* Tüm site bloğu ortada: boşluk | sidebar + içerik | boşluk */
body.menu-sidebar .site-frame {
    width: min(var(--container), calc(100vw - 40px));
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

body.menu-sidebar .site-shell {
    display: flex;
    align-items: flex-start;
    gap: 0;
    width: 100%;
}

body.menu-sidebar .site-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

body.menu-sidebar .site-sidebar {
    flex-shrink: 0;
    width: var(--sidebar-w);
    background: transparent;
    border-right: 1px solid var(--border-light);
    overflow: visible;
}

@media (min-width: 993px) {
    /* Header + sidebar + içerik birlikte kayar (dizikorea3.com) */
    body.menu-sidebar .site-header.menu-sidebar-header {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        width: 100%;
        z-index: 100;
    }

    body.menu-sidebar .menu-sidebar-header .header-top .container {
        max-width: none;
        margin: 0;
        padding: 0;
    }

    body.menu-sidebar .site-sidebar-inner {
        position: static;
        max-height: none;
        overflow: visible;
    }

    body.menu-sidebar .site-footer .container {
        max-width: none;
        margin: 0;
        padding: 0;
    }
}

body.menu-sidebar .site-sidebar-inner {
    padding: 14px 10px 20px;
}

body.menu-sidebar .site-sidebar-mobile-head {
    display: none;
}

body.menu-sidebar .site-sidebar-close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
}

body.menu-sidebar .site-sidebar-nav {
    overflow: visible;
}

body.menu-sidebar .site-sidebar-mobile-only {
    display: none;
}

body.menu-sidebar .site-sidebar-menu {
    display: grid;
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.menu-sidebar .site-sidebar-menu + .site-sidebar-label,
body.menu-sidebar .site-sidebar-label + .site-sidebar-menu {
    margin-top: 0;
}

body.menu-sidebar .site-sidebar-label {
    margin: 16px 0 6px;
    padding: 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

body.menu-sidebar .site-sidebar-label:first-child {
    margin-top: 0;
}

body.menu-sidebar .site-sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--text-nav);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    transition: background var(--transition), color var(--transition);
}

body.menu-sidebar .site-sidebar-link-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: color var(--transition);
}

body.menu-sidebar .site-sidebar-link-icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

body.menu-sidebar .site-sidebar-link-icon--flag {
    width: 20px;
    height: 14px;
}

body.menu-sidebar .site-sidebar-link-icon--flag .flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body.menu-sidebar .site-sidebar-link-label {
    min-width: 0;
    flex: 1;
}

body.menu-sidebar .site-sidebar-link:hover .site-sidebar-link-icon,
body.menu-sidebar .site-sidebar-link.is-active .site-sidebar-link-icon {
    color: var(--text);
}

body.menu-sidebar .site-sidebar-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

body.menu-sidebar .site-sidebar-link.is-active {
    color: #fff;
    background: rgba(177, 19, 63, 0.18);
}

body.menu-sidebar.sidebar-open {
    overflow: hidden;
}

body.menu-sidebar .site-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1095;
    background: rgba(0, 0, 0, 0.55);
}

body.menu-sidebar .main-content {
    padding-top: 20px;
    padding-bottom: 24px;
}

    body.menu-sidebar .menu-sidebar-header .left-section {
        flex: 1;
        min-width: 0;
    }

    body.menu-sidebar .menu-sidebar-header .main-navigation {
        display: none;
    }

body.menu-sidebar .menu-sidebar-header .search-section {
    flex: 0 1 403px;
    max-width: 403px;
}

/* Sidebar üst bar — logo | ortalı büyük arama | profil */
body.menu-sidebar .header-content--sidebar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
}

body.menu-sidebar .header-content--sidebar .sidebar-hamburger {
    display: none;
}

body.menu-sidebar .header-content--sidebar .sidebar-search-mobile-btn {
    display: none;
}

body.menu-sidebar .header-search-center {
    display: flex;
    justify-content: center;
    min-width: 0;
}

body.menu-sidebar .header-search-center .search-section {
    width: min(403px, 100%);
    max-width: none;
    flex: 0 1 auto;
}

body.menu-sidebar .header-search-center .search-input {
    width: 100%;
    height: 48px;
    font-size: 15px;
}

body.menu-sidebar .sidebar-header-logo {
    flex-shrink: 0;
}

body.menu-sidebar .sidebar-header-actions {
    flex-shrink: 0;
    gap: 10px;
}

body.menu-sidebar .sidebar-header-actions .user-name-short {
    display: none;
}

/* Sidebar trend widget */
body.menu-sidebar .site-sidebar-trends {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

body.menu-sidebar .site-sidebar-trends-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

body.menu-sidebar .site-sidebar-trends-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: var(--primary-hover);
}

body.menu-sidebar .site-sidebar-trends-icon .site-sidebar-link-icon {
    width: 18px;
    height: 18px;
    color: inherit;
}

body.menu-sidebar .site-sidebar-trends-icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

body.menu-sidebar .site-sidebar-trend-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.menu-sidebar .site-sidebar-trend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--text-nav);
    transition: color var(--transition);
}

body.menu-sidebar .site-sidebar-trend-item:hover {
    color: var(--text);
}

body.menu-sidebar .site-sidebar-trend-rank {
    flex-shrink: 0;
    width: 18px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-hover);
    text-align: center;
}

body.menu-sidebar .site-sidebar-trend-poster {
    flex-shrink: 0;
    width: 36px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    background: var(--card-bg);
}

body.menu-sidebar .site-sidebar-trend-poster-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

body.menu-sidebar .site-sidebar-trend-title {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Sidebar modu — dar içerik alanında satır başına 5 kart */
body.menu-sidebar .content-grid,
body.menu-sidebar .actor-works-grid {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1200px) {
    body.menu-sidebar .content-grid,
    body.menu-sidebar .actor-works-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    body.menu-sidebar .content-grid,
    body.menu-sidebar .actor-works-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

@media (max-width: 768px) {
    body.menu-sidebar .content-grid,
    body.menu-sidebar .actor-works-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    body.menu-sidebar .content-grid,
    body.menu-sidebar .actor-works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Mesaj ikonu (sidebar üst bar) */
.header-message-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.header-message-btn:hover {
    border-color: rgba(177, 19, 63, 0.45);
    background: rgba(177, 19, 63, 0.12);
    color: #fff;
}

.header-message-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px var(--bg);
    pointer-events: none;
}

.header-message-badge.is-hidden {
    display: none;
}

@media (max-width: 992px) {
    body.menu-sidebar .site-frame {
        width: 100%;
        padding: 0;
    }

    body.menu-sidebar .site-header.menu-sidebar-header {
        position: fixed;
        left: 0;
        right: 0;
        width: 100%;
    }

    body.menu-sidebar .menu-sidebar-header .header-top .container {
        padding: 0 12px;
    }

    body.menu-sidebar .header-content--sidebar {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        gap: 8px 10px;
        height: auto;
        min-height: var(--header-top-h);
        padding: 6px 0 10px;
    }

    body.menu-sidebar .header-content--sidebar .sidebar-hamburger {
        display: flex;
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        flex-shrink: 0;
    }

    body.menu-sidebar .sidebar-header-logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
        align-self: center;
        display: flex;
        justify-content: flex-start;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        pointer-events: auto;
    }

    body.menu-sidebar .sidebar-header-logo .site-logo,
    body.menu-sidebar .sidebar-header-logo img,
    body.menu-sidebar .sidebar-header-logo svg {
        max-height: 36px;
        width: auto;
        max-width: 100%;
    }

    body.menu-sidebar .sidebar-header-actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        align-self: center;
        flex-shrink: 0;
        gap: 6px;
    }

    body.menu-sidebar .sidebar-header-actions .auth-buttons {
        display: flex;
        gap: 6px;
        flex-shrink: 0;
    }

    body.menu-sidebar .sidebar-header-actions .header-message-btn,
    body.menu-sidebar .sidebar-header-actions .btn-notification {
        width: 36px;
        height: 36px;
    }

    body.menu-sidebar .header-search-center {
        display: flex;
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }

    body.menu-sidebar .header-search-center .search-section {
        width: 100%;
        display: block !important;
    }

    body.menu-sidebar .header-content--sidebar .sidebar-search-mobile-btn {
        display: none;
    }

    body.menu-sidebar .sidebar-mobile-auth .btn {
        padding: 7px 10px;
        font-size: 11px;
        white-space: nowrap;
    }

    body.menu-sidebar .sidebar-header-actions .user-dropdown {
        display: block;
    }

    body.menu-sidebar .site-shell {
        padding-top: calc(var(--header-top-h) + 44px);
    }

    body.menu-sidebar .main-content {
        padding-top: 8px;
    }

    body.menu-sidebar .dual-hero-section {
        margin-top: 0;
    }

    body.menu-sidebar .site-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(280px, 88vw);
        z-index: 1100;
        transform: translateX(-100%);
        transition: transform var(--transition);
        box-shadow: var(--shadow);
        background: linear-gradient(180deg, #060818 0%, var(--surface) 100%);
        border-right: 1px solid var(--border-light);
    }

    body.menu-sidebar.sidebar-open .site-sidebar {
        transform: translateX(0);
    }

    body.menu-sidebar.sidebar-open .site-sidebar-backdrop {
        display: block;
    }

    body.menu-sidebar .site-sidebar-mobile-head {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
        margin-bottom: 8px;
        padding: 0 4px 12px;
        border-bottom: 1px solid var(--border-light);
    }

    body.menu-sidebar .site-sidebar-mobile-title {
        display: none;
    }

    body.menu-sidebar .site-sidebar-close {
        display: inline-flex;
    }

    body.menu-sidebar .site-sidebar-mobile-only {
        display: grid;
    }

    body.menu-sidebar .site-sidebar-inner {
        height: 100%;
        overflow-y: auto;
        padding: 16px 12px 24px;
    }

    body.menu-sidebar .menu-sidebar-header .main-navigation {
        display: none;
    }

    body.menu-sidebar .menu-sidebar-header .hamburger-btn:not(.sidebar-hamburger) {
        display: none;
    }
}

@media (min-width: 993px) {
    body.menu-sidebar .menu-sidebar-header .sidebar-hamburger {
        display: none;
    }
}

.main-content {
    flex: 1;
    padding-top: var(--header-top-h);
}

.site-header.has-sub-nav + .main-content {
    padding-top: calc(var(--header-top-h) + var(--header-sub-h));
}

.rounded-md { border-radius: var(--radius-lg); }

/* ── Header ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(4, 5, 24, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-top {
    border-bottom: 1px solid var(--border-light);
}

.site-header.has-sub-nav .header-top {
    border-bottom: none;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-top-h);
    gap: 24px;
}

.header-sub {
    padding: 0 0 8px;
    background: transparent;
    border-bottom: none;
}

.sub-navigation {
    display: flex;
    justify-content: flex-start;
    padding: 6px 0 4px;
    background: transparent;
    border: none;
    border-top: 1px solid var(--border-light);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.sub-nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 25px;
    width: 100%;
}

.sub-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
    border-radius: 0;
    color: var(--text-nav);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    transition: color var(--transition);
    border: none;
    background: transparent;
    position: relative;
}

.sub-nav-link:hover {
    color: var(--text);
    background: transparent;
}

.sub-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-hover));
    transition: width var(--transition);
}

.sub-nav-link:hover::after {
    width: 100%;
}

.sub-nav-link.active {
    color: var(--text);
    background: transparent;
    border: none;
    box-shadow: none;
}

.sub-nav-link.active::after {
    width: 100%;
}

/* ── Hibrit mega menü (asyafanatikleri tarzı) ── */
.site-header.menu-hybrid {
    z-index: 1001;
}

.nav-item-mega .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-chevron {
    opacity: 0.75;
    transition: transform var(--transition);
}

.nav-item-mega.is-open .nav-chevron,
.nav-item-mega:hover .nav-chevron {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: min(var(--container), calc(100vw - 40px));
    background: rgba(4, 5, 24, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    z-index: 1002;
    overflow: hidden;
}

.mega-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-content {
    display: flex;
    min-height: 360px;
}

.mega-menu-left {
    flex: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 0;
    padding: 24px;
    border-right: 1px solid var(--border-light);
}

.mega-menu-section {
    padding: 0 16px;
}

.mega-menu-section:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.mega-menu-title {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(177, 19, 63, 0.28);
}

.mega-menu-title + .mega-menu-title {
    margin-top: 18px;
}

.mega-menu-links {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    max-height: 220px;
    overflow-y: auto;
}

.mega-menu-links.multi-column {
    grid-template-columns: 1fr 1fr;
    max-height: none;
}

.mega-menu-link {
    display: block;
    color: var(--text-nav);
    font-size: 14px;
    padding: 8px 12px;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.mega-menu-link:hover {
    color: var(--text);
    background: rgba(177, 19, 63, 0.12);
    transform: translateX(3px);
}

.mega-menu-right {
    width: 320px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(177, 19, 63, 0.06), rgba(0, 0, 0, 0.25));
    padding: 24px;
}

.mega-menu-featured {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.mega-menu-featured-title {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    position: relative;
    padding-bottom: 12px;
}

.mega-menu-featured-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-hover));
}

.mega-menu-marquee {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #101825 0%, #0a1020 100%);
}

.mega-menu-marquee::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 5, 24, 0.85) 0%, transparent 18%, transparent 82%, rgba(4, 5, 24, 0.85) 100%);
    z-index: 2;
    pointer-events: none;
}

.marquee-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    height: 100%;
}

.marquee-row {
    display: flex;
    gap: 8px;
    width: max-content;
    animation: mega-marquee 24s linear infinite;
}

.marquee-row:nth-child(2) {
    animation-direction: reverse;
    animation-duration: 20s;
}

.marquee-row:nth-child(3) {
    animation-duration: 28s;
}

@keyframes mega-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-item {
    flex-shrink: 0;
    width: 120px;
    height: 72px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card-bg);
}

.marquee-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.marquee-placeholder,
.mega-marquee-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--text-muted);
    font-size: 13px;
}

.nav-link.active {
    color: var(--text);
}

.nav-link.active::after {
    width: 100%;
}

.nav-sub-mobile,
.nav-sub-mobile-heading {
    display: none;
}

.left-section {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
    min-width: 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: 6px;
}

.logo-mark {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-name {
    font-weight: 700;
    font-size: 17px;
    white-space: nowrap;
}

.site-logo-img {
    height: 40px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 25px;
    flex-wrap: nowrap;
}

.nav-link {
    color: var(--text-nav);
    font-weight: 500;
    font-size: 15px;
    padding: 10px 0;
    position: relative;
    transition: color var(--transition);
}

.nav-link:hover { color: var(--text); }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-hover));
    transition: width var(--transition);
}

.nav-link:hover::after { width: 100%; }

.nav-auth-mobile { display: none; }

.right-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.search-wrapper {
    position: relative;
}

.search-input {
    width: 280px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 0 45px 0 16px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    transition: all var(--transition);
    outline: none;
}

.search-input::placeholder { color: #888; }

.search-input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2px rgba(177, 19, 63, 0.2);
}

.search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all var(--transition);
}

.search-btn:hover {
    color: var(--primary-hover);
    background: rgba(177, 19, 63, 0.1);
}

.search-mobile-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.search-mobile-btn:hover {
    background: rgba(177, 19, 63, 0.15);
    color: var(--primary-hover);
}

/* ── Header arama dropdown ── */
.leftbar-search-result[hidden] { display: none !important; }

.leftbar-search-result {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(420px, calc(100vw - 32px));
    background: rgba(12, 14, 34, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    z-index: 1200;
    animation: searchDropIn 0.18s ease;
}

@keyframes searchDropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.leftbar-search-result-head {
    padding: 12px 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.leftbar-search-result-head span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.leftbar-search-result-in {
    max-height: min(420px, 60vh);
    overflow-y: auto;
}

.autosuggest-results:empty { display: none; }

.autosuggest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s;
}

.autosuggest-item:last-child { border-bottom: none; }

.autosuggest-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.autosuggest-poster,
.autosuggest-poster-empty {
    width: 40px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.06);
}

.autosuggest-poster-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.autosuggest-body {
    flex: 1;
    min-width: 0;
}

.autosuggest-title {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.autosuggest-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.autosuggest-type {
    display: inline-flex;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.autosuggest-year {
    font-size: 12px;
    color: #9ca3af;
}

.autosuggest-chevron {
    width: 16px;
    height: 16px;
    color: #9ca3af;
    flex-shrink: 0;
}

.autosuggest-empty {
    padding: 14px;
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.autosuggest-empty[hidden] { display: none !important; }

.search-section.is-open { z-index: 1201; }

@media (max-width: 992px) {
    .search-mobile-btn { display: flex; }

    body.mobile-search-open .search-section {
        display: block;
        position: fixed;
        top: var(--header-top-h, 72px);
        left: 0;
        right: 0;
        padding: 12px 16px;
        background: rgba(4, 5, 24, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 1100;
    }

    body.mobile-search-open .search-wrapper,
    body.mobile-search-open .search-input {
        width: 100%;
    }

    body.mobile-search-open .leftbar-search-result {
        left: 0;
        right: 0;
        width: auto;
    }
}

/* ── Auth Buttons (Header) ── */
.user-section {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Header bildirim zili */
.notification-btn {
    position: relative;
    flex-shrink: 0;
}

.btn-notification {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.btn-notification:hover,
.notification-btn.is-open .btn-notification {
    border-color: rgba(177, 19, 63, 0.45);
    background: rgba(177, 19, 63, 0.12);
    color: #fff;
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px var(--bg);
    pointer-events: none;
}

.notification-badge.is-hidden {
    display: none;
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(360px, calc(100vw - 24px));
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #121820;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    z-index: 1200;
    overflow: hidden;
}

.notification-dropdown[hidden] {
    display: none !important;
}

.notification-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    font-weight: 600;
}

.notification-dropdown-title {
    flex-shrink: 0;
}

.notification-dropdown-unread {
    font-size: 12px;
    font-weight: 500;
    color: #4ade80;
}

.notification-dropdown-unread.is-hidden {
    display: none;
}

.notification-mark-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 40px;
    padding: 10px 14px;
    border: 1px solid rgba(74, 222, 128, 0.45);
    border-radius: 10px;
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition), opacity var(--transition);
}

.notification-mark-all-btn:hover:not(:disabled) {
    color: #86efac;
    background: rgba(74, 222, 128, 0.2);
    border-color: rgba(134, 239, 172, 0.55);
}

.notification-mark-all-btn.is-disabled,
.notification-mark-all-btn:disabled {
    opacity: 1;
    cursor: default;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.72);
}

.notification-mark-all-btn:disabled {
    cursor: not-allowed;
}

.notification-mark-all-hint {
    margin: -4px 0 0;
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
}

.notification-mark-all-hint.is-hidden {
    display: none;
}

.notification-dropdown-content {
    max-height: 380px;
    overflow-y: auto;
}

.notification-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px 16px;
    color: var(--text-muted);
    font-size: 13px;
}

.notification-loading[hidden] {
    display: none !important;
}

.notification-spinner {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: notification-spin 0.8s linear infinite;
}

@keyframes notification-spin {
    to { transform: rotate(360deg); }
}

.notification-dropdown-list {
    display: flex;
    flex-direction: column;
}

.notification-dropdown-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: inherit;
    transition: background var(--transition);
}

.notification-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.notification-dropdown-item.is-unread {
    background: rgba(177, 19, 63, 0.08);
}

.notification-dropdown-item.is-unread:hover {
    background: rgba(177, 19, 63, 0.12);
}

.notification-dropdown-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
}

.notification-dropdown-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notification-dropdown-body strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.35;
}

.notification-dropdown-body p {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.notification-dropdown-body time {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: rgba(138, 152, 168, 0.9);
}

.notification-dropdown-empty {
    padding: 28px 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

.notification-dropdown-empty[hidden] {
    display: none !important;
}

.notification-dropdown-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 16px 14px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.22);
}

.notification-view-all-link {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-hover);
    text-decoration: none;
}

.notification-view-all-link:hover {
    color: var(--primary);
}

.notification-dropdown-footer a {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-hover);
}

.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    padding: 10px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    font-family: inherit;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-login {
    background: transparent;
    color: var(--text-nav);
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-register {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    font-weight: 700;
}

.btn-register:hover {
    filter: brightness(1.08);
}

/* User dropdown */
.user-dropdown { position: relative; }

.user-avatar-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 6px 12px 6px 6px;
    cursor: pointer;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    transition: all var(--transition);
}

.user-avatar-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.user-avatar-letter {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.user-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.user-name-short {
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    background: rgba(16, 24, 37, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: none;
    z-index: 1001;
    overflow: hidden;
}

.user-dropdown.open .user-dropdown-menu { display: block; }

.user-info {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.user-info .user-name {
    display: block;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.user-level {
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(177, 19, 63, 0.15);
    border: 1px solid rgba(177, 19, 63, 0.25);
    border-radius: 999px;
    padding: 2px 10px;
    display: inline-block;
}

.dropdown-links { list-style: none; padding: 8px 0; margin: 0; }

.dropdown-links a {
    display: block;
    padding: 10px 16px;
    color: var(--text-nav);
    font-size: 14px;
    transition: all var(--transition);
}

.dropdown-links a:hover {
    background: rgba(177, 19, 63, 0.1);
    color: var(--text);
}

.dropdown-links .logout-form { margin: 0; }

.dropdown-links .logout-link-btn,
.auth-footer-link .logout-link-btn {
    display: block;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: none;
    color: var(--text-nav);
    font-size: 14px;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition);
}

.dropdown-links .logout-link-btn:hover,
.auth-footer-link .logout-link-btn:hover {
    background: rgba(177, 19, 63, 0.1);
    color: var(--text);
}

.nav-auth-mobile .logout-form { display: inline; }

.admin-user .logout-form { display: inline; }

/* ── Auth Pages ── */
.auth-page {
    padding: 40px 0 60px;
}

.auth-container {
    display: flex;
    justify-content: center;
}

.auth-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
}

.auth-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}

.auth-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text);
}

.auth-card-wide { max-width: 520px; }

.auth-card h1 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.auth-sub {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-form label {
    display: grid;
    gap: 6px;
}

.auth-form label span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-nav);
}

.auth-form label small {
    font-weight: 400;
    color: var(--text-muted);
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    color: var(--text);
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition);
}

.auth-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(177, 19, 63, 0.15);
}

.auth-form input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-password-label {
    display: grid;
    gap: 6px;
}

.auth-password-field {
    position: relative;
}

.auth-form .auth-password-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    color: var(--text);
    padding: 12px 44px 12px 14px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition);
}

.auth-form .auth-password-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(177, 19, 63, 0.15);
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: var(--radius);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transform: translateY(-50%);
    transition: color var(--transition), background var(--transition);
}

.auth-password-toggle:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.auth-password-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.auth-password-icon-hide {
    display: none;
}

.auth-password-toggle.is-visible .auth-password-icon-show {
    display: none;
}

.auth-password-toggle.is-visible .auth-password-icon-hide {
    display: block;
}

.auth-checkbox {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px !important;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-checkbox input { width: auto; }

.auth-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.auth-forgot-link {
    font-size: 14px;
    color: var(--primary-hover);
    font-weight: 500;
}

.auth-forgot-link:hover { text-decoration: underline; }

.auth-register-block {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.auth-register-block p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.auth-register-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
}

.auth-alert-dev {
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fcd34d;
    font-size: 13px;
    word-break: break-all;
}

.auth-alert-dev a { color: #fde68a; }

.auth-submit { width: 100%; justify-content: center; margin-top: 4px; }

.auth-footer-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-footer-link a {
    color: var(--primary-hover);
    font-weight: 600;
}

.auth-alert {
    padding: 12px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 16px;
}

.auth-alert-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.auth-alert-success {
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #6ee7b7;
}

.field-error {
    color: #fca5a5;
    font-size: 12px;
    font-style: normal;
}

.auth-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 8px 0;
}

.auth-section-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-nav);
}

.auth-section-title small {
    font-weight: 400;
    color: var(--text-muted);
}

.comment-login-prompt {
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    text-align: center;
    margin-bottom: 24px;
}

.comment-login-prompt p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.comment-login-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.comment-as {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 4px;
}

.hamburger-btn span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition);
}

/* ── Hero Slider ── */
.slider-container {
    max-width: var(--container);
    margin: 0 auto 20px;
    padding: 0 20px;
}

.cuff-hero-slider .splide__track,
.cuff-hero-slider .splide__list {
    height: auto !important;
}

.cuff-hero-slider .splide__slide {
    aspect-ratio: 16 / 9;
    height: auto !important;
    max-height: 520px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    background: #111;
}

.slide-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: var(--radius-xl);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(to right, rgba(4, 5, 24, 0.85) 0%, rgba(4, 5, 24, 0.3) 50%, transparent 100%),
                linear-gradient(to top, rgba(4, 5, 24, 0.9) 0%, transparent 50%);
}

.logo-left-bottom {
    position: absolute;
    left: 36px;
    bottom: 32px;
    z-index: 2;
    max-width: 500px;
}

.slide-title-text {
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.slide-overview {
    color: var(--text-nav);
    font-size: 15px;
    line-height: 1.5;
    max-width: 450px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cuff-hero-slider .splide__arrow {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 44px;
    height: 44px;
    opacity: 1;
}

.cuff-hero-slider .splide__arrow svg { fill: #fff; }
.cuff-hero-slider .splide__arrow--prev { left: 12px; }
.cuff-hero-slider .splide__arrow--next { right: 12px; }

.hero-fallback {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(177, 19, 63, 0.08), transparent);
}

.hero-fallback h1 {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.hero-fallback p {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto;
}

/* ── Dual Hero Slider ── */
.dual-hero-section {
    margin-top: 24px;
    margin-bottom: 24px;
}

.dual-hero-wrap {
    overflow: hidden;
    width: 100%;
}

.dual-hero-slider {
    position: relative;
    width: 100%;
}

/* Splide init öncesi CLS — min-height yerine grid yerleşimi */
.dual-hero-slider:not(.is-initialized) .splide__list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.dual-hero-slider:not(.is-initialized) .splide__slide {
    flex: 1 1 calc(50% - 7px);
    max-width: calc(50% - 7px);
}

@media (max-width: 768px) {
    .dual-hero-slider:not(.is-initialized) .splide__slide {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.dual-hero-slider .splide__slide {
    overflow: hidden;
}

.dual-slide-card {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--card-bg);
    color: var(--text);
    border: 1px solid var(--border-light);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.dual-slide-card:hover {
    color: var(--text);
    transform: translateY(-2px);
    border-color: rgba(177, 19, 63, 0.35);
    box-shadow: 0 12px 32px rgba(177, 19, 63, 0.18);
}

.dual-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.dual-slide-bg--empty {
    display: block;
    background: linear-gradient(135deg, var(--surface) 0%, var(--card-bg) 100%);
}

.dual-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 5, 24, 0.95) 0%, rgba(4, 5, 24, 0.4) 50%, rgba(4, 5, 24, 0.2) 100%);
    pointer-events: none;
}

.dual-badge {
    position: absolute;
    z-index: 2;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius);
    padding: 6px 10px;
    pointer-events: none;
    background: rgba(4, 5, 24, 0.78);
    color: var(--text-nav);
    border: 1px solid var(--border);
    backdrop-filter: blur(6px);
}

.dual-badge-category {
    top: 12px;
    left: 12px;
    color: var(--text);
}

.dual-badge-quality {
    top: 12px;
    right: 12px;
}

.dual-badge-year {
    top: 44px;
    right: 12px;
}

.dual-slide-footer {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    pointer-events: none;
}

.dual-slide-info {
    flex: 1;
    min-width: 0;
}

.dual-slide-rating {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.dual-slide-title {
    font-size: clamp(13px, 1.5vw, 16px);
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 2px;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.dual-slide-original {
    margin: 0;
    font-size: clamp(11px, 1.2vw, 12px);
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dual-hero-slider .splide__arrow {
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: 40px;
    height: 40px;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
}

.dual-hero-slider .splide__arrow svg {
    fill: #fff;
}

.dual-hero-slider .splide__arrow--prev { left: 8px; }
.dual-hero-slider .splide__arrow--next { right: 8px; }

@media (max-width: 768px) {
    .dual-slide-card {
        border-radius: var(--radius-md);
    }

    .dual-hero-slider .splide__arrow {
        width: 34px;
        height: 34px;
    }

    .dual-badge {
        font-size: 11px;
        padding: 5px 8px;
    }

    .dual-badge-year {
        top: 40px;
    }
}

/* ── Sections ── */
.content-section {
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

.section-header-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.section-header-accent {
    flex-shrink: 0;
    width: 3px;
    height: 20px;
    border-radius: 3px;
    background: linear-gradient(180deg, #e11d48 0%, var(--primary) 100%);
    box-shadow: 0 0 8px rgba(225, 29, 72, 0.22);
}

.section-header-accent--popular {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.25);
}

.section-header-accent--episodes {
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.28);
}

.section-header-title {
    margin: 0;
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 500;
    color: var(--text-nav);
    letter-spacing: 0.01em;
    line-height: 1.4;
}

.section-live-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.45);
    vertical-align: middle;
    animation: section-live-pulse 2s ease-in-out infinite;
}

@keyframes section-live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.92); }
}

.view-all-btn {
    font-size: 0.75rem;
    padding: 5px 10px;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-nav);
    border-radius: var(--radius);
    transition: all var(--transition);
    flex-shrink: 0;
}

.view-all-btn:hover {
    background: rgba(177, 19, 63, 0.15);
    border-color: rgba(177, 19, 63, 0.3);
    color: var(--text);
}

.empty-message {
    color: var(--text-muted);
    font-size: 15px;
    padding: 32px 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
}

/* ── Bölüm Kartları (TV Guide) ── */
.tv-guide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ── Güncel Bölümler (Dizipal tarzı) ── */
.latest-ep-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 100%;
    align-items: stretch;
}

.latest-ep-grid > .content-grid-item {
    display: flex;
    min-width: 0;
}

.latest-ep-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 92px;
    overflow: hidden;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.latest-ep-card:hover {
    border-color: rgba(177, 19, 63, 0.45);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.latest-ep-thumb {
    flex: 0 0 108px;
    width: 108px;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
}

.latest-ep-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-ep-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-muted);
}

.latest-ep-body {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 2px 0;
}

.latest-ep-info {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-rows: 36px 16px 15px;
    gap: 2px;
    align-content: start;
    min-height: 69px;
}

.latest-ep-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-nav);
    line-height: 18px;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    margin: 0;
    display: block;
    overflow: hidden;
    word-break: break-word;
}

.latest-ep-meta {
    margin: 0;
    height: 16px;
    min-height: 16px;
    font-size: 12px;
    line-height: 16px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.latest-ep-time {
    margin-top: 0;
    height: 15px;
    min-height: 15px;
    font-size: 11px;
    line-height: 15px;
    color: rgba(138, 152, 168, 0.9);
    overflow: hidden;
}

.latest-ep-badges {
    flex: 0 1 auto;
    max-width: 42%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 5px;
    padding-top: 2px;
}

.ep-card-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    padding: 4px 8px;
    border-radius: 5px;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.badge-translating {
    background: rgba(34, 197, 94, 0.92);
    color: #fff;
}

.badge-new-series {
    background: rgba(124, 58, 237, 0.95);
    color: #fff;
}

.badge-final-ep {
    background: rgba(177, 19, 63, 0.95);
    color: #fff;
}

.episodes-section .latest-ep-grid {
    margin-top: 4px;
}

/* ── Ana sayfa Güncel Bölümler sekmeleri ── */
.home-ep-header {
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px 16px;
}

.home-ep-header .section-header-main {
    flex: 0 1 auto;
    align-items: center;
}

.home-ep-panel .load-more-wrap {
    margin-top: 20px;
    margin-bottom: 4px;
}

.home-ep-tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
    max-width: 100%;
    flex-shrink: 1;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0;
}

.home-ep-tabs::-webkit-scrollbar {
    display: none;
}

.home-ep-tab {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
    min-height: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-nav);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    padding: 0 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition), background var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}

.home-ep-tab:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.home-ep-tab.is-active {
    color: #fff;
    border-color: rgba(177, 19, 63, 0.55);
    background: rgba(177, 19, 63, 0.22);
    box-shadow: 0 0 14px rgba(177, 19, 63, 0.15);
}

.home-ep-tab.is-empty:not(.is-active) {
    opacity: 1;
    color: var(--text-nav);
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
}

.home-ep-panel[hidden] {
    display: none !important;
}

@media (max-width: 768px) {
    .home-ep-header {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .home-ep-tabs {
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
        padding-bottom: 4px;
    }
}

@media (max-width: 1100px) {
    .latest-ep-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .latest-ep-grid { grid-template-columns: 1fr; }
    .latest-ep-thumb { flex-basis: 96px; width: 96px; }
}

.tv-program-card {
    background: var(--card-bg);
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid transparent;
    display: block;
    border-radius: var(--radius-lg);
}

.tv-program-card.rounded-md {
    border-radius: var(--radius-lg);
}

.episode-carousel .splide__slide {
    width: 260px;
}

.episode-carousel .tv-program-card {
    width: 260px;
}

.tv-program-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.program-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.tv-program-card:hover .program-image img {
    transform: scale(1.04);
}

.program-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a2234;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
}

.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}

.badge-new {
    background: rgba(124, 58, 237, 0.9);
    color: #fff;
}

.badge-final {
    background: rgba(177, 19, 63, 0.9);
    color: #fff;
}

.program-info { padding: 12px 4px 4px; }

.program-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.program-time {
    font-size: 13px;
    color: var(--text-muted);
}

/* ── Poster Kartları (Carousel) ── */
.poster-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    transition: transform 0.2s ease;
}

.poster-card:hover { transform: translateY(-2px); }

.poster-card-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: var(--card-bg);
    position: relative;
    flex-shrink: 0;
}

.poster-card-image .status-badge {
    top: 8px;
    right: 8px;
}

.poster-card-flag {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 3;
    width: 21px;
    height: 21px;
    pointer-events: none;
}

.poster-card-status {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    max-width: calc(100% - 40px);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.25;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: none;
}

.poster-card-status-upcoming {
    background: rgba(28, 42, 64, 0.78);
    border: 1px solid rgba(125, 162, 210, 0.28);
    color: #a8c4e0;
}

.poster-card-status-ongoing {
    background: rgba(22, 42, 34, 0.78);
    border: 1px solid rgba(110, 180, 140, 0.28);
    color: #9dcdb0;
}

.poster-card-status-completed {
    background: rgba(48, 22, 32, 0.78);
    border: 1px solid rgba(177, 19, 63, 0.32);
    color: #d4a0ae;
}

.poster-card-ongoing {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 8px;
    border-radius: 999px;
    background: rgba(16, 24, 18, 0.88);
    border: 1px solid rgba(74, 222, 128, 0.45);
    font-size: 11px;
    font-weight: 600;
    color: #86efac;
    pointer-events: none;
}

.poster-card-ongoing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
    animation: ongoing-pulse 1.8s ease-in-out infinite;
}

.poster-card-ongoing-text {
    white-space: nowrap;
}

@keyframes ongoing-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
    50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

.poster-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a2234;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
}

.poster-card-meta {
    padding: 10px 2px 0;
    flex: 0 0 46px;
    height: 46px;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: 36px;
    align-content: start;
    gap: 0;
    overflow: hidden;
}

.poster-card-title {
    display: block;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    overflow: hidden;
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    word-break: break-word;
}

.poster-card-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 18px 10px 8px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
    pointer-events: none;
}

.poster-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.poster-card-rating-empty {
    display: block;
    min-width: 0;
    min-height: 1px;
}

.poster-card-star {
    color: #f5c518;
    font-size: 14px;
    line-height: 1;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

.poster-card-year {
    flex-shrink: 0;
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.poster-card-sub {
    display: block;
    height: 18px;
    min-height: 18px;
    max-height: 18px;
    font-size: 13px;
    line-height: 18px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.poster-card-meta:has(.poster-card-sub-role) {
    grid-template-rows: 38px 18px;
    height: 66px;
    flex-basis: 66px;
}

/* Splide koleksiyon */
.collection-slider .splide__arrow {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    opacity: 1;
}

.collection-slider .splide__arrow svg { fill: #fff; }
.collection-slider .splide__arrow--prev { left: -50px; }
.collection-slider .splide__arrow--next { right: -50px; }
.collection-slider .splide__arrow:disabled { display: none; }
.collection-slider .splide__list { padding-top: 8px; }

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}

.btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    border: 1px solid var(--border);
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    transition: all var(--transition);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(177, 19, 63, 0.1);
}

/* ── Footer ── */
.site-footer {
    background: var(--bg);
    margin-top: auto;
    border-top: 1px solid var(--border-light);
}

.site-footer-inner {
    padding-top: 20px;
    padding-bottom: 28px;
}

.site-footer--has-seo .site-footer-inner {
    padding-top: 16px;
}

.footer-seo-wrap {
    margin: 0 0 20px;
}

.footer-seo-panel {
    position: relative;
    background: linear-gradient(165deg, rgba(16, 24, 37, 0.72) 0%, rgba(8, 12, 24, 0.55) 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-seo-scroll {
    height: clamp(220px, 28vh, 300px);
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 24px 28px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
}

.footer-seo-scroll::-webkit-scrollbar {
    width: 5px;
}

.footer-seo-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.footer-seo-scroll:hover::-webkit-scrollbar-thumb {
    background: rgba(177, 19, 63, 0.45);
}

.footer-seo-content {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.footer-seo-content p {
    margin: 0 0 12px;
}

.footer-seo-content p:last-child {
    margin-bottom: 0;
}

.footer-seo-content strong,
.footer-seo-content b {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.footer-seo-content p + p strong,
.footer-seo-content li strong {
    display: inline;
    font-size: inherit;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 0;
}

.footer-seo-content ul,
.footer-seo-content ol {
    margin: 0 0 12px;
    padding-left: 1.2em;
}

.footer-seo-content li {
    margin-bottom: 6px;
}

.footer-seo-content a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    border-bottom: 1px solid rgba(177, 19, 63, 0.28);
    transition: color var(--transition), border-color var(--transition);
}

.footer-seo-content a:hover {
    color: var(--primary-hover);
    border-bottom-color: rgba(230, 57, 70, 0.55);
}

.footer-seo-fade {
    position: absolute;
    left: 0;
    right: 8px;
    bottom: 0;
    height: 48px;
    background: linear-gradient(to bottom, transparent, rgba(10, 14, 26, 0.94));
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 2fr);
    gap: 24px 48px;
    align-items: start;
    padding: 0;
}

.footer-menus-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 28px 40px;
    align-items: start;
}

.footer-menu-col {
    min-width: 0;
}

.footer-menu-title {
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 14px;
    line-height: 1.3;
}

.footer-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-menu-nav a {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.45;
    transition: color var(--transition);
}

.footer-menu-nav a:hover {
    color: var(--primary-hover);
}

.footer-brand {
    min-width: 0;
}

.footer-brand--text-only {
    padding-top: 2px;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logo {
    max-height: 40px;
    width: auto;
}

.footer-about,
.footer-copyright {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
}

.footer-about {
    margin: 0 0 12px;
    max-width: 36em;
}

.footer-copyright {
    margin: 0;
    font-size: 13px;
    color: rgba(138, 152, 168, 0.85);
}

@media (max-width: 991px) {
    .site-footer-inner {
        padding-top: 14px;
        padding-bottom: 24px;
    }

    .footer-seo-wrap {
        margin-bottom: 18px;
    }

    .footer-seo-scroll {
        height: clamp(240px, 36vh, 320px);
        padding: 18px 16px 24px;
    }

    .footer-seo-content {
        font-size: 13px;
        line-height: 1.75;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-brand--text-only {
        padding-top: 0;
    }

    .footer-about {
        max-width: none;
    }

    .footer-menus-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 24px;
    }
}

@media (max-width: 520px) {
    .site-footer-inner {
        padding-bottom: 20px;
    }

    .footer-seo-scroll {
        height: clamp(250px, 42vh, 340px);
        padding: 16px 14px 22px;
        border-radius: var(--radius);
    }

    .footer-seo-panel {
        border-radius: var(--radius);
    }

    .footer-menus-wrap {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-menu-title {
        margin-bottom: 10px;
    }

    .footer-about,
    .footer-copyright {
        font-size: 13px;
    }
}

/* legacy aliases */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-section h4 {
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul li { margin-bottom: 12px; }

.footer-section ul li a {
    color: #888;
    font-size: 15px;
    transition: color var(--transition);
}

.footer-section ul li a:hover { color: var(--primary); }

.footer-section p {
    color: #888;
    line-height: 1.6;
    font-size: 15px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: #666;
    font-size: 14px;
}

/* ── Dizi / Film Detay — dizifilm tarzı kart hero ── */
.series-hero {
    margin-top: -8px;
    margin-bottom: 28px;
}

.series-hero-card {
    display: flex;
    align-items: stretch;
    min-height: 300px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card-bg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.series-hero-poster {
    flex-shrink: 0;
    width: 210px;
    background: #0a0a14;
}

.series-hero-poster img,
.series-hero-poster .card-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    aspect-ratio: 2 / 3;
}

.series-hero-poster .card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    background: rgba(177, 19, 63, 0.12);
    min-height: 300px;
}

.series-hero-panel {
    flex: 1;
    position: relative;
    min-width: 0;
    display: flex;
    align-items: stretch;
}

.series-hero-panel-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.series-hero-panel-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.series-hero-panel-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(4, 5, 24, 0.97) 0%, rgba(4, 5, 24, 0.82) 35%, rgba(4, 5, 24, 0.45) 100%),
        linear-gradient(to top, rgba(4, 5, 24, 0.6) 0%, transparent 55%);
}

.series-hero-panel--plain {
    background: linear-gradient(135deg, rgba(177, 19, 63, 0.08), var(--card-bg));
}

.series-hero-panel-content {
    position: relative;
    z-index: 1;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.series-hero-panel-content .series-title {
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
    color: var(--text);
}

.series-hero-panel-content .series-original {
    color: var(--text-muted);
    font-size: 15px;
    margin: 0;
}

.series-hero-panel-content .series-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.series-hero-panel-content .series-genres {
    margin: 0;
}

.series-hero-panel-content .btn-watch {
    align-self: flex-start;
    margin-top: 0;
}

.series-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.series-hero-actions .btn-watch {
    align-self: auto;
}

.btn-trailer {
    cursor: pointer;
    font-family: inherit;
    background: rgba(9, 24, 64, 0.55);
    backdrop-filter: blur(8px);
    border-color: rgba(255, 255, 255, 0.18);
}

.btn-trailer:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(9, 24, 64, 0.75);
    color: var(--text);
}

/* Fragman modal */
.trailer-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.trailer-modal[hidden] {
    display: none;
}

.trailer-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 5, 24, 0.88);
    backdrop-filter: blur(4px);
}

.trailer-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.trailer-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition);
}

.trailer-modal-close:hover {
    background: rgba(177, 19, 63, 0.85);
}

.trailer-modal-body {
    position: relative;
    padding-bottom: 56.25%;
    background: #000;
}

.trailer-modal-body iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

body.modal-open {
    overflow: hidden;
}

/* Eski sınıflar — geriye dönük */
.series-poster { flex-shrink: 0; }
.series-info { flex: 1; min-width: 0; }

.series-category a {
    color: var(--primary-hover);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.series-title {
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 600;
    line-height: 1.25;
    margin: 8px 0;
    color: var(--text);
}

.series-original {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 16px;
}

.series-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.meta-badge {
    background: rgba(16, 24, 37, 0.9);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-muted);
}

.meta-rating { color: #fbbf24; border-color: rgba(251, 191, 36, 0.3); }
.meta-status { color: var(--primary-hover); border-color: rgba(177, 19, 63, 0.3); }
.meta-final {
    color: #fff;
    background: rgba(177, 19, 63, 0.88);
    border-color: rgba(177, 19, 63, 0.5);
}

a.meta-badge:hover {
    color: var(--text-muted);
    background: rgba(16, 24, 37, 0.9);
    border-color: var(--border);
}

.meta-tag {
    color: var(--text-muted);
    font-weight: 500;
}

.meta-tag:hover {
    color: var(--text-muted);
    background: rgba(16, 24, 37, 0.9);
    border-color: var(--border);
}

.series-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.genre-tag {
    background: rgba(177, 19, 63, 0.15);
    color: var(--primary-hover);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    transition: background var(--transition);
}

.genre-tag:hover { background: rgba(177, 19, 63, 0.28); }

.series-description {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.series-body { padding: 32px 20px; }

/* Dizi hakkında — bölümlerin üstü */
.series-about {
    margin-bottom: 24px;
}

.series-about-text {
    color: var(--text-nav);
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
    white-space: pre-line;
}

.series-about-body[data-collapsed="true"][data-about-mode="clamp"] .series-about-text {
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.series-about-p2 {
    margin-top: 1.75em;
}

.series-about-body[data-collapsed="true"] .series-about-rest {
    display: none;
}

.series-about-rest {
    margin-top: 1.75em;
}

@media (max-width: 768px) {
    .series-about-body[data-collapsed="true"][data-about-mode="clamp"] .series-about-text {
        -webkit-line-clamp: 5;
    }

    .series-about-body[data-collapsed="true"] .series-about-p2 {
        display: none;
    }
}

@media (min-width: 769px) {
    .series-about-body[data-two-only="true"] + .series-about-toggle {
        display: none !important;
    }
}

.series-about-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 0;
    border: none;
    background: none;
    color: var(--primary-hover);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: color var(--transition);
}

.series-about-toggle:hover {
    color: #fff;
}

.series-about-toggle::after {
    content: "↓";
    font-size: 12px;
    transition: transform var(--transition);
}

.series-about-body[data-collapsed="false"] + .series-about-toggle::after {
    transform: rotate(180deg);
}

.detail-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
}

.detail-box-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    padding-left: 12px;
    border-left: 3px solid var(--primary);
}

.detail-list { display: grid; gap: 16px; }

.detail-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
}

.detail-row dt { color: var(--text-muted); font-size: 14px; }
.detail-row dd { font-size: 14px; line-height: 1.6; }

.actor-list { display: flex; flex-wrap: wrap; gap: 8px; }

.actor-chip {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: var(--radius);
    font-size: 13px;
    transition: all var(--transition);
}

.actor-chip:hover {
    border-color: var(--primary);
    color: var(--primary-hover);
}

/* Oyuncu / yönetmen grid — dizi sayfası */
.series-cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 20px 16px;
}

.series-cast-grid--scroll {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: 340px;
    overflow-y: auto;
    padding: 12px 10px;
    background: rgba(4, 5, 24, 0.45);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    scrollbar-width: thin;
    scrollbar-color: rgba(177, 19, 63, 0.45) rgba(255, 255, 255, 0.04);
}

.series-cast-grid--scroll::-webkit-scrollbar {
    width: 8px;
}

.series-cast-grid--scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.series-cast-grid--scroll::-webkit-scrollbar-thumb {
    background: rgba(177, 19, 63, 0.45);
    border-radius: 999px;
}

.series-cast-grid--scroll .cast-card {
    min-width: 0;
}

@media (max-width: 992px) {
    .series-cast-grid--scroll {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-height: 360px;
    }
}

@media (max-width: 576px) {
    .series-cast-grid--scroll {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: 380px;
    }
}

.cast-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    color: var(--text);
    transition: transform var(--transition);
}

.cast-card:hover { transform: translateY(-3px); color: var(--text); }

.cast-card-static { cursor: default; }
.cast-card-static:hover { transform: none; }

.cast-photo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(177, 19, 63, 0.25);
    flex-shrink: 0;
}

.cast-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cast-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-hover);
    background: rgba(177, 19, 63, 0.12);
}

.cast-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.cast-role {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}

.series-tag-list { margin-top: 8px; }

.tag-label {
    background: rgba(177, 19, 63, 0.12);
    border-color: rgba(177, 19, 63, 0.25);
}

.trailer-wrap {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: var(--radius);
    overflow: hidden;
    background: #000;
}

.trailer-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.season-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.season-tab {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}

.season-tab:hover { border-color: var(--primary); color: var(--text); }

.season-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.episode-list { display: none; }
.episode-list.active { display: grid; gap: 6px; }

.episode-item-current {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(177, 19, 63, 0.15);
    border: 1px solid rgba(177, 19, 63, 0.45);
    border-radius: var(--radius);
    cursor: default;
}

.ep-watching {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-hover);
    background: rgba(177, 19, 63, 0.2);
    border: 1px solid rgba(177, 19, 63, 0.35);
    border-radius: 999px;
    padding: 4px 12px;
    white-space: nowrap;
}

/* Dizi detay — alt sekmeler */
.series-section-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.series-section-tab {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}

.series-section-tab:hover {
    border-color: rgba(177, 19, 63, 0.4);
    color: var(--text);
}

.series-section-tab.active {
    background: rgba(177, 19, 63, 0.18);
    border-color: rgba(177, 19, 63, 0.5);
    color: var(--primary-hover);
}

.series-section-panel { display: none; }
.series-section-panel.active { display: block; }

.watch-episodes-box { margin-top: 8px; }

.watch-episodes-box .episode-list.active {
    max-height: 420px;
    overflow-y: auto;
    padding: 8px;
    background: rgba(4, 5, 24, 0.45);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}

.watch-episodes-box .episode-list.active {
    scrollbar-width: thin;
    scrollbar-color: rgba(177, 19, 63, 0.45) rgba(255, 255, 255, 0.04);
}

.watch-episodes-box .episode-list.active::-webkit-scrollbar {
    width: 8px;
}

.watch-episodes-box .episode-list.active::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.watch-episodes-box .episode-list.active::-webkit-scrollbar-thumb {
    background: rgba(177, 19, 63, 0.45);
    border-radius: 999px;
}

.episode-item {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.03);
    transition: all var(--transition);
}

.episode-item:hover {
    background: rgba(177, 19, 63, 0.08);
    border-color: rgba(177, 19, 63, 0.28);
}

.ep-number {
    background: var(--bg);
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.watch-episodes-box .ep-number {
    background: rgba(255, 255, 255, 0.06);
    color: var(--primary-hover);
    border-color: rgba(177, 19, 63, 0.18);
}

.watch-episodes-box .episode-item:hover .ep-number {
    background: rgba(177, 19, 63, 0.12);
    border-color: rgba(177, 19, 63, 0.28);
}

.watch-episodes-box .episode-item-current .ep-number {
    background: rgba(177, 19, 63, 0.18);
    border-color: rgba(177, 19, 63, 0.35);
    color: #fff;
}

.ep-title {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ep-date { font-size: 12px; color: var(--text-muted); }

/* ── İzleme Sayfası (AF tarzı) ── */
.watch-page { padding: 24px 0 0; }

.af-watch .watch-head { margin-bottom: 20px; }

.watch-ep-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 15px;
    margin: 6px 0 12px;
}

.watch-ep-part {
    color: var(--text-nav);
    font-weight: 600;
}

.watch-ep-sep {
    color: rgba(138, 152, 168, 0.75);
    font-weight: 400;
}

.watch-ep-date {
    color: var(--text-muted);
    font-weight: 500;
}

.watch-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.af-watch .player-wrap {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.af-watch .ep-nav-btn.ep-nav-series {
    background: rgba(177, 19, 63, 0.12);
    border-color: rgba(177, 19, 63, 0.35);
    color: var(--primary-hover);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.breadcrumb a:hover { color: var(--primary-hover); }

.watch-title {
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.watch-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
}

.watch-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}

.ad-slot { margin-bottom: 16px; text-align: center; }
.ad-slot:empty { display: none; }

.player-wrap {
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.player-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
}

.player-tab {
    flex: 0 0 auto;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border-bottom: 1px solid var(--border);
    font-family: inherit;
}

.player-tab:hover {
    border-color: rgba(177, 19, 63, 0.4);
    color: var(--text);
}

.player-tab.active {
    color: #fff;
    border-color: var(--primary);
    background: rgba(177, 19, 63, 0.85);
}

.player-frame {
    position: relative;
    padding-bottom: 56.25%;
    background: #000;
}

.player-source {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 1;
}

.player-source.active { display: block; }

.player-source iframe,
.player-source video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 1;
}

.player-start-overlay {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0a0a14;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.player-start-overlay.has-cover,
.player-start-overlay.has-poster {
    transform: scale(1.01);
}

.player-start-overlay-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4, 5, 24, 0.35) 0%, rgba(4, 5, 24, 0.72) 50%, rgba(4, 5, 24, 0.9) 100%),
        radial-gradient(circle at center, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55) 72%);
}

.player-start-overlay.is-hidden {
    display: none;
}

.player-start-btn {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
    cursor: pointer;
    transition: transform var(--transition), filter var(--transition);
}

.player-start-icon {
    display: block;
    width: 92px;
    height: 92px;
    filter: drop-shadow(0 10px 28px rgba(177, 19, 63, 0.55));
}

.player-start-overlay:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -4px;
}

.player-start-overlay:hover .player-start-btn,
.player-start-btn:focus-visible {
    transform: scale(1.1);
    filter: brightness(1.03);
}

@media (max-width: 768px) {
    .player-start-icon {
        width: 78px;
        height: 78px;
    }
}

.player-empty {
    text-align: center;
    color: var(--text-muted);
}

.player-preparing {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 56.25%;
    min-height: 280px;
    background: #0a0a14;
}

.player-preparing-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.04);
    filter: blur(2px);
}

.player-preparing-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4, 5, 24, 0.55) 0%, rgba(4, 5, 24, 0.82) 45%, rgba(4, 5, 24, 0.94) 100%),
        radial-gradient(ellipse at center, rgba(177, 19, 63, 0.12) 0%, transparent 70%);
}

.player-preparing-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.player-preparing:not(.has-cover):not(.has-poster) {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.25) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.player-preparing-title {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.player-preparing-date {
    margin: 0 0 8px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
}

.player-preparing-date strong {
    color: #86efac;
    font-weight: 600;
}

.player-preparing-text {
    margin: 0 0 22px;
    max-width: 420px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
}

.player-preparing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.player-copyright-notice .player-preparing-overlay {
    background:
        linear-gradient(180deg, rgba(8, 10, 28, 0.72) 0%, rgba(8, 10, 28, 0.9) 50%, rgba(8, 10, 28, 0.96) 100%),
        radial-gradient(ellipse at center, rgba(177, 19, 63, 0.18) 0%, transparent 72%);
}

.player-copyright-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(177, 19, 63, 0.22);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.player-copyright-icon span {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.player-copyright-title {
    margin-bottom: 10px;
}

.player-copyright-text {
    margin-bottom: 0;
    max-width: 560px;
}

.player-copyright-subtitle {
    margin: 18px 0 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.player-copyright-subtext {
    margin-bottom: 0;
    max-width: 560px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 768px) {
    .player-copyright-notice .player-preparing-content {
        padding: 28px 18px;
    }

    .player-copyright-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }

    .player-copyright-icon span {
        font-size: 20px;
    }

    .player-copyright-text,
    .player-copyright-subtext {
        font-size: 13px;
        line-height: 1.55;
    }

    .player-copyright-subtitle {
        margin-top: 14px;
    }
}

.episode-nav {
    display: flex;
    gap: 8px;
    margin: 16px 0 24px;
    flex-wrap: wrap;
}

.ep-nav-btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 12px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition);
}

.ep-nav-btn:hover:not(.ep-nav-disabled) {
    border-color: var(--primary);
    color: var(--primary-hover);
}

.ep-nav-disabled { opacity: 0.4; cursor: not-allowed; }

.watch-sidebar {
    /* Sol site sidebar gibi sayfayla birlikte kayar (sticky değil) */
    position: static;
}

.watch-sidebar-mobile {
    display: none;
    margin-bottom: 20px;
}

.watch-sidebar-card-wrap {
    display: block;
}

.sidebar-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

.sidebar-poster {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.sidebar-title { font-size: 16px; font-weight: 700; margin-bottom: 12px; }

.sidebar-meta { display: grid; gap: 8px; margin-bottom: 12px; }

.sidebar-meta li {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.sidebar-meta span { color: var(--text-muted); }

.sidebar-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Yorumlar ── */
.comment-form {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.form-row input,
.form-row textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    padding: 10px 14px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition);
}

.form-row input:focus,
.form-row textarea:focus { border-color: var(--primary); }

.form-row textarea { resize: vertical; min-height: 80px; }

.form-note { font-size: 13px; min-height: 18px; }
.form-note.success { color: #34d399; }
.form-note.error { color: #f87171; }

.comment-list { display: grid; gap: 0; }

.comment-item {
    padding: 16px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comment-item:last-child,
.comment-replies .comment-item:last-child {
    border-bottom: none;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 6px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.comment-avatar-link {
    flex-shrink: 0;
    display: block;
    text-decoration: none;
}

.comment-avatar-img,
.comment-avatar-img.flow-avatar-letter {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-avatar-img.flow-avatar-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

.comment-author-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.comment-author-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

a.comment-author-name:hover {
    color: var(--primary-hover);
}

.comment-author-meta time {
    font-size: 12px;
    color: var(--text-muted);
}

.comment-form-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.comment-header time { font-size: 12px; color: var(--text-muted); }

.comment-body {
    font-size: 14px;
    color: var(--text);
    line-height: 1.65;
    margin: 0 0 8px;
    padding-left: 52px;
}

.comment-body-wrap {
    padding-left: 52px;
}

.comment-body-wrap .comment-body {
    padding-left: 0;
    margin-bottom: 0;
}

.comment-spoiler-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

.comment-spoiler-toggle input {
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.comment-spoiler-toggle-box {
    width: 16px;
    height: 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--bg);
    flex-shrink: 0;
    pointer-events: none;
}

.comment-spoiler-toggle input:checked + .comment-spoiler-toggle-box {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: inset 0 0 0 2px var(--bg);
}

.comment-body-wrap.is-spoiler .comment-spoiler-content.is-hidden {
    display: none;
}

.comment-spoiler-reveal {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 100%;
    padding: 8px 12px;
    margin: 0 0 8px;
    border: 1px solid rgba(177, 19, 63, 0.28);
    border-radius: 8px;
    background: rgba(177, 19, 63, 0.1);
    color: #e7b4c0;
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.comment-spoiler-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(177, 19, 63, 0.88);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
}

.comment-spoiler-hint {
    color: inherit;
}

.comment-spoiler-reveal:hover {
    background: rgba(177, 19, 63, 0.16);
    border-color: rgba(230, 57, 70, 0.45);
    color: #f3c9d3;
}

.comment-spoiler-reveal:focus {
    outline: none;
    border-color: rgba(230, 57, 70, 0.55);
    box-shadow: 0 0 0 2px rgba(177, 19, 63, 0.2);
}

.comment-spoiler-reveal:focus .comment-spoiler-hint,
.comment-spoiler-reveal:hover .comment-spoiler-hint {
    color: inherit;
}

.comment-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    padding-left: 52px;
}

.comment-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 32px;
    padding: 6px 10px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: color var(--transition), background var(--transition);
}

.comment-action:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.comment-action-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: 0.85;
}

.comment-action-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-nav, var(--text-muted));
    min-width: 8px;
    line-height: 1;
}

.comment-action-count.is-empty {
    display: none;
}

.comment-like-btn,
.flow-like-btn {
    position: relative;
}

.comment-like-count:not(.is-empty),
.flow-like-count:not(.is-empty) {
    cursor: pointer;
}

.comment-likers-popover {
    position: fixed;
    z-index: 10050;
    width: 220px;
    max-width: min(220px, calc(100vw - 16px));
    max-height: min(280px, calc(100vh - 16px));
    padding: 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #121a28;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
    overflow: hidden;
    box-sizing: border-box;
}

.comment-likers-popover.is-below {
    transform: translateY(-4px);
}

.comment-likers-popover.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.comment-likers-title {
    margin: 0 0 6px;
    padding: 0 4px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.comment-likers-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 220px;
    overflow-x: hidden;
    overflow-y: auto;
}

.comment-likers-item {
    margin: 0;
}

.comment-likers-link,
.comment-likers-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 4px;
    border-radius: 6px;
    color: var(--text);
    text-decoration: none;
    min-width: 0;
}

.comment-likers-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.comment-likers-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
}

.comment-likers-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}

.comment-likers-name {
    min-width: 0;
    flex: 1;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.comment-likers-more,
.comment-likers-empty {
    padding: 6px 4px 2px;
    font-size: 11px;
    color: var(--text-muted);
}

.comment-like-btn.is-active {
    color: var(--primary-hover);
}

.comment-like-btn.is-active .comment-action-icon,
.comment-like-btn.is-active .comment-action-count {
    color: var(--primary-hover);
    opacity: 1;
}

.comment-dislike-btn.is-active {
    color: #94a3b8;
}

.comment-dislike-btn.is-active .comment-action-icon,
.comment-dislike-btn.is-active .comment-action-count {
    color: #94a3b8;
    opacity: 1;
}

.comment-reply-btn {
    margin-right: 4px;
}

.comment-replies {
    margin: 0 0 0 52px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    display: grid;
    gap: 0;
}

.comment-item-reply {
    padding: 12px 0;
}

.comment-item-reply .comment-body-wrap,
.comment-item-reply .comment-body,
.comment-item-reply .comment-actions {
    padding-left: 0;
}

.comment-item-reply .comment-avatar-img,
.comment-item-reply .comment-avatar-img.flow-avatar-letter {
    width: 32px;
    height: 32px;
    font-size: 13px;
}

.comment-reply-form {
    margin-bottom: 12px;
    padding: 12px;
    background: var(--surface, var(--bg));
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.comment-reply-form .comment-reply-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ── Emoji (EmojioneArea) ── */
.emojionearea,
.emojionearea.form-control {
    position: relative;
    width: 100%;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

.emojionearea .emojionearea-editor {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    min-height: 80px;
    padding: 10px 42px 10px 14px;
    transition: border-color var(--transition);
}

.emojionearea .emojionearea-editor:focus {
    border-color: var(--primary);
    outline: none;
}

.emojionearea .emojionearea-button {
    top: auto;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    background-image: none !important;
    border: 0;
    border-radius: var(--radius);
    transition: background var(--transition);
}

.emojionearea .emojionearea-button > div {
    display: none !important;
}

.emojionearea .emojionearea-button::before {
    content: '😊';
    display: block;
    font-size: 18px;
    line-height: 1;
    transform: none;
    filter: none;
    opacity: 0.88;
    transition: opacity var(--transition), transform var(--transition);
}

.emojionearea .emojionearea-button:hover {
    background: rgba(255, 255, 255, 0.06) !important;
}

.emojionearea .emojionearea-button:hover::before {
    opacity: 1;
    transform: scale(1.06);
}

.emojionearea .emojionearea-button.active {
    background: rgba(177, 19, 63, 0.14) !important;
}

.emojionearea .emojionearea-button.active::before {
    opacity: 1;
}

/* Picker panel */
.emojionearea .emojionearea-picker {
    background: var(--card-bg) !important;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    width: min(100%, 300px) !important;
    height: auto !important;
    top: calc(100% + 8px) !important;
    bottom: auto !important;
    left: 0 !important;
    right: auto !important;
    margin: 0;
    z-index: 120;
    overflow: hidden;
    filter: none !important;
    opacity: 1 !important;
}

.emojionearea .emojionearea-picker.emojionearea-picker-position-bottom {
    top: calc(100% + 8px) !important;
    margin-top: 0;
}

.emojionearea .emojionearea-picker .emojionearea-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100% !important;
    height: 292px !important;
    background: var(--card-bg);
    overflow: hidden;
}

.emojionearea .emojionearea-picker .emojionearea-wrapper::after {
    display: none !important;
}

.emojionearea-picker .emojionearea-button-close {
    position: absolute;
    z-index: 99;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    background: rgba(4, 5, 24, 0.55) !important;
    background-image: none !important;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    opacity: 1;
}

.emojionearea-picker .emojionearea-button-close > * {
    display: none !important;
}

.emojionearea-picker .emojionearea-button-close::before,
.emojionearea-picker .emojionearea-button-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 1.5px;
    background: var(--text-muted);
    border-radius: 1px;
}

.emojionearea-picker .emojionearea-button-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.emojionearea-picker .emojionearea-button-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.emojionearea-picker .emojionearea-button-close:hover {
    background: rgba(177, 19, 63, 0.2) !important;
    border-color: rgba(177, 19, 63, 0.35);
}

.emojionearea .emojionearea-picker .emojionearea-filters {
    position: static !important;
    flex-shrink: 0;
    float: none;
    width: 100%;
    height: auto !important;
    padding: 8px 8px 6px;
    background: var(--surface) !important;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.emojionearea .emojionearea-picker .emojionearea-filters .emojionearea-filter {
    float: none !important;
    flex: 0 0 34px;
    width: 34px !important;
    height: 34px !important;
    padding: 4px !important;
    margin: 0;
    border-radius: var(--radius);
    background: transparent !important;
    filter: grayscale(0.35) brightness(0.95);
    transition: background var(--transition), filter var(--transition);
}

.emojionearea .emojionearea-picker .emojionearea-filters .emojionearea-filter:hover,
.emojionearea .emojionearea-picker .emojionearea-filters .emojionearea-filter.active {
    background: rgba(177, 19, 63, 0.14) !important;
    filter: none;
}

.emojionearea .emojionearea-picker .emojionearea-filters .emojionearea-filter > img,
.emojionearea .emojionearea-picker .emojionearea-filters .emojionearea-filter > i {
    width: 22px !important;
    height: 22px !important;
    margin: 0 auto;
}

.emojionearea .emojionearea-picker .emojionearea-search-panel {
    position: static !important;
    flex-shrink: 0;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    height: auto !important;
    padding: 8px 10px;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
}

.emojionearea .emojionearea-picker .emojionearea-search {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
}

.emojionearea .emojionearea-picker .emojionearea-search > input {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    padding: 8px 12px;
    outline: none;
}

.emojionearea .emojionearea-picker .emojionearea-search > input:focus {
    border-color: var(--primary);
}

.emojionearea .emojionearea-picker .emojionearea-search > input::placeholder {
    color: var(--text-muted);
}

.emojionearea .emojionearea-picker .emojionearea-scroll-area {
    position: relative !important;
    top: auto !important;
    flex: 1;
    min-height: 0;
    width: 100% !important;
    height: auto !important;
    padding: 6px 4px 8px;
    background: var(--card-bg) !important;
    overflow: auto;
    overflow-x: hidden;
}

.emojionearea .emojionearea-picker .emojionearea-search-panel + .emojionearea-scroll-area {
    height: auto !important;
}

.emojionearea .emojionearea-picker .emojionearea-scroll-area .emojionearea-category-title {
    background: transparent !important;
    color: var(--text-muted) !important;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
    padding: 8px 8px 4px;
    margin: 0;
}

.emojionearea .emojionearea-picker .emojionearea-scroll-area .emojionearea-category-block {
    padding: 0 4px;
}

.emojionearea .emojionearea-picker .emojionearea-scroll-area .emojibtn {
    width: 32px;
    height: 32px;
    margin: 2px;
    padding: 4px;
    border-radius: 8px;
    transition: background var(--transition);
}

.emojionearea .emojionearea-picker .emojionearea-scroll-area .emojibtn:hover {
    background: rgba(177, 19, 63, 0.16) !important;
}

.emojionearea .emojionearea-picker .emojionearea-scroll-area .emojibtn i,
.emojionearea .emojionearea-picker .emojionearea-scroll-area .emojibtn img,
.emojionearea .emojionearea-picker .emojionearea-scroll-area [class*=emojione-] {
    width: 22px !important;
    height: 22px !important;
}

.emojionearea .emojionearea-picker .emojionearea-tones-panel .emojionearea-tones,
.emojionearea .emojionearea-picker .emojionearea-search-panel .emojionearea-tones {
    float: none;
    margin: 6px 0 0;
}

.flow-compose,
.flow-comment-form,
.flow-reply-form,
.flow-edit-form,
.comment-form,
.messages-compose-form {
    overflow: visible;
}

.flow-compose-head .emojionearea {
    flex: 1;
    min-width: 0;
}

.flow-compose-head .emojionearea .emojionearea-editor {
    min-height: 88px;
    background: rgba(0, 0, 0, 0.25);
    padding-right: 42px;
}

.flow-comment-form .emojionearea,
.flow-reply-form .emojionearea,
.flow-edit-form .emojionearea,
.messages-compose-form .emojionearea {
    margin-bottom: 8px;
}

.flow-comment-form .emojionearea .emojionearea-editor,
.flow-reply-form .emojionearea .emojionearea-editor,
.messages-compose-form .emojionearea .emojionearea-editor {
    min-height: 56px;
}

.messages-compose-form {
    display: grid;
    gap: 10px;
}

/* ── Liste / Arama ── */
.listing-page {
    padding: 32px 0 48px;
}

.listing-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 32px;
}

.listing-header-category {
    margin-bottom: 24px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(177, 19, 63, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(177, 19, 63, 0.18);
    border-radius: var(--radius-lg);
}

.listing-header-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.listing-header-accent {
    flex-shrink: 0;
    width: 4px;
    height: 32px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-hover) 100%);
    box-shadow: 0 0 14px rgba(177, 19, 63, 0.35);
}

.listing-header-text {
    min-width: 0;
}

.listing-header-category .listing-title {
    font-size: clamp(15px, 1.6vw, 17px);
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-bottom: 4px;
    color: var(--text-nav);
}

.listing-header-category .listing-subtitle,
.listing-header-category .listing-bio {
    font-size: 14px;
    line-height: 1.55;
    max-width: 720px;
}

.listing-search {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    max-width: 560px;
}

.listing-search input {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    color: var(--text);
    padding: 12px 16px;
    font-size: 15px;
    outline: none;
    font-family: inherit;
}

.listing-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(177, 19, 63, 0.2);
}

.listing-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
    flex-shrink: 0;
}

.listing-title {
    margin-bottom: 6px;
    font-size: clamp(17px, 1.8vw, 20px);
    font-weight: 600;
    color: var(--text);
}

.listing-subtitle {
    color: var(--text-muted);
    line-height: 1.65;
    white-space: pre-line;
}

.listing-section { margin-bottom: 40px; }

.listing-section .section-header {
    margin-bottom: 20px;
}

.explore-filters {
    margin-bottom: 28px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.explore-filters-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.explore-filter-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.explore-filter-select {
    width: 100%;
    height: 42px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--card-bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23c4c4c4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    padding: 0 38px 0 12px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    color-scheme: dark;
    transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.explore-filter-select:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background-color: #141f2e;
}

.explore-filter-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(177, 19, 63, 0.22);
}

.explore-filter-select option,
.explore-filter-select optgroup {
    background-color: var(--card-bg);
    color: var(--text);
}

.explore-filter-select option:checked,
.explore-filter-select option:hover {
    background-color: rgba(177, 19, 63, 0.35);
    color: var(--text);
}

.explore-filter-select option:disabled {
    color: var(--text-muted);
}

.explore-filters-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
}

.explore-filter-submit {
    padding: 10px 22px;
    font-size: 14px;
}

.explore-filter-reset {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
}

.explore-filter-reset:hover { color: var(--primary-hover); }

@media (max-width: 1100px) {
    .explore-filters-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .explore-filters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .listing-header-category {
        box-sizing: border-box;
    }

    .listing-header-main {
        align-items: flex-start;
        flex: 1;
    }

    .listing-header-accent {
        margin-top: 2px;
    }

    .listing-header-text,
    .listing-header-category .listing-title,
    .listing-header-category .listing-subtitle,
    .listing-header-category .listing-bio,
    .listing-bio {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    .explore-filters-grid {
        grid-template-columns: 1fr;
    }

    .listing-header-category {
        padding: 14px;
    }
}

.listing-bio {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 12px;
    line-height: 1.7;
    max-width: 720px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: stretch;
}

.content-grid-item {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Ana sayfa — Japon / Tayland / Tayvan / Filipin (masaüstü 7'li satır) */
.content-grid.content-grid-home-country {
    grid-template-columns: repeat(7, 1fr);
}

@media (max-width: 768px) {
    .content-grid.content-grid-home-country {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.is-load-more-hidden {
    display: none !important;
}

.load-more-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 11px 28px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--text-nav);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: none;
}

.btn-load-more:hover {
    background: var(--card-bg);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--text);
}

.btn-load-more:active {
    transform: scale(0.99);
}

.load-more-end {
    margin: 0;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
}

.episode-list .load-more-wrap {
    margin-top: 12px;
    padding-top: 8px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.page-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    transition: all var(--transition);
}

.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary-hover);
}

.page-info { color: var(--text-muted); font-size: 14px; }

/* Temalı kaydırma çubuğu */
.theme-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(177, 19, 63, 0.45) rgba(255, 255, 255, 0.04);
}

.theme-scroll::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.theme-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.theme-scroll::-webkit-scrollbar-thumb {
    background: rgba(177, 19, 63, 0.45);
    border-radius: 999px;
}

.theme-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(177, 19, 63, 0.65);
}

/* Eski kart sınıfları — liste sayfaları uyumluluğu */
.content-card { display: block; }
.card-poster { aspect-ratio: 2/3; border-radius: var(--radius-lg); overflow: hidden; background: var(--card-bg); }
.card-poster img { width: 100%; height: 100%; object-fit: cover; }
.card-info { padding: 10px 2px 0; }
.card-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.card-placeholder, .poster-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: #1a2234; font-size: 48px; font-weight: 700; color: var(--primary);
}

/* ── Responsive ── */
@media (max-width: 1200px) {
    .tv-guide-grid { grid-template-columns: repeat(3, 1fr); }
    .content-grid { grid-template-columns: repeat(5, 1fr); }
    .collection-slider .splide__arrow--prev { left: -30px; }
    .collection-slider .splide__arrow--next { right: -30px; }
}

@media (max-width: 1200px) {
    .mega-menu-left {
        grid-template-columns: 1fr 1fr;
    }

    .mega-menu-section:nth-child(3) {
        grid-column: 1 / -1;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 16px;
        margin-top: 8px;
    }

    .mega-menu-right {
        width: 280px;
    }
}

@media (max-width: 992px) {
    .main-navigation,
    .search-section { display: none; }

    .header-sub { display: none; }

    .nav-desktop-only { display: none !important; }
    .nav-mobile-only { display: list-item !important; }

    .mega-menu { display: none !important; }

    .site-header.has-sub-nav + .main-content {
        padding-top: var(--header-top-h);
    }

    .auth-buttons {
        display: flex;
        gap: 8px;
    }

    .auth-buttons .btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .user-section .user-name-short { display: none; }

    .hamburger-btn { display: flex; }

    .main-navigation.open {
        display: block;
        position: fixed;
        top: var(--header-top-h);
        left: 0;
        right: 0;
        bottom: 0;
        overflow-y: auto;
        background: rgba(4, 5, 24, 0.98);
        border-bottom: 1px solid var(--border);
        padding: 16px 20px 32px;
        z-index: 999;
    }

    .main-navigation.open .nav-menu {
        flex-direction: column;
        gap: 4px;
    }

    .main-navigation.open .nav-auth-mobile,
    .main-navigation.open .nav-sub-mobile { display: list-item; }

    .main-navigation.open .nav-auth-mobile .btn {
        display: flex;
        width: 100%;
        margin-top: 8px;
    }

    .main-navigation.open .nav-sub-mobile-heading {
        display: list-item;
        margin-top: 12px;
        padding: 8px 0 4px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--text-muted);
    }

    .tv-guide-grid { grid-template-columns: repeat(2, 1fr); }
    .content-grid { grid-template-columns: repeat(4, 1fr); }

    .detail-row { grid-template-columns: 1fr; gap: 4px; }
    .watch-layout { grid-template-columns: 1fr; }
    .watch-sidebar { position: static; }
    .watch-sidebar-mobile { display: block; }
    .watch-page-episode .watch-sidebar-mobile { display: none; }
    .watch-sidebar-card-wrap { display: none; }

    /* Dizi hero — mobil: afiş solda, kapak + bilgi sağda */
    .series-hero {
        margin-bottom: 20px;
    }

    .series-hero-card {
        flex-direction: row;
        align-items: stretch;
        min-height: 0;
    }

    .series-hero-poster {
        width: 112px;
        max-width: 36%;
        flex-shrink: 0;
    }

    .series-hero-poster img,
    .series-hero-poster .card-placeholder {
        width: 100%;
        height: 100%;
        min-height: 0;
        max-height: none;
        aspect-ratio: 2 / 3;
        object-fit: cover;
    }

    .series-hero-panel {
        min-height: 168px;
    }

    .series-hero-panel-overlay {
        background:
            linear-gradient(to right, rgba(4, 5, 24, 0.94) 0%, rgba(4, 5, 24, 0.68) 100%),
            linear-gradient(to top, rgba(4, 5, 24, 0.45) 0%, transparent 55%);
    }

    .series-hero-panel-content {
        padding: 12px 14px;
        text-align: left;
        align-items: flex-start;
        justify-content: center;
        gap: 8px;
    }

    .series-hero-panel-content .series-title {
        font-size: 1.05rem;
        line-height: 1.25;
    }

    .series-hero-panel-content .series-original {
        font-size: 12px;
        line-height: 1.35;
    }

    .series-hero-panel-content .series-meta,
    .series-hero-panel-content .series-genres,
    .series-hero-actions {
        justify-content: flex-start;
    }

    .series-hero-panel-content .meta-badge {
        font-size: 10px;
        padding: 3px 7px;
    }

    .series-hero-actions {
        gap: 6px;
        margin-top: 2px;
        width: 100%;
    }

    .series-hero-actions .btn-primary,
    .series-hero-actions .btn-outline,
    .series-hero-actions .content-follow-btn,
    .series-hero-actions .content-collection-btn {
        min-height: 34px;
        padding: 6px 10px;
        font-size: 12px;
    }

    .series-hero-panel-content .series-description {
        -webkit-line-clamp: 4;
    }

    .footer-content { grid-template-columns: repeat(2, 1fr); }
    .collection-slider .splide__arrow { display: none; }
    .cuff-hero-slider .splide__arrow { display: none; }
}

@media (max-width: 768px) {
    .main-content { padding-top: 80px; }

    .cuff-hero-slider .splide__slide {
        max-height: none;
        border-radius: 16px;
    }
    .slide-bg, .slide-overlay { border-radius: 16px; }
    .logo-left-bottom { left: 20px; bottom: 20px; }

    .content-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-content { grid-template-columns: 1fr; gap: 30px; padding: 40px 0 30px; }
}

@media (max-width: 480px) {
    .tv-guide-grid { gap: 10px; }
    .program-info { padding: 12px; }
    .program-title { font-size: 13px; }
    .program-time { font-size: 11px; }
    .content-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .section-header-title { font-size: 14px; }
    .view-all-btn { font-size: 0.7rem; padding: 4px 8px; }
    .series-poster { width: 160px; }
    .series-poster img { width: 160px; }
}

/* ── Oyuncu Sayfası (AF tarzı) ── */
.actor-hero {
    background: linear-gradient(135deg, rgba(177, 19, 63, 0.12) 0%, var(--bg) 55%);
    border-bottom: 1px solid var(--border);
    padding: 36px 0 32px;
    margin-top: -20px;
}

.actor-hero-inner {
    display: flex;
    gap: 28px;
    align-items: center;
}

.actor-photo-wrap { flex-shrink: 0; }

.actor-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(177, 19, 63, 0.45);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.actor-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    font-size: 56px;
    font-weight: 700;
    color: var(--primary);
}

.actor-hero-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-hover);
    font-weight: 600;
    margin-bottom: 6px;
}

.actor-hero-name {
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 6px;
    color: var(--text);
}

.actor-hero-country {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 12px;
}

.actor-hero-bio {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 16px;
}

.actor-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.actor-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.actor-stat {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.actor-body { padding: 32px 20px 48px; }

.actor-section { margin-bottom: 40px; }

.actor-works-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.actor-work-card {
    display: block;
    transition: transform 0.2s ease;
}

.actor-work-card:hover { transform: translateY(-3px); }

.actor-work-poster {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: var(--card-bg);
    margin-bottom: 10px;
}

.actor-work-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.actor-work-title {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.actor-work-role {
    font-size: 13px;
    color: var(--primary-hover);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.actor-work-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

@media (max-width: 1200px) {
    .actor-works-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .actor-hero-inner { flex-direction: column; text-align: center; }
    .actor-hero-actions { justify-content: center; }
    .actor-works-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Statik Sayfalar (Hakkımızda / İletişim) ── */
.static-page {
    padding: 32px 0 60px;
}

.static-page-hero {
    margin-bottom: 24px;
}

.static-page-title {
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 600;
    line-height: 1.25;
    color: var(--text);
}

.static-page-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.static-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.static-page-content {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 15px;
}

.static-page-content h2,
.static-page-content h3 {
    color: var(--text);
    margin: 1.4em 0 0.6em;
    line-height: 1.3;
}

.static-page-content h2:first-child,
.static-page-content h3:first-child {
    margin-top: 0;
}

.static-page-content p {
    margin-bottom: 1em;
}

.static-page-content ul,
.static-page-content ol {
    margin: 0 0 1em 1.2em;
}

.contact-info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.contact-info-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.contact-info-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-info-value {
    color: var(--text);
    font-weight: 600;
    word-break: break-word;
}

@media (max-width: 900px) {
    .static-page-grid {
        grid-template-columns: 1fr;
    }
}

.static-page-grid-single {
    grid-template-columns: 1fr;
}

.actors-list-page { padding-bottom: 48px; }

.actors-directory-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.actors-directory-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.2s, border-color 0.2s;
}

.actors-directory-card:hover {
    transform: translateY(-3px);
    border-color: rgba(177, 19, 63, 0.35);
}

.actors-directory-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.actors-directory-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.actors-directory-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-hover);
}

.actors-directory-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.actors-directory-country,
.actors-directory-stats {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.actors-directory-stats {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 6px;
}

.actors-popular-stage {
    margin-bottom: 48px;
}

.actors-popular-stage-inner {
    position: relative;
    padding: 24px 24px 28px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(177, 19, 63, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 100% 0%, rgba(245, 158, 11, 0.12) 0%, transparent 50%),
        linear-gradient(165deg, rgba(16, 24, 37, 0.98) 0%, rgba(8, 12, 22, 0.98) 100%);
    border: 1px solid rgba(177, 19, 63, 0.28);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 20px 50px rgba(0, 0, 0, 0.45),
        0 0 40px rgba(177, 19, 63, 0.08);
    overflow: hidden;
}

.actors-popular-stage-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.02), transparent);
    pointer-events: none;
}

.actors-popular-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.actors-popular-head-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.actors-popular-head-accent {
    flex-shrink: 0;
    width: 4px;
    height: 42px;
    margin-top: 2px;
    border-radius: 4px;
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 45%, var(--primary) 100%);
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
}

.actors-popular-title {
    margin: 0 0 4px;
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.01em;
    line-height: 1.25;
}

.actors-popular-subtitle {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
}

.actors-popular-badge {
    flex-shrink: 0;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fde68a;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.35);
}

.actors-popular-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.35fr repeat(4, 1fr);
    gap: 14px;
    align-items: end;
}

.actors-popular-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    position: relative;
    min-height: 100%;
}

.actors-popular-card.is-king {
    padding: 22px 16px 18px;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(251, 191, 36, 0.14) 0%, transparent 60%),
        rgba(255, 255, 255, 0.05);
    border-color: rgba(251, 191, 36, 0.42);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.35),
        0 0 24px rgba(251, 191, 36, 0.1);
    transform: translateY(-6px);
}

.actors-popular-card:hover {
    transform: translateY(-4px);
    border-color: rgba(177, 19, 63, 0.45);
    background: rgba(177, 19, 63, 0.08);
    box-shadow: 0 12px 28px rgba(177, 19, 63, 0.15);
}

.actors-popular-card.is-king:hover {
    transform: translateY(-10px);
    border-color: rgba(251, 191, 36, 0.55);
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.4),
        0 0 28px rgba(251, 191, 36, 0.16);
}

.actors-popular-rank {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    min-width: 26px;
    height: 26px;
    padding: 0 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
}

.actors-popular-card.is-king .actors-popular-rank {
    color: #1a1200;
    background: linear-gradient(135deg, #fde68a 0%, #f59e0b 100%);
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
}

.actors-popular-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: visible;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.actors-popular-card.is-king .actors-popular-photo {
    width: 132px;
    height: 132px;
    box-shadow:
        0 0 0 3px rgba(251, 191, 36, 0.35),
        0 12px 32px rgba(0, 0, 0, 0.45);
}

.actors-popular-crown {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    line-height: 0;
}

.actors-popular-photo img,
.actors-popular-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.actors-popular-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-hover);
}

.actors-popular-card.is-king .actors-popular-placeholder {
    font-size: 40px;
}

.actors-popular-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
    color: var(--text);
}

.actors-popular-card.is-king .actors-popular-name {
    font-size: 16px;
}

.actors-popular-country,
.actors-popular-stats {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.actors-popular-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    justify-content: center;
    margin-top: 6px;
}

.actors-popular-stats span {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 11px;
}

.actors-popular-card.is-king .actors-popular-stats span {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.2);
    color: #fde68a;
}

.actors-directory-section {
    margin-top: 8px;
}

@media (max-width: 1200px) {
    .actors-directory-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1100px) {
    .actors-popular-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }

    .actors-popular-card.is-king {
        grid-column: 1 / -1;
        transform: none;
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 16px;
        padding: 18px 20px;
    }

    .actors-popular-card.is-king:hover {
        transform: translateY(-3px);
    }

    .actors-popular-card.is-king .actors-popular-photo {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .actors-popular-card.is-king .actors-popular-meta {
        align-items: flex-start;
        text-align: left;
    }

    .actors-popular-card.is-king .actors-popular-stats {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .actors-popular-stage-inner {
        padding: 18px 16px 20px;
        border-radius: var(--radius-lg);
    }

    .actors-popular-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .actors-popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .actors-popular-card:not(.is-king) {
        padding: 14px 10px 12px;
    }

    .actors-popular-photo {
        width: 84px;
        height: 84px;
    }

    .actors-popular-card.is-king .actors-popular-photo {
        width: 96px;
        height: 96px;
    }

    .actors-directory-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .actors-popular-grid {
        grid-template-columns: 1fr;
    }

    .actors-popular-card.is-king {
        flex-direction: column;
        text-align: center;
    }

    .actors-popular-card.is-king .actors-popular-meta,
    .actors-popular-card.is-king .actors-popular-stats {
        align-items: center;
        text-align: center;
        justify-content: center;
    }
}

/* ── Akış (Feed) ── */
.flow-page { padding: 28px 0 48px; }

.flow-container { max-width: 720px; }

.flow-header { margin-bottom: 20px; }

.flow-header h1 {
    font-size: clamp(17px, 1.8vw, 20px);
    font-weight: 600;
    color: var(--text);
    margin: 0 0 6px;
}

.flow-profile-head h1 {
    font-size: clamp(17px, 1.8vw, 20px);
    font-weight: 600;
    color: var(--text);
    margin: 0 0 4px;
}

.flow-subtitle {
    color: var(--text-muted);
    margin: 0;
    font-size: 15px;
}

.flow-profile-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.flow-back-link {
    font-size: 14px;
    color: var(--text-muted);
}

.flow-back-link:hover { color: var(--primary-hover); }

.flow-alert {
    padding: 14px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 14px;
}

.flow-alert-warn {
    background: rgba(177, 19, 63, 0.12);
    border: 1px solid rgba(177, 19, 63, 0.35);
    color: #fca5a5;
}

.flow-alert-warn a { color: #fff; text-decoration: underline; }

.flow-alert-success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #86efac;
}

.flow-alert-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.flow-compose {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 20px;
}

.flow-compose-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.flow-compose-head textarea,
.flow-compose-head .emojionearea {
    flex: 1;
    min-width: 0;
}

.flow-compose-head textarea {
    min-height: 88px;
    resize: vertical;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    padding: 12px;
    font-family: inherit;
    font-size: 14px;
}

.flow-compose-foot {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding-left: 52px;
    flex-wrap: wrap;
}

.flow-upload-btn {
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted);
    padding: 8px 12px;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
}

.flow-upload-btn:hover { border-color: var(--primary); color: var(--text); }

.flow-preview-names { font-size: 12px; color: var(--text-muted); flex: 1; }

.flow-tabs {
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.flow-tab {
    display: inline-block;
    padding: 10px 4px 12px;
    margin-bottom: -1px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    border-bottom: 2px solid var(--primary);
}

.flow-feed { display: flex; flex-direction: column; gap: 16px; }

.flow-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 20px;
}

.flow-post {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
}

.flow-post-head {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.flow-post-avatar,
.flow-comment-avatar {
    flex-shrink: 0;
    display: block;
    text-decoration: none;
}

.flow-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.flow-avatar-sm { width: 32px; height: 32px; }

.flow-avatar-lg { width: 56px; height: 56px; }

.flow-avatar-letter {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(177, 19, 63, 0.25);
    color: var(--primary-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.flow-avatar-sm.flow-avatar-letter { width: 32px; height: 32px; font-size: 13px; }

.flow-avatar-lg.flow-avatar-letter { width: 56px; height: 56px; font-size: 22px; }

.flow-post-author {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.flow-post-author a {
    font-weight: 700;
    color: var(--text);
}

.flow-post-author span { color: var(--text-muted); margin-left: 4px; }

.flow-post-time {
    font-size: 12px;
    color: var(--text-muted);
}

.flow-post-body {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-nav);
    margin-bottom: 12px;
    word-break: break-word;
}

.flow-mention { color: #fbbf24; font-weight: 600; }
.text-mention { color: #fbbf24; font-weight: 600; text-decoration: none; }
.text-mention:hover { text-decoration: underline; }

.flow-post-images {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
    border-radius: var(--radius);
    overflow: hidden;
}

.flow-images-1 { grid-template-columns: 1fr; }

.flow-images-2 { grid-template-columns: 1fr 1fr; }

.flow-images-3 { grid-template-columns: 1fr 1fr; }

.flow-images-3 .flow-post-image:first-child { grid-column: 1 / -1; }

.flow-images-4 { grid-template-columns: 1fr 1fr; }

.flow-post-image {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #000;
    cursor: zoom-in;
    font: inherit;
    color: inherit;
}

.flow-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.flow-image-more {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    pointer-events: none;
}

/* Akış görsel lightbox */
.flow-lightbox {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.flow-lightbox[hidden] {
    display: none !important;
}

.flow-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 10, 18, 0.88);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.flow-lightbox-panel {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    max-height: min(88vh, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.flow-lightbox-stage {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    max-height: calc(88vh - 48px);
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.flow-lightbox-stage img {
    display: block;
    max-width: 100%;
    max-height: calc(88vh - 48px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-lg);
    background: #0a1018;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.flow-lightbox-close,
.flow-lightbox-nav {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(16, 24, 37, 0.88);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.flow-lightbox-close:hover,
.flow-lightbox-nav:hover {
    background: rgba(177, 19, 63, 0.88);
    border-color: rgba(230, 57, 70, 0.55);
    color: #fff;
}

.flow-lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    font-size: 22px;
    line-height: 1;
}

.flow-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 28px;
    line-height: 1;
}

.flow-lightbox-prev { left: 8px; }
.flow-lightbox-next { right: 8px; }

.flow-lightbox-nav[hidden],
.flow-lightbox-counter[hidden] {
    display: none !important;
}

.flow-lightbox-counter {
    position: relative;
    z-index: 1;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(16, 24, 37, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

body.flow-lightbox-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .flow-lightbox {
        padding: 10px;
    }

    .flow-lightbox-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }

    .flow-lightbox-nav {
        width: 36px;
        height: 36px;
        font-size: 24px;
    }

    .flow-lightbox-prev { left: 4px; }
    .flow-lightbox-next { right: 4px; }

    .flow-lightbox-stage img {
        max-height: calc(84vh - 40px);
        border-radius: var(--radius);
    }
}

.flow-post-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.flow-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 8px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: color var(--transition), background var(--transition);
    min-width: 0;
}

.flow-action:hover:not(:disabled) {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.flow-action:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.flow-action-svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.flow-action-text {
    white-space: nowrap;
}

.flow-action-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-nav);
    min-width: 10px;
}

.flow-action-count.is-empty {
    display: none;
}

.flow-action-btn:disabled,
.flow-action:disabled { opacity: 0.45; cursor: not-allowed; }

.flow-like-btn.is-active {
    color: var(--primary-hover);
}

.flow-like-btn.is-active .flow-action-svg {
    fill: var(--primary-hover);
    stroke: var(--primary-hover);
}

.flow-like-btn.is-active .flow-action-count {
    color: var(--primary-hover);
}

.flow-dislike-btn.is-active {
    color: #94a3b8;
}

.flow-dislike-btn.is-active .flow-action-count {
    color: #94a3b8;
}

.flow-comment-toggle.is-open {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.flow-post-manage {
    margin-left: auto;
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.flow-manage-btn {
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    transition: all var(--transition);
}

.flow-manage-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text);
}

.flow-delete-post-btn:hover,
.flow-delete-comment-btn:hover,
.comment-delete-btn:hover {
    border-color: rgba(239, 68, 68, 0.5);
    color: #f87171;
}

.flow-edit-form {
    margin-bottom: 12px;
}

.flow-edit-form textarea {
    width: 100%;
    min-height: 90px;
    resize: vertical;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    padding: 10px;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 8px;
}

.flow-edit-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.flow-comment-action-btn.flow-reply-btn:hover { color: var(--primary-hover); }

.comment-delete-btn {
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
}

.comment-owner-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.comment-edit-btn {
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    transition: all var(--transition);
}

.comment-edit-btn:hover {
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--text);
}

.comment-item.is-deleted {
    opacity: 0.72;
}

.comment-deleted-note {
    margin: 0;
    font-size: 13px;
    font-style: italic;
    color: var(--text-muted);
}

.comment-edit-form {
    margin-top: 4px;
}

.comment-edit-form textarea {
    width: 100%;
    min-height: 72px;
    resize: vertical;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    padding: 10px;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 8px;
}

.comment-edit-spoiler {
    display: inline-flex;
    margin: 0 0 10px;
    flex-shrink: 0;
}

.comment-edit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

@media (max-width: 560px) {
    .comment-owner-actions {
        gap: 4px;
    }

    .comment-edit-btn,
    .comment-delete-btn {
        padding: 3px 8px;
        font-size: 11px;
    }

    .comment-edit-actions .btn {
        flex: 1 1 auto;
        text-align: center;
    }
}

.flow-comments-wrap {
    margin: 0 -16px -16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.18);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    overflow: hidden;
}

.flow-comment-write {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.flow-comment-write-avatar {
    flex-shrink: 0;
    padding-top: 2px;
}

.flow-comment-form {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flow-comment-form textarea,
.flow-reply-form textarea {
    width: 100%;
    min-height: 56px;
    resize: vertical;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    color: var(--text);
    padding: 10px 12px;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.5;
}

.flow-comment-form-foot {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.flow-comment-reply-compose,
.flow-reply-form {
    margin: 0;
    padding: 14px 18px 14px 68px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.flow-comment-login {
    font-size: 13px;
    color: var(--text-muted);
    padding: 16px 18px;
    margin: 0;
}

.flow-comment-panel {
    background: transparent;
}

.flow-comment-list:empty {
    display: none;
}

.flow-comment-thread,
.flow-comment-replies {
    list-style: none;
    margin: 0;
    padding: 0;
}

.flow-comment-entry + .flow-comment-entry {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.flow-comment-box {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    background: rgba(16, 24, 37, 0.72);
}

.flow-comment-box.is-reply {
    padding-left: 28px;
    background: rgba(22, 30, 46, 0.88);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.flow-comment-entry-reply .flow-comment-box.is-reply {
    padding-left: 54px;
}

.flow-comment-text {
    flex: 1;
    min-width: 0;
}

.flow-comment-name {
    margin: 0 0 4px;
    line-height: 1.35;
}

.flow-comment-name a {
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.flow-comment-name a:hover {
    color: var(--primary-hover);
}

.flow-comment-content {
    color: var(--text-nav);
    font-size: 13px;
    line-height: 1.55;
    font-weight: 500;
    word-break: break-word;
}

.flow-comment-content p {
    margin: 0;
}

.flow-comment-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 14px;
}

.flow-comment-reactions,
.flow-comment-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    min-width: 28px;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    cursor: pointer;
}

.flow-comment-like-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.flow-comment-like-btn:not(:disabled):hover {
    color: var(--text);
}

.flow-comment-heart {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--primary-hover);
    opacity: 0.85;
}

.flow-comment-like-btn.is-active .flow-comment-heart {
    fill: currentColor;
    opacity: 1;
}

.flow-comment-like-count {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-nav);
    line-height: 1;
}

.flow-comment-like-count.is-empty {
    opacity: 0.55;
}

.flow-comment-like-count:not(.is-empty) {
    cursor: pointer;
}

.flow-comment-action-btn {
    padding: 0;
    border: none;
    background: none;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: color var(--transition);
}

.flow-comment-action-btn:hover {
    color: var(--primary-hover);
}

.flow-comment-action-muted {
    margin-left: auto;
    font-weight: 500;
}

.flow-comment-action-muted:hover {
    color: #f87171;
}

.flow-comment-time {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
}

.flow-comment-empty {
    margin: 0;
    padding: 18px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

.flow-comment-replies > .flow-comment-entry-reply:not(:first-child) .flow-comment-box.is-reply {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.flow-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .flow-compose-foot { padding-left: 0; }
    .flow-post-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .flow-action {
        padding: 10px 6px;
        font-size: 12px;
        gap: 5px;
    }
    .flow-action-text { display: none; }
    .flow-action-svg { width: 20px; height: 20px; }
    .flow-comments-wrap {
        margin: 0 -12px -12px;
    }
    .flow-comment-box,
    .flow-comment-write {
        padding-left: 14px;
        padding-right: 14px;
    }
    .flow-comment-entry-reply .flow-comment-box.is-reply {
        padding-left: 42px;
    }
    .flow-comment-reply-compose,
    .flow-reply-form {
        padding-left: 42px;
    }
}

/* ── Trendler Sayfası (asyafanatikleri tarzı) ── */
.trends-page {
    padding: 36px 0 64px;
}

.trends-hero {
    max-width: 640px;
    margin-bottom: 48px;
}

.trends-hero h1 {
    font-size: clamp(17px, 1.8vw, 20px);
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--text);
}

.trends-hero p {
    margin: 0;
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.trends-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1200px) {
    .trends-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 32px;
        align-items: start;
    }
}

.trends-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.trends-card {
    background: rgba(17, 24, 39, 0.55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(55, 65, 81, 0.45);
    border-radius: 16px;
    padding: 24px;
}

.trends-card-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.trends-card-title-sm {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.trends-count {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

.trends-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: var(--text-muted);
}

.trends-icon-sm {
    width: 16px;
    height: 16px;
}

.trends-icon-accent {
    color: var(--primary-hover);
}

.trends-weekly-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 992px) {
    .trends-weekly-cols {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

.trends-subtitle-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}

.trends-subtitle-row .trends-icon {
    width: 20px;
    height: 20px;
}

.trends-week-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trends-week-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(31, 41, 55, 0.45);
    transition: background var(--transition);
}

.trends-week-item:hover {
    background: rgba(31, 41, 55, 0.75);
}

.trends-week-poster-wrap {
    position: relative;
    flex-shrink: 0;
}

.trends-rank-badge {
    position: absolute;
    top: -8px;
    left: -8px;
    z-index: 2;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trends-rank-badge-sm {
    width: 20px;
    height: 20px;
    font-size: 10px;
    top: -6px;
    left: -6px;
}

.trends-week-poster {
    display: block;
    width: 64px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform var(--transition);
}

.trends-week-item:hover .trends-week-poster {
    transform: scale(1.05);
}

.trends-week-poster-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-muted);
    font-size: 1.4rem;
    font-weight: 700;
}

.trends-week-info {
    min-width: 0;
    flex: 1;
}

.trends-week-info a {
    text-decoration: none;
    color: inherit;
}

.trends-week-info h4 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    transition: color var(--transition);
}

.trends-week-item:hover h4 {
    color: var(--primary-hover);
}

.trends-week-meta {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.trends-points {
    color: var(--primary-hover);
    font-weight: 600;
}

.trends-sep {
    color: rgba(156, 163, 175, 0.8);
}

.trends-table-box {
    background: rgba(4, 5, 24, 0.45);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.trends-table-head {
    padding: 0 8px;
    background: rgba(4, 5, 24, 0.95);
    border-bottom: 1px solid rgba(55, 65, 81, 0.5);
}

.trends-table-body-scroll {
    --trends-row-height: 92px;
    max-height: calc(var(--trends-row-height) * 5);
    overflow-x: auto;
    overflow-y: auto;
    padding: 0 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(177, 19, 63, 0.45) rgba(255, 255, 255, 0.04);
}

.trends-table-body-scroll::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.trends-table-body-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.trends-table-body-scroll::-webkit-scrollbar-thumb {
    background: rgba(177, 19, 63, 0.45);
    border-radius: 999px;
}

.trends-table-body-scroll .trends-table tbody tr {
    height: var(--trends-row-height);
}

.trends-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.trends-col-rank { width: 52px; }
.trends-col-production { width: auto; }
.trends-col-type { width: 88px; }
.trends-col-imdb { width: 72px; }
.trends-col-points { width: 72px; }

.trends-table-head .trends-table th {
    border-bottom: none;
}

.trends-table th {
    padding: 12px 8px;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(55, 65, 81, 0.5);
}

.trends-table td {
    padding: 14px 8px;
    border-bottom: 1px solid rgba(55, 65, 81, 0.25);
    vertical-align: middle;
}

.trends-table tbody tr {
    transition: background var(--transition);
}

.trends-table tbody tr:hover {
    background: rgba(31, 41, 55, 0.35);
}

.trends-table tbody tr:last-child td {
    border-bottom: none;
}

.trends-table-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.trends-table-production {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.trends-table-production > span {
    min-width: 0;
    overflow: hidden;
}

.trends-table-production strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    transition: color var(--transition);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trends-table-production:hover strong {
    color: var(--primary-hover);
}

.trends-table-production small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--text-muted);
}

.trends-table-thumb {
    width: 48px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.trends-table-production:hover .trends-table-thumb {
    transform: scale(1.05);
}

.trends-type-cell,
.trends-imdb-cell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 13px;
}

.trends-align-right {
    text-align: right;
}

.trends-hide-sm {}

.trends-sidebar .trends-card {
    position: sticky;
    top: 88px;
}

.trends-users-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trends-user-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px;
    border-radius: 10px;
    background: rgba(31, 41, 55, 0.35);
    border: 1px solid rgba(55, 65, 81, 0.35);
    text-decoration: none;
    color: inherit;
    transition: background var(--transition), border-color var(--transition);
}

.trends-user-item:hover {
    background: rgba(31, 41, 55, 0.6);
    border-color: rgba(177, 19, 63, 0.35);
}

.trends-user-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.trends-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.trends-user-avatar.flow-avatar-letter {
    width: 48px;
    height: 48px;
    font-size: 18px;
}

.trends-user-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.trends-user-name {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color var(--transition);
}

.trends-user-item:hover .trends-user-name {
    color: var(--primary-hover);
}

.trends-user-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: 0;
}

.trends-user-meta .member-badge {
    flex-shrink: 0;
}

.trends-user-info h4 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    transition: color var(--transition);
}

.trends-user-item:hover h4 {
    color: var(--primary-hover);
}

.trends-user-level {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(177, 19, 63, 0.2);
    color: var(--primary-hover);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
}

.trends-exp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

.trends-exp-target {
    flex-shrink: 0;
    color: rgba(156, 163, 175, 0.85);
}

.trends-exp-bar {
    margin-top: 0;
    height: 4px;
    border-radius: 999px;
    background: rgba(55, 65, 81, 0.8);
    overflow: hidden;
}

.trends-exp-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--primary);
}

.trends-empty,
.trends-empty-inline {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .trends-card { padding: 18px; }
    .trends-card-title { font-size: 1.15rem; }
    .trends-hide-sm { display: none; }
    .trends-table th,
    .trends-table td { padding: 10px 6px; }
    .trends-table-thumb { width: 36px; height: 52px; }
    .trends-table-body-scroll {
        --trends-row-height: 72px;
    }
    .trends-col-type { width: 0; }
}

/* ── Dizi/Film İstek ── */
.request-page { padding: 28px 0 48px; }

.request-container { max-width: 760px; }

.request-header { margin-bottom: 20px; text-align: center; }

.request-header h1 {
    font-size: clamp(17px, 1.8vw, 20px);
    font-weight: 600;
    color: var(--text);
    margin: 0 0 8px;
}

.request-subtitle {
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
}

.request-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.request-tab {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.request-tab:hover,
.request-tab.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(var(--primary-rgb, 229, 9, 20), 0.08);
}

.request-info {
    margin: 0 0 20px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.request-compose {
    margin-bottom: 24px;
    padding: 20px;
    border-radius: 12px;
    background: var(--card-bg, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--border);
}

.request-compose-title {
    margin: 0 0 14px;
    font-size: 1rem;
    font-weight: 600;
}

.request-form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.request-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.request-form-field-grow { flex: 1; min-width: 200px; }

.request-form-field label {
    font-size: 13px;
    color: var(--text-muted);
}

.request-form-field input,
.request-form-field select,
.request-form-field textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--input-bg, rgba(0, 0, 0, 0.2));
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
}

.request-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.request-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 32px 0;
}

.request-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card-bg, rgba(255, 255, 255, 0.03));
}

.request-vote { flex-shrink: 0; }

.request-vote-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 72px;
    min-height: 72px;
    padding: 10px 8px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.request-vote-btn:hover:not(.is-disabled):not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(var(--primary-rgb, 229, 9, 20), 0.06);
}

.request-vote-btn.is-active {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb, 229, 9, 20), 0.12);
    color: var(--primary);
}

.request-vote-btn.is-disabled,
.request-vote-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.request-vote-count {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.request-vote-action {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.request-vote-btn.is-active .request-vote-action {
    text-transform: none;
    letter-spacing: 0;
}

.request-body { flex: 1; min-width: 0; }

.request-meta-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.request-type {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 6px;
}

.request-type-series {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.request-type-movie {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
}

.request-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.request-author {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.request-time { opacity: 0.8; }

.request-notes {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--text);
    opacity: 0.9;
}

.request-status {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid var(--border);
}

.request-status strong { font-size: 13px; }

.request-status span { color: var(--text-muted); }

.request-status-reviewing { border-left-color: #f59e0b; }
.request-status-in_progress { border-left-color: #3b82f6; }
.request-status-completed { border-left-color: #22c55e; }
.request-status-rejected { border-left-color: #ef4444; }

.request-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.request-pager-info {
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .request-card { flex-direction: column; }
    .request-vote-btn {
        width: 100%;
        flex-direction: row;
        gap: 10px;
        min-height: 48px;
        justify-content: center;
    }
}

.request-poster {
    flex-shrink: 0;
}

.request-poster img {
    display: block;
    width: 56px;
    height: 84px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.request-year {
    font-size: 13px;
    color: var(--text-muted);
}

.request-on-site-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    text-decoration: none;
}

.request-on-site-badge:hover {
    background: rgba(34, 197, 94, 0.25);
}

.request-site-link {
    display: inline-block;
    margin-left: 8px;
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
}

.flow-alert-error .request-site-link {
    margin-left: 0;
    margin-top: 8px;
}

.request-tmdb-result.is-on-site {
    border-color: rgba(34, 197, 94, 0.5);
    cursor: default;
}

.request-tmdb-on-site {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #4ade80;
}

.request-type-locked {
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    font-size: 14px;
    font-weight: 600;
}

.request-tmdb-search {
    margin-bottom: 12px;
}

.request-tmdb-search-row {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.request-tmdb-search-row input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--input-bg, rgba(0, 0, 0, 0.2));
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
}

.request-tmdb-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.request-tmdb-result {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: inherit;
    transition: border-color 0.2s;
}

.request-tmdb-result:hover,
.request-tmdb-result.is-selected {
    border-color: var(--primary);
}

.request-tmdb-result img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
}

.request-tmdb-result-title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.request-tmdb-result-meta {
    font-size: 11px;
    color: var(--text-muted);
}

.request-tmdb-picked {
    margin-top: 12px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--primary);
    background: rgba(var(--primary-rgb, 229, 9, 20), 0.08);
}

.request-tmdb-picked-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.request-tmdb-picked-inner img {
    border-radius: 6px;
    object-fit: cover;
}

.request-tmdb-picked-meta {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.request-tmdb-empty {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--text-muted);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

/* ── Bölüm izleme: beğeni, durum, paylaş ── */
.watch-actions-inline { display: none; }

.watch-actions-card { margin-bottom: 16px; }

.watch-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
    text-align: center;
}

.watch-stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.watch-stat-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: lowercase;
}

.watch-toolbar {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.watch-like-btn,
.watch-share-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-nav);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}

.watch-like-btn:hover,
.watch-share-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.watch-like-btn.is-active {
    background: rgba(177, 19, 63, 0.15);
    border-color: rgba(177, 19, 63, 0.45);
    color: var(--primary-hover);
}

.watch-status-block { border-top: 1px solid var(--border); padding-top: 14px; }

.watch-status-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.watch-status-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.watch-status-btn {
    padding: 9px 10px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-nav);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
    text-align: center;
}

.watch-status-btn:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }

.watch-status-btn.is-active {
    background: rgba(177, 19, 63, 0.12);
    border-color: rgba(177, 19, 63, 0.4);
    color: var(--primary-hover);
}

/* Mobil: player altı + sabit alt çubuk */
.watch-mobile-dock { display: none; }

.watch-status-sheet {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.watch-status-sheet[hidden] { display: none; }

.watch-status-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.watch-status-sheet-panel {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 18px 16px calc(16px + env(safe-area-inset-bottom));
    z-index: 1;
    animation: watchSheetUp 0.22s ease;
}

@keyframes watchSheetUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.watch-status-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.watch-status-sheet-head h3 { font-size: 16px; }

.watch-status-sheet-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.watch-status-options-sheet {
    grid-template-columns: 1fr;
}

@media (max-width: 991px) {
    .watch-page.af-watch {
        padding-bottom: calc(88px + env(safe-area-inset-bottom));
    }

    .watch-actions-inline {
        display: block;
        margin: 16px 0 20px;
    }

    .watch-actions-sidebar { display: none; }

    .watch-actions-inline .watch-status-block {
        display: block;
        margin-top: 4px;
    }

    .watch-actions-inline .watch-status-options {
        grid-template-columns: 1fr 1fr;
    }

    .watch-mobile-dock {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 900;
        background: rgba(16, 24, 37, 0.96);
        border-top: 1px solid var(--border);
        backdrop-filter: blur(12px);
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
    }

    .watch-dock-stats {
        display: flex;
        justify-content: center;
        gap: 16px;
        margin-bottom: 6px;
        font-size: 11px;
        color: var(--text-muted);
    }

    .watch-dock-stats strong {
        color: var(--text);
        font-size: 12px;
    }

    .watch-dock-actions {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .watch-dock-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-height: 52px;
        padding: 6px 4px;
        border: none;
        border-radius: var(--radius);
        background: transparent;
        color: var(--text-nav);
        font-size: 10px;
        font-weight: 600;
        font-family: inherit;
        text-decoration: none;
        cursor: pointer;
        transition: all var(--transition);
    }

    .watch-dock-btn:hover,
    .watch-dock-btn.is-active {
        background: rgba(177, 19, 63, 0.12);
        color: var(--primary-hover);
    }

    .watch-dock-status-label {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 9px;
    }

    .share-modal-panel {
        align-self: flex-end;
        width: 100%;
        max-width: none;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        margin-bottom: 0;
    }

    .share-modal {
        align-items: flex-end;
        padding: 0;
    }
}

@media (min-width: 992px) {
    .watch-actions-inline { display: none; }
    .watch-mobile-dock { display: none !important; }
}

.share-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.share-modal[hidden] { display: none; }

.share-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.share-modal-panel {
    position: relative;
    width: min(440px, 100%);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    z-index: 1;
}

.share-modal-title { font-size: 18px; margin-bottom: 6px; }

.share-modal-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.share-modal-links {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.share-link {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
    font-size: 13px;
}

.share-link:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }

.share-copy-field span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.share-copy-row {
    display: flex;
    gap: 8px;
}

.share-copy-row input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.25);
    color: var(--text);
    font-size: 13px;
}

.share-modal-close {
    margin-top: 14px;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

/* ── Üye profil sayfası ── */
.profile-page { padding: 32px 0 48px; }

.profile-container { max-width: 960px; }

.profile-header {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
}

.profile-header-top {
    display: flex;
    gap: 20px;
    align-items: center;
}

.profile-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.profile-head-main h1 {
    font-size: clamp(17px, 1.8vw, 20px);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.profile-avatar-wrap { flex-shrink: 0; position: relative; overflow: visible; }

.member-avatar-wrap {
    position: relative;
    display: inline-block;
    line-height: 0;
    vertical-align: middle;
}

.member-avatar-wrap.has-admin-crown {
    --admin-crown-size: 22px;
    --admin-crown-offset: -9px;
    overflow: visible;
}

.member-admin-crown {
    position: absolute;
    top: var(--admin-crown-offset);
    left: 50%;
    transform: translateX(-50%);
    width: var(--admin-crown-size);
    height: auto;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

.user-avatar-btn .member-avatar-wrap.has-admin-crown {
    --admin-crown-size: 18px;
    --admin-crown-offset: -7px;
    flex-shrink: 0;
}

.profile-avatar-wrap .member-avatar-wrap.has-admin-crown {
    --admin-crown-size: 30px;
    --admin-crown-offset: -12px;
}

.trends-user-avatar-wrap .member-avatar-wrap.has-admin-crown {
    --admin-crown-size: 20px;
    --admin-crown-offset: -8px;
}

.flow-avatar-sm ~ .member-admin-crown,
.member-avatar-wrap.has-admin-crown:has(.flow-avatar-sm) {
    --admin-crown-size: 16px;
    --admin-crown-offset: -6px;
}

.member-online-badge {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid var(--bg);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.55);
    pointer-events: none;
}

.profile-avatar-wrap .member-avatar-wrap .member-online-badge {
    width: 14px;
    height: 14px;
    right: 4px;
    bottom: 4px;
}

.content-follow-btn.is-active {
    border-color: rgba(34, 197, 94, 0.45);
    color: #4ade80;
    background: rgba(34, 197, 94, 0.08);
}

.content-follow-btn.is-active svg {
    stroke: #4ade80;
}

.content-collection-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    font-family: inherit;
}

.content-collection-btn svg {
    flex-shrink: 0;
}

.content-collection-btn.is-added {
    border-color: rgba(177, 19, 63, 0.45);
    color: var(--primary-hover);
    background: rgba(177, 19, 63, 0.1);
}

.collection-picker-dialog {
    width: min(420px, 100%);
}

.collection-picker-head-text {
    min-width: 0;
}

.collection-picker-subtitle {
    margin: 4px 0 0;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.collection-picker-body {
    padding: 16px 18px;
    overflow-y: auto;
    max-height: min(52vh, 360px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.collection-picker-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px 12px;
    color: var(--text-muted);
    font-size: 13px;
}

.collection-picker-loading[hidden],
.collection-picker-empty[hidden],
.collection-picker-feedback[hidden] {
    display: none !important;
}

.collection-picker-empty {
    text-align: center;
    padding: 24px 12px;
    color: var(--text-muted);
    font-size: 13px;
}

.collection-picker-empty p {
    margin: 0 0 14px;
}

.collection-picker-create-link {
    display: inline-flex;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    font-size: 13px;
}

.collection-picker-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.collection-picker-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.collection-picker-item:hover:not(:disabled) {
    border-color: rgba(177, 19, 63, 0.35);
    background: rgba(177, 19, 63, 0.08);
}

.collection-picker-item.is-added {
    border-color: rgba(177, 19, 63, 0.28);
    background: rgba(177, 19, 63, 0.06);
}

.collection-picker-item.is-added:hover {
    border-color: rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.08);
}

.collection-picker-item:disabled {
    opacity: 0.6;
    pointer-events: none;
}

.collection-picker-item.is-busy {
    opacity: 0.6;
    pointer-events: none;
}

.collection-picker-item-main {
    min-width: 0;
    flex: 1;
}

.collection-picker-item-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.collection-picker-item-meta {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: var(--text-muted);
}

.collection-picker-item-status {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-hover);
    white-space: nowrap;
}

.collection-picker-item.is-added .collection-picker-item-status {
    color: #fca5a5;
}

.collection-picker-feedback {
    margin: 0;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.28);
    color: #86efac;
}

.collection-picker-feedback.is-error {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.28);
    color: #fca5a5;
}

.collection-picker-foot {
    padding: 12px 18px 16px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.collection-picker-manage-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-hover);
    text-decoration: none;
}

.collection-picker-manage-link:hover {
    color: var(--primary);
}

.profile-follow-section + .profile-follow-section {
    margin-top: 28px;
}

.profile-actors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.profile-actor-card .profile-actor-photo {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(177, 19, 63, 0.35);
}

.profile-actor-card .profile-actor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-actor-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-hover);
}

.profile-avatar-wrap .flow-avatar-letter {
    width: 96px;
    height: 96px;
    font-size: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar-img,
.profile-avatar-wrap .flow-avatar-img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-head-main h1 {
    font-size: clamp(17px, 1.8vw, 20px);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.profile-username { color: var(--text-muted); margin-bottom: 4px; }

.profile-joined { font-size: 13px; color: var(--text-muted); margin-bottom: 0; }

.profile-level-badge {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-hover);
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.profile-stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    text-align: center;
}

.profile-stat-card strong {
    display: block;
    font-size: 22px;
    margin-bottom: 4px;
}

.profile-stat-card span {
    font-size: 12px;
    color: var(--text-muted);
}

.profile-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.profile-tab {
    padding: 8px 14px;
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.profile-tab.active,
.profile-tab:hover {
    background: rgba(177, 19, 63, 0.12);
    color: var(--primary-hover);
}

.profile-list-subtabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.profile-list-subtab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    color: var(--text-nav);
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    transition: all var(--transition);
}

.profile-list-subtab:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.profile-list-subtab.active {
    background: rgba(177, 19, 63, 0.14);
    border-color: rgba(177, 19, 63, 0.45);
    color: var(--primary-hover);
}

.profile-list-subtab.is-empty {
    opacity: 0.55;
}

.profile-list-subtab-count {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.25);
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-list-subtab.active .profile-list-subtab-count {
    background: rgba(177, 19, 63, 0.35);
    color: #fff;
}

.profile-list-section-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--text);
}

.profile-empty-tab {
    margin-top: 0;
}

.profile-series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.profile-series-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.profile-series-poster {
    flex-shrink: 0;
    width: 64px;
    height: 92px;
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.profile-series-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-series-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-hover);
}

.profile-series-title {
    font-size: 15px;
    margin-bottom: 6px;
    line-height: 1.3;
}

.profile-series-title a { color: var(--text); }

.profile-series-status {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    margin-bottom: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-nav);
}

.profile-series-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.profile-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.profile-activity-feed {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 4px;
}

.profile-activity-card {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.profile-activity-card:hover {
    border-color: rgba(177, 19, 63, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.profile-activity-poster {
    width: 64px;
    height: 92px;
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.profile-activity-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-activity-poster-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 22px;
    background: linear-gradient(145deg, rgba(177, 19, 63, 0.2), rgba(255, 255, 255, 0.04));
}

.profile-activity-body {
    min-width: 0;
}

.profile-activity-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.profile-activity-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.profile-activity-badge-watch {
    background: rgba(52, 211, 153, 0.12);
    color: #6ee7b7;
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.profile-activity-badge-comment {
    background: rgba(96, 165, 250, 0.12);
    color: #93c5fd;
    border: 1px solid rgba(96, 165, 250, 0.25);
}

.profile-activity-time {
    font-size: 12px;
    color: var(--text-muted);
}

.profile-activity-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 4px;
}

.profile-activity-title a {
    color: var(--text);
}

.profile-activity-title a:hover {
    color: var(--primary-hover);
}

.profile-activity-episode {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.profile-activity-quote {
    margin: 8px 0 0;
    padding: 10px 12px;
    border-left: 3px solid rgba(96, 165, 250, 0.45);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
}

.profile-activity-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    flex-shrink: 0;
    transition: all var(--transition);
}

.profile-activity-link:hover {
    color: var(--primary-hover);
    border-color: rgba(177, 19, 63, 0.4);
    background: rgba(177, 19, 63, 0.1);
}

.profile-activity-filters {
    margin-bottom: 18px;
}

@media (max-width: 640px) {
    .profile-activity-card {
        grid-template-columns: 56px 1fr;
        grid-template-areas:
            "poster body"
            "poster link";
        gap: 10px 12px;
    }

    .profile-activity-poster {
        grid-area: poster;
        width: 56px;
        height: 80px;
    }

    .profile-activity-body { grid-area: body; }

    .profile-activity-link {
        grid-area: link;
        justify-self: start;
        margin-left: 68px;
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 768px) {
    .profile-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .profile-header-top { flex-direction: column; text-align: center; }
    .profile-header-actions { justify-content: center; }
    .watch-status-options { grid-template-columns: 1fr; }
    .collections-grid { grid-template-columns: repeat(2, 1fr); }
    .collection-modal-panel { max-height: 92vh; overflow-y: auto; }
    .collection-modal-dialog { max-height: 92vh; }
    .collection-form-actions { flex-direction: column-reverse; }
    .collection-btn-cancel,
    .collection-btn-submit { width: 100%; min-width: 0; }
}

/* ── Koleksiyonlar ── */
.collections-page { padding: 32px 0 48px; }

.collections-container { max-width: 1100px; }

.collections-header { margin-bottom: 28px; }

.collections-header h1 {
    font-size: clamp(17px, 1.8vw, 20px);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.collections-subtitle { color: var(--text-muted); font-size: 15px; }

.collections-my-section {
    margin-bottom: 36px;
    padding: 22px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.collections-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.collections-section-head h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.collections-empty-inline,
.collections-login-prompt {
    color: var(--text-muted);
    font-size: 14px;
}

.collections-login-prompt a { color: var(--primary-hover); }

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.collection-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.collection-card:hover {
    transform: translateY(-3px);
    border-color: rgba(177, 19, 63, 0.35);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.collection-card-link { display: block; color: inherit; text-decoration: none; }

.collection-card-cover {
    position: relative;
    aspect-ratio: 2 / 3;
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.collection-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-hover);
    background: linear-gradient(145deg, rgba(177, 19, 63, 0.18), rgba(255, 255, 255, 0.03));
}

.collection-card-count {
    position: absolute;
    left: 8px;
    bottom: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.collection-card-body { padding: 12px 14px 14px; }

.collection-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px;
}

.collection-card-author {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}

.collection-card-editable {
    display: flex;
    flex-direction: column;
}

.collection-card-editable .collection-card-link {
    flex: 1;
}

.collection-card-actions {
    padding: 0 10px 12px;
    margin-top: auto;
}

.collection-card-edit-btn {
    width: 100%;
    font-size: 13px;
    padding: 8px 12px;
}

.collection-show-page { padding: 24px 0 48px; }

.collection-show-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin: 16px 0 28px;
}

.collection-show-header h1 {
    font-size: clamp(17px, 1.8vw, 20px);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.collection-show-meta { color: var(--text-muted); font-size: 14px; }

.collection-show-meta a { color: var(--primary-hover); }

.collection-show-owner-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.collection-show-owner-actions .inline-form {
    margin: 0;
}

.profile-collections-grid { margin-top: 4px; }

.profile-collections-grid.collections-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.profile-collections-link { margin-top: 20px; text-align: center; }

.collection-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.collection-modal:not([hidden]) {
    display: flex;
}

body.collection-modal-open {
    overflow: hidden;
}

.collection-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 4, 18, 0.82);
    backdrop-filter: blur(6px);
}

.collection-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    max-height: min(90vh, 720px);
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    overflow: hidden;
}

.collection-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(177, 19, 63, 0.08) 0%, transparent 100%);
    flex-shrink: 0;
}

.collection-modal-head h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--text);
}

.collection-modal-close {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-nav);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.collection-modal-close:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.collection-form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
}

.collection-modal-body {
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
    min-height: 0;
}

.collection-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.collection-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.collection-hint,
.collection-form-hint {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.collection-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    transition: border-color var(--transition);
}

.collection-input:focus {
    outline: none;
    border-color: rgba(177, 19, 63, 0.55);
    box-shadow: 0 0 0 3px rgba(177, 19, 63, 0.12);
}

.collection-search-field { position: relative; z-index: 5; }

.collection-search-box { position: relative; }

.collection-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 240px;
    overflow-y: auto;
    padding: 8px;
    background: #141d2e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.collection-search-results[hidden] { display: none !important; }

.collection-search-item {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.collection-search-item:hover {
    background: rgba(177, 19, 63, 0.1);
    border-color: rgba(177, 19, 63, 0.25);
}

.collection-search-item img,
.collection-search-item .collection-search-thumb-empty {
    width: 42px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.collection-search-thumb-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-hover);
}

.collection-search-item-text {
    min-width: 0;
}

.collection-search-item-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.collection-search-item-meta {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.collection-search-item-add {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-hover);
    white-space: nowrap;
}

.collection-selected-wrap {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.collection-selected-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.collection-selected-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-hover);
    white-space: nowrap;
}

.collection-selected-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 80px;
    max-height: 220px;
    overflow-y: auto;
}

.collection-selected-empty {
    margin: auto 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    padding: 16px 8px;
}

.collection-selected-item {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
}

.collection-selected-item img,
.collection-selected-item .collection-selected-thumb-empty {
    width: 40px;
    height: 58px;
    border-radius: 4px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
}

.collection-selected-thumb-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-hover);
}

.collection-selected-item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.collection-selected-item-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.collection-selected-remove {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.collection-selected-remove:hover {
    background: rgba(177, 19, 63, 0.2);
    color: var(--primary-hover);
}

.collection-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.collection-btn-cancel,
.collection-btn-submit {
    min-width: 120px;
    padding: 11px 18px;
    font-size: 14px;
}

.collection-btn-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ── Arkadaşlık & Mesajlaşma ── */
.header-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: 4px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.profile-friend-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.profile-friend-actions .inline-form {
    display: inline;
}

.profile-friend-pending-label {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 13px;
}

.profile-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 11px;
    font-weight: 700;
}

.profile-friends-section + .profile-friends-section {
    margin-top: 28px;
}

.profile-friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.profile-friend-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
}

.profile-friend-card.profile-friend-request {
    flex-direction: column;
}

.profile-friend-request-actions {
    display: flex;
    gap: 8px;
    width: 100%;
}

.profile-friend-avatar img,
.profile-friend-avatar .flow-avatar-letter {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-friend-name {
    margin: 0 0 2px;
    font-size: 15px;
}

.profile-friend-username {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}

.profile-friend-msg-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-hover);
}

.messages-page {
    padding: 28px 0 64px;
}

.messages-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.messages-head h1 {
    margin: 0 0 6px;
    font-size: clamp(17px, 1.8vw, 20px);
    font-weight: 600;
    color: var(--text);
}

.messages-sub {
    margin: 0;
    color: var(--text-muted);
}

.messages-pending-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(177, 19, 63, 0.35);
    background: rgba(177, 19, 63, 0.12);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.messages-layout,
.messages-chat-layout {
    display: grid;
    gap: 16px;
}

.messages-layout {
    grid-template-columns: minmax(280px, 340px) 1fr;
}

.messages-sidebar,
.messages-empty-panel,
.messages-chat-thread {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
}

.messages-sidebar {
    padding: 16px;
}

.messages-sidebar-title {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.messages-inbox-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.messages-inbox-row {
    display: flex;
    align-items: stretch;
    gap: 4px;
}

.messages-inbox-row .messages-inbox-item {
    flex: 1;
    min-width: 0;
}

.messages-inbox-delete-form {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.messages-inbox-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 100%;
    min-height: 44px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.messages-inbox-delete:hover {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.25);
}

.messages-inbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    transition: background var(--transition);
}

.messages-inbox-item:hover,
.messages-inbox-item.has-unread {
    background: rgba(255, 255, 255, 0.05);
}

.messages-inbox-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.messages-inbox-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.messages-inbox-preview {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.messages-inbox-preview.muted {
    font-style: italic;
}

.messages-inbox-time {
    font-size: 11px;
    color: rgba(138, 152, 168, 0.85);
}

.messages-unread-count {
    flex-shrink: 0;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.messages-avatar-img,
.messages-inbox-avatar .flow-avatar-letter {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.messages-empty-panel {
    padding: 24px;
    min-height: 320px;
}

.messages-friend-quick {
    margin-top: 24px;
}

.messages-friend-quick h3 {
    margin: 0 0 12px;
    font-size: 16px;
}

.messages-chat-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.messages-chat-delete-form {
    margin-left: auto;
}

.messages-chat-delete-btn {
    min-height: 36px;
    padding: 8px 14px;
    font-size: 13px;
}

.messages-back-link {
    font-size: 14px;
    color: var(--text-muted);
}

.messages-chat-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.messages-chat-user h1 {
    margin: 0;
    font-size: clamp(16px, 1.6vw, 18px);
    font-weight: 600;
    color: var(--text);
}

.messages-chat-username {
    font-size: 13px;
    color: var(--text-muted);
}

.messages-chat-thread {
    min-height: 420px;
    max-height: 62vh;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.messages-thread-empty {
    margin: auto;
    color: var(--text-muted);
}

.message-bubble-wrap {
    display: flex;
}

.message-bubble-wrap.is-mine {
    justify-content: flex-end;
}

.message-bubble-wrap.is-theirs {
    justify-content: flex-start;
}

.message-bubble {
    max-width: min(78%, 560px);
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.message-bubble-wrap.is-mine .message-bubble {
    background: rgba(177, 19, 63, 0.22);
    border-color: rgba(177, 19, 63, 0.35);
}

.message-bubble p {
    margin: 0 0 6px;
    line-height: 1.45;
    word-break: break-word;
}

.message-bubble-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.message-bubble time {
    display: block;
    font-size: 11px;
    color: rgba(138, 152, 168, 0.9);
}

.message-delete-form {
    margin: 0;
}

.message-delete-btn {
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(138, 152, 168, 0.85);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: color var(--transition);
}

.message-delete-btn:hover {
    color: #fca5a5;
}

.message-bubble-wrap.is-mine .message-delete-btn:hover {
    color: #fecdd3;
}

.messages-compose-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 12px;
}

.messages-compose-form textarea {
    width: 100%;
    min-height: 52px;
    resize: vertical;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font: inherit;
}

.btn-sm {
    padding: 7px 12px;
    font-size: 12px;
}

@media (max-width: 900px) {
    .messages-layout {
        grid-template-columns: 1fr;
    }

    .messages-empty-panel {
        display: none;
    }
}

/* ── Profil ayarları & bildirimler ── */
.profile-settings-page {
    padding: 28px 0 64px;
}

.profile-settings-container {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.profile-settings-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: sticky;
    top: 88px;
}

.profile-settings-nav-link {
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.profile-settings-nav-item {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

.profile-settings-nav-item:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.profile-settings-nav-item.active {
    color: #fff;
    border-color: rgba(177, 19, 63, 0.35);
    background: rgba(177, 19, 63, 0.14);
}

.profile-settings-main {
    min-width: 0;
}

.profile-settings-head {
    margin-bottom: 20px;
}

.profile-settings-head-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.profile-settings-head h1 {
    margin: 0 0 6px;
    font-size: clamp(17px, 1.8vw, 20px);
    font-weight: 600;
    color: var(--text);
}

.profile-settings-desc {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

.settings-card {
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
}

.settings-card-title {
    margin: 0 0 6px;
    font-size: 18px;
}

.settings-card-desc {
    margin: 0 0 16px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.settings-toggle {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 0;
    border-top: 1px solid var(--border-light);
    cursor: pointer;
}

.settings-toggle:first-of-type {
    border-top: none;
    padding-top: 0;
}

.settings-toggle input {
    margin-top: 4px;
    accent-color: var(--primary);
}

.settings-toggle-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.settings-toggle-body strong {
    font-size: 15px;
}

.settings-toggle-body small {
    color: var(--text-muted);
    line-height: 1.45;
}

.settings-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.settings-field span {
    font-size: 15px;
    font-weight: 600;
}

.settings-field small {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
}

.settings-field input,
.settings-field select,
.profile-settings-form textarea {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font: inherit;
}

.settings-field select,
.settings-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--card-bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23c4c4c4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    padding-right: 38px;
    cursor: pointer;
    color-scheme: dark;
}

.settings-field select:hover,
.settings-select:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background-color: #141f2e;
}

.settings-field select:focus,
.settings-select:focus {
    outline: none;
    border-color: rgba(177, 19, 63, 0.55);
    box-shadow: 0 0 0 3px rgba(177, 19, 63, 0.15);
}

.settings-field select option,
.settings-field select optgroup,
.settings-select option,
.settings-select optgroup {
    background: var(--surface);
    color: var(--text);
}

.profile-load-more-cell,
.comment-load-more-item {
    min-width: 0;
}

.settings-form-actions {
    margin-top: 8px;
}

.settings-empty-card {
    text-align: center;
}

.notification-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
}

.notification-item.is-unread {
    border-color: rgba(177, 19, 63, 0.28);
    background: rgba(177, 19, 63, 0.08);
}

.notification-item-body h3 {
    margin: 0 0 4px;
    font-size: 15px;
}

.notification-item-body p {
    margin: 0 0 4px;
    color: var(--text-muted);
    font-size: 13px;
}

.notification-item-body time {
    font-size: 11px;
    color: rgba(138, 152, 168, 0.9);
}

.notification-item-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notification-avatar-img,
.notification-item-avatar .flow-avatar-letter {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-private-page {
    padding: 80px 0;
}

.profile-private-card {
    max-width: 480px;
    margin: 0 auto;
    padding: 32px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
}

.profile-private-card h1 {
    margin: 0 0 10px;
    font-size: clamp(17px, 1.8vw, 20px);
    font-weight: 600;
    color: var(--text);
}

.profile-private-card p {
    margin: 0 0 18px;
    color: var(--text-muted);
}

.profile-settings-link {
    margin: 8px 0 0;
    font-size: 13px;
}

.profile-settings-link a {
    color: var(--primary-hover);
    font-weight: 600;
}

@media (max-width: 900px) {
    .profile-settings-container {
        grid-template-columns: 1fr;
    }

    .profile-settings-nav {
        position: static;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .profile-settings-nav-link {
        display: none;
    }

    .notification-item {
        grid-template-columns: auto 1fr;
    }

    .notification-item-actions {
        grid-column: 1 / -1;
        flex-direction: row;
    }
}

/* ── Avatar arşivi seçici ── */
.avatar-picker-block {
    margin-bottom: 20px;
}

.avatar-picker-preview {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(177, 19, 63, 0.08), rgba(255, 255, 255, 0.02));
}

.avatar-picker-current-wrap .profile-avatar-img,
.avatar-picker-current-wrap .flow-avatar-letter,
.avatar-picker-current-wrap .avatar-picker-current-img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-picker-current-wrap .flow-avatar-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.avatar-picker-preview-copy strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
}

.avatar-picker-preview-copy p {
    margin: 0 0 12px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.profile-avatar-editable {
    position: relative;
}

.profile-avatar-edit-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg);
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.profile-avatar-edit-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.04);
}

.avatar-picker-modal[hidden] {
    display: none !important;
}

.avatar-picker-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

body.avatar-picker-open {
    overflow: hidden;
}

.avatar-picker-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
}

.avatar-picker-dialog {
    position: relative;
    width: min(720px, 100%);
    max-height: min(90vh, 820px);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #101522;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    overflow: hidden;
}

.avatar-picker-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px 14px;
    border-bottom: 1px solid var(--border);
}

.avatar-picker-head h2 {
    margin: 0 0 4px;
    font-size: 20px;
}

.avatar-picker-head p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
}

.avatar-picker-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.avatar-picker-tabs {
    display: flex;
    gap: 8px;
    padding: 12px 22px 0;
    overflow-x: auto;
}

.avatar-picker-tab {
    flex-shrink: 0;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.avatar-picker-tab.active,
.avatar-picker-tab:hover {
    border-color: rgba(177, 19, 63, 0.45);
    color: #fff;
    background: rgba(177, 19, 63, 0.14);
}

.avatar-picker-form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
}

.avatar-picker-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 16px 22px;
    overflow-y: auto;
}

.avatar-picker-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 8px 12px;
    border: 2px solid transparent;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.avatar-picker-option.is-hidden {
    display: none;
}

.avatar-picker-option:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.avatar-picker-option.is-selected {
    border-color: var(--primary-hover);
    background: rgba(177, 19, 63, 0.12);
    color: #fff;
}

.avatar-picker-option img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
    border: 2px solid rgba(255, 255, 255, 0.12);
}

.avatar-picker-option span {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.avatar-picker-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 22px 18px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.18);
}

.avatar-picker-actions-right {
    display: flex;
    gap: 10px;
}

@media (max-width: 640px) {
    .avatar-picker-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .avatar-picker-preview {
        flex-direction: column;
        text-align: center;
    }

    .avatar-picker-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .avatar-picker-actions-right {
        width: 100%;
    }

    .avatar-picker-actions-right .btn-outline,
    .avatar-picker-actions-right .btn-primary {
        flex: 1;
    }
}

/* ── Sidebar layout — mobil uyumluluk ── */
@media (max-width: 992px) {
    body.menu-sidebar .site-body .container,
    body.menu-sidebar .site-footer .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    body.menu-sidebar .content-section {
        margin-bottom: 36px;
    }

    body.menu-sidebar .section-header:not(.home-ep-header) {
        flex-wrap: wrap;
        gap: 10px 12px;
    }

    body.menu-sidebar .home-ep-header {
        flex-wrap: nowrap;
        align-items: center;
    }

    body.menu-sidebar .site-sidebar-link {
        padding: 10px 8px;
        font-size: 14px;
    }

    body.menu-sidebar .site-sidebar-menu {
        gap: 2px;
    }
}

@media (max-width: 768px) {
    body.menu-sidebar .site-shell {
        padding-top: calc(var(--header-top-h) + 48px);
    }

    body.menu-sidebar .main-content {
        padding-top: 6px;
        padding-bottom: 20px;
    }

    body.menu-sidebar .dual-hero-section {
        margin-top: 0;
        margin-bottom: 32px;
    }

    body.menu-sidebar .site-sidebar-trends {
        margin-top: 14px;
        padding-top: 12px;
    }

    body.menu-sidebar .footer-grid {
        gap: 22px;
    }

    body.menu-sidebar .site-footer-inner {
        padding-top: 12px;
        padding-bottom: 22px;
    }

    body.menu-sidebar .footer-seo-scroll {
        height: clamp(240px, 38vh, 320px);
    }

    body.menu-sidebar .series-hero-card {
        border-radius: var(--radius-lg);
    }

    body.menu-sidebar .listing-page {
        padding-top: 0;
    }

    body.menu-sidebar .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    body.menu-sidebar .menu-sidebar-header .header-top .container {
        padding: 0 10px;
    }

    body.menu-sidebar .site-body .container,
    body.menu-sidebar .site-footer .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    body.menu-sidebar .sidebar-mobile-auth .btn {
        padding: 6px 8px;
        font-size: 10px;
    }

    body.menu-sidebar .section-header-title {
        font-size: 14px;
    }

    body.menu-sidebar .view-all-btn {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    body.menu-sidebar .content-section {
        margin-bottom: 28px;
    }

    body.menu-sidebar .empty-message {
        padding: 24px 16px;
        font-size: 14px;
    }
}

/* ── Film detay — dizi sayfası ile uyumlu ── */
.movie-player-section {
    scroll-margin-top: 88px;
}

.movie-player-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.movie-player-head .detail-box-title {
    margin-bottom: 0;
}

.movie-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
}

.movie-share-btn:hover {
    border-color: rgba(177, 19, 63, 0.45);
    color: #fff;
}

.movie-body .player-wrap {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.movie-trailer-inline {
    margin: 16px 0 4px;
}

.watch-movie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.watch-movie-actions .content-follow-btn,
.watch-movie-actions .watch-movie-trailer-btn,
.watch-movie-actions .content-collection-btn {
    flex: 1 1 auto;
    justify-content: center;
    min-height: 40px;
}

.movie-people-subtitle {
    margin-top: 24px;
}

@media (max-width: 768px) {
    .movie-player-head {
        flex-direction: column;
        align-items: stretch;
    }

    .movie-share-btn {
        justify-content: center;
    }
}

/* ── Quiz / Testler ── */
.section-header-accent--quiz {
    background: linear-gradient(180deg, #e11d48 0%, var(--primary) 100%);
    box-shadow: 0 0 8px rgba(225, 29, 72, 0.22);
}

.section-header-accent--continue {
    background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.22);
}

/* ── Ana sayfa: Yakında Gelecek Diziler (slider altı) ── */
.section-header-accent--upcoming {
    background: linear-gradient(180deg, #f59e0b 0%, var(--primary) 100%);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.22);
}

.section-header-accent--legend {
    background: linear-gradient(180deg, #fbbf24 0%, #ed034e 100%);
    box-shadow: 0 0 8px rgba(237, 3, 78, 0.28);
}

.section-header-star {
    flex-shrink: 0;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.4;
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.35);
}

.home-upcoming-section {
    margin-top: 8px;
    margin-bottom: 28px;
}

.home-upcoming-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.home-upcoming-header-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.home-upcoming-title {
    margin: 0 0 6px;
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
}

.home-upcoming-lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted);
    max-width: 560px;
}

.upcoming-home-slider .splide__slide {
    height: auto;
}

.upcoming-home-slider:not(.is-initialized) .splide__list {
    display: flex;
    gap: 16px;
    overflow: hidden;
}

.upcoming-home-slider:not(.is-initialized) .splide__slide {
    flex: 0 0 calc((100% - 80px) / 6);
    min-width: 0;
}

@media (max-width: 1280px) {
    .upcoming-home-slider:not(.is-initialized) .splide__slide {
        flex-basis: calc((100% - 64px) / 5);
    }
}

@media (max-width: 992px) {
    .upcoming-home-slider:not(.is-initialized) .splide__slide {
        flex-basis: calc((100% - 48px) / 4);
    }
}

@media (max-width: 768px) {
    .upcoming-home-slider:not(.is-initialized) .splide__list {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 4px;
    }

    .upcoming-home-slider:not(.is-initialized) .splide__slide {
        flex: 0 0 42%;
        scroll-snap-align: start;
    }

    .home-upcoming-header {
        flex-direction: column;
        align-items: stretch;
    }

    .home-upcoming-header .view-all-btn {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .upcoming-home-slider:not(.is-initialized) .splide__slide {
        flex-basis: 46%;
    }
}

.upcoming-home-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.upcoming-home-card-image {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.04);
}

.upcoming-home-card:hover .upcoming-home-card-image {
    border-color: rgba(177, 19, 63, 0.35);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.upcoming-home-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.upcoming-home-card:hover .upcoming-home-card-image img {
    transform: scale(1.04);
}

.upcoming-home-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(177, 19, 63, 0.92);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(177, 19, 63, 0.35);
}

.upcoming-home-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.upcoming-home-rating span[aria-hidden="true"] {
    color: #fbbf24;
}

.upcoming-home-card-meta {
    padding: 10px 2px 0;
    min-height: 52px;
}

.upcoming-home-card-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 36px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}

.upcoming-home-card-sub {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.35;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── İzlemeye Devam Et (ana sayfa) ── */
.home-continue-section {
    margin-bottom: 32px;
}

/* ── Efsane Diziler (ana sayfa, kompakt SEO iç link kartları) ── */
.home-legend-section {
    margin-bottom: 40px;
}

.home-legend-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.home-legend-card {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 6px 8px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    color: inherit;
    transition: border-color var(--transition), background var(--transition);
}

.home-legend-card:hover {
    border-color: rgba(237, 3, 78, 0.4);
    background: #141c2c;
}

.home-legend-card-figure {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

.home-legend-card-figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-legend-card-poster-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
}

.home-legend-card-title {
    min-width: 0;
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-legend-card:hover .home-legend-card-title {
    color: #fff;
}

.home-legend-card-imdb {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: #fbbf24;
}

.home-legend-card-imdb-star {
    font-size: 10px;
    line-height: 1;
}

@media (max-width: 1100px) {
    .home-legend-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-legend-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .home-legend-card {
        min-height: 48px;
        padding: 5px 7px;
        gap: 7px;
    }

    .home-legend-card-figure {
        width: 36px;
        height: 36px;
    }

    .home-legend-card-title {
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .home-legend-grid {
        grid-template-columns: 1fr;
    }
}

.home-continue-slider-wrap {
    margin-top: 2px;
}

.home-continue-slider .splide__slide {
    height: auto;
}

.home-continue-slider .splide__slide > .continue-watching-card {
    height: 100%;
}

.home-continue-slider:not(.is-initialized) .splide__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.home-continue-slider:not(.is-initialized) .splide__slide {
    min-width: 0;
}

.home-continue-slider--single:not(.is-initialized) .splide__list {
    grid-template-columns: minmax(0, calc((100% - 24px) / 3));
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .home-continue-slider:not(.is-initialized) .splide__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-continue-slider--single:not(.is-initialized) .splide__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-continue-slider--single:not(.is-initialized) .splide__slide:only-child {
        grid-column: span 1;
        max-width: 100%;
    }
}

.continue-watching-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.continue-watching-card:hover {
    transform: translateY(-1px);
    border-color: rgba(177, 19, 63, 0.35);
    background: rgba(255, 255, 255, 0.045);
}

.continue-watching-poster {
    position: relative;
    flex: 0 0 56px;
    width: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-bg);
}

.continue-watching-poster img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.continue-watching-poster-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 2 / 3;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    background: #1a2234;
}

.continue-watching-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.continue-watching-title {
    margin: 0;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    overflow: hidden;
}

.continue-watching-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 13px;
    line-height: 16px;
    font-weight: 600;
    color: var(--text-nav);
    text-decoration: none;
    word-break: break-word;
}

.continue-watching-title a:hover {
    color: var(--primary-hover);
}

.continue-watching-meta {
    margin: 0;
    font-size: 11px;
    line-height: 1.35;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.continue-watching-time {
    color: rgba(255, 255, 255, 0.42);
}

.continue-watching-status {
    margin: 0;
    font-size: 10px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.continue-watching-status--next {
    color: rgba(147, 197, 253, 0.95);
}

.continue-watching-status--current {
    color: rgba(134, 239, 172, 0.9);
}

.continue-watching-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.continue-watching-actions:has(.continue-watching-btn-next) .continue-watching-btn {
    flex: 1 1 0;
    min-width: 0;
}

.continue-watching-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 8px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: filter var(--transition), background var(--transition), border-color var(--transition);
}

.continue-watching-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    border: none;
}

.continue-watching-btn-primary:hover {
    filter: brightness(1.08);
}

.continue-watching-btn-next {
    color: var(--text-nav);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.continue-watching-btn-next:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.07);
}

.continue-watching-btn-label--short {
    display: none;
}

html.is-tv-device .continue-watching-btn {
    min-height: 44px;
    font-size: 12px;
    padding: 8px 10px;
}

html.is-tv-device .continue-watching-title a {
    font-size: 14px;
    line-height: 18px;
}

html.is-tv-device .continue-watching-meta,
html.is-tv-device .continue-watching-status {
    font-size: 12px;
}

@media (max-width: 480px) {
    .continue-watching-card {
        padding: 9px;
        gap: 8px;
    }

    .continue-watching-poster {
        flex-basis: 52px;
        width: 52px;
    }

    .continue-watching-btn {
        min-height: 30px;
        font-size: 10px;
        padding: 5px 6px;
    }

    .continue-watching-btn-label--long {
        display: none;
    }

    .continue-watching-btn-label--short {
        display: inline;
    }
}

/* ── Benim Sayfam (kişisel merkez) ── */
.my-page {
    padding: 28px 0 40px;
}

.my-page-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.my-page-hero {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
}

.my-page-hero-top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.my-page-avatar-wrap {
    flex-shrink: 0;
}

.my-page-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}

.my-page-hero-main {
    flex: 1;
    min-width: 0;
}

.my-page-title {
    margin: 0 0 4px;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my-page-username,
.my-page-joined {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-muted);
}

.my-page-username {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my-page-settings-btn {
    flex-shrink: 0;
    min-height: 36px;
    white-space: nowrap;
}

.my-page-rank {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 14px;
    align-items: center;
    padding-top: 4px;
    border-top: 1px solid var(--border-light);
}

.my-page-rank--staff {
    display: flex;
    align-items: center;
    gap: 12px;
}

.my-page-rank-badge {
    grid-row: span 2;
}

.my-page-rank-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.my-page-rank-label {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.my-page-rank-text strong {
    font-size: 15px;
    color: var(--text-nav);
}

.my-page-rank-xp {
    font-size: 12px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my-page-rank-progress-wrap {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.my-page-level-bar {
    height: 8px;
}

.my-page-rank-next {
    font-size: 11px;
    color: var(--text-muted);
}

.my-page-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.my-page-status-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 72px;
    padding: 12px 8px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: var(--card);
    text-decoration: none;
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.my-page-status-card:hover,
.my-page-status-card.is-active {
    border-color: rgba(177, 19, 63, 0.35);
    background: rgba(177, 19, 63, 0.08);
    transform: translateY(-1px);
}

.my-page-status-card.is-active {
    box-shadow: 0 0 0 1px rgba(177, 19, 63, 0.25);
}

.my-page-status-card.is-active strong {
    color: var(--primary-hover);
}

.my-page-status-card strong {
    font-size: 20px;
    line-height: 1;
    color: var(--text);
}

.my-page-status-card span {
    font-size: 11px;
    line-height: 1.3;
    color: var(--text-muted);
    text-align: center;
}

.my-page-status-hint {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    color: var(--primary-hover);
    line-height: 1.2;
    text-align: center;
}

.my-page-weekly-summary {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: var(--radius);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.my-page-weekly-summary--active {
    border-style: solid;
    border-color: rgba(177, 19, 63, 0.2);
    background: rgba(177, 19, 63, 0.05);
}

.my-page-weekly-summary-icon {
    flex-shrink: 0;
    font-size: 14px;
    line-height: 1.4;
}

.my-page-weekly-summary-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-muted);
}

.my-page-weekly-summary--active .my-page-weekly-summary-text {
    color: var(--text);
}

.my-page-unified-empty {
    margin-top: 4px;
}

.my-page-discover-link--primary {
    min-height: 38px;
    padding: 10px 16px;
    font-size: 14px;
}

.poster-card-new-episodes {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(177, 19, 63, 0.95);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.my-page-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.my-page-metric {
    padding: 14px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    min-width: 0;
}

.my-page-metric strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my-page-metric span {
    font-size: 12px;
    color: var(--text-muted);
}

.my-page-continue-section {
    margin-bottom: 0;
}

.my-page-level-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin: 16px 0 20px;
    padding: 12px 14px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(177, 19, 63, 0.08), rgba(255, 255, 255, 0.02));
}

.my-page-level-banner-main {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 220px;
    min-width: 0;
}

.my-page-level-banner-badge {
    flex-shrink: 0;
}

.my-page-level-banner-text {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    flex: 1;
}

.my-page-level-banner-line {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    min-width: 0;
}

.my-page-level-banner-line--mobile {
    display: none;
}

.my-page-level-banner-line strong {
    font-size: 15px;
    color: var(--text);
    line-height: 1.25;
}

.my-page-level-banner-line span {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-muted);
}

.my-page-level-banner-progress {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 180px;
    min-width: 160px;
}

.my-page-level-banner-progress-label {
    font-size: 11px;
    color: var(--text-muted);
}

.my-page-level-banner-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(177, 19, 63, 0.28);
    background: rgba(177, 19, 63, 0.08);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-hover);
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--transition), border-color var(--transition);
}

.my-page-level-banner-link:hover {
    background: rgba(177, 19, 63, 0.14);
    border-color: rgba(177, 19, 63, 0.42);
    text-decoration: none;
}

.my-page-level-banner-link-icon {
    display: none;
    font-size: 16px;
    line-height: 1;
}

.my-page-continue-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.my-page-followed-section {
    margin-top: 8px;
    margin-bottom: 0;
}

.my-page-followed-grid {
    margin-top: 12px;
}

.my-page-lists-section {
    margin-bottom: 0;
    padding-top: 8px;
}

.my-page-list-grid {
    margin-top: 12px;
}

.my-page-empty {
    margin: 0;
    padding: 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.my-page-empty-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
}

.my-page-discover-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: var(--radius);
    border: 1px solid rgba(177, 19, 63, 0.35);
    background: rgba(177, 19, 63, 0.1);
    color: var(--primary-hover);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition);
}

.my-page-discover-link:hover {
    background: rgba(177, 19, 63, 0.16);
    border-color: rgba(177, 19, 63, 0.5);
    color: var(--primary-hover);
}

.my-page-list-chips .profile-list-subtab.active {
    box-shadow: 0 0 0 1px rgba(177, 19, 63, 0.3);
}

.my-page .profile-series-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
}

.my-page-level-link {
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-hover);
    text-decoration: none;
}

.my-page-level-link:hover {
    text-decoration: underline;
}

.my-page-new-episodes-section {
    margin-bottom: 0;
}

.my-page-new-episodes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.my-page-new-episode-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 10px;
    align-items: start;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
}

.my-page-new-episode-poster {
    position: relative;
    display: block;
    width: 56px;
    height: 84px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.my-page-new-episode-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.my-page-new-episode-poster-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-hover);
    background: rgba(255, 255, 255, 0.06);
}

.my-page-new-episode-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(177, 19, 63, 0.92);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

.my-page-new-episode-body {
    min-width: 0;
}

.my-page-new-episode-title {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.35;
}

.my-page-new-episode-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: var(--text);
}

.my-page-new-episode-meta {
    margin: 0 0 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.my-page-new-episode-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: var(--radius);
    border: 1px solid rgba(177, 19, 63, 0.35);
    background: rgba(177, 19, 63, 0.12);
    color: var(--primary-hover);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.my-page-new-episode-btn:hover {
    background: rgba(177, 19, 63, 0.18);
}

.my-page-dual-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.my-page-side-block {
    min-width: 0;
}

.my-page-activity-feed,
.my-page-comments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.my-page-activity-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
}

.my-page-activity-poster {
    display: block;
    width: 44px;
    height: 66px;
    border-radius: var(--radius);
    overflow: hidden;
}

.my-page-activity-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.my-page-activity-poster-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.06);
}

.my-page-activity-body {
    min-width: 0;
}

.my-page-activity-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.my-page-activity-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.my-page-activity-badge--watch {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
}

.my-page-activity-badge--comment {
    background: rgba(177, 19, 63, 0.15);
    color: var(--primary-hover);
}

.my-page-activity-badge--follow {
    background: rgba(234, 179, 8, 0.15);
    color: #facc15;
}

.my-page-activity-time,
.my-page-comment-time {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
}

.my-page-activity-title,
.my-page-comment-target {
    margin: 0 0 4px;
    font-size: 13px;
    line-height: 1.35;
}

.my-page-activity-title a,
.my-page-comment-target a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: var(--text);
}

.my-page-activity-episode {
    margin: 0;
    font-size: 11px;
    color: var(--text-muted);
}

.my-page-activity-quote {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.my-page-comment-item {
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
}

.my-page-comment-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.my-page-comment-excerpt {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.my-page-comment-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-hover);
    text-decoration: none;
}

.my-page-comment-link:hover {
    text-decoration: underline;
}

.my-page-watch-stats-section {
    padding-top: 8px;
    margin-bottom: 0;
}

.my-page-watch-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.my-page-watch-stat {
    padding: 14px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    min-width: 0;
}

.my-page-watch-stat strong {
    display: block;
    margin-bottom: 4px;
    font-size: 18px;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my-page-watch-stat-text {
    font-size: 15px !important;
}

.my-page-watch-stat span {
    font-size: 12px;
    color: var(--text-muted);
}

.my-page-social-section {
    margin-top: 8px;
    margin-bottom: 8px;
}

.my-page-collections-section {
    padding-top: 8px;
    margin-bottom: 0;
}

.my-page-collections-grid {
    margin-top: 2px;
}

.my-page-friends-grid {
    margin-top: 2px;
}

html.is-tv-device .my-page-settings-btn,
html.is-tv-device .my-page-status-card,
html.is-tv-device .my-page-list-chips .profile-list-subtab {
    min-height: 44px;
}

html.is-tv-device .my-page-new-episode-btn,
html.is-tv-device .my-page-discover-link,
html.is-tv-device .my-page-level-link,
html.is-tv-device .my-page-comment-link {
    min-height: 44px;
}

html.is-tv-device .my-page a:focus-visible,
html.is-tv-device .my-page button:focus-visible {
    outline: 3px solid rgba(96, 165, 250, 0.85);
    outline-offset: 2px;
}

@media (max-width: 992px) {
    .my-page-new-episodes-grid {
        grid-template-columns: 1fr;
    }

    .my-page-watch-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .my-page-dual-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .my-page-watch-stats-grid {
        grid-template-columns: 1fr;
    }
}

html.is-tv-device .my-page-status-card strong {
    font-size: 22px;
}

html.is-tv-device .my-page-status-card span,
html.is-tv-device .my-page-metric span {
    font-size: 13px;
}

html.is-tv-device .my-page-title {
    font-size: 22px;
}

@media (max-width: 768px) {
    .my-page {
        display: flex;
        flex-direction: column;
    }

    .my-page-container {
        display: flex;
        flex-direction: column;
    }

    .my-page-flow-hero { order: 1; }
    .my-page-flow-level { order: 2; }
    .my-page-flow-continue { order: 3; }
    .my-page-flow-followed { order: 4; }
    .my-page-flow-status { order: 5; }

    .my-page-hero-top {
        flex-wrap: wrap;
    }

    .my-page-settings-btn {
        width: 100%;
        justify-content: center;
    }

    .my-page-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .my-page-rank {
        grid-template-columns: 1fr;
    }

    .my-page-rank-badge {
        grid-row: auto;
    }

    .my-page-rank-progress-wrap {
        grid-column: 1;
    }

    .my-page-continue-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .my-page-level-banner {
        flex-wrap: nowrap;
        gap: 8px;
        margin: 12px 0 14px;
        padding: 8px 10px;
    }

    .my-page-level-banner-main {
        flex: 1 1 auto;
        min-width: 0;
        gap: 8px;
    }

    .my-page-level-banner-line--desktop {
        display: none;
    }

    .my-page-level-banner-line--mobile {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 4px 6px;
    }

    .my-page-level-banner-line--mobile strong {
        font-size: 13px;
    }

    .my-page-level-banner-line--mobile span {
        font-size: 12px;
    }

    .my-page-level-banner-progress {
        display: none;
    }

    .my-page-level-banner-link {
        min-width: 32px;
        min-height: 32px;
        padding: 0;
        border-radius: 50%;
    }

    .my-page-level-banner-link-text {
        display: none;
    }

    .my-page-level-banner-link-icon {
        display: inline;
    }

    .my-page-level-banner .member-badge-compact {
        --badge-emblem-size: 28px;
    }

    .my-page-weekly-summary {
        margin-top: 8px;
        padding: 7px 9px;
    }

    .my-page-weekly-summary-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .my-page {
        padding-top: 20px;
    }

    .my-page-hero {
        padding: 14px;
    }

    .my-page-avatar {
        width: 64px;
        height: 64px;
    }

    .my-page-continue-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.quiz-home-section {
    margin-bottom: 32px;
}

.quiz-home-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.quiz-home-category-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}

.quiz-home-category-chip:hover {
    color: var(--text-nav);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
}

.quiz-home-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.quiz-home-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.015);
    text-decoration: none;
    color: inherit;
    transition: border-color var(--transition), background-color var(--transition);
}

.quiz-home-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.quiz-home-card-thumb {
    position: relative;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
}

.quiz-home-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quiz-home-card-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.quiz-home-card-category {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.2;
}

.quiz-home-card-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-nav);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.quiz-home-card-arrow {
    flex: 0 0 auto;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.28);
    transition: transform var(--transition), color var(--transition);
}

.quiz-home-card:hover .quiz-home-card-arrow {
    transform: translateX(2px);
    color: rgba(255, 182, 210, 0.85);
}

.quiz-home-card-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
}

.quiz-home-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quiz-home-card-body {
    flex: 1;
    padding: 10px 12px 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.quiz-home-card-meta {
    margin: 0;
    font-size: 11px;
    color: var(--text-muted);
}

.quiz-home-card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px 12px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 182, 210, 0.92);
    letter-spacing: 0.02em;
}

.quiz-home-card:hover .quiz-home-card-cta span {
    transform: translateX(3px);
}

.quiz-home-card-cta span {
    display: inline-block;
    transition: transform var(--transition);
}

/* ── Otomatik test kapak görselleri (kategori ikonu) ── */
.quiz-cover-art {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
}

.quiz-cover-art__icon {
    width: clamp(40px, 14vw, 56px);
    height: clamp(40px, 14vw, 56px);
    color: rgba(255, 255, 255, 0.5);
}

.quiz-cover-art__icon svg {
    width: 100%;
    height: 100%;
}

.quiz-cover-art--dna .quiz-cover-art__icon { color: rgba(196, 181, 253, 0.72); }
.quiz-cover-art--find_series .quiz-cover-art__icon { color: rgba(251, 113, 133, 0.72); }
.quiz-cover-art--character .quiz-cover-art__icon { color: rgba(252, 211, 77, 0.72); }
.quiz-cover-art--romance .quiz-cover-art__icon { color: rgba(253, 164, 175, 0.72); }
.quiz-cover-art--entertainment .quiz-cover-art__icon { color: rgba(240, 171, 252, 0.72); }
.quiz-cover-art--fan .quiz-cover-art__icon { color: rgba(165, 180, 252, 0.72); }

.quiz-cover-art--play {
    aspect-ratio: 16 / 9;
    max-width: 420px;
    margin: 0 auto 16px;
    border-radius: var(--radius-lg, 12px);
}

.quiz-cover-art--play .quiz-cover-art__icon {
    width: clamp(52px, 12vw, 72px);
    height: clamp(52px, 12vw, 72px);
}

.quiz-play-cover-wrap {
    max-width: 420px;
    margin: 0 auto 16px;
}

.quiz-play-cover-wrap .quiz-cover-art--play {
    margin-bottom: 0;
}

.quiz-card-cover .quiz-cover-art,
.quiz-home-card-thumb .quiz-cover-art {
    position: absolute;
    inset: 0;
}

.quiz-cover-art--home .quiz-cover-art__icon {
    width: 28px;
    height: 28px;
}

.quiz-card-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.quiz-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quiz-page-subtitle {
    color: var(--text-muted);
    margin: 8px 0 0;
    font-size: 16px;
}

.quiz-category-lead {
    margin: 0 0 18px;
    padding: 12px 16px;
    border-radius: var(--radius);
    background: rgba(177, 19, 63, 0.08);
    border: 1px solid rgba(177, 19, 63, 0.18);
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.5;
}

.quiz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.quiz-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.quiz-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition);
}

.quiz-card:hover {
    transform: translateY(-2px);
    border-color: rgba(177, 19, 63, 0.45);
}

.quiz-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    flex: 1;
}

.quiz-card-category {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(8, 4, 12, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.quiz-card-body {
    padding: 14px 16px 10px;
}

.quiz-card-title {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.35;
}

.quiz-card-excerpt {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
}

.quiz-card-meta {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}

.quiz-card-btn {
    margin: 0 16px 16px;
    text-align: center;
    justify-content: center;
}

.quiz-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
}

.quiz-filter-tab {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
    transition: all var(--transition);
}

.quiz-filter-tab:hover,
.quiz-filter-tab.is-active {
    border-color: rgba(177, 19, 63, 0.55);
    color: #fff;
    background: rgba(177, 19, 63, 0.15);
}

.quiz-page-header {
    margin-bottom: 20px;
}

.quiz-page-header h1 {
    margin: 0 0 8px;
}

.quiz-play-page {
    padding: 24px 0 48px;
}

.quiz-play-container {
    max-width: 720px;
}

.quiz-play-header {
    text-align: center;
    margin-bottom: 28px;
}

.quiz-play-cover {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-lg, 12px);
    margin: 0 auto 16px;
    display: block;
}

.quiz-play-header h1 {
    margin: 0 0 10px;
    font-size: clamp(24px, 4vw, 32px);
}

.quiz-play-excerpt {
    color: var(--text-muted);
    margin: 0 0 8px;
}

.quiz-play-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.quiz-progress-wrap {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 8px;
}

.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #b1133f, #ff6b9d);
    border-radius: 999px;
    transition: width 0.25s ease;
}

.quiz-progress-label {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 20px;
}

.quiz-question-panel {
    display: none;
}

.quiz-question-panel.is-active {
    display: block;
    animation: quizFadeIn 0.25s ease;
}

@keyframes quizFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.quiz-question-title {
    font-size: 20px;
    line-height: 1.4;
    margin: 0 0 18px;
    text-align: center;
}

.quiz-question-image-wrap {
    margin: 0 0 18px;
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.quiz-question-image {
    display: block;
    width: 100%;
    max-height: 280px;
    object-fit: cover;
}

.quiz-answers {
    display: grid;
    gap: 10px;
}

.quiz-answer-option {
    display: block;
    cursor: pointer;
}

.quiz-answer-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.quiz-answer-text {
    display: block;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    transition: all var(--transition);
    line-height: 1.45;
}

.quiz-answer-option:hover .quiz-answer-text {
    border-color: rgba(177, 19, 63, 0.35);
}

.quiz-answer-option input:checked + .quiz-answer-text {
    border-color: rgba(177, 19, 63, 0.75);
    background: rgba(177, 19, 63, 0.18);
    box-shadow: 0 0 0 1px rgba(177, 19, 63, 0.25);
}

.quiz-nav-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 24px;
}

.quiz-next-btn[hidden],
.quiz-submit-btn[hidden] {
    display: none !important;
}

.quiz-result-page {
    padding: 24px 0 48px;
}

.quiz-result-layout {
    display: grid;
    gap: 18px;
    margin-bottom: 36px;
}

.quiz-result-card {
    max-width: none;
    margin: 0;
    text-align: center;
    padding: 28px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 12px);
    background: rgba(255, 255, 255, 0.03);
}

.quiz-result-score {
    display: inline-block;
    margin: 0 0 10px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.18);
    color: #c7d2fe;
    font-weight: 700;
    font-size: 14px;
}

.quiz-result-image {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-lg, 12px);
    margin: 0 auto 16px;
}

.quiz-result-percent {
    display: inline-block;
    margin: 0 0 10px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(177, 19, 63, 0.2);
    color: #ff8fb3;
    font-weight: 700;
    font-size: 14px;
}

.quiz-result-title {
    margin: 0 0 14px;
    font-size: clamp(24px, 4vw, 32px);
}

.quiz-result-desc {
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 22px;
    text-align: center;
    max-width: 52ch;
    margin-left: auto;
    margin-right: auto;
}

.quiz-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.quiz-leaderboard-panel {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    padding: 16px;
}

.quiz-leaderboard-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.quiz-leaderboard-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.quiz-leaderboard-rank,
.quiz-leaderboard-score,
.quiz-leaderboard-best {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.quiz-leaderboard-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.quiz-leaderboard-item {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    font-size: 13px;
}

.quiz-leaderboard-pos {
    font-weight: 700;
    color: #ff8fb3;
}

.quiz-leaderboard-name {
    color: var(--text-nav);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quiz-leaderboard-points {
    color: var(--text-muted);
    font-weight: 600;
}

.quiz-leaderboard-empty {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--text-muted);
}

.quiz-section-heading {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 600;
}

.quiz-discover-section,
.quiz-similar-section {
    margin-top: 28px;
}

.quiz-home-grid--discover {
    margin-top: 0;
}

.quiz-health-card {
    margin-bottom: 18px;
}

.quiz-health-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.quiz-health-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.quiz-health-badge.is-ok {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
}

.quiz-health-badge.is-warn {
    background: rgba(245, 158, 11, 0.15);
    color: #fcd34d;
}

.quiz-health-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.quiz-health-ok {
    margin: 0;
    color: #86efac;
    font-size: 13px;
}

.quiz-health-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.quiz-health-item {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 13px;
}

.quiz-health-item--error { border-left: 3px solid #f87171; }
.quiz-health-item--warn { border-left: 3px solid #fbbf24; }
.quiz-health-item--info { border-left: 3px solid #60a5fa; }

.quiz-health-item a {
    color: #ff8fb3;
    text-decoration: none;
    font-size: 12px;
}

@media (min-width: 900px) {
    .quiz-result-layout {
        max-width: 680px;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: 1fr;
        align-items: start;
    }

    .quiz-result-layout:has(.quiz-leaderboard-panel) {
        max-width: 960px;
        grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
    }
}

.quiz-result-series-section {
    max-width: 960px;
    margin: 0 auto 40px;
}

.quiz-result-series-heading {
    margin: 0 0 6px;
    font-size: clamp(20px, 3.5vw, 26px);
    text-align: center;
}

.quiz-result-series-sub {
    margin: 0 0 18px;
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
}

.quiz-result-series-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.quiz-result-series-grid .quiz-series-card {
    flex: 0 1 300px;
    width: 100%;
    max-width: 320px;
}

.quiz-series-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 12px);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
}

.quiz-series-card:hover {
    border-color: rgba(177, 19, 63, 0.35);
    transform: translateY(-2px);
}

.quiz-series-card-link {
    display: flex;
    gap: 12px;
    padding: 12px;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.quiz-series-card-poster {
    flex: 0 0 72px;
    width: 72px;
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

.quiz-series-card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quiz-series-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-muted);
}

.quiz-series-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.quiz-series-card-title {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
}

.quiz-series-card-meta {
    margin: 0;
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.quiz-series-card-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.quiz-series-card-btn {
    margin-top: auto;
    align-self: flex-start;
    padding: 8px 14px;
    font-size: 13px;
}

.quiz-admin-result-series {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.quiz-admin-result-block {
    margin-bottom: 20px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
}

.quiz-admin-result-block h4 {
    margin: 0 0 10px;
    font-size: 15px;
}

.quiz-series-picker-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    min-height: 24px;
}

.quiz-series-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(177, 19, 63, 0.15);
    font-size: 13px;
}

.quiz-series-chip button {
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
}

.quiz-series-search-wrap {
    position: relative;
}

.quiz-series-suggest {
    position: absolute;
    z-index: 20;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    background: var(--bg-elevated, #1a1a22);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-height: 220px;
    overflow-y: auto;
    display: none;
}

.quiz-series-suggest.is-open {
    display: block;
}

.quiz-series-suggest button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 14px;
}

.quiz-series-suggest button:hover {
    background: rgba(255, 255, 255, 0.06);
}

.quiz-pagination {
    margin-top: 28px;
}

@media (max-width: 768px) {
    .quiz-filter-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .quiz-filter-tab {
        flex-shrink: 0;
    }

    .quiz-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .quiz-home-grid .quiz-home-card:nth-child(n + 3) {
        display: none;
    }

    .quiz-home-card {
        min-height: 68px;
        padding: 9px 12px;
    }

    .quiz-home-card-thumb {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }

    .quiz-home-card-title {
        font-size: 13px;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .quiz-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .quiz-home-grid .quiz-home-card:nth-child(n + 3) {
        display: none;
    }

    .quiz-home-card-title {
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    .quiz-home-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .quiz-home-grid .quiz-home-card:nth-child(n + 3) {
        display: flex;
    }
}
/* ── Ana sayfa: Yakında Gelecek Diziler (slider altı) ── */
.section-header-accent--upcoming {
    background: linear-gradient(180deg, #f59e0b 0%, var(--primary) 100%);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.22);
}

.home-upcoming-section {
    margin: 0 0 32px;
}

.home-upcoming-band {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 22px 0 18px;
}

.home-upcoming-head {
    margin-bottom: 4px;
}

.home-upcoming-band .section-header {
    flex-direction: row;
    align-items: center;
    margin-bottom: 16px;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.home-upcoming-track-inner {
    position: relative;
}

.upcoming-home-slider .splide__slide {
    height: auto;
}

.upcoming-home-slider .splide__list {
    padding-top: 4px;
    padding-bottom: 6px;
}

.upcoming-home-slider .splide__arrow {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    opacity: 1;
}

.upcoming-home-slider .splide__arrow svg {
    fill: #fff;
}

.upcoming-home-slider .splide__arrow--prev {
    left: -6px;
}

.upcoming-home-slider .splide__arrow--next {
    right: -6px;
}

.upcoming-home-slider:not(.is-initialized) .splide__list {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.upcoming-home-slider:not(.is-initialized) .splide__list::-webkit-scrollbar {
    display: none;
}

.upcoming-home-slider:not(.is-initialized) .splide__slide {
    flex: 0 0 128px;
    scroll-snap-align: start;
}

@media (max-width: 1280px) {
    .upcoming-home-slider:not(.is-initialized) .splide__slide {
        flex-basis: 124px;
    }
}

@media (max-width: 992px) {
    .upcoming-home-slider:not(.is-initialized) .splide__slide {
        flex-basis: 118px;
    }
}

@media (max-width: 768px) {
    .upcoming-home-slider .splide__arrow {
        display: none;
    }

    .upcoming-home-slider:not(.is-initialized) .splide__slide {
        flex-basis: 112px;
    }
}

@media (max-width: 480px) {
    .home-upcoming-band {
        padding: 20px 0 16px;
    }

    .upcoming-home-slider:not(.is-initialized) .splide__list {
        gap: 12px;
    }

    .upcoming-home-slider:not(.is-initialized) .splide__slide {
        flex-basis: 104px;
    }
}

.upcoming-home-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.upcoming-home-card-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.upcoming-home-card:hover .upcoming-home-card-poster {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.upcoming-home-card-poster img,
.upcoming-home-card-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.upcoming-home-card:hover .upcoming-home-card-poster img {
    transform: scale(1.04);
}

.upcoming-home-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.04);
}

.upcoming-home-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.35) 38%, transparent 68%);
    pointer-events: none;
}

.upcoming-home-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    padding: 10px 8px 9px;
    pointer-events: none;
}

.upcoming-home-card-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}

.upcoming-home-date {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    color: rgba(255, 183, 77, 0.95);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.upcoming-home-flag {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 3;
    border-radius: 2px;
    opacity: 0.92;
}

/* Smart TV / eski tarayıcı fallback (Philips Saphi, NetTV, HbbTV vb.) */
html.is-tv-device .episode-list.active {
    display: block;
}

html.is-tv-device .episode-list {
    margin-bottom: 12px;
}

html.is-tv-device .episode-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

html.is-tv-device .series-cast-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

html.is-tv-device .series-cast-grid .cast-card {
    width: 110px;
    max-width: 30%;
}

html.is-tv-device .cast-photo img {
    width: 100%;
    height: auto;
    max-width: 110px;
}

html.is-tv-device .series-section-panel.active {
    display: block;
}

html.is-tv-device .player-tab {
    min-height: 44px;
}
