/* Filmizles — derleme adımı olmayan, tek dosya stil katmanı. */

:root {
    color-scheme: light;
    --bg: #ffffff;
    --bg-soft: #fff5f5;
    --bg-card: #ffffff;
    --line: #f0d0d0;
    --text: #1a1214;
    --muted: #7d5a5e;
    --accent: #d0122d;
    --accent-soft: rgba(208, 18, 45, 0.12);
    --accent-ink: #ffffff;
    --radius: 2px;
    --maxw: 1280px;
    --font: Georgia, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
    --header-bg: #ffffff;
    --hero-shade: none;
    --title-shade: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.94) 80%);
}

html[data-theme="dark"] {
    color-scheme: dark;
    --bg: #141618;
    --bg-soft: #1c1f22;
    --bg-card: #24282c;
    --line: #3a4046;
    --text: #f4f5f6;
    --muted: #a8aeb4;
    --accent: #e10600;
    --accent-soft: rgba(225, 6, 0, 0.18);
    --accent-ink: #ffffff;
    --header-bg: #101214;
    --hero-shade: none;
    --title-shade: linear-gradient(180deg, rgba(20, 22, 24, 0.2) 0%, rgba(20, 22, 24, 0.94) 80%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

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

/* ---------- Üst bar ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--header-bg);
    border-bottom: 3px solid var(--accent);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 64px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 0;
    flex: 0 0 32px;
}

.brand span {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 20px;
    font-size: 15px;
    color: var(--muted);
}

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

.header-tools {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-open {
    display: inline-flex;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--bg-soft);
    color: var(--text);
    cursor: pointer;
}

.icon-btn:hover,
.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.theme-toggle .icon-sun {
    display: none;
}

html[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 38px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--bg-soft);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover {
    border-color: var(--accent);
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
}

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

/* ---------- Bölüm başlıkları ---------- */

.section {
    margin: 48px 0;
}

.section-head {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 18px;
}

.section-head h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.section-head .more {
    margin-left: auto;
    font-size: 14px;
    color: var(--muted);
}

.section-head .more:hover {
    color: var(--accent);
}

.overview-section .section-head {
    align-items: center;
}

.watchlist-action {
    position: relative;
    margin-left: auto;
    flex: 0 0 auto;
    overflow: visible;
}

.watchlist-action .rate-guest-note {
    width: max-content;
    max-width: 28ch;
}

.section-note {
    margin: -8px 0 18px;
    color: var(--muted);
    font-size: 15px;
    max-width: 70ch;
}

/* ---------- Seçki ---------- */

.feature-board {
    margin-top: 20px;
}

.feature-frame {
    border: 1px solid var(--line);
    background: #101214;
    overflow: hidden;
}

.feature-caption {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 28px;
    color: #ffffff;
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

.feature-stage {
    position: relative;
    min-height: 460px;
}

.feature-slide {
    display: none;
}

.feature-slide.is-active {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: end;
    gap: 28px;
    padding: 64px 28px 72px;
}

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

.feature-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 12, 14, 0.55) 0%, rgba(10, 12, 14, 0) 28%),
        linear-gradient(90deg, rgba(10, 12, 14, 0.9) 0%, rgba(10, 12, 14, 0.72) 62%, rgba(10, 12, 14, 0.28) 100%);
}

.feature-poster,
.feature-copy {
    position: relative;
    z-index: 1;
}

