:root {
    --bg-dark: #131515;
    --yellow: #FFE52C;
    --yellow-hover: #fff07a;
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --glass-bg: rgba(10, 10, 10, 0.7);
    --card-bg: #1a1a1a;
}

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

body {
    font-family: 'Outfit', system-ui, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* NAVBAR (Glassmorphism) */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    color: var(--yellow);
    font-weight: 700;
    font-size: 24px;
    cursor: pointer;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s;
}

.nav-links li:hover {
    color: var(--yellow);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}


.profile-icon {
    background: var(--yellow);
    color: black;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
}

/* VIEWS */
.view {
    display: none;
    min-height: 100vh;
    padding-top: 70px; /* Navbar boslugu */
    animation: fadeIn 0.4s ease;
}
.view.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* HERO SECTION */
.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    background-size: cover;
    background-position: center top;
    margin-top: -70px; /* Navbar altindan baslasin */
}

.hero-trailer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-trailer.ready {
    opacity: 1;
}

/* 16:9 videoyu alani kaplayacak sekilde buyut (kenarlardaki YouTube arayuzu de disarda kalir) */
.hero-trailer iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: max(100%, calc(70vh * 16 / 9));
    height: max(100%, calc(100vw * 9 / 16));
    transform: translate(-50%, -50%) scale(1.2);
    border: 0;
}

.hero-sound-btn {
    position: absolute;
    right: 40px;
    bottom: 18%;
    z-index: 11;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.hero-sound-btn:hover {
    border-color: var(--yellow);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    /* Edge-to-edge gradient: Sol taraf kararir, alt taraf kararir */
    background: linear-gradient(to right, var(--bg-dark) 5%, transparent 70%),
                linear-gradient(to top, var(--bg-dark) 5%, transparent 40%);
}

.hero-content {
    position: absolute;
    bottom: 15%;
    left: 40px;
    max-width: 600px;
    z-index: 10;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.score {
    color: var(--yellow);
}

.hero-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.badge {
    background: rgba(255, 215, 0, 0.15);
    color: var(--yellow);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.hero-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: var(--yellow);
    color: black;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* CAROUSEL */
.carousel-section {
    padding: 40px;
}

.carousel-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.carousel-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.carousel-container::-webkit-scrollbar {
    height: 8px;
}
.carousel-container::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.anime-card {
    min-width: 200px;
    max-width: 200px;
    cursor: pointer;
    transition: transform 0.3s;
}

.anime-card:hover {
    transform: scale(1.05) translateY(-5px);
}

.anime-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    margin-bottom: 10px;
    border: 1px solid transparent;
    transition: border-color 0.3s;
}

.anime-card:hover img {
    border-color: var(--yellow);
}

.anime-card h3 {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ALL ANIMES SECTION */
.all-animes-section {
    padding: 40px;
}

.filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.filters select {
    padding: 10px 15px;
    border-radius: 8px;
    background: var(--card-bg);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    outline: none;
    font-family: inherit;
    cursor: pointer;
}

.anime-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

/* DETAIL VIEW EXTRA */
.detail-hero {
    height: 70vh;
}

.episodes-section {
    padding: 40px;
}

.seasons-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.season-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 0;
    position: relative;
}

.season-btn.active {
    color: var(--yellow);
}

.season-btn.active::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--yellow);
    border-radius: 3px 3px 0 0;
}

.episodes-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.episode-card {
    background: var(--card-bg);
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    border: 1px solid rgba(255,255,255,0.05);
}

.episode-card:hover {
    background: #2a2a2a;
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.3);
}

.episode-number {
    color: var(--yellow);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
}

.episode-title {
    font-size: 14px;
}

/* CUSTOM VIDEO PLAYER PANEL */
.player-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInPlayer 0.25s ease;
}

@keyframes fadeInPlayer {
    from { opacity: 0; }
    to { opacity: 1; }
}

.player-panel {
    width: 90%;
    max-width: 1100px;
    background: #111;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.05);
}

.player-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: rgba(255, 215, 0, 0.05);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.player-title {
    font-size: 15px;
    font-weight: 600;
    color: #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80%;
}

.player-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-share-btn {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.25);
    color: var(--yellow);
    padding: 7px 14px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.player-share-btn:hover {
    background: rgba(255, 215, 0, 0.18);
}

.player-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.player-close-btn:hover {
    background: rgba(255, 70, 70, 0.3);
    border-color: rgba(255, 70, 70, 0.5);
    color: #ff6b6b;
    transform: scale(1.1);
}

.player-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 65vh;
    background: #000;
}

.player-video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.player-message {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
}

.player-sources {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.player-sources select {
    background: var(--card-bg);
    color: var(--text-main);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 8px;
    padding: 8px 10px;
    font-family: inherit;
    font-size: 13px;
    max-width: 100%;
}

.host-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.host-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ddd;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.host-btn small {
    color: var(--text-muted);
}

.host-btn:hover,
.host-btn.active {
    border-color: var(--yellow);
    color: var(--yellow);
    background: rgba(255, 215, 0, 0.1);
}

.player-hint {
    width: 100%;
    font-size: 12px;
    color: var(--text-muted);
}

.card-sub {
    font-size: 12px;
    color: var(--yellow);
    opacity: 0.85;
    padding: 0 4px;
}

.player-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: rgba(255, 215, 0, 0.03);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.player-nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--yellow);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.player-nav-btn:hover:not(:disabled) {
    background: rgba(255, 215, 0, 0.18);
    border-color: var(--yellow);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.15);
}

.player-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-icon {
    font-size: 16px;
}