.feature-poster {
    display: block;
    width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.feature-poster img,
.feature-poster-empty {
    display: block;
    width: 200px;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.feature-poster-empty {
    display: grid;
    place-items: center;
    padding: 12px;
    text-align: center;
    color: #f4f5f6;
    background: #24282c;
}

.feature-copy .spotlight-title {
    margin: 0;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.1;
    color: #ffffff;
}

.feature-copy {
    min-width: 0;
}

.feature-copy .spotlight-meta,
.feature-overview {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.5;
}

.feature-overview {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feature-go {
    position: absolute;
    right: 28px;
    bottom: 18px;
    z-index: 2;
    margin: 0;
}

.feature-pager {
    position: absolute;
    left: 28px;
    bottom: 18px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.feature-page {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 2px;
    background: rgba(16, 18, 20, 0.72);
    color: #ffffff;
    font-family: "Segoe UI", system-ui, sans-serif;
    cursor: pointer;
}

.feature-page.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

@media (max-width: 720px) {
    .feature-stage {
        min-height: 340px;
    }

    .feature-slide.is-active {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        padding: 52px 16px 58px;
    }

    .feature-poster,
    .feature-poster img,
    .feature-poster-empty {
        width: 104px;
    }

    .feature-copy .spotlight-title {
        font-size: 20px;
        overflow-wrap: anywhere;
    }

    .feature-copy .spotlight-meta,
    .feature-overview {
        font-size: 13px;
        line-height: 1.35;
    }

    .feature-overview {
        -webkit-line-clamp: 2;
    }

    .feature-caption {
        padding: 12px 16px;
        font-size: 13px;
    }

    .feature-go {
        right: 16px;
        bottom: 12px;
        height: 36px;
        padding: 0 12px;
    }

    .feature-pager {
        left: 16px;
        bottom: 12px;
    }
}

/* ---------- Eski vitrin (kullanılmıyor) ---------- */

.spotlight {
    position: relative;
    display: grid;
    margin-top: 24px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    min-height: 380px;
    background: var(--bg-card);
}

.spotlight-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.spotlight-shade {
    position: absolute;
    inset: 0;
    background: var(--hero-shade);
}

.spotlight-body {
    position: relative;
    padding: 76px 40px 40px;
    max-width: 640px;
}

.spotlight-page-heading {
    position: absolute;
    z-index: 3;
    top: 28px;
    left: 40px;
    max-width: 620px;
    pointer-events: auto;
}

.spotlight-page-heading h1 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.spotlight-page-heading h1 a:hover,
.home-page-heading h1 a:hover {
    color: var(--accent);
}

.home-page-heading {
    margin: 24px 0 8px;
}

.home-page-heading h1 {
    margin: 0;
    font-size: 28px;
}

.spotlight-title {
    margin: 10px 0 12px;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--text);
}

.spotlight-body p {
    color: var(--muted);
    margin: 0 0 20px;
}

.home-seo {
    scroll-margin-top: 88px;
    width: 100%;
    max-width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    padding: 22px 24px;
}

.home-seo .section-head {
    margin-bottom: 12px;
}

.home-seo-body {
    width: 100%;
}

.home-seo-body p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--muted);
    margin: 0 0 14px;
}

.home-seo-body p:last-child {
    margin-bottom: 0;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.spotlight-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.spotlight-slide,
.spotlight-stack {
    grid-area: 1 / 1;
}

.spotlight-slide {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 380px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(28px);
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s ease;
}

.spotlight-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: none;
    z-index: 1;
}

.spotlight-slide.is-active .spotlight-body {
    pointer-events: auto;
}

.spotlight-body .spotlight-meta {
    margin: -4px 0 12px;
    color: var(--muted);
    font-size: 14px;
}

.spotlight.is-split .spotlight-body {
    max-width: min(560px, 48%);
}

.spotlight.is-split .spotlight-slide {
    clip-path: polygon(0 0, 66% 0, 50% 100%, 0 100%);
}

.spotlight-stack {
    position: relative;
    z-index: 2;
    justify-self: stretch;
    align-self: stretch;
    width: auto;
    height: auto;
    min-height: 380px;
    margin: 0;
    pointer-events: none;
    background: transparent;
}

.spotlight-peek {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 48%;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    background: #10131b;
    cursor: pointer;
    pointer-events: auto;
}

.spotlight-peek img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: none;
    transition: transform 0.45s ease;
}

.spotlight-peek::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 16, 0.12);
    transition: background 0.35s ease;
    pointer-events: none;
}

.spotlight-peek.is-rear {
    z-index: 1;
    clip-path: polygon(37.5% 0, 67.3% 0, 51.9% 100%, 6.7% 100%);
}

.spotlight-peek.is-front {
    z-index: 2;
    clip-path: polygon(70% 0, 100% 0, 100% 100%, 54.6% 100%);
}

.spotlight-peek.is-solo {
    z-index: 2;
    clip-path: polygon(37.5% 0, 100% 0, 100% 100%, 6.7% 100%);
}

.spotlight-peek:hover img,
.spotlight-peek:focus-visible img {
    transform: scale(1.03);
}

.spotlight-peek:hover::after,
.spotlight-peek:focus-visible::after {
    background: rgba(8, 10, 16, 0.04);
}

.spotlight-peek[hidden] {
    display: none;
}

.spotlight-pager {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .spotlight-slide,
    .spotlight-peek,
    .spotlight-peek img {
        transition: none;
    }

    .spotlight-peek img {
        transform: none;
    }
}

/* ---------- Poster ızgarası ---------- */

.grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px 18px;
}

.card {
    display: block;
}

.card-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--line);
}

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

.card:hover .card-poster img {
    transform: none;
}

.card-poster .placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--muted);
    font-size: 13px;
    padding: 12px;
    text-align: center;
}

.card-score {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(10, 11, 15, 0.85);
    border: 1px solid var(--line);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
}

.card-langs {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    z-index: 2;
}

.card-lang {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 24px;
    border-radius: 3px;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.card-lang-flag {
    overflow: hidden;
    background: #e30a17;
}

.card-lang-flag img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-lang-cc {
    background: #15181f;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
}

.card-caption {
    padding: 10px 2px 0;
    background: none;
}

.card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.card-meta {
    margin-top: 4px;
    font-size: 13px;
    font-family: "Segoe UI", system-ui, sans-serif;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
}

/* ---------- Yatay şerit ---------- */

.rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 168px;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
}

.similar-section {
    margin-top: 28px;
}

.similar-viewport {
    overflow: visible;
    width: 100%;
}

.similar-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.similar-page {
    display: contents;
}

.similar-item {
    min-width: 0;
}

/* ---------- Etiketler ---------- */

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 16px;
    border-radius: 2px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    font-size: 14px;
    color: var(--muted);
}

.chip:hover,
.chip.is-active {
    color: var(--text);
    border-color: var(--accent);
    background: var(--accent-soft);
}

.mood-section {
    margin: 0 0 8px;
}

.mood-section + .section {
    margin-top: 18px;
}

.mood-rail-wrap {
    display: flex;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.mood-arrow {
    display: none;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    color: var(--text);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    font-family: inherit;
}

.mood-arrow:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.mood-arrow[hidden] {
    display: none !important;
}

.mood-arrow:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.mood-rail {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 10px;
    min-width: 0;
    overflow: hidden;
    scrollbar-width: none;
}

.mood-rail::-webkit-scrollbar {
    display: none;
    height: 0;
}

.mood-card {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    width: auto;
    min-width: 0;
    overflow: hidden;
    padding: 14px 12px;
    text-align: left;
    border: 0;
    border-bottom: 3px solid var(--accent);
    border-radius: 0;
    background: var(--bg-soft);
    color: var(--text);
}

.mood-card h3 {
    margin: 0;
    max-width: 100%;
    overflow: hidden;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.28;
}

.mood-card h3 b,
.mood-card h3 span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-weight: 800;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.mood-card:hover {
    border-color: var(--accent);
}

/* ---------- Koleksiyon kartı ---------- */

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.collection-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    padding: 22px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
}

.collection-card:hover {
    border-color: var(--accent);
}

.collection-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    letter-spacing: -0.01em;
}

.collection-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.collection-card .count {
    margin-top: auto;
    padding-top: 14px;
    font-size: 13px;
    color: var(--accent);
}

/* ---------- Film sayfası ---------- */

.title-hero {
    position: relative;
    max-width: var(--maxw);
    margin: 24px auto 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
}

.title-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
}

.title-hero-shade {
    position: absolute;
    inset: 0;
    background: var(--title-shade);
}

.title-hero .wrap {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(260px, 380px);
    align-items: start;
    gap: 28px;
    padding-top: 28px;
    padding-bottom: 28px;
}

.title-poster {
    width: 128px;
    max-width: 128px;
    height: auto;
    min-height: 0;
    aspect-ratio: 2 / 3;
    justify-self: start;
    align-self: start;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-card);
}

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

.title-head {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.title-tagline {
    color: var(--accent);
    font-style: italic;
    margin: 12px 0 0;
    padding-top: 0;
}

.title-head h1 {
    margin: 6px 0 6px;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.title-original {
    color: var(--muted);
    font-size: 15px;
    margin: 0 0 14px;
}

.title-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-bottom: 0;
    font-size: 13.5px;
    color: var(--muted);
}

.title-facts span {
    padding: 3px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-soft);
}

.title-scores {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    min-width: 0;
    padding-left: 28px;
    border-left: 1px solid var(--line);
}

.title-score-meta {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
}

.title-score-meta .score {
    flex: 1 1 0;
    min-width: 0;
}

.title-score-meta .score:last-child {
    align-items: flex-end;
    text-align: right;
}

.title-scores .member-actions {
    margin: 0;
    width: 100%;
    align-self: stretch;
    flex-direction: column;
    align-items: stretch;
}

.score {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.score b {
    font-size: 28px;
    line-height: 1;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.score small {
    color: var(--muted);
    font-size: 13px;
}

.score-secondary b {
    font-size: 20px;
    color: var(--muted);
}

.score-views {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.3;
}

.score-views b {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--muted);
    letter-spacing: 0;
}

.overview {
    font-size: 16.5px;
    line-height: 1.75;
    max-width: 72ch;
    margin: 0 0 18px;
}

.overview-slogan {
    color: var(--accent);
    font-style: italic;
    font-size: 17px;
    line-height: 1.5;
    max-width: 72ch;
    margin: -6px 0 22px;
}

.share-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
}