.player-ep-info {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.loading-text {
    color: var(--text-muted);
    font-size: 15px;
    padding: 20px 0;
    animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
    50% { opacity: 0.4; }
}

.img-missing {
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    font-size: 13px;
}

/* ---------- HESAP / PROFIL ---------- */
a.logo, .nav-links a { text-decoration: none; }
.nav-links a { color: inherit; }
a.profile-icon { text-decoration: none; font-weight: 700; }
.nav-login {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 20px;
    padding: 7px 16px;
}
.nav-login:hover { background: rgba(255, 215, 0, 0.1); }

.page { padding: 110px 40px 60px; min-height: 100vh; }

.account-box {
    max-width: 420px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: 16px;
    padding: 32px;
}
.account-box h1 { font-size: 26px; margin-bottom: 8px; }
.account-intro { color: var(--text-muted); margin-bottom: 18px; line-height: 1.5; }
.account-form { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.form-field input {
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font: inherit;
    outline: none;
}
.form-field input:focus { border-color: var(--yellow); }
.form-help { color: var(--text-muted); font-size: 12px; }
.form-help ul { padding-left: 18px; }
.form-error { color: #ff6b6b; font-size: 13px; }
.account-form .btn-primary { margin-top: 6px; justify-content: center; }
.account-links { margin-top: 18px; color: var(--text-muted); font-size: 14px; }
.account-links a, .account-box a:not(.btn-primary) { color: var(--yellow); }
.account-box a.btn-primary { display: inline-block; text-decoration: none; margin-top: 10px; }

.profile-head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.profile-avatar {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--yellow); color: #000;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 700;
}
.profile-head h1 { font-size: 28px; }
.profile-head .account-intro { margin: 0; }
.profile-actions { margin-left: auto; display: flex; gap: 10px; }
.profile-actions a.btn-secondary { text-decoration: none; display: inline-flex; align-items: center; }
.page .carousel-section { padding-left: 0; padding-right: 0; }
.page a.anime-card { text-decoration: none; color: inherit; }
.empty-note { color: var(--text-muted); }
.watched-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.watched-list li {
    display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap;
    padding: 10px 14px; background: var(--card-bg); border-radius: 10px;
}
.watched-list a { color: var(--text-main); font-weight: 600; text-decoration: none; }
.watched-list a:hover { color: var(--yellow); }
.watched-list span, .watched-list time { color: var(--text-muted); font-size: 14px; }
.watched-list time { margin-left: auto; }

/* izleme ilerlemesi (kartlar ve bolum listesi) */
.progress-bar { height: 4px; background: rgba(255, 255, 255, 0.15); border-radius: 2px; margin-top: 6px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: var(--yellow); }
.episode-card.watched { opacity: 0.6; }
.episode-card.watched .episode-number::after { content: " ✓"; color: var(--yellow); }
.episode-card .progress-bar { margin-top: 10px; }

/* puan verme */
.rating-box { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--text-muted); font-size: 14px; }
.rating-box select {
    background: rgba(255, 255, 255, 0.08); color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px; padding: 6px 10px; font: inherit;
}
.rating-box select option { background: #111; }
.btn-secondary.in-list { border-color: var(--yellow); color: var(--yellow); }

@media (max-width: 768px) {
    .page { padding: 90px 16px 40px; }
    .account-box { padding: 24px 18px; }
    .profile-actions { margin-left: 0; }
}
.profile-actions form { display: flex; }
.profile-actions .btn-secondary { font-family: inherit; font-size: 15px; height: 44px; padding: 0 20px; }

/* ---------- SUNUCUDA URETILEN SAYFALAR ---------- */
a { color: inherit; }
.nav-links a, .anime-card, .episode-card, .breadcrumb a, .site-footer a { text-decoration: none; }
.nav-links a:hover { color: var(--yellow); }
.nav-search { margin: 0; }
.nav-search input { width: 220px; }

.page.page-home, .page.page-anime { padding: 70px 0 0; }
.page-anime .hero, .page-home .hero { margin-top: -70px; }
.hero-kicker { color: var(--yellow); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.hero-title a { text-decoration: none; }
.hero-meta a { color: inherit; text-decoration: none; }
.hero-badges { flex-wrap: wrap; }
a.badge { text-decoration: none; }
a.btn-primary, a.btn-secondary { text-decoration: none; display: inline-flex; }
.hero-content .rating-box:empty { display: none; }

.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb.on-hero { margin-bottom: 12px; text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8); }

.intro { padding: 30px 40px 0; max-width: 900px; }
.intro h1 { font-size: 28px; margin-bottom: 10px; }
.intro p, .lead { color: #cfcfcf; line-height: 1.7; }
.lead { max-width: 900px; margin-bottom: 24px; }
.carousel-section h2 a { text-decoration: none; }
.carousel-section h2 a:hover { color: var(--yellow); }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list .badge { display: inline-block; font-size: 14px; padding: 7px 14px; }
.chip-list small { opacity: 0.7; margin-left: 4px; }

.listing h1, .season-page h1 { font-size: 30px; margin-bottom: 10px; }
.count { font-size: 16px; color: var(--yellow); opacity: 0.8; font-weight: 600; }
.filters { flex-wrap: wrap; }
.pagination { display: flex; gap: 20px; align-items: center; justify-content: center; margin: 40px 0 10px; color: var(--text-muted); }
.pagination a { color: var(--yellow); text-decoration: none; font-weight: 600; border: 1px solid rgba(255, 215, 0, 0.3); padding: 8px 16px; border-radius: 8px; }

/* anime sayfasi */
.detail-body { padding: 0 40px 40px; }
.about { max-width: 980px; margin-top: 20px; }
.about h2, .episodes-section h2, .cast h2, .episode-info h2 { font-size: 22px; margin-bottom: 14px; }
.about p { color: #d6d6d6; line-height: 1.75; margin-bottom: 18px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; font-size: 15px; }
.facts dt { color: var(--text-muted); }
.facts a { color: var(--yellow); text-decoration: none; }
.detail-body .episodes-section { padding: 30px 0 0; }
.episodes-section h2 a { text-decoration: none; }
.episodes-section h2 a:hover { color: var(--yellow); }
.episodes-section h2 small { font-size: 14px; color: var(--text-muted); font-weight: 400; margin-left: 8px; }
ol.episodes-list { list-style: none; padding: 0; }
a.episode-card { display: block; height: 100%; }
.episode-card .episode-number, .episode-card .episode-title { display: block; }
.episode-card.current { border-color: var(--yellow); background: #2a2a2a; }
.more { margin-top: 18px; }
.cast { padding-top: 30px; }
.cast ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.cast li { background: var(--card-bg); padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.cast li span { display: block; color: var(--text-muted); font-size: 13px; }
.detail-body .carousel-section { padding: 30px 0; }
.player-overlay[hidden] { display: none; }
.trailer-buttons:empty { display: none; }
.trailer-buttons { padding: 12px 20px 0; }

/* bolum sayfasi */
.episode-page { max-width: 1200px; margin: 0 auto; }
.episode-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.episode-head h1 { font-size: 26px; line-height: 1.3; }
.episode-name { color: var(--text-muted); font-weight: 400; }
.episode-actions { display: flex; gap: 10px; }
.player-inline { background: #111; border: 1px solid rgba(255, 215, 0, 0.15); border-radius: 16px; overflow: hidden; }
.player-inline .player-video-wrapper { aspect-ratio: 16 / 9; height: auto; }
.player-controls a { text-decoration: none; }
.player-controls .player-ep-info { color: var(--text-muted); }
.episode-info { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; margin-top: 30px; }
.episode-info section p { color: #d6d6d6; line-height: 1.7; margin-bottom: 10px; }
.episode-info h2 a { text-decoration: none; }
.source-list { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.muted { color: var(--text-muted); }
.episodes-list.compact { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.episodes-list.compact .episode-card { padding: 10px 12px; }

/* duz metin sayfalari (hakkinda, dmca, 404) */
.prose { max-width: 760px; margin: 0 auto; line-height: 1.75; }
.prose h1 { font-size: 30px; margin-bottom: 16px; }
.prose h2 { font-size: 20px; margin: 26px 0 8px; }
.prose p, .prose li { color: #d6d6d6; margin-bottom: 10px; }
.prose ul { padding-left: 22px; }
.prose a { color: var(--yellow); }
.inline-search { display: flex; gap: 10px; margin: 20px 0; }
.inline-search input { flex: 1; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.05); color: var(--text-main); font: inherit; }

.site-footer { border-top: 1px solid rgba(255, 215, 0, 0.1); padding: 30px 40px 40px; color: var(--text-muted); font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 14px; }
.site-footer a:hover { color: var(--yellow); }

@media (max-width: 900px) {
    .episode-info { grid-template-columns: 1fr; }
    .nav-optional { display: none; }
}

@media (max-width: 768px) {
    .navbar { padding: 0 16px; height: 60px; }
    .nav-left { gap: 16px; }
    .logo { font-size: 20px; letter-spacing: 1px; }
    .nav-links { gap: 12px; font-size: 14px; }
    .nav-search input { width: 130px; padding: 8px 12px; }
    .page.page-home, .page.page-anime { padding-top: 60px; }
    .hero { height: 62vh; }
    .hero-content { left: 16px; right: 16px; bottom: 8%; }
    .hero-title { font-size: 32px; }
    .hero-desc { -webkit-line-clamp: 2; margin-bottom: 18px; }
    .hero-buttons { flex-wrap: wrap; gap: 10px; }
    .btn-primary, .btn-secondary { padding: 10px 16px; font-size: 15px; }
    .intro, .carousel-section, .detail-body, .site-footer { padding-left: 16px; padding-right: 16px; }
    .anime-card { min-width: 140px; max-width: 140px; }
    .anime-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
    .anime-grid .anime-card { min-width: 0; max-width: none; }
    .episodes-list { grid-template-columns: 1fr 1fr; }
    .facts { grid-template-columns: 1fr; gap: 2px; }
    .facts dd { margin-bottom: 8px; }
    .episode-head h1 { font-size: 21px; }
    .player-inline { border-radius: 10px; }
    .player-controls { flex-wrap: wrap; gap: 10px; }
}

/* sayfa kaymasini (CLS) onlemek icin JS ile dolan alanlarin yeri bastan ayrilir */
.nav-login, a.profile-icon { height: 35px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; }
a.profile-icon { width: 35px; }
.player-inline .host-buttons { min-height: 34px; align-items: center; }
.player-inline .player-sources { min-height: 106px; align-content: center; }

@media (max-width: 768px) {
    .nav-links li:first-child { display: none; }   /* logo zaten ana sayfaya gider */
    .nav-links a, .nav-login { white-space: nowrap; }
    .nav-right { gap: 8px; min-width: 0; }
    .nav-search { min-width: 0; flex: 1 1 auto; }
    .nav-search input { width: 100%; max-width: 150px; min-width: 70px; }
    .nav-login { padding: 0 10px; font-size: 13px; }
}


/* =====================================================================
   TASARIM 2 (Figma): ust menu, ana sayfa vitrini, kart satirlari, reklam alanlari
   ===================================================================== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- ust menu --- */
.topbar {
    position: fixed; inset: 0 0 auto 0; z-index: 1000; height: 72px;
    display: flex; align-items: center; justify-content: space-between; padding: 0 40px;
    background: var(--bg-dark);
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; width: 263px; height: auto; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
    display: inline-flex; align-items: center; justify-content: center; position: relative;
    width: 40px; height: 40px; padding: 0; border: 0; background: none; color: var(--yellow); cursor: pointer; text-decoration: none;
}
.icon-btn svg { width: 26px; height: 26px; }
.account-btn svg:first-child { width: 30px; height: 30px; }
/* ok normalde gizli; menu acilinca asagi kayarak gelir, kapaninca yukari kayarak kaybolur */
/* kapanirken ters donup (yukari bakar) yukari kayarak kaybolur */
.account-caret {
    position: absolute; bottom: -10px; left: 50%; width: 16px !important; height: 16px !important;
    transform: translate(-50%, -10px) rotate(180deg); opacity: 0; transition: transform .3s ease, opacity .3s ease;
}
#profile-link[aria-expanded="true"] .account-caret { transform: translate(-50%, 0) rotate(0); opacity: 1; }
.icon-btn:hover, .icon-btn[aria-expanded="true"] { color: var(--yellow-hover); }

.topbar-panel { position: absolute; top: 72px; right: 40px; background: var(--bg-dark); border-radius: 0 0 20px 20px; box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.search-panel { padding: 14px; width: min(420px, calc(100vw - 32px)); }
.search-panel input { width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(255,229,44,.5); background: #1b1e1e; color: #fff; font: inherit; font-size: 16px; outline: none; }
.search-panel input:focus { border-color: var(--yellow); }
.menu-panel { display: flex; flex-direction: column; padding: 10px 0; min-width: 240px; }
.menu-panel a { padding: 10px 24px; color: #fff; text-decoration: none; font-size: 17px; }
.menu-panel a:hover { color: var(--yellow); }

.account { position: relative; }
.account-menu {
    position: absolute; top: 56px; right: -10px; width: 340px; padding: 0 0 14px;
    background: var(--bg-dark); border-radius: 0 0 28px 28px; box-shadow: 0 18px 40px rgba(0,0,0,.55);
}
.account-head { display: flex; align-items: center; gap: 16px; padding: 18px 20px 16px; border-bottom: 4px solid var(--yellow); }
.account-head svg { width: 64px; height: 64px; color: var(--yellow); flex: none; }
.account-head strong { font-size: 18px; font-weight: 600; color: #fff; word-break: break-all; }
.account-menu a, .account-menu button {
    display: flex; align-items: center; gap: 14px; width: 100%; padding: 9px 20px;
    background: none; border: 0; color: #fff; font: inherit; font-size: 18px; text-decoration: none; cursor: pointer; text-align: left;
}
.account-menu a:hover, .account-menu button:hover { color: var(--yellow); }
.account-menu svg { width: 30px; height: 30px; color: var(--yellow); flex: none; }
.account-menu form { margin: 0; }
.account-menu nav { padding-top: 10px; }

.page { padding-top: 102px; }
.page.page-home { padding: 72px 0 0; }

/* --- vitrin (hero) --- */
.showcase { position: relative; min-height: min(78vh, 760px); display: flex; align-items: center; overflow: hidden; }
.showcase-art { position: absolute; inset: 0 0 0 30%; background-size: cover; background-position: center 25%; }
.showcase-art::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--bg-dark) 0%, rgba(19,21,21,.85) 18%, rgba(19,21,21,0) 55%),
                linear-gradient(0deg, var(--bg-dark) 0%, rgba(19,21,21,0) 28%),
                linear-gradient(180deg, var(--bg-dark) 0%, rgba(19,21,21,0) 18%);
}
.showcase-body { position: relative; z-index: 2; padding: 0 40px 0 100px; max-width: 900px; }
.showcase-title { font-size: clamp(40px, 5.4vw, 96px); font-weight: 600; line-height: 1.02; letter-spacing: -0.5px; }
.showcase-title a { color: #fff; text-decoration: none; }
.showcase-subtitle { font-size: clamp(22px, 2.4vw, 42px); font-weight: 500; margin-top: 4px; }
.showcase-meta { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 10px; font-size: clamp(16px, 1.3vw, 24px); font-weight: 300; color: #d8d8d8; }
.showcase-meta .star { color: var(--yellow); }
.showcase-genres { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; color: var(--yellow); font-weight: 600; font-size: clamp(15px, 1.15vw, 21px); }
.showcase-desc {
    margin-top: 10px; max-width: 680px; font-size: clamp(15px, 1.2vw, 23px); line-height: 1.35; font-weight: 300; color: #ededed;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.showcase-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 34px; }
.btn-outline {
    display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px;
    border: 3px solid var(--yellow); border-radius: 10px; color: #fff; text-decoration: none; font-size: clamp(17px, 1.4vw, 26px); font-weight: 500;
}
.btn-outline svg { width: 28px; height: 28px; color: var(--yellow); }
.btn-outline:hover { background: rgba(255,229,44,.12); }
.btn-text {
    display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0;
    color: #fff; font: inherit; font-size: clamp(17px, 1.4vw, 26px); font-weight: 500; cursor: pointer;
}
.btn-text svg { width: 26px; height: 26px; color: var(--yellow); transition: transform .2s; }
.btn-text.in-list svg { transform: rotate(45deg); }
.btn-text:hover { color: var(--yellow); }

/* --- kart satirlari --- */
.shelves { padding: 30px 0 40px; }
.shelf { margin-bottom: 44px; }
.shelf-title { padding: 0 40px; margin-bottom: 18px; font-size: clamp(24px, 2vw, 36px); font-weight: 600; color: var(--yellow); }
.shelf-title a { color: inherit; text-decoration: none; }
.shelf-split { display: flex; align-items: center; gap: 30px; }
.shelf-split:has(> .vtr:not([hidden])) { padding-right: 40px; }
.shelf-split .row { flex: 1; min-width: 0; }

.row { position: relative; }
.row-track {
    display: flex; gap: 40px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none;
    padding: 24px 40px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
}
.row-track::-webkit-scrollbar { display: none; }
.row.at-start .row-track { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 120px), transparent 100%); mask-image: linear-gradient(90deg, #000 calc(100% - 120px), transparent 100%); }
.row.at-end .row-track { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 120px); mask-image: linear-gradient(90deg, transparent 0, #000 120px); }
.row.at-start.at-end .row-track { -webkit-mask-image: none; mask-image: none; }
.row-arrow {
    position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
    width: 36px; height: 72px; padding: 0; border: 0; background: none; color: var(--yellow); cursor: pointer;
}
.row-arrow svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.6; }
.row-prev { left: 8px; }
.row-next { right: 8px; }
.row-arrow:hover { color: var(--yellow-hover); }

.tile { position: relative; flex: 0 0 auto; width: clamp(150px, 13.6vw, 260px); transition: transform .25s ease; }
.tile-link { position: relative; display: block; aspect-ratio: 260 / 370; overflow: hidden; background: #2a2d2d; text-decoration: none; }
.tile-link img, .tile-link .img-missing { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; aspect-ratio: auto; margin: 0; }
.tile-link::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(0deg, var(--bg-dark) 8%, rgba(19,21,21,0) 100%); }
/* ustte de golge: acik renkli afislerde kalp simgesi kaybolmasin */
.tile-link::before { content: ""; position: absolute; inset: 0 0 72%; z-index: 1; background: linear-gradient(180deg, rgba(19,21,21,.8) 0%, rgba(19,21,21,0) 100%); pointer-events: none; }
.tile-title {
    position: absolute; left: 10px; right: 10px; bottom: 16px; z-index: 2;
    font-size: clamp(15px, 1.15vw, 22px); font-weight: 300; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tile-sub { position: absolute; left: 10px; right: 10px; bottom: 0; z-index: 2; font-size: 13px; color: var(--yellow); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-play {
    position: absolute; top: 42%; left: 50%; z-index: 2; width: 34%; color: var(--yellow);
    transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: opacity .2s, transform .2s;
}
.tile-play svg { width: 100%; height: auto; display: block; }
.tile-fav, .tile-more {
    position: absolute; z-index: 3; width: 38px; height: 38px; padding: 0; border: 0; background: none;
    color: var(--yellow); cursor: pointer; opacity: 0; transition: opacity .2s;
}
.tile-fav { top: 8px; right: 8px; }
.tile-more { bottom: 6px; right: 6px; }
.tile-fav svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.tile-more svg { width: 100%; height: 100%; }
.tile-fav.in-list { opacity: 1; }
.tile-fav.in-list svg { fill: currentColor; }
.tile:hover, .tile:focus-within { transform: scale(1.07) translateY(-6px); z-index: 2; }
.tile:hover .tile-title, .tile:focus-within .tile-title { font-weight: 600; padding-right: 36px; }
.tile:hover .tile-play, .tile:focus-within .tile-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.tile:hover .tile-fav, .tile:focus-within .tile-fav, .tile:hover .tile-more, .tile:focus-within .tile-more { opacity: 1; }
/* kart liste menusu (simdilik islevsiz) */
.tile-menu {
    position: absolute; right: 8px; bottom: 46px; z-index: 4; display: flex; flex-direction: column;
    padding: 6px 0; background: #131515; border-radius: 6px; box-shadow: 0 8px 20px rgba(0,0,0,.6);
}
.tile-menu[hidden] { display: none; }
.tile-menu button {
    display: flex; align-items: center; gap: 8px; padding: 5px 12px; border: 0; background: none;
    color: #fff; font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; text-align: left;
}
.tile-menu button svg { width: 14px; height: 14px; color: var(--yellow); }
.tile-menu button.danger, .tile-menu button.danger svg { color: #ff4d4d; }
.tile-menu button:hover { color: var(--yellow); }

/* yakinda uyarisi */
.soon-toast {
    position: fixed; left: 50%; bottom: 70px; z-index: 2000; transform: translateX(-50%);
    padding: 10px 18px; border-radius: 10px; background: #1f2222; border: 1px solid var(--yellow); color: #fff; font-size: 15px;
}

/* --- reklam alanlari --- */
.vtr { position: relative; display: flex; justify-content: center; }
.vtr[hidden] { display: none; }
.vtr a { position: relative; display: block; max-width: 100%; line-height: 0; }
.vtr img { display: block; max-width: 100%; height: auto; }
.vtr a.vtr-empty {
    display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 4px 10px; box-sizing: border-box;
    background: #1d2020; border: 1px dashed rgba(255, 229, 44, 0.35); color: #cfcfcf;
    font-size: 15px; line-height: 1.3; text-align: center; text-decoration: none;
}
.vtr a.vtr-empty:hover { color: var(--yellow); }
.vtr-tag { position: absolute; top: 0; left: 0; padding: 2px 6px; background: rgba(0, 0, 0, 0.7); color: #ddd; font-size: 10px; line-height: 1.3; }
.vtr-side { flex: none; width: 300px; }
.vtr-wide { margin: 10px 40px 40px; }
.vtr-inline { margin: 24px 0; }

.home-about { padding: 0 40px 10px; max-width: 1000px; color: #9aa0a0; font-size: 15px; line-height: 1.7; }
.home-genres { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
.home-genres a { color: #c9c9c9; text-decoration: none; }
.home-genres a:hover { color: var(--yellow); }

.to-top {
    position: fixed; left: 50%; bottom: 18px; z-index: 900; transform: translateX(-50%);
    width: 72px; height: 36px; padding: 0; border: 0; background: none; color: var(--yellow); cursor: pointer;
}
.to-top[hidden] { display: none; }
.to-top svg { width: 100%; height: 100%; }

@media (max-width: 900px) {
    .shelf-split { flex-direction: column; align-items: stretch; padding-right: 0; }
    .vtr-side { width: auto; margin: 0 40px; }
}
@media (max-width: 768px) {
    .topbar { padding: 0 16px; height: 60px; }
    .brand-logo { width: 180px; }
    .topbar-actions { gap: 4px; }
    .topbar-panel { top: 60px; right: 8px; }
    .account-menu { top: 50px; right: -6px; width: min(320px, calc(100vw - 16px)); }
    .page { padding-top: 84px; }
    .page.page-home { padding-top: 60px; }
    .showcase { min-height: 560px; align-items: flex-end; padding-bottom: 30px; }
    .showcase-art { inset: 0; }
    .showcase-art::after { background: linear-gradient(0deg, var(--bg-dark) 12%, rgba(19,21,21,.6) 55%, rgba(19,21,21,.2) 100%); }
    .showcase-body { padding: 0 16px; }
    .shelf-title { padding: 0 16px; }
    .row-track { gap: 14px; padding: 16px; }
    .row-arrow { display: none; }
    .vtr-side { margin: 0 16px; }
    .vtr-wide { margin: 10px 16px 30px; }
    .home-about { padding: 0 16px; }
    .tile-fav, .tile-more { opacity: 1; }
}

/* hidden ozniteligi her zaman gecerli (panel/menu display kurallarini ezer) */
[hidden] { display: none !important; }

/* profil menusundeki site gezinmesi (hamburger menunun yerini aldi) */
.account-site { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 6px; padding-top: 6px; }


/* kaydirma cubuklari gizli (kaydirma calismaya devam eder) */
* { scrollbar-width: none; }
*::-webkit-scrollbar { display: none; }

/* --- giris / kayit (tasarim: solda gorsel, sagda logo ve sari alanlar) --- */
.page.page-auth { padding: 72px 40px 40px; }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; min-height: calc(100vh - 112px); max-width: 1500px; margin: 0 auto; }
.auth-art {
    justify-self: center; width: min(420px, 100%);
}
.auth-art img { display: block; width: 100%; height: auto; max-height: calc(100vh - 150px); object-fit: contain; }
.auth-box { display: flex; flex-direction: column; align-items: center; width: min(450px, 100%); justify-self: center; }
.auth-logo { width: 106px; height: auto; margin-bottom: 40px; }
.auth-form { display: flex; flex-direction: column; gap: 28px; width: 100%; }
.auth-field {
    position: relative; display: flex; align-items: center; height: 46px; padding: 0 16px; gap: 10px;
    background: var(--yellow); border-radius: 23px; color: #131515;
}
.auth-field.has-error { box-shadow: 0 0 0 3px #ff6b6b; }
.auth-icon svg, .auth-eye svg { width: 24px; height: 24px; display: block; }
.auth-field input {
    flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none;
    color: #131515; font: inherit; font-size: 20px;
}
.auth-field input::placeholder { color: #131515; opacity: 1; }
.auth-field:focus-within { box-shadow: 0 0 0 3px rgba(255,255,255,.6); }
.auth-eye { border: 0; background: none; padding: 0; color: #131515; cursor: pointer; }
.auth-eye[aria-pressed="true"] { opacity: .55; }
.auth-error { margin-top: -20px; padding-left: 18px; }
.auth-row { display: flex; justify-content: center; align-items: center; gap: 50px; margin-top: -10px; font-size: 13px; }
.auth-row a { color: #fff; text-decoration: none; }
.auth-row a:hover, .auth-switch a:hover { color: var(--yellow); }
.auth-check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.auth-check input {
    appearance: none; width: 24px; height: 24px; margin: 0; border-radius: 50%;
    background: var(--yellow); cursor: pointer; display: grid; place-content: center;
}
.auth-check input:checked::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #131515; }
.auth-submit {
    align-self: center; width: 216px; height: 44px; border: 6px solid var(--yellow); border-radius: 14px;
    background: #131515; color: #fff; font: inherit; font-size: 20px; cursor: pointer;
}
.auth-submit:hover { background: var(--yellow); color: #131515; }
.auth-switch { text-align: center; font-size: 13px; color: #cfcfcf; margin-top: -10px; }
.auth-switch a { color: #fff; }
.auth-switch-left { text-align: left; padding-left: 12px; margin-top: -18px; }
.auth-switch-left a { text-decoration: none; }

/* --- bolum izleme (tasarim: solda oynatici, ortada anime bilgisi + yorumlar, sagda sezon/bolum) --- */
.page.page-episode { padding: 110px 40px 40px; }
.page-episode .breadcrumb { max-width: 1840px; margin: 0 auto 14px; }
.watch {
    display: grid; grid-template-columns: minmax(0, 1050px) minmax(260px, 400px) 290px; gap: 40px 50px;
    max-width: 1840px; margin: 0 auto; align-items: start;
}
.watch-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 6px; }
.watch-head h1 { font-size: 22px; font-weight: 600; }
.watch-head h1 span { font-weight: 400; }
.watch-link { border: 0; background: none; padding: 0; color: var(--yellow); font: inherit; font-size: 18px; cursor: pointer; }
.watch .player-inline { background: none; border: 0; border-radius: 0; overflow: visible; }
.watch .player-video-wrapper { aspect-ratio: 16 / 9; height: auto; background: #000; border-radius: 0; }
.watch-bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.watch-selects { display: flex; gap: 16px; flex-wrap: wrap; }
.pill-select { position: relative; display: block; }
.pill-select select {
    appearance: none; width: 220px; height: 36px; padding: 0 40px 0 12px;
    border: 3px solid var(--yellow); border-top: 0; border-radius: 0 0 12px 12px;
    background: #131515; color: #fff; font: inherit; font-size: 18px; cursor: pointer; outline: none;
}
.pill-select::after {
    content: ""; position: absolute; right: 14px; top: 8px; width: 10px; height: 10px; pointer-events: none;
    border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.pill-select select option { background: #131515; }
.watch-nav { display: flex; align-items: center; gap: 20px; padding-top: 8px; }
.watch-nav a { display: inline-flex; align-items: center; gap: 8px; color: var(--yellow); text-decoration: none; font-size: 18px; }
.watch-nav svg { width: 34px; height: 34px; }
.watch-next svg { width: 22px; height: 22px; color: #fff; }
.watch-nav a:hover { color: var(--yellow-hover); }
.watch .player-hint { margin-top: 10px; color: var(--text-muted); font-size: 13px; }

.watch-anime { display: flex; gap: 6px; align-items: flex-start; }
.watch-poster { flex: none; width: 130px; aspect-ratio: 2 / 3; background: #2a2d2d; }
.watch-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.watch-anime h2 { font-size: 22px; font-weight: 400; line-height: 1.1; }
.watch-anime h2 a { color: #fff; text-decoration: none; }
.watch-sub { font-size: 13px; color: #ddd; margin: 2px 0 8px; }
.watch-desc { font-size: 13px; line-height: 1.4; color: #eee; }
.watch-comments { margin-top: 50px; }
.watch-tab { display: inline-block; min-width: 300px; font-size: 18px; font-weight: 400; padding-bottom: 2px; border-bottom: 4px solid var(--yellow); margin-bottom: 16px; }

.watch-side h2 { font-size: 20px; font-weight: 400; margin-bottom: 8px; }
.season-pick { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.season-pick a {
    display: grid; place-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--yellow);
    color: #131515; font-size: 22px; text-decoration: none; border: 3px solid var(--yellow);
}
.season-pick a.current { box-shadow: inset 0 0 0 3px #131515; }
.season-pick a:hover { background: var(--yellow-hover); }
.ep-pick { list-style: none; display: flex; flex-direction: column; gap: 6px; max-height: 340px; overflow-y: auto; padding-left: 18px; }
.ep-pick a { display: inline-block; padding: 2px 8px; border-radius: 12px; color: #fff; text-decoration: none; font-size: 16px; }
.ep-pick a:hover { color: var(--yellow); }
.ep-pick a.current { background: var(--yellow); color: #fff; }
.ep-more { margin: 8px 0 0 26px; font-size: 14px; }
.ep-more a { color: var(--yellow); text-decoration: none; }
.watch-side .like-title { margin-top: 30px; color: var(--yellow); font-size: 17px; }
.like-row { display: flex; gap: 22px; }
.like-row button { width: 108px; height: 36px; border: 0; border-radius: 10px; background: var(--yellow); color: #131515; cursor: pointer; }
.like-row button:hover { background: var(--yellow-hover); }
.like-row svg { width: 26px; height: 26px; }
.watch-sources { grid-column: 1 / -1; color: var(--text-muted); font-size: 14px; }
.watch-sources h2 { font-size: 16px; margin-bottom: 8px; color: #ccc; }

/* --- telif (tasarim: solda egik gorsel) --- */
.legal-layout { display: grid; grid-template-columns: minmax(200px, 460px) minmax(0, 1fr); gap: 20px 60px; align-items: center; max-width: 1500px; margin: 40px auto; }
.legal-art {
    width: 80%; justify-self: center; aspect-ratio: 351 / 480; transform: rotate(16deg);
    background: #1d2020 url("../img/logo-mark.20da6d6df0ff.svg") center / 30% no-repeat; border: 1px solid rgba(255,229,44,.15);
}
.legal-layout .prose { margin: 0; max-width: 820px; }

@media (max-width: 1300px) {
    .watch { grid-template-columns: minmax(0, 1fr) 290px; }
    .watch-main { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .auth-layout, .legal-layout { grid-template-columns: 1fr; }
    .auth-art, .legal-art { display: none; }
    .watch { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .page.page-auth, .page.page-episode { padding: 84px 16px 30px; }
    .pill-select select { width: 160px; }
    .watch-tab { min-width: 0; width: 100%; }
}

/* --- bolum sahnesi: Figma olculeri (1920 genislikte oynatici 1049, orta 355, sag 288) --- */
.topbar-center .brand { position: absolute; left: 50%; transform: translateX(-50%); }
.topbar-center .brand-tr { width: 116px; }
.topbar-center { justify-content: flex-end; }
.page.page-episode { padding: 140px 50px 40px; }
.watch { grid-template-columns: minmax(0, 1049fr) minmax(250px, 355fr) 288px; gap: 40px 58px; max-width: 1810px; }
.watch-head { margin-bottom: 10px; }
.watch-head h1 { font-size: 22px; }
.watch-link { font-size: 20px; }
.watch-bar { margin-top: -2px; }
.watch-selects { gap: 8px; }
.pill-select select { width: 225px; height: 36px; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.watch-nav { gap: 18px; padding-top: 10px; }
.watch-nav a { font-size: 19px; }
.watch-nav svg { width: 36px; height: 36px; }
.watch-next svg { width: 20px; height: 20px; }
.watch-poster { width: 130px; }
.watch-anime { gap: 4px; }
.watch-anime h2 { font-size: 23px; }
.watch-sub { font-size: 13px; }
.watch-desc { font-size: 13px; line-height: 1.38; }
.watch-comments { margin-top: 56px; }
.watch-tab { min-width: 0; width: 100%; font-size: 19px; }
.watch-side h2 { font-size: 23px; margin-bottom: 8px; }
.season-pick { gap: 14px; }
.season-pick a { width: 44px; height: 44px; font-size: 23px; border-radius: 9px; }
.ep-pick { gap: 15px; padding-left: 18px; max-height: 410px; margin-top: 4px; }
.ep-pick li { min-width: 0; }
.ep-pick a { display: block; max-width: 100%; width: max-content; padding: 0 10px; font-size: 18px; line-height: 25px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.watch-side .like-title { margin-top: 34px; font-size: 19px; }
.like-row { gap: 26px; }
.like-row button { width: 129px; height: 44px; border-radius: 12px; }
.like-row svg { width: 30px; height: 30px; }
.watch-sources { margin-top: 30px; }
@media (max-width: 1300px) {
    .watch { grid-template-columns: minmax(0, 1fr) 288px; }
}
@media (max-width: 900px) {
    .watch { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .page.page-episode { padding: 84px 16px 30px; }
    .topbar-center .brand { position: static; transform: none; }
    .topbar-center { justify-content: space-between; }
    .pill-select select { width: 160px; }
}

/* --- bolum sahnesi: tasma duzeltmeleri --- */
.watch .player-video-wrapper { max-height: none; }
.watch-bar { margin-top: 12px; }
.pill-select select { border-top: 3px solid var(--yellow); border-radius: 12px; }
.pill-select::after { top: 11px; }
.watch-main, .watch-info, .watch-side { min-width: 0; }
.watch { grid-template-columns: minmax(0, 1fr) minmax(330px, 355px) 288px; }
.watch-anime > div { min-width: 0; overflow-wrap: anywhere; }
.watch-desc { display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; }
.ep-pick { max-height: 385px; } /* tam 10 satir: yarim satir gorunmesin */
@media (max-width: 1500px) {
    .watch { grid-template-columns: minmax(0, 1fr) 288px; }
    .watch-main { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .watch { grid-template-columns: 1fr; }
    .watch-anime { flex-direction: column; }
}
@media (max-width: 1500px) {
    /* tek basina satira gecen oynatici ekran yuksekligine sigsin */
    .watch-main { width: 100%; max-width: calc((100vh - 260px) * 16 / 9); min-width: min(100%, 640px); justify-self: center; }
}

/* --- anime sayfasi vitrini: yazilar ust menunun altina girmesin (uzun baslikta alan uzar) --- */
.detail-hero { height: auto; min-height: 70vh; display: flex; align-items: flex-end; padding: 130px 0 6%; }
.detail-hero .hero-content { position: relative; left: auto; bottom: auto; padding: 0 40px; max-width: 760px; }
.detail-hero .hero-title { font-size: clamp(32px, 3.6vw, 56px); overflow-wrap: anywhere; }
@media (max-width: 768px) {
    .detail-hero { min-height: 62vh; padding: 100px 0 8%; }
    .detail-hero .hero-content { padding: 0 16px; }
}

/* anime sayfasi: benzer animeler ana sayfadaki kart satiriyla ayni (detail-body'nin yan boslugunu sifirla) */
.shelf-related { margin: 30px -40px 0; }
@media (max-width: 768px) { .shelf-related { margin: 24px -16px 0; } }

/* fragman durunca YouTube dugmeleri gorunmeden hemen kaybolsun */
.hero-trailer:not(.ready) { transition-duration: .15s; }

/* --- arama: ikonun soluna dogru acilan kutu --- */
.search-inline { position: relative; display: flex; align-items: center; margin: 0; }
.search-inline input {
    width: 0; padding: 0; opacity: 0; height: 40px; border: 2px solid var(--yellow); border-radius: 20px;
    background: #1b1e1e; color: #fff; font: inherit; font-size: 16px; outline: none;
    transition: width .35s ease, padding .35s ease, opacity .25s ease, margin .35s ease;
}
.search-inline input::-webkit-search-cancel-button { display: none; }
.search-inline.open input { width: min(320px, 50vw); padding: 0 16px; opacity: 1; margin-right: 6px; }
@media (max-width: 768px) {
    .search-inline.open input { width: calc(100vw - 150px); }
    .topbar-center .search-inline.open input { width: calc(100vw - 260px); }
}
/* acilis: sagdan sola yumusak genisleme, cerceve ve parilti sonradan belirir */
.search-inline input {
    transition: width .45s cubic-bezier(.22, .8, .25, 1), padding .45s cubic-bezier(.22, .8, .25, 1),
                margin .45s cubic-bezier(.22, .8, .25, 1), opacity .3s ease, box-shadow .3s ease;
}
.search-inline.open input:focus { box-shadow: 0 0 10px rgba(255, 229, 44, .35); }

/* --- liste/arama kartlari: HTML'deki height ozniteligi 2:3 oranini bozuyordu --- */
.anime-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 34px 26px; }
.anime-grid .anime-card { min-width: 0; max-width: none; }
.anime-card img { height: auto; aspect-ratio: 260 / 370; border-radius: 0; box-shadow: none; }
.anime-card .img-missing { aspect-ratio: 260 / 370; }
.anime-card h3 { font-weight: 400; margin-top: 2px; }
.anime-card:hover h3 { color: var(--yellow); }
@media (max-width: 768px) {
    .anime-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 22px 14px; }
}

/* sayfa basina 48 anime: sutun sayisi 48'i tam bolsun ki son satirda bosluk kalmasin (8/6/4/3/2) */
.anime-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
@media (max-width: 1700px) { .anime-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 1150px) { .anime-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .anime-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px)  { .anime-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* tarayicinin otomatik doldurma rengi (acik mavi) sari alani bozmasin */
.auth-field input:-webkit-autofill,
.auth-field input:-webkit-autofill:hover,
.auth-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: #131515; caret-color: #131515;
    -webkit-box-shadow: 0 0 0 1000px var(--yellow) inset; box-shadow: 0 0 0 1000px var(--yellow) inset;
    transition: background-color 9999s ease-out 0s;
}

/* profil menusu ekrana sigsin: site baglantilari iki sutun, gerekirse menu kendi icinde kayar */
.account-menu { max-height: calc(100vh - 80px); overflow-y: auto; overscroll-behavior: contain; }
.account-menu nav a, .account-menu nav button { padding-top: 7px; padding-bottom: 7px; }
.account-site { display: grid; grid-template-columns: 1fr 1fr; padding: 6px 0 0; }
.account-menu .account-site a { padding: 7px 14px 7px 20px; font-size: 15px; gap: 10px; }
.account-menu .account-site svg { width: 22px; height: 22px; }

/* --- kullanici profili (tasarim: mercan banner, sari cizgi, sayilar, favoriler, listeler, degerlendirmeler) --- */
.page.page-profile { padding: 110px 0 40px; }
.pf-banner {
    display: flex; align-items: center; gap: 34px; min-height: 250px; padding: 30px 100px;
    background: linear-gradient(180deg, #e85f5f 0%, #f46b6b 22%, #f46b6b 100%); border-bottom: 5px solid var(--yellow);
}
.pf-avatar { width: 186px; height: 186px; flex: none; color: var(--yellow); }
.pf-avatar svg { width: 100%; height: 100%; display: block; }
.pf-name { font-size: 46px; font-weight: 700; color: #fff; line-height: 1.1; word-break: break-all; }
.pf-badges { display: flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--yellow); }
.pf-badges svg { width: 40px; height: 40px; }
.pf-badges .pf-badge-search { width: 54px; height: 54px; color: #131515; }
.pf-banner .pf-badge-search circle:first-child { stroke: #131515; }

.pf-body { padding: 0 100px; }
.pf-stats { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 0; padding: 50px 0 40px; }
.pf-stats > div:not(.pf-actions) { display: flex; flex-direction: column; flex: 1 1 200px; }
.pf-stats strong { font-size: 46px; font-weight: 700; line-height: 1; }
.pf-stats span { font-size: 36px; font-weight: 300; margin-top: 6px; }
.pf-actions { display: flex; gap: 14px; align-items: center; margin-left: auto; margin-top: -26px; }
.pf-btn {
    display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 3px solid var(--yellow); border-radius: 6px;
    background: none; color: var(--yellow); font: inherit; font-size: 20px; text-decoration: none; cursor: pointer;
}
.pf-btn:hover { background: var(--yellow); color: #131515; }
.pf-flag { width: 40px; height: 40px; padding: 4px; border: 3px solid var(--yellow); border-radius: 6px; background: none; color: var(--yellow); cursor: pointer; }
.pf-flag svg { width: 100%; height: 100%; }

.pf-title { font-size: 44px; font-weight: 400; margin-bottom: 26px; }
.pf-grid { display: grid; grid-template-columns: minmax(0, 1fr) 640px; gap: 40px 120px; }
.pf-fav-row { display: grid; grid-template-columns: repeat(4, minmax(0, 220px)); gap: 40px; }
.pf-fav { display: block; color: #fff; text-decoration: none; }
.pf-fav img, .pf-fav .img-missing { width: 100%; aspect-ratio: 220 / 314; object-fit: cover; display: block; background: #2a2d2d; }
.pf-fav span:last-child { display: block; margin-top: 10px; font-size: 24px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-fav:hover span:last-child { color: var(--yellow); }
.pf-side { padding-top: 40px; }
.pf-tab { font-size: 28px; font-weight: 400; padding-bottom: 4px; border-bottom: 4px solid var(--yellow); margin-bottom: 30px; }
.pf-about { font-size: 26px; line-height: 1.45; font-weight: 300; }
.pf-tab-badges { margin: 60px 0 22px 290px; }
.pf-badges-big { margin-left: 290px; }
.pf-badges-big svg { width: 48px; height: 48px; }

.pf-section { margin-top: 70px; }
.pf-lists { display: flex; gap: 50px; overflow-x: auto; padding-bottom: 6px; }
.pf-list {
    display: flex; flex-direction: column; flex: 0 0 314px; padding: 0; border: 0; background: none;
    color: #fff; font: inherit; text-align: left; text-decoration: none; cursor: pointer;
}
.pf-list-cover {
    position: relative; display: grid; place-content: center; height: 196px; background: #2a2d2d center / cover;
    color: var(--yellow);
}
.pf-list-cover::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(0deg, var(--bg-dark), transparent); }
.pf-list-cover svg { width: 64px; height: 64px; }
.pf-list-name { margin: -44px 0 0 12px; position: relative; z-index: 1; font-size: 30px; }
.pf-list-desc { margin: 18px 12px 0; font-size: 14px; color: #ddd; line-height: 1.3; }
.pf-list:hover .pf-list-name { color: var(--yellow); }

.pf-reviews { display: flex; gap: 60px; overflow-x: auto; padding-bottom: 6px; }
.pf-review { display: flex; gap: 26px; flex: 0 0 600px; color: #fff; text-decoration: none; }
.pf-review img { width: 220px; height: 314px; object-fit: cover; flex: none; background: #2a2d2d; }
.pf-review h3 { font-size: 26px; font-weight: 500; text-transform: uppercase; }
.pf-stars { margin: 8px 0 14px; font-size: 28px; letter-spacing: 4px; color: transparent; -webkit-text-stroke: 1.5px var(--yellow); }
.pf-stars .on { color: var(--yellow); }
.pf-stars .half { background: linear-gradient(90deg, var(--yellow) 50%, transparent 50%); -webkit-background-clip: text; background-clip: text; }
.pf-review-text { font-size: 20px; line-height: 1.3; font-weight: 300; }
.pf-review:hover h3 { color: var(--yellow); }

.pf-shelf { margin: 70px -100px 0; }
.pf-shelf .pf-title, .pf-shelf .empty-note { padding: 0 100px; }

@media (max-width: 1500px) {
    .pf-banner { padding: 30px 40px; }
    .pf-body { padding: 0 40px; }
    .pf-shelf { margin: 60px -40px 0; }
    .pf-shelf .pf-title, .pf-shelf .empty-note { padding: 0 40px; }
    .pf-grid { grid-template-columns: 1fr; }
    .pf-side { padding-top: 0; }
    .pf-tab-badges, .pf-badges-big { margin-left: 0; }
    .pf-stats strong { font-size: 38px; }
    .pf-stats span { font-size: 26px; }
    .pf-title { font-size: 34px; }
}
@media (max-width: 768px) {
    .page.page-profile { padding-top: 60px; }
    .pf-banner { min-height: 0; gap: 16px; padding: 24px 16px; }
    .pf-avatar { width: 96px; height: 96px; }
    .pf-name { font-size: 28px; }
    .pf-badges svg { width: 24px; height: 24px; }
    .pf-badges .pf-badge-search { width: 32px; height: 32px; }
    .pf-body { padding: 0 16px; }
    .pf-shelf { margin: 50px -16px 0; }
    .pf-shelf .pf-title, .pf-shelf .empty-note { padding: 0 16px; }
    .pf-stats > div:not(.pf-actions) { flex: 1 1 45%; }
    .pf-stats strong { font-size: 30px; }
    .pf-stats span { font-size: 18px; }
    .pf-actions { margin: 0; width: 100%; flex-wrap: wrap; }
    .pf-fav-row { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .pf-fav span:last-child { font-size: 16px; }
    .pf-about { font-size: 18px; }
    .pf-list { flex-basis: 240px; }
    .pf-review { flex-basis: 300px; flex-direction: column; }
    .pf-review img { width: 140px; height: 200px; }
}

/* --- alt bilgi (tum sayfalar) --- */
.site-footer {
    display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px 60px;
    margin-top: 40px; padding: 40px 40px 90px; /* altta yukari cik oku icin bos alan */
    border-top: 4px solid var(--yellow); background: #0f1111; color: #9aa0a0; font-size: 15px;
}
.footer-brand img { display: block; width: 180px; height: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; }
.site-footer nav a { color: #e6e6e6; font-size: 16px; }
.site-footer nav a:hover { color: var(--yellow); }
.footer-note { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }

/* ana sayfa alt yazisi ve tur baglantilari */
.home-about { padding: 10px 40px 20px; max-width: none; }
.home-about > p:first-child { max-width: 1100px; font-size: 15px; }
.home-genres { gap: 10px; margin-top: 18px; }
.home-genres a {
    padding: 6px 14px; border: 2px solid rgba(255,229,44,.45); border-radius: 18px;
    color: #e6e6e6; font-size: 15px; line-height: 1.2;
}
.home-genres a:hover { border-color: var(--yellow); color: var(--yellow); }

@media (max-width: 768px) {
    .site-footer { grid-template-columns: 1fr; padding: 30px 16px 80px; gap: 16px; }
    .footer-brand img { width: 150px; }
    .site-footer nav { gap: 8px 18px; }
    .home-about { padding: 10px 16px 20px; }
}

/* --- profil: olculer kucultuldu (Figma 1:1 olculeri ekran olceklemesiyle cok buyuk kaliyordu) --- */
.pf-banner { min-height: 170px; gap: 24px; padding: 22px 70px; border-bottom-width: 4px; }
.pf-avatar { width: 124px; height: 124px; }
.pf-name { font-size: 32px; }
.pf-badges svg { width: 28px; height: 28px; }
.pf-badges .pf-badge-search { width: 36px; height: 36px; }
.pf-body { padding: 0 70px; }
.pf-stats { padding: 34px 0 26px; }
.pf-stats > div:not(.pf-actions) { flex: 1 1 160px; }
.pf-stats strong { font-size: 32px; }
.pf-stats span { font-size: 22px; margin-top: 2px; }
.pf-actions { gap: 10px; margin-top: -14px; }
.pf-btn { height: 32px; padding: 0 12px; border-width: 2px; font-size: 15px; }
.pf-flag { width: 32px; height: 32px; border-width: 2px; }
.pf-title { font-size: 28px; margin-bottom: 18px; }
.pf-grid { grid-template-columns: minmax(0, 1fr) 440px; gap: 30px 80px; }
.pf-fav-row { grid-template-columns: repeat(4, minmax(0, 160px)); gap: 26px; }
.pf-fav span:last-child { font-size: 16px; margin-top: 6px; }
.pf-side { padding-top: 26px; }
.pf-tab { font-size: 19px; border-bottom-width: 3px; margin-bottom: 18px; }
.pf-about { font-size: 17px; }
.pf-tab-badges { margin: 40px 0 16px 200px; }
.pf-badges-big { margin-left: 200px; }
.pf-badges-big svg { width: 32px; height: 32px; }
.pf-section { margin-top: 50px; }
.pf-lists { gap: 32px; }
.pf-list { flex-basis: 230px; }
.pf-list-cover { height: 140px; }
.pf-list-cover svg { width: 44px; height: 44px; }
.pf-list-name { margin: -34px 0 0 10px; font-size: 21px; }
.pf-list-desc { margin: 12px 10px 0; font-size: 13px; }
.pf-reviews { gap: 40px; }
.pf-review { flex-basis: 430px; gap: 18px; }
.pf-review img { width: 150px; height: 214px; }
.pf-review h3 { font-size: 19px; }
.pf-stars { font-size: 20px; letter-spacing: 3px; margin: 6px 0 10px; }
.pf-review-text { font-size: 15px; }
.pf-shelf { margin: 50px -70px 0; }
.pf-shelf .pf-title, .pf-shelf .empty-note { padding: 0 70px; }
@media (max-width: 1500px) {
    .pf-banner { padding: 22px 40px; }
    .pf-body { padding: 0 40px; }
    .pf-shelf { margin: 44px -40px 0; }
    .pf-shelf .pf-title, .pf-shelf .empty-note { padding: 0 40px; }
    .pf-grid { grid-template-columns: 1fr; }
    .pf-tab-badges, .pf-badges-big { margin-left: 0; }
    .pf-stats strong { font-size: 28px; }
    .pf-stats span { font-size: 19px; }
    .pf-title { font-size: 25px; }
}
@media (max-width: 768px) {
    .pf-banner { padding: 20px 16px; }
    .pf-avatar { width: 80px; height: 80px; }
    .pf-name { font-size: 24px; }
    .pf-body { padding: 0 16px; }
    .pf-shelf { margin: 40px -16px 0; }
    .pf-shelf .pf-title, .pf-shelf .empty-note { padding: 0 16px; }
    .pf-stats strong { font-size: 24px; }
    .pf-stats span { font-size: 15px; }
    .pf-actions { margin: 0; }
    .pf-fav-row { grid-template-columns: repeat(2, 1fr); }
    .pf-review { flex-basis: 280px; }
}

/* profil: liste kapagi = ilk 3 afis yan yana (kirpilmadan); kart satirlari basliklarla ayni hizada */
.pf-list { flex-basis: 288px; }
.pf-list-cover { display: flex; justify-content: flex-start; align-items: stretch; gap: 0; height: 140px; overflow: hidden; }
.pf-list-cover img { width: 96px; height: 140px; object-fit: cover; flex: none; }
.pf-list-new .pf-list-cover { justify-content: center; align-items: center; }
.pf-shelf .row-track { padding-left: 70px; padding-right: 70px; }
.pf-shelf .row-prev { left: 30px; }
.pf-shelf .row-next { right: 30px; }
@media (max-width: 1500px) { .pf-shelf .row-track { padding-left: 40px; padding-right: 40px; } .pf-shelf .row-prev { left: 4px; } .pf-shelf .row-next { right: 4px; } }
@media (max-width: 768px) { .pf-shelf .row-track { padding-left: 16px; padding-right: 16px; } .pf-list { flex-basis: 240px; } .pf-list-cover img { width: 80px; height: 117px; } .pf-list-cover { height: 117px; } }

/* --- profil liste penceresi (modal) --- */
button.pf-list { appearance: none; }
.pf-modal {
    width: min(1180px, calc(100vw - 32px)); max-height: min(86vh, 900px); margin: auto; padding: 0;
    border: 0; border-top: 4px solid var(--yellow); border-radius: 0 0 22px 22px;
    background: var(--bg-dark); color: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.7); overflow: hidden;
}
.pf-modal[open] { display: flex; flex-direction: column; animation: pfModalIn .28s cubic-bezier(.22,.8,.25,1); }
.pf-modal.closing { animation: pfModalOut .22s ease forwards; }
.pf-modal::backdrop { background: rgba(5,6,6,.72); backdrop-filter: blur(6px); animation: pfFade .28s ease; }
.pf-modal.closing::backdrop { animation: pfFade .22s ease reverse forwards; }
@keyframes pfModalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pfModalOut { to { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes pfFade { from { opacity: 0; } to { opacity: 1; } }
.pf-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 28px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.pf-modal-head h2 { font-size: 26px; font-weight: 500; }
.pf-modal-head small { margin-left: 8px; font-size: 16px; color: var(--yellow); font-weight: 400; }
.pf-modal-close { width: 38px; height: 38px; padding: 6px; border: 0; border-radius: 50%; background: none; color: var(--yellow); cursor: pointer; }
.pf-modal-close:hover { background: rgba(255,229,44,.12); }
.pf-modal-close svg { width: 100%; height: 100%; display: block; }
.pf-modal-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 30px 24px;
    padding: 26px 28px 30px; overflow-y: auto;
}
.pf-modal-grid .tile { width: auto; }
.pf-modal-grid .tile:hover, .pf-modal-grid .tile:focus-within { transform: translateY(-4px); }
.pf-modal .empty-note { padding: 30px 28px; }
@media (max-width: 768px) {
    .pf-modal { max-height: 90vh; }
    .pf-modal-head { padding: 16px; }
    .pf-modal-head h2 { font-size: 20px; }
    .pf-modal-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 20px 14px; padding: 16px; }
}
.pf-modal-close:focus:not(:focus-visible) { outline: none; }
/* modal acikken arkadaki sayfa kaymasin */
html:has(dialog.pf-modal[open]) { overflow: hidden; }
.pf-modal-grid { overscroll-behavior: contain; }

/* --- 404 sayfasi --- */
.page.page-404 { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 100px 20px 60px; }
.nf { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 640px; }
.nf-code { display: flex; align-items: center; gap: 18px; color: var(--yellow); font-size: clamp(110px, 16vw, 200px); font-weight: 700; line-height: 1; }
.nf-code img { width: clamp(90px, 12vw, 150px); height: auto; animation: nfSpin 6s ease-in-out infinite; }
@keyframes nfSpin { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-12deg); } 90% { transform: rotate(10deg); } }
.nf-title { margin-top: 18px; font-size: clamp(26px, 3vw, 38px); font-weight: 600; }
.nf-text { margin-top: 10px; color: #c9c9c9; font-size: 17px; line-height: 1.5; }
.nf-search { display: flex; align-items: center; width: min(460px, 100%); height: 48px; margin-top: 28px; padding: 0 6px 0 20px; background: var(--yellow); border-radius: 24px; }
.nf-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #131515; font: inherit; font-size: 18px; }
.nf-search input::placeholder { color: #131515; opacity: .75; }
.nf-search button { width: 38px; height: 38px; padding: 6px; border: 0; border-radius: 50%; background: #131515; color: var(--yellow); cursor: pointer; }
.nf-search button svg { width: 100%; height: 100%; display: block; }
.nf-search:focus-within { box-shadow: 0 0 0 3px rgba(255,255,255,.5); }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 30px; margin-top: 30px; }
.nf-actions .btn-outline, .nf-actions .btn-text { font-size: 19px; text-decoration: none; }
.nf-actions svg { width: 24px; height: 24px; }
@media (prefers-reduced-motion: reduce) { .nf-code img { animation: none; } }

/* --- yerlesim duzeltmeleri: bosluklar, hizalar, okunurluk --- */
body { display: flex; flex-direction: column; min-height: 100vh; }
body > .page { flex: 1 0 auto; width: 100%; min-height: 0; }
.btn-primary, .btn-secondary { font-family: inherit; }

/* kart satirlari: baslik kendi satirina yakin, raflar arasi ritim esit */
.shelves { padding: 20px 0 16px; }
.shelf { margin-bottom: 24px; }
.shelf-title { margin-bottom: 6px; }
.row-track { padding-block: 10px 12px; }
.shelf > .vtr-wide { margin: 16px 40px 8px; }
.shelves > .vtr-wide { margin: 8px 40px 28px; }
@media (min-width: 769px) { .row-track { gap: 24px; } }
@media (max-width: 768px) {
    .shelf > .vtr-wide { margin: 12px 16px 4px; }
    .shelves > .vtr-wide { margin: 4px 16px 20px; }
    .tile-title, .tile-sub { padding-right: 30px; }
}

/* anime sayfasi: acik renkli gorsellerde de yazi okunsun */
.detail-hero .hero-gradient {
    background: linear-gradient(to right, var(--bg-dark) 5%, rgba(19,21,21,.82) 34%, transparent 72%),
                linear-gradient(to top, var(--bg-dark) 3%, transparent 38%);
}
.about .vtr { justify-content: flex-start; }
.detail-body .episodes-section { padding-top: 24px; }
@media (max-width: 768px) {
    .detail-hero .hero-content { padding-inline: 16px; }
    .detail-hero .hero-gradient { background: linear-gradient(to top, var(--bg-dark) 8%, rgba(19,21,21,.78) 60%, rgba(19,21,21,.35) 100%); }
    .about .vtr { justify-content: center; }
}

/* izleme sayfasi: oynatici ve alt bloklar ayni genislikte, ust bosluk menuye gore */
.page.page-episode { padding-top: 92px; }
.watch { margin-inline: auto; }
.watch-anime { gap: 16px; }
.watch-comments { margin-top: 32px; }
.watch-sources { margin-top: 8px; }
.ep-pick a.current { color: #131515; font-weight: 600; }
@media (max-width: 1500px) {
    .watch { max-width: clamp(900px, calc((100vh - 240px) * 16 / 9), 1400px); }
    .watch-main { max-width: none; min-width: 0; }
}
@media (max-width: 768px) {
    .page.page-episode { padding-top: 76px; }
    .watch-poster { width: 110px; }
}

/* giris ve kayit: mobilde tasma olmasin */
.auth-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-box { min-width: 0; }
@media (max-width: 900px) { .auth-layout { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 24px; } }

/* metin sayfalari: konum satiri icerikle ayni hizada */
.page:has(> .prose) > .breadcrumb { max-width: 760px; margin-inline: auto; }

/* liste sayfalari */
.listing .vtr-inline { margin: 14px 0 22px; }

/* kartlar ve gorseller surukle-birak ile tasinmasin, kart yazilari secilmesin */
img, a { -webkit-user-drag: none; }
.tile, .anime-card, .episode-card, .brand, .footer-brand, .vtr { -webkit-user-select: none; user-select: none; }

/* --- izleme sayfasi --- */
.watch-room { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; max-width: 1520px; margin-inline: auto; }
.room-main, .room-side { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.room-player .player-video-wrapper { aspect-ratio: 16 / 9; height: auto; max-height: none; border-radius: 10px; overflow: hidden; }
.room-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 24px; }
.room-title { min-width: 0; }
.room-title h1 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; line-height: 1.2; }
.room-title p { margin-top: 4px; color: var(--text-muted); }
.room-title a { color: var(--yellow); text-decoration: none; }
.room-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--yellow); font-size: 18px; }
.room-rate .like-row { gap: 12px; }
.room-rate .like-row button { width: 104px; height: 44px; }
.room-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.room-controls .watch-selects { min-width: 0; }
.room-actions, .room-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.room-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; padding: 0 16px;
    border: 1px solid #2c3030; border-radius: 8px; background: #1b1e1e; color: #fff; font: inherit; font-size: 15px; text-decoration: none; cursor: pointer;
}
.room-btn:hover { border-color: var(--yellow); }
.room-btn svg { width: 18px; height: 18px; color: var(--yellow); flex: none; }
.room-btn.in-list { border-color: var(--yellow); color: var(--yellow); }
.room-btn-next { background: var(--yellow); border-color: var(--yellow); color: #131515; font-weight: 600; }
.room-btn-next:hover { background: var(--yellow-hover); border-color: var(--yellow-hover); }
.watch-room .player-hint { margin: -6px 0 0; color: var(--text-muted); font-size: 13px; }
.room-comments { padding-top: 16px; border-top: 1px solid #2c3030; }
.room-comments h2 { margin-bottom: 6px; font-size: 18px; font-weight: 600; }
.room-episodes { padding: 14px; border-radius: 10px; background: #1b1e1e; }
.room-episodes h2, .room-related h2 { margin-bottom: 10px; font-size: 17px; font-weight: 600; }
.room-episodes .season-pick { gap: 6px; margin-bottom: 10px; }
.room-episodes .season-pick a { width: auto; min-width: 44px; height: 38px; padding: 0 8px; font-size: 16px; border-radius: 8px; background: none; color: #fff; border: 1px solid #2c3030; }
.room-episodes .season-pick a:hover { border-color: var(--yellow); background: none; }
.room-episodes .season-pick a.current { background: var(--yellow); border-color: var(--yellow); color: #131515; font-weight: 600; box-shadow: none; }
.room-episodes .ep-pick { gap: 2px; max-height: 390px; margin: 0; padding: 0; }
.room-episodes .ep-pick a { width: auto; padding: 9px 10px; border-radius: 7px; font-size: 15px; line-height: 1.35; white-space: normal; overflow: visible; }
.room-episodes .ep-pick a:hover { background: #262a2a; color: #fff; }
.room-episodes .ep-pick a.current, .room-episodes .ep-pick a.current:hover { background: var(--yellow); color: #131515; }
.room-episodes .ep-more { margin: 8px 0 0 10px; }
.room-anime { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; }
.room-poster { display: block; aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; background: #2a2d2d; }
.room-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.room-anime > div { min-width: 0; overflow-wrap: anywhere; }
.room-anime h2 { font-size: 19px; font-weight: 600; line-height: 1.2; }
.room-anime h2 a { color: #fff; text-decoration: none; }
.room-sub { margin: 3px 0 8px; color: var(--text-muted); font-size: 13px; }
.room-desc { color: #d3d6d6; font-size: 14px; line-height: 1.45; }
.room-desc.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.room-more { margin-top: 4px; min-height: 28px; padding: 0; border: 0; background: none; color: #fff; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.room-more:hover { color: var(--yellow); }
.room-related { position: sticky; top: 84px; }
.room-related ul { list-style: none; display: grid; gap: 8px; }
.room-related a { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; color: #fff; text-decoration: none; }
.room-related a:hover { color: var(--yellow); }
.room-related img, .room-thumb { display: block; width: 48px; height: 72px; border-radius: 4px; object-fit: cover; background: #2a2d2d; }
@media (max-width: 1000px) {
    .watch-room { grid-template-columns: minmax(0, 1fr); }
    .room-related { position: static; }
}
@media (max-width: 560px) {
    .room-rate { width: 100%; justify-content: space-between; }
    .room-rate .like-row button { width: 76px; }
    .room-controls .pill-select, .room-controls .pill-select select { width: 100%; }
    .room-controls .watch-selects { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .room-actions { width: 100%; }
    .room-actions > .room-btn { flex: 1 1 auto; }
    .room-nav { width: 100%; }
    .room-nav .room-btn { flex: 1; }
}

/* ic sayfalarda kisa TR logosu */
.brand-logo.brand-tr { width: 116px; }

/* izleme sayfasi: bolum listesi */
.room-episodes .ep-pick { scrollbar-width: none; }
.room-episodes .ep-pick::-webkit-scrollbar { display: none; }
.room-episodes .ep-pick a { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 44px; padding: 7px 8px; }
.ep-n { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.ep-t { min-width: 0; overflow-wrap: anywhere; }
.ep-plain { color: var(--text-muted); }
.room-episodes .ep-pick a.watched::after { content: "İzlendi"; color: var(--text-muted); font-size: 12px; }
.room-episodes .ep-pick a.current .ep-n, .room-episodes .ep-pick a.current .ep-t, .room-episodes .ep-pick a.current::after { color: #131515; font-weight: 600; }
.ep-tools { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 8px; margin-bottom: 10px; }
.ep-tools input { min-width: 0; width: 100%; height: 38px; padding: 0 10px; border: 1px solid #2c3030; border-radius: 8px; background: var(--bg-dark); color: #fff; font: inherit; font-size: 15px; outline: none; }
.ep-tools input:focus-visible { border-color: var(--yellow); }
.ep-stepper { display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; min-width: 0; height: 38px; border: 1px solid #2c3030; border-radius: 8px; overflow: hidden; }
.ep-stepper button { padding: 0; border: 0; background: none; color: #fff; font: inherit; font-size: 15px; cursor: pointer; font-variant-numeric: tabular-nums; }
.ep-stepper button:hover { background: #262a2a; color: var(--yellow); }
.ep-stepper button:disabled { opacity: .3; pointer-events: none; }
.ep-range-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ep-range-grid button { min-height: 36px; padding: 0 4px; border: 1px solid #2c3030; border-radius: 7px; background: none; color: #fff; font: inherit; font-size: 13px; cursor: pointer; font-variant-numeric: tabular-nums; }
.ep-range-grid button:hover { border-color: var(--yellow); }
.ep-range-grid button.current { background: var(--yellow); border-color: var(--yellow); color: #131515; font-weight: 600; }

/* --- anime sayfasi --- */
.anime-hero .hero-content { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 32px; align-items: end; max-width: 1520px; width: 100%; margin-inline: auto; }
.anime-poster { aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; background: #2a2d2d; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.anime-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.anime-head { min-width: 0; }
.anime-hero .hero-gradient { background: linear-gradient(90deg, var(--bg-dark) 8%, rgba(19,21,21,.86) 42%, rgba(19,21,21,.1) 78%), linear-gradient(0deg, var(--bg-dark) 2%, transparent 35%); }
.rating-box { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin-top: 14px; }
.rating-box > span { margin-right: 8px; color: #cfd2d2; font-size: 14px; }
.rate-stars { display: inline-flex; }
.rate-star { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 26px; height: 32px; }
.rate-star::before { content: "★"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 21px; line-height: 1; color: #6b7070; pointer-events: none; }
.rate-star.on::before { color: var(--yellow); }
.rate-star.half::before { color: transparent; background: linear-gradient(90deg, var(--yellow) 50%, #6b7070 50%); -webkit-background-clip: text; background-clip: text; }
.rate-star button { position: relative; padding: 0; border: 0; background: none; cursor: pointer; }
.rate-star button:focus-visible { outline: 2px solid var(--yellow); }
.rate-value { min-width: 56px; margin-left: 8px; color: var(--yellow); font-size: 14px; font-variant-numeric: tabular-nums; }
.anime-room { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; max-width: 1520px; margin: 0 auto; padding: 28px 40px 48px; }
.anime-main, .anime-side { min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.anime-room .about { margin: 0; max-width: 980px; }
.anime-room .about h2, .anime-episodes h2 { font-size: 21px; font-weight: 600; margin-bottom: 12px; }
.anime-room .about .room-desc { margin: 0; font-size: 15px; line-height: 1.6; }
.anime-room .about .room-desc.is-clamped { -webkit-line-clamp: 3; }
.ep-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.ep-head h2 { margin: 0; }
.season-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.season-tabs[hidden] { display: none; }
.season-tabs button { min-height: 38px; padding: 0 12px; border: 1px solid #2c3030; border-radius: 8px; background: none; color: #fff; font: inherit; cursor: pointer; }
.season-tabs button:hover { border-color: var(--yellow); }
.season-tabs button[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: #131515; font-weight: 600; }
.season-block + .season-block { margin-top: 24px; }
.season-block h3 { margin-bottom: 10px; font-size: 17px; font-weight: 600; }
.season-block h3 a { color: #fff; text-decoration: none; }
.season-block h3 small { color: var(--text-muted); font-weight: 400; }
.anime-episodes.has-tabs .season-block h3 { display: none; }
.anime-episodes.has-tabs .season-block[hidden] { display: none; }
.ep-cards { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 12px; }
.ep-card { position: relative; display: block; color: #fff; text-decoration: none; }
.ep-still { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #2a2d2d; outline: 2px solid transparent; }
.ep-still img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ep-card:hover .ep-still, .ep-card:focus-visible .ep-still { outline-color: var(--yellow); }
.ep-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); color: #131515; font-size: 16px; transform: translate(-50%, -50%); opacity: 0; }
.ep-card:hover .ep-play, .ep-card:focus-visible .ep-play { opacity: 1; }
.ep-cap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; margin-top: 8px; }
.ep-card .ep-n { color: var(--yellow); font-weight: 600; }
.ep-card.watched .ep-still img { opacity: .55; }
.anime-side .facts { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 8px 12px; margin: 0; padding: 16px; border-radius: 10px; background: #1b1e1e; }
.anime-side .facts dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.anime-side .room-related { position: static; }
@media (max-width: 1000px) {
    .anime-room { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
    .anime-room { padding: 20px 16px 36px; }
    .anime-hero .hero-content { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; }
    .anime-hero .hero-gradient { background: linear-gradient(0deg, var(--bg-dark) 4%, rgba(19,21,21,.72) 100%); }
    .anime-hero .hero-title { font-size: clamp(24px, 7vw, 34px); }
}

/* bolum kartlari arasindaki reklam ve sezon sayfasi */
.ep-ad { grid-column: 1 / -1; }
.ep-ad:has(> .vtr[hidden]) { display: none; }
.season-room { display: flex; flex-direction: column; gap: 20px; max-width: 1520px; margin-inline: auto; }
.season-head { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: start; }
.season-head h1 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.2; margin-bottom: 8px; }
.season-head h1 .count { color: var(--text-muted); font-size: .55em; font-weight: 400; }
.season-head .season-tabs { margin-top: 12px; }
.season-tabs a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border: 1px solid #2c3030; border-radius: 8px; color: #fff; text-decoration: none; }
.season-tabs a:hover { border-color: var(--yellow); }
.season-tabs a.current { background: var(--yellow); border-color: var(--yellow); color: #131515; font-weight: 600; }
.season-tools { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 10px; align-items: start; }
.season-ranges { display: flex; flex-wrap: wrap; gap: 6px; }
.season-ranges a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 10px; border: 1px solid #2c3030; border-radius: 7px; color: #fff; font-size: 13px; text-decoration: none; font-variant-numeric: tabular-nums; }
.season-ranges a:hover { border-color: var(--yellow); }
.season-ranges a.current { background: var(--yellow); border-color: var(--yellow); color: #131515; font-weight: 600; }
.season-tools input { width: 100%; height: 38px; padding: 0 10px; border: 1px solid #2c3030; border-radius: 8px; background: var(--bg-dark); color: #fff; font: inherit; outline: none; }
.season-tools input:focus-visible { border-color: var(--yellow); }
.season-room .ep-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1000px) {
    .ep-cards, .season-room .ep-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .ep-cards, .season-room .ep-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .season-head { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
    .season-tools { grid-template-columns: minmax(0, 1fr); }
}

.ep-end-ad { margin-top: 20px; }

/* --- profil --- */
.pr { display: flex; flex-direction: column; gap: 28px; max-width: 1320px; margin-inline: auto; }
.pr h2 { margin-bottom: 12px; font-size: 21px; font-weight: 600; }
.pr-me { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.pr-avatar { flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--yellow); color: #131515; font-size: 36px; font-weight: 700; }
.pr-who { flex: 1 1 200px; min-width: 0; }
.pr-who h1 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; overflow-wrap: anywhere; }
.pr-who p { margin-top: 3px; color: var(--text-muted); }
.pr-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pr-dash { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; }
.pr-streak { display: flex; flex-direction: column; gap: 16px; padding: 18px 20px; border: 1px solid #4a4516; border-radius: 12px; background: radial-gradient(90% 130% at 0% 0%, #4a3f10, #1b1e1e 62%); }
.pr-streak-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.pr-flame { flex: none; width: 46px; height: 46px; color: var(--yellow); }
.pr-streak-top b { display: block; color: var(--yellow); font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.pr-streak-top p { flex: 1 1 200px; color: #dfe1e1; text-align: right; }
.pr-week { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.pr-week li { display: grid; justify-items: center; gap: 5px; color: var(--text-muted); font-size: 12px; }
.pr-week i { display: grid; place-items: center; width: min(100%, 34px); aspect-ratio: 1; border: 1px solid #2c3030; border-radius: 50%; font-style: normal; font-size: 13px; }
.pr-week .done i { background: var(--yellow); border-color: var(--yellow); color: #131515; font-weight: 700; }
.pr-week .today { color: var(--yellow); font-weight: 600; }
.pr-week .today:not(.done) i { border: 2px dashed var(--yellow); }
.pr-goal > div:first-child { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; color: #dfe1e1; font-size: 14px; }
.pr-goal-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.pr-goal-bar i { display: block; height: 100%; background: var(--yellow); }
.pr-tiles { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pr-tiles > div { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid #2c3030; border-radius: 10px; background: #1b1e1e; }
.pr-tiles b { color: var(--yellow); font-size: 26px; font-variant-numeric: tabular-nums; }
.pr-tiles span { color: var(--text-muted); }
.pr-badge-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 10px; }
.pr-badge-head h2 { margin: 0; }
.pr-badge-head > span { color: var(--text-muted); }
.pr-badge-head > div { display: flex; gap: 14px; margin-left: auto; }
.pr-link { padding: 4px 0; border: 0; background: none; color: var(--yellow); font: inherit; font-size: 14px; cursor: pointer; }
.pr-link:hover { text-decoration: underline; }
.pr-danger { color: #ff8a80; }
.pr-badges ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 10px; }
.pr-badges ul[hidden], .pr-badge[hidden] { display: none; }
.pr-badge { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px; border: 1px solid #4a4516; border-radius: 10px; background: #1b1e1e; }
.pr-badge > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: #131515; font-size: 18px; font-weight: 700; }
.pr-badge b { display: block; font-size: 14px; }
.pr-badge small { color: var(--text-muted); font-size: 12px; line-height: 1.3; }
.pr-badge.locked { border-color: #2c3030; }
.pr-badge.locked > span { background: #2c3030; color: var(--text-muted); }
.pr-badge.locked b { color: var(--text-muted); }
.pr-continue-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px 14px; }
.pr-continue-grid a, .pr-cards a { min-width: 0; color: #fff; text-decoration: none; }
.pr-continue-grid b, .pr-cards b { display: block; margin-top: 7px; font-weight: 500; overflow-wrap: anywhere; }
.pr small { color: var(--text-muted); font-size: 13px; }
.pr-cover { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 7px; overflow: hidden; background: #2a2d2d; }
.pr-cover img, .pr-poster img, .pr-thumb img, .pr-pl-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pr-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .25); }
.pr-bar i, .pr-progress i { display: block; height: 100%; background: var(--yellow); }
.pr-tabs { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 16px; border-bottom: 1px solid #2c3030; }
.pr-tabs button { padding: 8px 2px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--text-muted); font: inherit; font-size: 16px; cursor: pointer; }
.pr-tabs button[aria-selected="true"] { color: #fff; font-weight: 600; border-bottom-color: var(--yellow); }
.pr-tabs em { color: var(--text-muted); font-size: 13px; font-style: normal; font-weight: 400; }
.pr-list-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pr-chip { min-height: 38px; padding: 0 14px; border: 1px solid #2c3030; border-radius: 999px; background: none; color: #fff; font: inherit; cursor: pointer; }
.pr-chip:hover { border-color: var(--yellow); }
.pr-chip[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: #131515; font-weight: 600; }
.pr-chip-new { border-style: dashed; color: var(--yellow); }
.pr-list-form { display: flex; flex-direction: column; gap: 8px; max-width: 480px; margin-bottom: 16px; padding: 14px; border-radius: 10px; background: #1b1e1e; }
.pr-list-form[hidden] { display: none; }
.pr-list-form input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #2c3030; border-radius: 8px; background: var(--bg-dark); color: #fff; font: inherit; outline: none; }
.pr-list-form input:focus-visible { border-color: var(--yellow); }
.pr-list-form > div { display: flex; gap: 8px; }
.pr-pl { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; align-items: start; }
.pr-pl[hidden] { display: none; }
.pr-pl-head { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 14px; background: #1b1e1e; }
.pr-pl-cover { display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #2a2d2d; }
.pr-pl-head h3 { font-size: 26px; line-height: 1.15; overflow-wrap: anywhere; }
.pr-pl-head p { color: #dfe1e1; font-size: 14px; }
.pr-pl-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pr-pl-actions > * { flex: 1 1 auto; }
.pr-rows { list-style: none; display: grid; gap: 4px; }
.pr-row { display: grid; grid-template-columns: 24px 22px minmax(0, 1fr) auto 36px; gap: 8px 10px; align-items: center; padding: 6px; border-radius: 10px; }
.pr-row:hover { background: #1b1e1e; }
.pr-n { color: var(--text-muted); text-align: center; font-variant-numeric: tabular-nums; }
.pr-item { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr); gap: 12px; align-items: start; color: #fff; text-decoration: none; }
.pr-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #2a2d2d; }
.pr-thumb > span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 7px 5px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); font-size: 11px; line-height: 1.25; }
.pr-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pr-text b { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.pr-progress { display: block; height: 5px; max-width: 320px; margin-top: 6px; border-radius: 99px; background: #2c3030; overflow: hidden; }
.pr-remove { width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--text-muted); cursor: pointer; }
.pr-remove:hover { background: #2c3030; color: #fff; }
.pr-empty { padding: 28px 20px; border: 1px dashed #2c3030; border-radius: 10px; color: var(--text-muted); text-align: center; }
.pr-empty a { color: var(--yellow); }
.pr-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 16px 14px; }
.pr-poster { display: block; aspect-ratio: 2 / 3; border-radius: 7px; overflow: hidden; background: #2a2d2d; }
.pr-score { color: var(--yellow) !important; font-weight: 600; }
.list-picker { position: relative; display: inline-block; margin-top: 10px; }
.list-pop { position: absolute; z-index: 30; left: 0; top: calc(100% + 6px); display: flex; flex-direction: column; gap: 10px; width: min(300px, 80vw); padding: 14px; border: 1px solid #2c3030; border-radius: 10px; background: #1b1e1e; }
.list-pop[hidden] { display: none; }
.list-pop label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.list-pop input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--yellow); }
.list-pop form { display: flex; gap: 6px; }
.list-pop input[type=text] { flex: 1; min-width: 0; height: 36px; padding: 0 8px; border: 1px solid #2c3030; border-radius: 7px; background: var(--bg-dark); color: #fff; font: inherit; outline: none; }
@media (max-width: 900px) {
    .pr-dash, .pr-pl { grid-template-columns: minmax(0, 1fr); }
    .pr-pl-head { position: static; }
    .pr-streak-top p { flex-basis: 100%; text-align: left; }
}
@media (max-width: 560px) {
    .pr-actions, .pr-actions form, .pr-actions .room-btn { width: 100%; }
    .pr-row { grid-template-columns: 24px minmax(0, 1fr) 32px; }
    .pr-n, .pr-go { display: none; }
    .pr-item { grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
    .pr-thumb > span { display: none; }
}

.vtr a.vtr-house { max-width: 100%; }
.vtr a.vtr-house { border: 1px solid rgba(255, 229, 44, .45); border-radius: 8px; overflow: hidden; }
.vtr a.vtr-house:hover { border-color: var(--yellow); }
.vtr a.vtr-house img { width: 100%; height: auto; }

.pr-grip { width: 24px; height: 36px; padding: 0; border: 0; background: none; color: var(--text-muted); font-size: 20px; cursor: grab; touch-action: none; }
.pr-grip:hover { color: var(--yellow); }
.pr-row.dragging { background: #262a2a; outline: 1px solid var(--yellow); }
.pr-row.dragging .pr-grip { cursor: grabbing; }

.pr-showcase, .pr-badge-grid, .pr-people { list-style: none; }
.pr-showcase { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.pr-badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.pr-badges ul[hidden] { display: none; }
.pr-badge label { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; cursor: pointer; }
.pr-badge label input { accent-color: var(--yellow); }
.pr-hint { margin: 14px 0 8px; color: var(--text-muted); font-size: 14px; }
.pr-showcase .pr-empty { grid-column: 1 / -1; }
.pr-people { display: grid; gap: 6px; margin-bottom: 12px; }
.pr-people li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 12px; border-radius: 8px; background: #1b1e1e; }
.pr-people a { color: #fff; font-weight: 600; }
.pr-people span { color: var(--text-muted); font-size: 14px; flex: 1 1 auto; }
.pr-people .pr-link { margin-left: auto; }
@media (max-width: 900px) { .pr-showcase { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); } }

.search-users { margin: 16px 0 24px; }
.search-users h2, .search-animes { margin-bottom: 10px; font-size: 21px; font-weight: 600; }
.search-users ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.search-users a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border: 1px solid #2c3030; border-radius: 999px; background: #1b1e1e; color: #fff; text-decoration: none; }
.search-users a:hover { border-color: var(--yellow); }
.search-users span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: #131515; font-weight: 700; }

/* profil: sayilar genis alani doldurur */
.pr-tiles > div { flex-direction: column; justify-content: center; gap: 2px; text-align: center; }
.pr-tiles b { font-size: 34px; line-height: 1.1; }
/* rozetler: kazanilan sari gradyan ve secilebilir, kazanilmayan soluk */
.pr-sub { margin: 4px 0 8px; font-size: 16px; font-weight: 600; }
.pr-badge { width: 100%; color: #fff; text-align: left; font: inherit; background: radial-gradient(120% 160% at 0% 0%, #4a3f10, #1b1e1e 70%); }
.pr-badge-btn { cursor: pointer; }
.pr-badge-btn:hover { border-color: var(--yellow); }
.pr-badge-btn[aria-pressed="true"] { border-color: var(--yellow); box-shadow: inset 0 0 0 1px var(--yellow); }
.pr-badge-btn[aria-pressed="true"] b::after { content: " ✓"; color: var(--yellow); }
.pr-badge.locked { background: #1b1e1e; opacity: .65; }
.pr-badge-grid > li[hidden] { display: none; }
.pr-badge-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 18px 0 10px; }
.pr-badge-tools input { flex: 1 1 200px; max-width: 320px; height: 38px; padding: 0 12px; border: 1px solid #2c3030; border-radius: 8px; background: var(--bg-dark); color: #fff; font: inherit; outline: none; }
.pr-badge-tools input:focus-visible { border-color: var(--yellow); }
.pr-badge-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.pr-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.pr-pages:empty { display: none; }

.pr-privacy { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 14px; cursor: pointer; }
.pr-privacy input { width: 18px; height: 18px; accent-color: var(--yellow); }

/* ust menu: logo gecisi ve hep acik arama */
.brand { position: relative; }
.brand-logo.brand-tr { position: absolute; left: 0; top: 50%; width: 116px; transform: translateY(-50%); opacity: 0; pointer-events: none; }
.brand .brand-logo { transition: opacity .35s ease; }
.topbar.scrolled .brand-full { opacity: 0; }
.topbar.scrolled .brand-tr { opacity: 1; }
.search-inline input { width: min(320px, 34vw); padding: 0 16px; opacity: 1; margin-right: 6px; transition: box-shadow .3s ease; }
@media (max-width: 768px) { .search-inline.open input { width: min(320px, 34vw); } }
@media (max-width: 560px) {
    .brand-logo.brand-full { width: 116px; }
    .brand-logo.brand-tr { width: 76px; }
    .topbar-actions { flex: 1; justify-content: flex-end; min-width: 0; gap: 6px; margin-left: 10px; }
    .search-inline { flex: 1; min-width: 0; }
    .search-inline.open input { flex: 1; width: 100%; min-width: 0; }
    #search-toggle { display: none; }
}
@media (prefers-reduced-motion: reduce) { .brand .brand-logo { transition: none; } }

/* gizlilik anahtari */
.pr-privacy input { appearance: none; -webkit-appearance: none; position: relative; flex: none; width: 42px; height: 24px; margin: 0; border: 1px solid #3a3f3f; border-radius: 999px; background: #1b1e1e; cursor: pointer; transition: background-color .2s, border-color .2s; }
.pr-privacy input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-muted); transition: transform .2s, background-color .2s; }
.pr-privacy input:checked { background: var(--yellow); border-color: var(--yellow); }
.pr-privacy input:checked::after { background: #131515; transform: translateX(18px); }
.pr-privacy input:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

.pr-badge-privacy { margin: 0 0 0 auto; }

/* profil sayilari: yazi solda, sayi sagda */
.pr-tiles > div { flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 12px; text-align: left; }
.pr-tiles b { font-size: clamp(30px, 3vw, 44px); letter-spacing: .04em; }
.pr-tiles span { font-size: 16px; }

/* profil sayilari: 2 sutun 3 satir, 6 kutu */
.pr-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); }
.pr-tiles > div { padding: 10px 14px; }
.pr-tiles b { font-size: clamp(22px, 2vw, 30px); }
.pr-tiles span { font-size: 14px; line-height: 1.2; }
@media (max-width: 420px) { .pr-tiles { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; } }

/* rozet kartlari: hepsi ayni yukseklikte */
.pr-badge-grid { grid-auto-rows: 1fr; }
.pr-badge-grid > li { display: flex; min-width: 0; }
.pr-badge-grid .pr-badge { height: 100%; }

.pr-row[hidden], .pr-cards > a[hidden] { display: none; }
.pr-pl > .pr-pages { grid-column: 2; }
@media (max-width: 900px) { .pr-pl > .pr-pages { grid-column: 1; } }

.list-picker { margin-top: 0; }
.list-pop { z-index: 50; }
.hero-buttons { align-items: flex-start; }

.tile-list-pop { position: fixed; top: 0; left: 0; z-index: 1100; box-shadow: 0 12px 30px rgba(0, 0, 0, .55); }

/* logo gecisi: yazi amblemin arkasina kayar (arama kutusuyla ayni hareket egrisi) */
.brand { --s: 1; --move: cubic-bezier(.22, .8, .25, 1); position: relative; display: block; overflow: hidden; width: calc(263px * var(--s)); height: calc(34px * var(--s)); transition: width .45s var(--move); }
.brand .brand-logo, .brand .brand-logo.brand-tr { position: absolute; left: 0; top: 0; height: 100%; max-width: none; transform: none; opacity: 1; }
.brand .brand-logo.brand-full { width: calc(263px * var(--s)); transition: transform .4s var(--move); }
.brand .brand-logo.brand-tr { width: calc(116px * var(--s)); transform: translateX(calc(-82px * var(--s))); transition: transform .32s var(--move); }
.brand-mark { position: absolute; left: 0; top: 0; z-index: 2; width: calc(38px * var(--s)); height: 100%; background: var(--bg-dark); }
.brand-mark img { display: block; width: calc(34.3px * var(--s)); height: 100%; }
.topbar.scrolled .brand { width: calc(116px * var(--s)); }
.topbar.scrolled .brand .brand-logo.brand-full { opacity: 1; transform: translateX(calc(-229px * var(--s))); }
.topbar.scrolled .brand .brand-logo.brand-tr { opacity: 1; transform: none; transition-delay: .18s; }
.topbar:not(.scrolled) .brand .brand-logo.brand-full { transition-delay: .14s; }
@media (max-width: 768px) { .brand { --s: .68; } }
@media (max-width: 560px) { .brand { --s: .44; } }
@media (prefers-reduced-motion: reduce) { .brand, .brand .brand-logo, .brand .brand-logo.brand-full, .brand .brand-logo.brand-tr { transition: none; } }

/* begeni ve yorumlar */
.like-row button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.like-row button[aria-pressed="true"] { box-shadow: inset 0 0 0 3px #131515; }
.vote-n { color: #131515; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.vote-n:empty { display: none; }
.cm-form { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 16px; }
.cm-form[hidden], .cm-text[hidden] { display: none; }
.cm-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #2c3030; border-radius: 8px; background: #1b1e1e; color: #fff; font: inherit; resize: vertical; outline: none; }
.cm-form textarea:focus-visible { border-color: var(--yellow); }
.cm-form > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.cm-spoiler { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 14px; cursor: pointer; }
.cm-spoiler input { accent-color: var(--yellow); }
.cm-guest a { color: var(--yellow); }
.cm-list { list-style: none; }
.cm { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding-block: 14px; border-bottom: 1px solid #2c3030; }
.cm-reply { grid-template-columns: 32px minmax(0, 1fr); padding-block: 10px; border-bottom: 0; }
.cm-av { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); color: #131515; font-weight: 700; }
.cm-body { min-width: 0; }
.cm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--text-muted); font-size: 13px; }
.cm-meta a { color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
.cm-meta a:hover { color: var(--yellow); }
.cm-tag { padding: 0 7px; border: 1px solid var(--yellow); border-radius: 999px; color: var(--yellow); font-size: 11px; }
.cm-text { margin-top: 3px; color: #e4e6e6; white-space: pre-wrap; overflow-wrap: anywhere; }
.cm-reveal { width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px dashed #2c3030; border-radius: 8px; background: #1b1e1e; color: var(--text-muted); font: inherit; text-align: left; cursor: pointer; }
.cm-tools { display: flex; gap: 14px; margin-top: 4px; }
.cm-tools button { padding: 4px 0; border: 0; background: none; color: var(--text-muted); font: inherit; font-size: 13px; cursor: pointer; }
.cm-tools button:hover { color: var(--yellow); }
.cm-more { width: 100%; margin-top: 12px; }
.cm-more[hidden] { display: none; }
/* listeleri kesfet */
.ds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.ds-card { display: block; padding: 12px; border: 1px solid #2c3030; border-radius: 10px; background: #1b1e1e; color: #fff; text-decoration: none; }
.ds-card:hover { border-color: var(--yellow); }
.ds-card b { display: block; overflow-wrap: anywhere; }
.ds-card small { color: var(--text-muted); }
.ds-covers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-bottom: 10px; min-height: 90px; }
.ds-covers img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; }

.cm-report { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; }
.cm-report button { color: var(--yellow); }
.cm-reported { color: var(--text-muted); font-size: 13px; }

.pr-rows-wrap { min-width: 0; }
.pr-bulk { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 14px; min-height: 42px; margin-bottom: 8px; }
.pr-bulk [data-bulk-tools] { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.pr-bulk [data-bulk-tools][hidden] { display: none; }
.pr-bulk .room-btn:disabled { opacity: .45; cursor: default; }
.pr-select { width: 20px; height: 20px; margin: 0 auto; accent-color: var(--yellow); }
.pr-select[hidden] { display: none; }
.selecting .pr-grip, .selecting .pr-remove, .selecting .pr-go { display: none; }
.selecting .pr-row { grid-template-columns: 24px 22px minmax(0, 1fr); }
.pr-pl > .pr-pages, .pr-rows-wrap .pr-pages { grid-column: auto; }

.footer-credit { margin-top: 6px; color: var(--text-muted); font-size: 13px; }
.footer-credit a { color: var(--yellow); }

.ds-card small { display: block; }
.ds-stats { margin-top: 2px; font-size: 12px !important; }

/* kart: + kalbin yerinde */
.tile-more { top: 8px; right: 8px; bottom: auto; }
.tile-more.in-list { opacity: 1; color: var(--yellow); }
.tile:hover .tile-title, .tile:focus-within .tile-title { padding-right: 0; }
/* bildirim zili */
.notify { position: relative; }
.notify[hidden] { display: none; }
.notify .icon-btn { position: relative; }
.notify-n { position: absolute; top: 0; right: -2px; min-width: 17px; padding: 0 4px; border-radius: 99px; background: var(--yellow); color: #131515; font-size: 11px; font-weight: 700; line-height: 17px; text-align: center; }
.notify-n[hidden], .notify-panel[hidden] { display: none; }
.notify-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 1100; display: flex; flex-direction: column; width: min(320px, 86vw); max-height: 60vh; overflow-y: auto; padding: 6px; border: 1px solid #2c3030; border-radius: 10px; background: #1b1e1e; }
.notify-panel a { padding: 9px 10px; border-radius: 7px; color: #d3d6d6; font-size: 14px; text-decoration: none; }
.notify-panel a:hover { background: #262a2a; }
.notify-panel a.unread { color: #fff; font-weight: 600; }
.notify-panel p { padding: 10px; color: var(--text-muted); }
/* sikayet, +18 */
.report-pop { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; color: var(--text-muted); font-size: 14px; }
.report-pop[hidden] { display: none; }
.report-pop button { min-height: 34px; padding: 0 12px; border: 1px solid #2c3030; border-radius: 999px; background: none; color: #fff; font: inherit; cursor: pointer; }
.report-pop button:hover { border-color: var(--yellow); }
.age-badge { display: inline-block; padding: 1px 8px; border-radius: 6px; background: #c62828; color: #fff; font-size: 12px; font-weight: 700; }
.ds-card { position: relative; }
.ds-card .age-badge { position: absolute; top: 18px; left: 18px; z-index: 1; }
.blurred img { filter: blur(14px); }
.ds-covers.blurred, .pr-poster.blurred { overflow: hidden; }
/* profil */
.pr-avatar { overflow: hidden; }
.pr-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pr-bio { margin-top: 6px !important; color: #e4e6e6 !important; max-width: 65ch; overflow-wrap: anywhere; }
.pr-edit { max-width: 640px; }
.pr-edit-form { display: flex; flex-direction: column; gap: 16px; }
.pr-edit-form > div:not(.pr-actions) { display: flex; flex-direction: column; gap: 6px; }
.pr-edit-form textarea, .pr-edit-form input[type=file] { width: 100%; padding: 10px 12px; border: 1px solid #2c3030; border-radius: 8px; background: #1b1e1e; color: #fff; font: inherit; }
.pr-edit-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }

/* yukleme gostergeleri */
.player-video-wrapper.is-loading::after { content: ""; position: absolute; left: 50%; top: 50%; z-index: 3; width: 46px; height: 46px; margin: -23px 0 0 -23px; border: 4px solid rgba(255, 255, 255, .2); border-top-color: var(--yellow); border-radius: 50%; animation: spin .8s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.tile-link, .ep-still, .pr-poster, .pr-thumb, .pr-cover, .anime-card > img { background: linear-gradient(100deg, #222626 30%, #2f3434 50%, #222626 70%) 0 0 / 220% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }
@media (prefers-reduced-motion: reduce) { .tile-link, .ep-still, .pr-poster, .pr-thumb, .pr-cover, .anime-card > img { animation: none; } .player-video-wrapper.is-loading::after { animation-duration: 2s; } }

/* yas onayi */
.age-gate { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgba(8, 9, 9, .94); backdrop-filter: blur(18px); }
.age-gate[hidden] { display: none; }
.age-gate > div { width: min(480px, 100%); padding: 24px; border: 1px solid #2c3030; border-radius: 12px; background: #1b1e1e; }
.age-gate h2 { margin-bottom: 8px; font-size: 22px; }
.age-gate p { color: #d3d6d6; }
.age-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
html.age-locked { overflow: hidden; }
.card-blurred img { filter: blur(14px); }
.tile.card-blurred .tile-link, .anime-card.card-blurred { overflow: hidden; }
/* listeler */
.pr-rename { width: 100%; height: 38px; padding: 0 10px; border: 1px solid var(--yellow); border-radius: 8px; background: var(--bg-dark); color: #fff; font: inherit; outline: none; }
.pr-row { grid-template-columns: 24px 22px minmax(0, 1fr) 36px auto 36px; }
.pr-top { font-size: 18px; }
.selecting .pr-top { display: none; }
@media (max-width: 560px) { .pr-row { grid-template-columns: 24px minmax(0, 1fr) 32px 32px; } }

.age-gate form { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.age-gate [hidden] { display: none; }
.age-gate input[type=date] { height: 44px; padding: 0 12px; border: 1px solid #2c3030; border-radius: 8px; background: var(--bg-dark); color: #fff; font: inherit; color-scheme: dark; }
.age-gate > div { display: block; }

.crop-round { border-radius: 50%; }
.crop-overlay .crop-actions .room-btn { min-width: 110px; }

.pr-edit-form input[type=date] { height: 44px; padding: 0 12px; border: 1px solid #2c3030; border-radius: 8px; background: #1b1e1e; color: #fff; font: inherit; color-scheme: dark; }
.pr-edit-form input:disabled { opacity: .6; }

.account-avatar { display: block; width: 32px; height: 32px; border: 2px solid var(--yellow); border-radius: 50%; object-fit: cover; }
.account-head .account-avatar { flex: none; }

.pr-list-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pr-list-tools .room-btn { width: 100%; min-width: 0; padding: 0 10px; font-size: 14px; }
.pr-list-tools .room-btn svg { color: currentColor; }
.room-btn-danger { border-color: rgba(255, 138, 128, .45); color: #ff8a80; }
.room-btn-danger:hover { border-color: #ff8a80; background: rgba(255, 138, 128, .1); }
.pr-list-tools .pr-rename { grid-column: 1; }

/* Cerez cubugu */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1500; max-width: 720px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 16px; background: #1a1a1a; border: 1px solid #333; border-radius: 12px; color: #fff; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { flex: 1 1 280px; margin: 0; font-size: 14px; }
.cookie-bar div { display: flex; gap: 8px; }

/* Bildirim paneli */
.notify-panel { width: min(440px, calc(100vw - 24px)); max-height: 76vh; padding: 0; overflow-y: auto; }
.nf-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 16px; background: #1b1e1e; border-bottom: 1px solid #2c3030; }
.nf-head h2 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .03em; }
.nf-tools { display: flex; gap: 6px; }
.nf-tool { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 34px; padding: 0; border: 0; border-radius: 6px; background: #2a2e2e; color: #c9cccc; cursor: pointer; }
.notify-panel a.nf-tool { padding: 0; }
.nf-tool:hover, .notify-panel a.nf-tool:hover { background: #363b3b; color: #fff; }
.nf-tool svg { width: 18px; height: 18px; }
.nf-item, .notify-panel a.nf-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-bottom: 1px solid #2c3030; border-radius: 0; color: #d3d6d6; font-size: 14px; font-weight: 400; line-height: 1.4; text-decoration: none; }
.nf-item:hover, .notify-panel a.nf-item:hover { background: #262a2a; }
.nf-item.unread, .notify-panel a.nf-item.unread { background: #24282a; color: #fff; font-weight: 400; }
.nf-item.nf-vtr, .notify-panel a.nf-item.nf-vtr { background: #2b2a1a; }
.nf-av { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; overflow: hidden; border-radius: 50%; background: #2f3434; color: #fff; font-size: 18px; font-weight: 600; }
.nf-av img { width: 100%; height: 100%; object-fit: cover; }
.nf-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.nf-text { overflow-wrap: anywhere; }
.nf-text b { color: #fff; font-weight: 700; }
.nf-time { color: #9a9f9f; font-size: 12px; }
.nf-none { padding: 24px 16px; color: var(--text-muted); text-align: center; }
.nf-all, .notify-panel a.nf-all { display: block; margin: 12px; padding: 11px; border-radius: 7px; background: var(--yellow); color: #131515; font-weight: 600; text-align: center; text-decoration: none; }
.nf-all:hover, .notify-panel a.nf-all:hover { background: var(--yellow-hover); color: #131515; }
.nf-list { border: 1px solid #2c3030; border-radius: 10px; overflow: hidden; margin-top: 16px; }
.cm-new { display: block; width: 100%; margin-bottom: 12px; padding: 10px; border: 0; border-radius: 8px; background: var(--yellow); color: #131515; font: inherit; font-weight: 600; cursor: pointer; }
.cm-new[hidden] { display: none; }
.nf-item, .notify-panel a.nf-item { justify-content: flex-start; width: 100%; text-align: left; }
.nf-body { flex: 1; align-items: flex-start; }

/* Telefon duzeni */
@media (max-width: 768px) {
    /* reklamlar kenar bosluklari arasinda tam genislik */
    .vtr, .vtr-inline { width: 100%; max-width: 100%; margin: 20px 0; box-sizing: border-box; }
    .shelf > .vtr-wide, .vtr-wide, .shelf-split .vtr-side { width: auto; max-width: none; margin: 16px; box-sizing: border-box; }
    .vtr a, .vtr a.vtr-house { width: 100% !important; max-width: none; border-radius: 8px; overflow: hidden; }
    .vtr picture, .vtr img, .vtr a.vtr-house img { display: block; width: 100%; height: auto; }
    .shelf-split:has(> .vtr:not([hidden])) { padding-right: 0; }
    .anime-hero .hero-content { left: 0; right: 0; width: 100%; margin-inline: 0; box-sizing: border-box; }
    .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .filters select { width: 100%; min-width: 0; min-height: 44px; }
    input, select, textarea { font-size: 16px; }  /* iOS odaklaninca sayfayi yakinlastirmasin */
    .cookie-bar { left: 8px; right: 8px; bottom: 8px; }
    .cookie-bar div, .cookie-bar button { flex: 1; }
    .notify-panel { position: fixed; top: 60px; left: 8px; right: 8px; width: auto; max-height: calc(100dvh - 76px); }
    .hero { height: auto; min-height: 62vh; display: flex; flex-direction: column; justify-content: flex-end; }
    .hero .hero-content { position: relative; left: 0; right: 0; bottom: auto; padding: 86px 16px 24px; box-sizing: border-box; width: 100%; }
    .hero-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
    .detail-hero .hero-title { -webkit-line-clamp: 5; }
    .page.page-profile { padding-inline: 16px; }
    .pr h1, .pr-who, .cm-meta, .cm-meta a { overflow-wrap: anywhere; min-width: 0; }
    .pr-me > * { min-width: 0; }
    .pr-who { flex: 1 1 200px; }
    .cm-body { min-width: 0; }
    .topbar-actions, .search-inline, .search-inline input { min-width: 0; }
}
@media (max-width: 560px) {
    .search-inline { display: flex; flex: 1 1 0; width: 0; min-width: 0; }
    .search-inline input, .search-inline.open input { flex: 1 1 0; width: 0; min-width: 0; }
}
@media (max-width: 360px) {
    .topbar { padding-inline: 10px; }
    .brand-logo.brand-full { width: 84px; }
    .brand-logo.brand-tr { width: 60px; }
    .topbar-actions { margin-left: 6px; gap: 2px; }
}
@media (max-width: 768px) {
    .hero .hero-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: clamp(26px, 7.5vw, 32px); line-height: 1.15; }
    .detail-hero .hero-title { -webkit-line-clamp: 5; }
    .page-home .hero .hero-content { padding-top: 100px; }
    .pr-me { align-items: flex-start; }
}
@media (max-width: 768px) {
    .rate-stars { display: flex; flex-wrap: wrap; max-width: 100%; }
}
@media (max-width: 768px) {
    .hero-title { display: -webkit-box !important; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: clamp(26px, 7.5vw, 32px) !important; line-height: 1.15; }
    .detail-hero .hero-title { -webkit-line-clamp: 5; }
    .anime-hero .hero-content { padding-top: 16px; }
    .anime-head { min-width: 0; max-width: 100%; }
    .rate-stars { display: flex; flex-wrap: nowrap; width: 100%; }
    .rate-stars > * { flex: 1 1 0; min-width: 0; padding-inline: 0; text-align: center; }
}
@media (max-width: 768px) {
    .page-home h1, .page-home .hero-title { display: -webkit-box !important; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; font-size: clamp(26px, 7.5vw, 32px) !important; line-height: 1.15; }
    .rate-star { flex: 1 1 0; width: auto; min-width: 0; font-size: min(22px, 5.6vw); }
}
@media (max-width: 768px) {
    .showcase-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; font-size: clamp(26px, 7.5vw, 32px); line-height: 1.15; padding-top: 4px; }
    .anime-head > div, .anime-head > p { flex-wrap: wrap; max-width: 100%; }
    .anime-head span { white-space: normal; }
}

/* Ana sayfa sonsuz akis */
.feed-more { display: flex; justify-content: center; padding: 28px 0 44px; }
.feed-more[hidden] { display: none; }
.feed-more span { width: 30px; height: 30px; border: 3px solid #2c3030; border-top-color: var(--yellow); border-radius: 50%; animation: feed-spin .8s linear infinite; }
@keyframes feed-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .feed-more span { animation-duration: 3s; } }

.footer-credit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 16px; font-size: 13px; }
.footer-credit a { color: var(--text-muted); text-decoration: none; }
.footer-credit a:first-child { color: var(--yellow); }
.footer-credit a:hover { color: #fff; }
.footer-credit { grid-column: 1 / -1; }

details.home-about { padding-block: 0; margin-bottom: 24px; }
details.home-about summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: #9aa0a0; font-size: 14px; }
details.home-about summary:hover { color: var(--yellow); }
details.home-about[open] summary { color: #fff; }

/* Bos liste kapagi */
.pr-pl-empty { display: flex; align-items: center; gap: 14px; width: 100%; height: 100%; padding-inline: 18px; box-sizing: border-box; overflow: hidden; background: linear-gradient(135deg, #2a2610, #1b1e1e 65%); }
.pr-pl-cover .pr-pl-empty img { flex: none; width: 34%; height: 100%; object-fit: cover; object-position: top; }
.pr-pl-empty > span { display: flex; flex-direction: column; gap: 8px; color: #d3d6d6; font-size: 15px; font-weight: 600; }
.pr-pl-empty a { color: var(--yellow); font-size: 14px; }

/* Telif sayfasi maskotu */
.legal-art { min-height: 0; height: auto; aspect-ratio: auto; background: none; border: 0; border-radius: 0; clip-path: none; transform: none; box-shadow: none; }
.legal-art img { display: block; width: 100%; height: auto; max-height: calc(100vh - 150px); object-fit: contain; }

/* Misafire kilitli sunucu */
.player-lock { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px; text-align: center; }
.player-lock div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.card-hidden, .shelf[hidden] { display: none !important; }
.nf-av.nf-logo { padding: 7px; box-sizing: border-box; }
.nf-av.nf-logo img { object-fit: contain; }

/* Birlikte Izle */
.together-cta { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.together-tag { display: inline-block; margin: 6px 0; padding: 3px 10px; border-radius: 99px; background: var(--yellow); color: #131515; font-size: 13px; font-weight: 600; }
.tile.together-ok .tile-link, .anime-card.together-ok { position: relative; }
.tile.together-ok .tile-link::before, .anime-card.together-ok::before { content: "Birlikte"; position: absolute; inset: 6px auto auto 6px; z-index: 2; padding: 2px 7px; border-radius: 99px; background: var(--yellow); color: #131515; font-size: 11px; font-weight: 700; }
.wr { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; max-width: 1600px; margin: 0 auto; padding: 16px 24px 40px; }
.wr-video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.wr-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.wr-tap { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.7); color: #fff; font: inherit; font-size: 20px; font-weight: 600; cursor: pointer; }
.wr-tap[hidden] { display: none; }
.wr-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 14px; }
.wr-head h1 { font-size: 22px; overflow-wrap: anywhere; }
.wr-head p { color: var(--text-muted); }
.wr-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.wr-host { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; padding: 12px; border: 1px solid #2c3030; border-radius: 10px; }
.wr-host[hidden] { display: none; }
.wr-host label { display: flex; align-items: center; gap: 6px; color: #d3d6d6; font-size: 14px; }
.wr-host select { max-width: 240px; min-height: 40px; padding: 0 8px; border: 1px solid #3a3f3f; border-radius: 8px; background: #1b1e1e; color: #fff; font: inherit; }
.wr-error { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: #4a2c13; color: #ffc79c; font-size: 14px; }
.wr-error[hidden] { display: none; }
.wr-land { padding: 24px 40px 0; }
.wr-land-head, .wr-create { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.wr-land-head h1 { margin: 0 0 4px; font-size: clamp(26px, 2.4vw, 38px); }
.wr-land .lead { margin: 0; color: var(--text-muted); }
.wr-public { margin: 28px 0 0; }
.wr-public[hidden] { display: none; }
.wr-create { margin-top: 32px; }
.wr-create h2, .wr-public h2 { margin: 0 0 4px; font-size: 20px; }
.wr-join { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 1 520px; min-width: 0; }
.wr-join .wr-error { flex: 1 1 100%; margin: 0; }
[data-together-shelves] { margin-top: 24px; }
.wr-join input, .wr-search { flex: 1 1 240px; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid #3a3f3f; border-radius: 8px; background: #101212; color: #fff; font: inherit; }
.wr-search { flex: 0 1 520px; width: 100%; }
[data-anime-list]:not(:empty) { margin-bottom: 32px; }
@media (max-width: 768px) { .wr-land { padding: 16px 16px 0; } .wr-join, .wr-search { flex: 1 1 100%; } }
button.wr-room { border: 0; padding: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
button.wr-room:hover strong { color: var(--yellow); }
button.wr-room:disabled { opacity: .55; cursor: wait; }
.wr-rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 12px; }
.wr-room { position: relative; display: flex; flex-direction: column; gap: 3px; min-width: 0; color: #fff; text-decoration: none; }
.wr-room img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px; background: #2a2d2d; margin-bottom: 5px; }
.wr-room strong { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.wr-room small { color: var(--text-muted); font-size: 12px; overflow-wrap: anywhere; }
a.wr-room:hover strong { color: var(--yellow); }
div.wr-room { opacity: .55; }
.wr-room-count { position: absolute; left: 6px; top: 6px; padding: 2px 8px; border-radius: 99px; background: var(--yellow); color: #131515; font-size: 12px; font-weight: 700; }
.wr-ask-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; color: var(--text-muted); font-size: 14px; }
.wr-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; padding: 12px; border-radius: 10px; background: var(--yellow); color: #131515; font-weight: 600; }
.wr-ask span { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.wr-ask-tools[hidden], .wr-ask[hidden] { display: none; }
.wr-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.wr-side h2 { margin-bottom: 8px; font-size: 16px; }
.wr-members { display: flex; flex-direction: column; gap: 8px; max-height: 220px; overflow-y: auto; list-style: none; padding: 0; margin: 0; }
.wr-members li { display: flex; align-items: center; gap: 10px; }
.wr-av { width: 34px; height: 34px; font-size: 14px; }
.wr-name { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow-wrap: anywhere; font-size: 14px; }
.wr-name small { color: var(--text-muted); font-size: 12px; }
.wr-chat { display: flex; flex-direction: column; }
.wr-log { flex: none; height: max(260px, calc((min(100vw, 1600px) - 408px) * .5625 - 96px)); overflow-y: auto; margin: 0 0 10px; padding: 10px; list-style: none; border: 1px solid #2c3030; border-radius: 10px; font-size: 14px; overflow-wrap: anywhere; }
.wr-log li { margin-bottom: 6px; color: #d3d6d6; }
.wr-log b { color: #fff; }
.wr-log .wr-sys { color: var(--text-muted); font-size: 12px; }
.wr-form { display: flex; gap: 8px; }
.wr-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid #3a3f3f; border-radius: 8px; background: #101212; color: #fff; font: inherit; }
@media (max-width: 900px) {
    .wr { grid-template-columns: minmax(0, 1fr); padding: 8px 12px 32px; }
    .wr-log { height: 260px; }
}

/* Oynatici arka plani: video acilana kadar */
.player-video-wrapper, .wr-video { background: #0c0e0e url("../img/player-bg.a09ced5c8f72.webp") center / cover no-repeat; }
.player-message { background: rgba(12, 14, 14, .62); }

/* Bolum oyu: tek bar, oran degisince bir taraf digerini iter */
.like-row.vote-bar, .room-rate .like-row.vote-bar { position: relative; display: flex; justify-content: space-between; gap: 0; width: 300px; max-width: 100%; height: 44px; overflow: hidden; border-radius: 12px; background: #4a2c13; }
.vote-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; background: var(--yellow); transition: width .5s cubic-bezier(.34, 1.4, .64, 1); }
.like-row.vote-bar button, .room-rate .like-row.vote-bar button { position: relative; z-index: 1; width: auto; min-width: 72px; height: 44px; padding: 0 12px; border-radius: 12px; background: none; color: #ffc79c; transition: color .25s, transform .12s; }
.like-row.vote-bar button.on-yellow { color: #131515; }
.like-row.vote-bar button:hover { background: rgba(255, 255, 255, .12); }
.like-row.vote-bar button:active { transform: scale(.94); }
.like-row.vote-bar button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px currentColor; }
.like-row.vote-bar button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.vote-bar .vote-n { color: inherit; }
.vote-bar svg { transform: scale(var(--face, 1)); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), opacity .3s; }
.vote-bar .losing svg { opacity: .65; }
.vote-bar .winning svg { animation: vote-happy 1.8s ease-in-out infinite; }
.vote-bar .pop svg { animation: vote-pop .4s ease-out; }
@keyframes vote-happy { 50% { transform: scale(var(--face, 1)) translateY(-2px) rotate(-4deg); } }
@keyframes vote-pop { 40% { transform: scale(calc(var(--face, 1) * 1.35)) rotate(-8deg); } }
@media (max-width: 768px) { .like-row.vote-bar, .room-rate .like-row.vote-bar { width: 100%; } }
.soon-toast.show { animation: toast-in .25s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }
/* Yorum silme */
.cm-tools .cm-del { position: relative; overflow: hidden; transition: color .15s, background .15s, transform .1s; }
.cm-tools .cm-del:hover { color: #ffb781; }
.cm-tools .cm-del:active { transform: scale(.94); }
.cm-removing { max-height: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; overflow: hidden; opacity: 0; transform: translateX(-12px); transition: max-height .28s ease, opacity .2s, transform .2s, margin .28s, padding .28s; }
@media (prefers-reduced-motion: reduce) { .vote-fill, .vote-bar svg, .cm-removing { transition: none; } .vote-bar .winning svg, .vote-bar .pop svg, .soon-toast.show { animation: none; } }

/* Onay penceresi: geri alinamayan her islem */
.confirm-modal { width: min(420px, calc(100vw - 32px)); margin: auto; padding: 22px; border: 1px solid #2c3030; border-radius: 14px; background: #1a1c1c; color: #fff; font-family: inherit; animation: confirm-in .18s ease-out; }
.confirm-modal::backdrop { background: rgba(5, 6, 6, .72); }
.confirm-modal h2 { margin: 0 0 8px; font-size: 19px; font-weight: 600; }
.confirm-modal p { margin: 0; color: #c8c8c8; font-size: 15px; overflow-wrap: anywhere; }
.confirm-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.confirm-actions button { min-height: 44px; padding: 0 16px; border: 1px solid #3a3a3a; border-radius: 9px; background: #232525; color: #fff; font: inherit; font-weight: 600; cursor: pointer; transition: transform .1s, background .15s; }
.confirm-actions button:hover { background: #2d3030; }
.confirm-actions button:active { transform: scale(.96); }
.confirm-actions button:focus-visible { outline: 2px solid #FFE52C; outline-offset: 2px; }
.confirm-actions .confirm-yes { border-color: #FFE52C; background: #FFE52C; color: #131515; }
.confirm-actions .confirm-yes:hover { background: #fff07a; }
.confirm-actions .confirm-yes.danger { border-color: #b4432b; background: #b4432b; color: #fff; }
.confirm-actions .confirm-yes.danger:hover { background: #cf5338; }
@keyframes confirm-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .confirm-modal { animation: none; } }

/* Ust menu: az ve sade; yer kalmayan genislikte gizlenir (hepsi profil menusunde de var) */
.topbar-nav { display: flex; align-items: center; gap: 28px; margin: 0 auto 0 36px; white-space: nowrap; }
.topbar-nav a { color: #e6e6e6; font-size: 16px; font-weight: 500; text-decoration: none; transition: color .15s; }
.topbar-nav a:hover { color: var(--yellow); }
@media (max-width: 1240px) { .topbar-nav { display: none; } }
/* Profil menusu: reklam cagrisi iki sutunu da kaplar */
.account-menu .account-site a.account-ad { grid-column: 1 / -1; display: block; width: auto; min-width: 0; box-sizing: border-box; margin: 4px 16px 8px; padding: 9px 12px; border: 1px solid var(--yellow); border-radius: 9px; background: none; color: var(--yellow); font-size: 14px; font-weight: 600; text-align: center; transition: background .15s, color .15s, transform .1s; }
.account-menu .account-site a.account-ad:hover { background: var(--yellow); color: #131515; }
.account-menu .account-site a.account-ad:active { transform: scale(.98); }