.share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--muted);
    background: var(--bg-card);
}

.share-link:hover,
.share-link:focus-visible {
    color: var(--text);
    border-color: var(--accent);
}

.share-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.editor-note {
    border-left: 3px solid var(--accent);
    background: var(--accent-soft);
    padding: 14px 18px;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 15px;
    max-width: 72ch;
}

.editor-note strong {
    display: block;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}

/* ---------- Oynatıcı ---------- */

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

.player-frame {
    position: relative;
    aspect-ratio: 16 / 9;
}

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

.player-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--muted);
    background: var(--bg-card);
    text-align: center;
    padding: 20px;
}

.source-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
    padding: 0;
    background: none;
    border: 0;
}

.source-tab {
    padding: 7px 14px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--bg-card);
    font-size: 13.5px;
    color: var(--muted);
    cursor: pointer;
    font-family: inherit;
}

.source-tab.is-active,
.source-tab:hover {
    color: var(--text);
    border-color: var(--accent);
}

/* ---------- İçerik düzeni ---------- */

.layout {
    display: block;
    padding-top: 32px;
    padding-bottom: 28px;
}

.sidebar {
    position: static;
    width: 100%;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    padding: 18px;
}

.panel h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.panel-widget h3 {
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.heading-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: var(--accent);
}

.heading-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.side-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.side-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
}

.side-list li:first-child a {
    padding-top: 0;
}

.side-list li:last-child a {
    border-bottom: 0;
    padding-bottom: 0;
}

.side-list a:hover,
.side-list a.is-active {
    color: var(--text);
}

.side-list a.is-active span {
    color: var(--accent);
}

.side-list b {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
}

.side-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.side-filters a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 6px 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bg-soft);
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-wrap: balance;
}

.side-filters a:hover,
.side-filters a.is-active {
    color: var(--text);
    border-color: var(--accent);
    background: var(--accent-soft);
}

.side-films {
    display: flex;
    flex-direction: column;
}

.side-film {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

.side-film:first-child {
    padding-top: 0;
}

.side-film:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.side-film img,
.side-film .placeholder {
    width: 46px;
    height: 69px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
}

.side-film b {
    display: block;
    font-size: 13.5px;
    line-height: 1.3;
}

.side-film small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.catalog-main {
    min-width: 0;
}

.catalog-main > .section:first-child {
    margin-top: 0;
}

.catalog-main > .section:last-child,
.catalog-main > .home-seo {
    margin-bottom: 0;
}

.catalog-main > .page-head {
    padding-top: 0;
}

.catalog-main .page-head p {
    max-width: none;
}

.fact-list {
    margin: 0;
    font-size: 14px;
}

.fact-list dt {
    color: var(--muted);
    font-size: 12.5px;
    margin-top: 10px;
}

.fact-list dt:first-child {
    margin-top: 0;
}

.fact-list dd {
    margin: 2px 0 0;
}

.credits-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    position: relative;
    min-width: 0;
}

.credits-grid.has-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 28px;
}

.credits-grid.has-split::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: var(--line);
}

.credits-grid .fact-list {
    min-width: 0;
}

.credits-grid .fact-list dd {
    overflow-wrap: anywhere;
}

.credits-grid.has-split .fact-list:first-child {
    padding-right: 4px;
}

.credits-grid.has-split .fact-list:last-child {
    padding-left: 4px;
}

/* ---------- Oyuncular ---------- */

.cast-rail-wrap {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
}

.cast-rail-wrap .mood-arrow {
    display: inline-flex;
    width: 36px;
    height: 116px;
    font-size: 24px;
}

.cast-rail-wrap .mood-arrow:disabled {
    opacity: 1;
    cursor: pointer;
    pointer-events: auto;
}

.cast-rail {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 16px;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.cast-rail::-webkit-scrollbar {
    display: none;
    height: 0;
}

.cast-card {
    flex: 0 0 116px;
    width: 116px;
    min-width: 116px;
    color: inherit;
    text-decoration: none;
}

.cast-card img,
.cast-card .placeholder {
    display: block;
    box-sizing: border-box;
    width: 116px;
    height: 116px;
    max-width: 116px;
    max-height: 116px;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    object-fit: cover;
    object-position: center top;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--line);
}

.cast-card .placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--muted);
}

.cast-card b {
    display: block;
    margin-top: 10px;
    font-size: 13.5px;
    font-weight: 600;
    text-align: center;
}

.cast-card small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

/* ---------- Yorumlar ---------- */

.comment {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.avatar {
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.comment-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 14px;
}

.comment-head time {
    color: var(--muted);
    font-size: 12.5px;
}

.comment p {
    margin: 6px 0 0;
    font-size: 15px;
}

.login-prompt {
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    padding: 22px;
    text-align: center;
    color: var(--muted);
}

.login-prompt strong {
    display: block;
    color: var(--text);
    margin-bottom: 6px;
}

/* ---------- Reklam slotu ---------- */

.ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 24px 0;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--bg-soft);
    color: #454b5e;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    overflow: hidden;
}

/* ---------- Sayfalama ---------- */

.pagination-wrap {
    margin-top: 32px;
}

.pagination-wrap nav {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pagination-wrap ul {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination-wrap .active span {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--text);
}

.pagination-wrap .disabled span {
    opacity: 0.4;
}

.pagination-wrap a,
.pagination-wrap span {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bg-soft);
    font-size: 14px;
    color: var(--muted);
}

.pagination-wrap a:hover {
    border-color: var(--accent);
    color: var(--text);
}

/* ---------- Sayfa başlığı ---------- */

.page-head {
    padding: 40px 0 8px;
}

.page-head h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 10px;
    font-size: 32px;
    letter-spacing: -0.03em;
}

.page-head p {
    color: var(--muted);
    max-width: 72ch;
    margin: 0;
}

.error-page {
    padding: 48px 0 96px;
}

.error-panel {
    max-width: 640px;
    padding: 28px 28px 32px;
}

.error-code {
    margin: 0 0 6px;
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1;
    color: var(--accent);
}

.error-page .page-head {
    padding: 0;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 20px;
}

.error-search {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 420px;
}

.error-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 38px;
    padding: 0 14px;
    border-radius: 2px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
}

.error-search input:focus {
    outline: none;
    border-color: var(--accent);
}

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

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

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 28px;
}

.empty {
    padding: 60px 20px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}

/* ---------- Katalog şeridi ---------- */

.catalog-band {
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
    padding: 22px 0 8px;
}

.catalog-band-row {
    margin-bottom: 16px;
}

.catalog-band-row h2 {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.band-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.band-chips a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--bg-card);
    color: var(--text);
    font-size: 13.5px;
    font-weight: 600;
}

.band-chips a b {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
}

.band-chips a:hover,
.band-chips a.is-active {
    border-color: var(--accent);
    background: var(--accent-soft);
}

/* ---------- Alt bilgi ---------- */

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
    padding: 22px 0 20px;
    color: var(--muted);
    font-size: 14px;
}

.site-footer .wrap {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-brand small {
    font-size: 12.5px;
    color: var(--muted);
}

.site-footer nav {
    display: flex;
    gap: 18px;
    margin-left: auto;
    flex-wrap: wrap;
}

/* ---------- Duyarlı ---------- */

@media (max-width: 1100px) {
    .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .error-page {
        padding: 28px 0 72px;
    }

    .error-code {
        font-size: 52px;
    }

    .layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .sidebar {
        position: static;
    }

    .title-hero .wrap {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 20px;
    }

    .title-poster {
        width: 96px;
        max-width: 96px;
    }

    .title-scores {
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        width: 100%;
        min-width: 0;
        padding-left: 0;
        padding-top: 16px;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .title-score-meta {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 20px;
    }

    .spotlight-title {
        font-size: 30px;
    }

    .spotlight.is-split .spotlight-body {
        max-width: none;
    }

    .spotlight.is-split .spotlight-slide {
        clip-path: none;
    }

    .spotlight {
        perspective: 1600px;
    }

    .spotlight:has(.spotlight-pager) .spotlight-body {
        padding-top: 76px;
    }

    .spotlight-slide {
        transform-origin: left center;
        transform: rotateY(-72deg);
        opacity: 0;
        transition: transform 0.7s ease, opacity 0.5s ease, visibility 0.7s ease;
    }

    .spotlight-slide.is-active {
        transform: rotateY(0deg);
        opacity: 1;
    }

    .spotlight-stack {
        display: none;
    }

    .spotlight-pager {
        display: flex;
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 4;
        gap: 6px;
    }

    .spotlight-page {
        width: 32px;
        height: 32px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 999px;
        background: rgba(10, 11, 15, 0.72);
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
    }

    .spotlight-page.is-active {
        background: var(--accent);
        border-color: var(--accent);
        color: #161616;
    }
}

@media (max-width: 640px) {
    .mood-rail-wrap {
        overflow: visible;
    }

    .mood-arrow {
        display: inline-flex;
        width: 36px;
        font-size: 24px;
    }

    .cast-rail-wrap .mood-arrow {
        display: none !important;
    }

    .mood-rail {
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }

    .mood-card {
        flex: 0 0 auto;
        width: 112px;
        min-width: 112px;
        padding: 8px 6px;
    }

    .mood-card h3 {
        font-size: 15px;
        line-height: 1.18;
    }

    .nav {
        display: none;
    }

    .site-header .wrap {
        gap: 10px;
    }

    .header-account {
        display: none;
    }

    body {
        padding-bottom: 72px;
    }

    .site-footer nav {
        margin-left: 0;
    }

    .grid,
    .home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }

    .similar-viewport {
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .similar-viewport::-webkit-scrollbar {
        display: none;
    }

    .similar-track {
        display: flex;
        gap: 0;
        width: max-content;
        grid-template-columns: none;
        transform: none;
        animation: none;
    }

    .similar-page {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        flex: 0 0 auto;
        width: 100%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .similar-item {
        min-width: 0;
        width: auto;
    }

    .similar-item .card:hover .card-poster img {
        transform: none;
    }

    .title-hero .wrap {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 14px;
    }

    .title-poster {
        width: 80px;
        max-width: 80px;
    }

    .title-head h1 {
        font-size: 24px;
    }

    .spotlight-body {
        padding: 72px 24px 24px;
    }

    .spotlight-page-heading {
        top: 20px;
        left: 24px;
        right: 24px;
    }

    .home-seo {
        padding: 18px 16px;
    }
}

/* ---------- Üye etkileşimi ---------- */

.member-actions {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 4px 0 0;
}

.rate-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    position: relative;
}

.rate-logo {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--accent-soft);
    border: 1px solid rgba(240, 180, 41, 0.38);
    color: var(--accent);
    box-shadow: 0 0 12px rgba(240, 180, 41, 0.18);
}

.rate-logo svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.rate-form {
    display: flex;
    flex: 1 1 auto;
    gap: 8px;
    align-items: center;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    height: 36px;
    position: relative;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 12px;
}

.rate-label {
    flex: 0 0 auto;
    font-size: 13px;
    color: var(--muted);
}

.rate-guest-note {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    margin: 0;
    padding: 8px 12px;
    width: max-content;
    max-width: min(28ch, calc(100% - 12px));
    transform: translate(-50%, -50%) scale(0.96);
    border-radius: 12px;
    border: 1px solid var(--accent);
    background: #141722;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
    font-size: 12.5px;
    line-height: 1.35;
    color: var(--accent);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.rate-guest-note.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.stars {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    min-width: 0;
}

.star {
    background: none;
    border: 0;
    color: #4a4f60;
    font-size: 17px;
    line-height: 1;
    padding: 0 1px;
    cursor: pointer;
}

.star.is-on {
    color: var(--accent);
}

.stars:hover .star {
    color: var(--accent);
}

.stars .star:hover ~ .star {
    color: #4a4f60;
}

.rate-value {
    margin-left: auto;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
}

.comment-form-foot {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.spoiler-check {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    color: var(--muted);
}

.spoiler-check input {
    accent-color: var(--accent);
}

.comment textarea {
    width: 100%;
    background: var(--bg-soft);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    font-family: inherit;
}

.panel textarea {
    width: 100%;
    background: var(--bg-soft);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    font-family: inherit;
    font-size: 14.5px;
    resize: vertical;
}

.panel input[type="text"],
.panel input[type="password"],
.panel input[type="email"],
.panel select {
    width: 100%;
    background: var(--bg-soft);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 14.5px;
}

.profile-label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin: 12px 0 5px;
}

.comment-actions {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.comment-actions button {
    background: none;
    border: 0;
    color: var(--muted);
    font-size: 12.5px;
    cursor: pointer;
    padding: 0;
}

.comment-actions button:hover {
    color: var(--accent);
}

.comment-reply {
    margin-top: 14px;
    padding-left: 14px;
    border-left: 2px solid var(--line);
}

.spoiler summary {
    cursor: pointer;
    color: var(--muted);
    font-size: 13.5px;
    margin-bottom: 6px;
}

.flash-ok,
.flash-bad {
    padding: 11px 15px;
    border-radius: 8px;
    font-size: 14px;
    margin: 0 0 16px;
    border: 1px solid;
}

.flash-ok {
    background: rgba(15, 118, 110, 0.1);
    border-color: rgba(15, 118, 110, 0.35);
    color: #0f6b56;
}

.flash-bad {
    background: rgba(180, 35, 24, 0.08);
    border-color: rgba(180, 35, 24, 0.28);
    color: #9f2218;
}

html[data-theme="dark"] .flash-ok {
    background: rgba(63, 185, 132, 0.12);
    border-color: rgba(63, 185, 132, 0.4);
    color: #b9f0d8;
}

html[data-theme="dark"] .flash-bad {
    background: rgba(229, 84, 75, 0.12);
    border-color: rgba(229, 84, 75, 0.4);
    color: #ffc9c5;
}

.footer-note {
    padding-top: 12px;
    color: var(--muted);
    font-size: 12.5px;
}

.page-block {
    padding: 32px 0 48px;
    min-width: 0;
}

.page-block h1 {
    margin: 0 0 10px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px;
    align-items: start;
}

.contact-grid > * {
    min-width: 0;
}

.contact-form .field {
    margin: 0 0 16px;
}

.contact-form label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 6px;
}

.contact-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
}

.contact-captcha input {
    max-width: 120px;
}

.contact-form .field-error {
    margin: 6px 0 0;
    color: #9f2218;
    font-size: 13px;
}

.contact-aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-aside h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-size: 15px;
}

.contact-aside p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
}

.contact-aside a {
    color: var(--accent);
    overflow-wrap: anywhere;
}

.legal-hero {
    margin: 0 0 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.legal-kicker {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.legal-hero h1 {
    margin: 0 0 14px;
}

.legal-lead {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.legal-meta {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.legal-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.legal-grid > * {
    min-width: 0;
}

.legal-toc {
    position: sticky;
    top: 84px;
}

.legal-toc summary {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    list-style: none;
    cursor: default;
    pointer-events: none;
}

.legal-toc summary::-webkit-details-marker {
    display: none;
}

.legal-toc summary::after {
    display: none;
    float: right;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    content: "+";
}

.legal-toc[open] summary::after {
    content: "–";
}

.legal-toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 961px) {
    details.legal-toc {
        display: block;
    }

    details.legal-toc[open] > ol,
    details.legal-toc > ol {
        display: block !important;
    }

    details.legal-toc::details-content {
        display: block;
        content-visibility: visible;
        height: auto;
        overflow: visible;
    }
}

.legal-toc a {
    display: block;
    padding: 7px 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.4;
    border-bottom: 1px solid var(--line);
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
    color: var(--accent);
}

.legal-doc section + section {
    margin-top: 8px;
}

.legal-doc h2 {
    scroll-margin-top: 88px;
    margin: 32px 0 12px;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.legal-doc section:first-child h2 {
    margin-top: 0;
}

.legal-doc h3 {
    scroll-margin-top: 88px;
    margin: 20px 0 8px;
    font-size: 16px;
}

.legal-doc {
    overflow-wrap: break-word;
}

.legal-doc p,
.legal-doc li {
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.75;
}

.legal-doc p {
    margin: 0 0 14px;
}

.legal-doc ul,
.legal-doc ol {
    margin: 0 0 16px;
    padding-left: 1.25em;
}

.legal-doc li + li {
    margin-top: 6px;
}

.legal-doc a {
    color: var(--accent);
}

.legal-doc strong {
    color: var(--text);
    font-weight: 600;
}

.legal-note {
    margin: 0 0 18px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
}

.legal-note p:last-child,
.legal-note ul:last-child {
    margin-bottom: 0;
}

@media (max-width: 960px) {
    .contact-grid,
    .contact-fields,
    .legal-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .legal-toc {
        position: static;
    }

    .legal-toc summary {
        display: flex;
        align-items: center;
        margin-bottom: 0;
        padding: 2px 0 10px;
        cursor: pointer;
        pointer-events: auto;
    }

    .legal-toc summary::after {
        display: inline;
        float: none;
        margin-left: auto;
    }

    .legal-toc[open] summary {
        margin-bottom: 12px;
    }

    .legal-toc ol {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 16px;
    }

    .page-block {
        padding: 20px 0 36px;
    }

    .page-block h1,
    .legal-hero h1 {
        font-size: 26px;
        line-height: 1.2;
        overflow-wrap: break-word;
    }

    .legal-hero {
        margin-bottom: 22px;
        padding-bottom: 18px;
    }

    .legal-lead,
    .contact-page .overview {
        font-size: 15.5px;
        max-width: none;
    }

    .legal-doc h2 {
        font-size: 19px;
        margin-top: 26px;
    }

    .legal-note {
        padding: 14px;
    }

    .contact-form .btn {
        width: 100%;
    }

    .contact-aside {
        gap: 14px;
    }
}

@media (max-width: 640px) {
    .legal-toc ol {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-form.panel,
    .legal-toc.panel,
    .contact-aside .panel {
        padding: 14px;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form select,
    .contact-form textarea {
        font-size: 16px;
    }

    .contact-captcha input {
        max-width: none;
    }
}

.ad-placeholder {
    color: #3c414f;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---------- Haberler ---------- */

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.news-grid-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: calc(var(--radius) + 2px);
    background: var(--surface);
    border: 1px solid var(--line);
    color: inherit;
    min-height: 100%;
}

.news-card:hover .news-copy strong {
    color: var(--accent);
}

.news-cover {
    display: block;
    aspect-ratio: 16 / 9;
    background: #10131a;
    overflow: hidden;
}

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

.news-cover-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 16px 18px;
}

.news-copy time,
.news-copy em {
    font-size: 12.5px;
    color: var(--muted);
    font-style: normal;
}

.news-copy strong {
    font-size: 17px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.news-copy span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.article-meta {
    display: flex;
    gap: 12px;
    color: var(--muted);
    font-size: 14px;
}

.article-page {
    min-width: 0;
}

.article-hero {
    float: left;
    width: min(46%, 360px);
    margin: 0.25em 28px 18px 0;
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
}

.article-hero img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
}

.article-body {
    font-size: 17px;
    line-height: 1.7;
}

.article-body::after {
    content: "";
    display: table;
    clear: both;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote {
    margin: 0 0 1.1em;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin: 1.4em 0 0.5em;
    letter-spacing: -0.02em;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 12px 0;
}

.article-body a {
    color: var(--accent);
}

.article-body blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 14px;
    color: var(--muted);
}

.article-related,
.article-page > .section {
    clear: both;
}

.article-related {
    margin-top: 28px;
}

.article-related h2 {
    margin: 0 0 12px;
    font-size: 15px;
}

.article-related .card {
    max-width: 180px;
}

@media (max-width: 900px) {
    .news-grid,
    .news-grid-page {
        grid-template-columns: 1fr;
    }

    .article-hero {
        float: none;
        width: 100%;
        margin: 0 0 18px;
    }
}

.ad-slot img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 700px) {
    .ad-only-desktop {
        display: none !important;
    }

    .rate-form {
        padding: 0 10px;
        height: 36px;
    }
}

@media (min-width: 701px) {
    .ad-only-mobile {
        display: none !important;
    }
}

.search-sheet,
.menu-sheet {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(16, 16, 16, 0.55);
}

.search-sheet[hidden],
.menu-sheet[hidden] {
    display: none;
}

.search-sheet {
    display: grid;
    align-items: start;
    justify-items: center;
    padding: 14vh 16px 24px;
}

.search-panel {
    width: min(520px, 100%);
    padding: 14px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    color: var(--text);
}

.search-panel form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-panel input {
    flex: 1;
    min-width: 0;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 16px;
}

.search-panel input:focus {
    outline: none;
}

.search-sheet-label {
    margin: 16px 0 8px;
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
}

.search-suggestions {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.search-suggestions a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-suggestions img {
    width: 46px;
    height: 69px;
    object-fit: cover;
    flex: 0 0 46px;
}

.search-suggestions b,
.search-suggestions small {
    display: block;
}

.search-suggestions b {
    font-size: 14px;
    font-weight: 600;
}

.search-suggestions small {
    margin-top: 2px;
    color: var(--muted);
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 12px;
}

.search-empty {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.account-panel {
    display: grid;
    gap: 16px;
    max-height: min(78vh, 720px);
    overflow: auto;
}

.account-panel-head,
.account-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.account-hello {
    margin: 0;
}

.account-block h2 {
    margin: 0 0 10px;
    font-size: 20px;
}

.account-block form {
    display: grid;
    gap: 8px;
}

.account-block input[type="email"],
.account-block input[type="password"],
.account-block input[type="text"] {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--bg);
    color: var(--text);
    font: inherit;
}

.account-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.account-error {
    margin: 0;
    color: var(--accent);
    font-size: 14px;
}

.menu-sheet {
    display: block;
}

.menu-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 64px;
    display: grid;
    gap: 4px;
    padding: 12px;
    background: var(--bg-card);
    border-top: 1px solid var(--line);
}

.menu-panel a {
    padding: 12px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
}

.mobile-tabbar {
    display: none;
}

@media (max-width: 640px) {
    .mobile-tabbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        height: 64px;
        background: var(--header-bg);
        border-top: 1px solid var(--line);
    }

    .mobile-tabbar a,
    .mobile-tabbar button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        border: 0;
        background: transparent;
        color: var(--muted);
        font-family: "Segoe UI", system-ui, sans-serif;
        font-size: 11px;
        font-weight: 600;
        cursor: pointer;
    }

    .mobile-tabbar a.is-active,
    .mobile-tabbar button[aria-expanded="true"] {
        color: var(--accent);
    }
}
