:root {
    --reader-font-scale: 1;
    --bg: #141619; /* Antrasit Koyu Gri */
    --panel: #1d2024; /* Panel Koyu Gri */
    --panel-2: #26292e; /* İkincil Panel Gri */
    --line: rgba(255, 255, 255, 0.08); /* Şeffaf Açık Gri Sınır */
    --text: #e3e6eb; /* Kirli Beyaz / Açık Gri Metin */
    --muted: #8d929a; /* Mat Gri */
    --cyan: #7fb3be;
    --lime: #a8b879;
    --amber: #ffb84a;
    --danger: #ff5f6d;
    --ok: #4df3a3;
    --surface: rgba(29, 32, 36, 0.78); /* Yarı Şeffaf Gri */
    --surface-strong: rgba(29, 32, 36, 0.94); /* Neredeyse Opak Gri */
    --input-surface: rgba(255, 255, 255, 0.055);
    --brand-core: #111315; /* En Koyu Gri */
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] {
    --bg: #e2e8f0; /* Daha koyu modern gri-beyaz zemin */
    --panel: #ffffff; /* Tamamen beyaz paneller */
    --panel-2: #cbd5e1; /* Koyu zeminle uyumlu gri tonu */
    --line: rgba(0, 0, 0, 0.05); /* Çok daha zarif ve hafif sınırlar */
    --text: #0f172a; /* Slate 900: Mükemmel okunabilirlik */
    --muted: #475569; /* Slate 600: Yardımcı metinler için yumuşak mat gri */
    --cyan: #0284c7; /* Sky 600: Beyaz arka planda parlayan mavi/cyan */
    --lime: #65a30d; /* Lime 600: Beyaz arka planda net okunan yeşil */
    --amber: #d97706; /* Amber 600 */
    --danger: #dc2626; /* Red 600 */
    --ok: #16a34a; /* Green 600 */
    --surface: rgba(255, 255, 255, 0.88); /* Yüksek kontrastlı yarı şeffaf yüzey */
    --surface-strong: rgba(255, 255, 255, 0.98); /* Neredeyse opak beyaz yüzey */
    --input-surface: rgba(255, 255, 255, 0.95); /* Çok temiz beyaz input alanları */
    --brand-core: #ffffff;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.03); /* Çok hafif, modern gölge */
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: dark;
    font-size: calc(15px * var(--reader-font-scale));
    scrollbar-gutter: stable;
}

html[data-theme="light"] {
    color-scheme: light;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 20% 0%, rgba(127, 179, 190, 0.1), transparent 32rem),
        linear-gradient(145deg, var(--bg) 0%, var(--panel-2) 48%, var(--bg) 100%);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

/* Sitenin Temasına Uygun Premium Scrollbar Tasarımı */
::-webkit-scrollbar {
    width: 10px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--line) 90%, var(--text) 10%);
    border: 2.5px solid var(--bg);
    border-radius: 99px;
    transition: background 200ms ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cyan);
}

@supports (scrollbar-color: auto) {
    html {
        scrollbar-width: thin;
        scrollbar-color: color-mix(in srgb, var(--line) 90%, var(--text) 10%) var(--bg);
    }
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

[data-lucide] {
    width: 1rem;
    height: 1rem;
    stroke-width: 2.25;
    flex: 0 0 auto;
}

a [data-lucide],
button [data-lucide] {
    pointer-events: none;
}

.scanline {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 40;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.025),
        rgba(255, 255, 255, 0.025) 1px,
        transparent 1px,
        transparent 5px
    );
    opacity: 0.45;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1010;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem clamp(1rem, 4vw, 4rem);
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(18px);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-mark {
    position: relative;
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    border: 1px solid rgba(127, 179, 190, 0.36);
    background: linear-gradient(145deg, rgba(127, 179, 190, 0.14), rgba(168, 184, 121, 0.1));
    color: var(--lime);
    font-weight: 800;
    font-style: italic;
    overflow: hidden;
    clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
    isolation: isolate;
}

.brand-mark::before,
.brand-mark::after {
    content: "";
    position: absolute;
    inset: -45%;
    z-index: -1;
    background: conic-gradient(from 0deg, transparent, var(--cyan), transparent 35%, var(--lime), transparent 72%);
    animation: brand-orbit 3.8s linear infinite;
}

.brand-mark::after {
    inset: 0.18rem;
    background: var(--brand-core);
    animation: none;
    clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

@keyframes brand-orbit {
    to {
        transform: rotate(1turn);
    }
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 0.98rem;
    font-style: italic;
}

.brand small {
    color: var(--muted);
    font-size: 0.68rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.5rem;
    padding: 0.35rem 0.62rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 78%, transparent);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 800;
}

.theme-toggle-track {
    position: relative;
    width: 2.35rem;
    height: 1.25rem;
    border: 1px solid rgba(127, 179, 190, 0.34);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(127, 179, 190, 0.16), rgba(168, 184, 121, 0.12));
}

.theme-toggle-dot {
    position: absolute;
    top: 50%;
    left: 0.18rem;
    width: 0.78rem;
    height: 0.78rem;
    border-radius: 999px;
    background: var(--cyan);
    box-shadow: 0 0 10px rgba(127, 179, 190, 0.24);
    transform: translateY(-50%);
    transition: transform 180ms ease, background 180ms ease;
}

html[data-theme="light"] .theme-toggle-dot {
    background: var(--lime);
    transform: translate(1.02rem, -50%);
}

.site-nav a,
.admin-link,
.ghost-button,
.primary-action,
.search-row button,
.comment-form button,
.auth-panel button,
.table-actions button,
.admin-comment button {
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 76%, transparent);
    color: var(--text);
}

.site-nav a {
    position: relative;
    padding: 0.68rem 0.9rem;
    overflow: hidden;
    border-radius: 0.35rem;
    background:
        linear-gradient(135deg, rgba(127, 179, 190, 0.1), rgba(168, 184, 121, 0.05)),
        color-mix(in srgb, var(--surface) 62%, transparent);
    color: var(--text);
    font-size: 0.84rem;
    clip-path: polygon(0.55rem 0, 100% 0, calc(100% - 0.55rem) 100%, 0 100%);
    transition: border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.site-nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 0%, rgba(127, 179, 190, 0.2) 45%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 380ms ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--lime), transparent);
    opacity: 0.62;
}

.site-nav a:hover,
.ghost-button:hover {
    border-color: rgba(127, 179, 190, 0.34);
}

.site-nav a:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(127, 179, 190, 0.1);
}

.site-nav a:hover::before {
    transform: translateX(120%);
}

.admin-link {
    color: var(--lime) !important;
}

.nav-toggle {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: var(--surface);
    color: var(--text);
}

.flash-stack {
    position: fixed;
    right: 1rem;
    top: 5.5rem;
    z-index: 35;
    display: grid;
    gap: 0.6rem;
    width: min(24rem, calc(100vw - 2rem));
}

.flash {
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
}

.flash-success {
    border-color: rgba(77, 243, 163, 0.42);
}

.flash-danger {
    border-color: rgba(255, 95, 109, 0.48);
}

.flash-warning {
    border-color: rgba(255, 184, 74, 0.48);
}

.hero {
    position: relative;
    min-height: 46vh;
    display: grid;
    align-items: end;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-media-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    filter: saturate(1.08) contrast(1.05);
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(0);
    z-index: 1;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(18, 26, 34, 0.45) 0%, rgba(18, 26, 34, 0.12) 48%, rgba(18, 26, 34, 0.40) 100%),
        linear-gradient(0deg, rgba(18, 26, 34, 0.50), transparent 52%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(127, 179, 190, 0.28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127, 179, 190, 0.28) 1px, transparent 1px);
    background-size: 5rem 5rem;
    transform: perspective(34rem) rotateX(56deg) translateY(11rem);
    transform-origin: bottom;
    animation: grid-drift 9s linear infinite;
}

@keyframes grid-drift {
    to {
        background-position: 5rem 5rem;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.65fr);
    gap: clamp(1rem, 4vw, 4rem);
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 4.5rem 0 2.4rem;
}

.signal {
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-heading span {
    color: var(--lime);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1,
.article-title-block h1,
.admin-topbar h1,
.auth-panel h1 {
    margin: 0.35rem 0 1rem;
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero p {
    max-width: 44rem;
    color: color-mix(in srgb, var(--text) 82%, var(--muted));
    font-size: clamp(0.95rem, 1.35vw, 1.08rem);
    line-height: 1.58;
}

.hero-carousel {
    height: 32rem;
    min-height: 32rem;
}

.hero-carousel .hero-media {
    /* transition: opacity kaldırıldı; slaytlar transform ile geçiyor */
}

.hero-carousel .hero-media::after {
    background:
        linear-gradient(90deg, rgba(18, 26, 34, 0.48) 0%, rgba(18, 26, 34, 0.15) 48%, rgba(18, 26, 34, 0.42) 100%),
        linear-gradient(0deg, rgba(18, 26, 34, 0.55), transparent 58%);
}

.hero-carousel-content {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem);
    align-items: start;
    justify-items: end;
    height: 100%;
    padding: 4.25rem 2rem 2.2rem;
    width: calc(100% - 4rem);
    max-width: 100%;
}

.hero-feature-copy {
    display: flex;
    flex-direction: column;
    align-self: start;
    justify-self: start;
    max-width: 48rem;
    min-width: 0;
    height: 25.55rem;
    box-sizing: border-box;
    text-align: left;
    padding: 2.25rem;
    border-radius: 1rem;
    background: rgba(20, 24, 30, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.24);
}

.hero-feature-copy .primary-action {
    position: relative;
    margin-top: auto;
    align-self: flex-start;
}

.hero-feature-copy h1 {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    line-height: 1.15;
    text-wrap: wrap;
    margin: 0.35rem 0 1rem;
    font-weight: 800;
}

.hero-feature-copy p {
    display: -webkit-box;
    overflow: hidden;
    max-width: 40rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-align: left;
}

.featured-rail {
    display: grid;
    grid-template-rows: repeat(5, 4.75rem);
    align-self: start;
    justify-self: end;
    margin-left: auto;
    gap: 0.45rem;
    height: calc((4.75rem * 5) + (0.45rem * 4));
    overflow: hidden;
    padding: 0;
    scrollbar-width: none;
    width: 100%;
    max-width: 22rem;
}

.featured-rail::-webkit-scrollbar {
    display: none;
}

.featured-thumb {
    position: relative;
    display: grid;
    grid-template-columns: 4.35rem minmax(0, 1fr);
    gap: 0.65rem;
    align-items: center;
    width: 100%;
    height: 4.75rem;
    min-height: 0;
    padding: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 0.45rem;
    background: rgba(20, 24, 30, 0.12);
    color: var(--text);
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.featured-thumb::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--cyan), var(--lime));
    opacity: 0;
    transition: opacity 180ms ease;
}

.featured-thumb:hover,
.featured-thumb:focus-visible,
.featured-thumb.is-active {
    border-color: rgba(127, 179, 190, 0.35);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(127, 179, 190, 0.2);
}

.featured-thumb.is-active::before {
    opacity: 0.8;
}

.featured-thumb-media {
    display: block;
    width: 100%;
    aspect-ratio: 1.2;
    border-radius: 0.35rem;
    background-position: center;
    background-size: cover;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.featured-thumb-body {
    display: grid;
    gap: 0.3rem;
    min-width: 0;
}

.featured-thumb-meta {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.featured-thumb strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text);
    font-size: 0.86rem;
    line-height: 1.28;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.primary-action,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.8rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 800;
}

.primary-action {
    border-color: rgba(168, 184, 121, 0.5);
    background: linear-gradient(135deg, var(--lime), var(--cyan));
    color: #061014;
}

.hero-brief,
.auth-panel,
.search-panel,
.category-panel,
.related-box,
.admin-comment,
.stat-grid > div {
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.hero-brief {
    align-self: end;
    padding: 1.35rem;
    border-radius: 0.5rem;
}

.hero-brief span,
.meta span:first-child {
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-brief h2 {
    margin: 0.6rem 0;
    font-size: clamp(1.1rem, 1.7vw, 1.45rem);
}

.hero-brief p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
}

.header-categories {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
}

.header-categories::-webkit-scrollbar {
    display: none;
}

.header-categories a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex: 0 0 auto;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 0.35rem;
    background: color-mix(in srgb, var(--surface) 60%, transparent);
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: border-color 240ms cubic-bezier(0.4, 0, 0.2, 1), 
                background 240ms cubic-bezier(0.4, 0, 0.2, 1), 
                color 240ms cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 240ms cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    isolation: isolate;
    will-change: box-shadow;
}

.header-categories a:hover {
    border-color: rgba(127, 179, 190, 0.34);
    background: color-mix(in srgb, var(--cyan) 12%, transparent);
    color: var(--cyan);
    box-shadow: 0 0 10px rgba(127, 179, 190, 0.1);
}

@property --border-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@keyframes border-rotate {
    to {
        --border-angle: 360deg;
    }
}

.header-categories a.active {
    border: 1px solid transparent;
    background: transparent;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(127, 179, 190, 0.1);
}

.header-categories a.active::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 0.35rem;
    padding: 1.5px;
    background: conic-gradient(from var(--border-angle), transparent, var(--cyan), transparent 30%, var(--lime), transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: border-rotate 3s linear infinite;
    pointer-events: none;
}

.header-categories a [data-lucide] {
    width: 0.85rem;
    height: 0.85rem;
}

@media (max-width: 680px) {
    .site-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
        padding: 0.85rem 1rem;
    }
    .header-categories {
        justify-content: flex-start;
        width: 100%;
        padding-bottom: 0.15rem;
    }
}

@keyframes ticker-glow {
    0%, 100% {
        border-color: rgba(168, 184, 121, 0.18);
    }
    50% {
        border-color: rgba(127, 179, 190, 0.42);
        box-shadow: 0 0 12px rgba(127, 179, 190, 0.08);
    }
}

.content-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22rem;
    gap: 2.5rem;
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 3rem 0;
}

.rail {
    display: grid;
    align-content: start;
    gap: 1rem;
}

.search-panel,
.category-panel {
    padding: 1rem;
    border-radius: 0.5rem;
}

label {
    display: block;
    margin-bottom: 0.4rem;
    color: #d9e9ec;
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 0.45rem;
    background: var(--input-surface);
    color: var(--text);
    outline: none;
    padding: 0.82rem 0.9rem;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(127, 179, 190, 0.44);
    box-shadow: 0 0 0 3px rgba(127, 179, 190, 0.1);
}

html[data-theme="light"] input:focus,
html[data-theme="light"] textarea:focus,
html[data-theme="light"] select:focus {
    border-color: rgba(2, 132, 199, 0.55);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

select option {
    background-color: var(--panel);
    color: var(--text);
}

.search-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
}

.search-row button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 0.45rem;
    padding: 0 1rem;
}

.category-panel h2 {
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
}

.related-box h2 {
    margin: 0 0 0.85rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.45rem;
}

.category-panel a {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.68rem 0;
    color: color-mix(in srgb, var(--text) 88%, var(--muted));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.category-panel a.active,
.category-panel a:hover {
    color: var(--lime);
}

.ad-slot {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 7rem;
    overflow: hidden;
    border: 1px dashed rgba(127, 179, 190, 0.28);
    border-radius: 0.5rem;
    background:
        linear-gradient(135deg, rgba(127, 179, 190, 0.06), rgba(168, 184, 121, 0.04)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05) 8px, transparent 8px, transparent 18px);
    color: #cce9ee;
}

.ad-slot span,
.ad-slot i {
    display: block;
    position: relative;
    z-index: 1;
    text-align: center;
}

.ad-slot i {
    color: var(--muted);
    font-style: normal;
}

.ad-vertical {
    min-height: 30rem;
}

.ad-horizontal {
    grid-column: 1 / -1;
}

.ad-square {
    aspect-ratio: 1.2;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--line);
}

.section-heading h2 {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    gap: 1.5rem;
}

.news-card {
    display: grid;
    grid-template-rows: 14rem 1fr;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: var(--surface);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(127, 179, 190, 0.3);
    box-shadow: 0 18px 45px rgba(127, 179, 190, 0.06);
}

.thumb {
    background-position: center;
    background-size: cover;
}

.news-body {
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
}

.meta,
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.news-card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.25;
}

.news-card p,
.comment-item p,
.admin-comment p {
    color: color-mix(in srgb, var(--text) 70%, var(--muted));
    line-height: 1.55;
}

.read-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--lime);
    font-weight: 800;
}

.article-layout {
    padding-bottom: 2rem;
}

.article-hero {
    position: relative;
    min-height: 56vh;
    display: grid;
    align-items: end;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.article-image {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
}

.article-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(18, 26, 34, 0.86), rgba(18, 26, 34, 0.34));
}

.article-title-block {
    position: relative;
    z-index: 1;
    width: min(980px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 7rem 0 3rem;
}

.article-title-block h1 {
    font-size: clamp(1.8rem, 4.8vw, 3.7rem);
}

.article-title-block p {
    max-width: 52rem;
    color: color-mix(in srgb, var(--text) 84%, var(--muted));
    font-size: 0.98rem;
    line-height: 1.65;
}

.article-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20rem;
    gap: 2rem;
    width: min(980px, calc(100% - 2rem));
    margin: 2.5rem auto 0;
}

.article-content {
    font-size: 0.98rem;
    line-height: 1.72;
}

.article-content p {
    margin: 0 0 1.3rem;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
    margin: 2rem 0 0.85rem;
    line-height: 1.16;
}

.rich-content h2 {
    color: var(--lime);
    font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.rich-content a {
    color: var(--cyan);
    border-bottom: 1px solid rgba(127, 179, 190, 0.32);
}

.rich-editor a.linked-block,
.rich-content a.linked-block {
    display: block;
    color: inherit;
    border-bottom: 0;
    text-decoration: none;
}

.rich-editor a.linked-block:hover,
.rich-content a.linked-block:hover {
    outline: 1px solid color-mix(in srgb, var(--cyan) 45%, transparent);
    outline-offset: 3px;
}

.rich-content ul,
.rich-content ol {
    margin: 0 0 1.4rem 1.35rem;
    padding: 0;
}

.rich-content blockquote {
    margin: 1.6rem 0;
    padding: 1rem 1.2rem;
    border-left: 3px solid var(--lime);
    background: rgba(168, 184, 121, 0.05);
    color: var(--text);
}

.rich-content figure {
    margin: 1.6rem 0;
}

.rich-content img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
}

.rich-content figcaption {
    margin-top: 0.55rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.rich-content .video-embed {
    position: relative;
    width: 100%;
    margin: 1.6rem 0;
    overflow: hidden;
    border: 1px solid rgba(127, 179, 190, 0.24);
    border-radius: 0.5rem;
    background: #030507;
    aspect-ratio: 16 / 9;
}

.rich-content .video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.rich-content table {
    width: 100%;
    margin: 1.6rem 0;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
}

.rich-content th,
.rich-content td {
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.rich-content th {
    color: var(--lime);
    background: rgba(168, 184, 121, 0.06);
}

.article-aside {
    display: grid;
    align-content: start;
    gap: 1.5rem;
    position: sticky;
    top: 5.6rem;
    align-self: start;
    z-index: 10;
}

.related-box {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 1.25rem;
}

.related-box a {
    display: block;
    padding: 0.78rem 0;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    transition: color 150ms ease, transform 150ms ease;
}

.related-box a:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.related-box a:first-of-type {
    padding-top: 0;
}

.related-box a:hover {
    color: var(--cyan);
    transform: translateX(4px);
}

.comments-shell {
    width: min(980px, calc(100% - 2rem));
    margin: 0 auto 3rem;
}

.comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.comment-form textarea {
    grid-column: 1 / -1;
    resize: none !important;
}

.comment-form button {
    grid-column: 1 / -1;
}

.comment-form button,
.auth-panel button {
    min-height: 2.8rem;
    border-radius: 0.45rem;
    font-weight: 800;
}

.comment-list {
    display: grid;
    gap: 0.8rem;
}

.comment-item {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: color-mix(in srgb, var(--surface) 72%, transparent);
}

.comment-item time {
    display: block;
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.82rem;
}

/* Yorum Alıntılama & Cevaplama Stilleri */
.comment-quote {
    margin-bottom: 0.85rem;
    padding: 0.75rem 1rem;
    border-left: 3px solid var(--cyan);
    border-radius: 0 0.35rem 0.35rem 0;
    background: color-mix(in srgb, var(--panel-2) 68%, transparent);
    font-size: 0.88rem;
}

.quote-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--cyan);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.quote-icon {
    width: 0.78rem;
    height: 0.78rem;
}

.quote-body {
    margin: 0;
    color: color-mix(in srgb, var(--text) 78%, var(--muted));
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.comment-reply-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0.95rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(127, 179, 190, 0.18);
    border-radius: 0.45rem;
    background: linear-gradient(90deg, rgba(127, 179, 190, 0.06), rgba(168, 184, 121, 0.035));
    animation: reply-slide-down 220ms ease;
}

@keyframes reply-slide-down {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reply-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    color: var(--text);
}

.reply-indicator-icon {
    width: 0.95rem;
    height: 0.95rem;
    color: var(--cyan);
}

.cancel-reply-btn {
    background: none;
    border: none;
    padding: 0.2rem;
    display: grid;
    place-items: center;
    color: var(--danger);
    cursor: pointer;
    transition: transform 180ms ease, opacity 180ms ease;
}

.cancel-reply-btn:hover {
    transform: scale(1.1);
    opacity: 0.85;
}

.comment-reply-btn:hover {
    background: color-mix(in srgb, var(--cyan) 10%, transparent) !important;
}

.auth-screen {
    display: grid;
    min-height: calc(100vh - 10rem);
    place-items: center;
    padding: 2rem 1rem;
}

.auth-panel {
    width: min(28rem, 100%);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.auth-panel h1 {
    font-size: clamp(1.65rem, 4vw, 2.5rem);
}

.auth-panel p {
    color: var(--muted);
}

.admin-shell,
.editor-shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-topbar h1 {
    font-size: clamp(1.75rem, 4.2vw, 3rem);
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.ghost-button {
    background: color-mix(in srgb, var(--surface) 75%, transparent);
}

.stat-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.stat-grid > div {
    flex: 1 1 8rem;
    padding: 0.5rem 0.8rem;
    border-radius: 0.35rem;
    background: var(--surface);
    border: 1px solid var(--line);
    min-width: 8rem;
}

.stat-grid span {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--muted);
}

.admin-table small,
.input-hint,
.muted {
    color: var(--muted);
}

.stat-grid strong {
    display: block;
    margin-top: 0.15rem;
    color: var(--cyan);
    font-size: 1.2rem;
    font-weight: 800;
}

.admin-section {
    margin-top: 2rem;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
    background: var(--surface);
}

.admin-table th,
.admin-table td {
    padding: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--lime);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.admin-table small {
    display: block;
    max-width: 30rem;
    margin-top: 0.25rem;
    line-height: 1.45;
}

.status {
    display: inline-flex;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.status.published {
    background: rgba(77, 243, 163, 0.12);
    color: var(--ok);
}

.status.draft {
    background: rgba(255, 184, 74, 0.12);
    color: var(--amber);
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.table-actions a,
.table-actions button,
.admin-comment button {
    display: inline-flex;
    min-height: 2.15rem;
    align-items: center;
    gap: 0.35rem;
    border-radius: 0.4rem;
    padding: 0.4rem 0.55rem;
    color: var(--text);
}

.table-actions button,
.admin-comment button {
    border-color: rgba(255, 95, 109, 0.42);
    color: #ffd2d6;
}

.comment-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.admin-comment {
    padding: 1rem;
    border-radius: 0.5rem;
}

.admin-comment a {
    display: block;
    margin-top: 0.3rem;
    color: var(--cyan);
}

.category-admin-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.category-create-form,
.category-admin-item {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: var(--surface);
}

.category-create-row,
.category-edit-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
}

.category-create-row button,
.category-edit-row button,
.danger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2.65rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 0.45rem;
    background: color-mix(in srgb, var(--surface) 76%, transparent);
    color: var(--text);
    font-weight: 800;
}

.category-admin-list {
    display: grid;
    gap: 0.75rem;
}

.category-admin-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: end;
}

.category-admin-item small {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted);
}

.danger-button {
    border-color: rgba(255, 95, 109, 0.42);
    color: #ffd2d6;
}

.danger-button:disabled {
    cursor: not-allowed;
    opacity: 0.46;
}

.editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20rem;
    gap: 1rem;
}

.editor-main,
.editor-side {
    display: grid;
    align-content: start;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: var(--surface);
}

.editor-side {
    position: sticky;
    top: 5.5rem;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    scrollbar-width: none;
}

.editor-side::-webkit-scrollbar {
    display: none;
}

.editor-main textarea {
    resize: vertical;
}

.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 0.55rem;
    border: 1px solid rgba(127, 179, 190, 0.16);
    border-radius: 0.5rem;
    background: var(--surface-strong);
    position: sticky;
    top: 4.6rem;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.editor-toolbar button,
.color-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2.25rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: 0.35rem;
    background: color-mix(in srgb, var(--surface) 78%, transparent);
    color: var(--text);
    font-weight: 800;
}

.editor-toolbar button:hover,
.color-tool:hover {
    border-color: rgba(127, 179, 190, 0.34);
    box-shadow: 0 0 12px rgba(127, 179, 190, 0.08);
}

.color-tool {
    gap: 0.45rem;
    margin: 0;
}

.color-tool input {
    width: 1.6rem;
    height: 1.6rem;
    padding: 0;
    border: 0;
    background: transparent;
}

.rich-editor {
    min-height: 38rem;
    height: auto;
    padding: 1rem;
    overflow: visible;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background:
        linear-gradient(180deg, rgba(127, 179, 190, 0.03), transparent 7rem),
        var(--input-surface);
    color: var(--text);
    outline: none;
    line-height: 1.7;
    cursor: text;
}

.rich-editor:focus {
    border-color: rgba(127, 179, 190, 0.42);
    box-shadow: 0 0 0 3px rgba(127, 179, 190, 0.09);
}

html[data-theme="light"] .rich-editor:focus {
    border-color: rgba(2, 132, 199, 0.55);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.rich-editor:empty::before {
    content: attr(data-placeholder);
    color: var(--muted);
}

.rich-editor p,
.rich-editor h2,
.rich-editor h3,
.rich-editor ul,
.rich-editor ol,
.rich-editor table,
.rich-editor figure,
.rich-editor .video-embed {
    margin-top: 0;
}

.rich-editor img {
    max-width: 100%;
    border-radius: 0.5rem;
}

.rich-editor .video-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(127, 179, 190, 0.26);
    border-radius: 0.5rem;
    background: #030507;
}

.rich-editor .video-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.rich-editor table {
    width: 100%;
    border-collapse: collapse;
}

.rich-editor th,
.rich-editor td {
    padding: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.toggle-line {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.toggle-line input {
    width: auto;
}

.side-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--cyan);
    font-size: 0.84rem;
    font-weight: 800;
}

.empty-state {
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: var(--surface);
}

.full-page {
    width: min(760px, calc(100% - 2rem));
    margin: 4rem auto;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem clamp(1rem, 4vw, 4rem);
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.site-footer strong,
.site-footer span {
    display: block;
}

.site-footer a {
    color: var(--lime);
}

.quick-settings {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 45;
}

.settings-toggle {
    position: relative;
    display: grid;
    width: 3.1rem;
    height: 3.1rem;
    place-items: center;
    border: 1px solid rgba(127, 179, 190, 0.34);
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 50%, rgba(127, 179, 190, 0.16), transparent 58%),
        var(--surface-strong);
    box-shadow: var(--shadow);
    color: var(--text);
}

.settings-toggle::after {
    content: "";
    position: absolute;
    inset: -0.35rem;
    border: 1px solid rgba(127, 179, 190, 0.14);
    border-radius: 999px;
    animation: settings-pulse 2.4s ease-in-out infinite;
}

.settings-toggle [data-lucide] {
    width: 1.35rem;
    height: 1.35rem;
    color: var(--cyan);
}

@keyframes settings-pulse {
    0%, 100% {
        opacity: 0.35;
        transform: scale(0.96);
    }
    50% {
        opacity: 0.82;
        transform: scale(1.08);
    }
}

.settings-panel {
    position: absolute;
    right: 0;
    bottom: 3.9rem;
    display: grid;
    gap: 0.85rem;
    width: min(18rem, calc(100vw - 2rem));
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 0.65rem;
    background: var(--surface-strong);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.5rem) scale(0.98);
    transform-origin: bottom right;
    transition: opacity 160ms ease, transform 160ms ease;
}

.quick-settings.is-open .settings-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.settings-panel-head {
    display: grid;
    gap: 0.12rem;
}

.settings-panel-head strong {
    font-size: 0.95rem;
}

.settings-panel-head span,
.font-controls > span {
    color: var(--muted);
    font-size: 0.78rem;
}

.settings-panel .theme-toggle {
    justify-content: space-between;
    gap: 0.6rem;
    width: 100%;
    min-height: 2.65rem;
    border-radius: 0.5rem;
}

.font-controls {
    display: grid;
    gap: 0.45rem;
}

.font-buttons {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 0.4rem;
}

.font-buttons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-height: 2.35rem;
    border: 1px solid var(--line);
    border-radius: 0.45rem;
    background: color-mix(in srgb, var(--surface) 76%, transparent);
    color: var(--text);
    font-weight: 800;
}

.font-buttons button:hover,
.settings-toggle:hover,
.settings-panel .theme-toggle:hover {
    border-color: rgba(127, 179, 190, 0.34);
    box-shadow: 0 0 14px rgba(127, 179, 190, 0.08);
}

html[data-theme="light"] body {
    background:
        radial-gradient(circle at 18% 0%, rgba(0, 112, 144, 0.02), transparent 34rem),
        linear-gradient(145deg, var(--bg) 0%, var(--panel-2) 50%, var(--bg) 100%);
}

html[data-theme="light"] .scanline {
    opacity: 0.18;
}

html[data-theme="light"] .site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

html[data-theme="light"] .brand small,
html[data-theme="light"] .meta,
html[data-theme="light"] .article-meta,
html[data-theme="light"] .input-hint,
html[data-theme="light"] .muted,
html[data-theme="light"] .stat-grid span,
html[data-theme="light"] .admin-table small {
    color: var(--muted);
}

html[data-theme="light"] .hero-media-slide {
    filter: saturate(1.02) contrast(0.95) brightness(0.94);
}

html[data-theme="light"] .hero-media::after {
    background:
        linear-gradient(90deg, rgba(226, 232, 240, 0.32) 0%, rgba(226, 232, 240, 0.06) 48%, rgba(226, 232, 240, 0.28) 100%),
        linear-gradient(0deg, rgba(226, 232, 240, 0.35), transparent 55%);
}

html[data-theme="light"] .article-image::after {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.32));
}

html[data-theme="light"] .hero-grid {
    opacity: 0.24;
}

html[data-theme="light"] .hero-carousel .hero-media::after {
    background:
        linear-gradient(90deg, rgba(226, 232, 240, 0.34) 0%, rgba(226, 232, 240, 0.08) 48%, rgba(226, 232, 240, 0.30) 100%),
        linear-gradient(0deg, rgba(226, 232, 240, 0.38), transparent 58%);
}

html[data-theme="light"] .featured-thumb {
    border-color: rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

html[data-theme="light"] .hero-feature-copy {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .signal {
    color: #0f172a;
}

html[data-theme="light"] .featured-thumb:hover,
html[data-theme="light"] .featured-thumb:focus-visible,
html[data-theme="light"] .featured-thumb.is-active {
    border-color: rgba(2, 132, 199, 0.32);
    background: rgba(255, 255, 255, 0.55);
}

html[data-theme="light"] .ticker-band a {
    color: #275d20;
}

html[data-theme="light"] .ad-slot {
    color: #244958;
    background:
        linear-gradient(135deg, rgba(0, 127, 163, 0.08), rgba(77, 141, 0, 0.08)),
        repeating-linear-gradient(45deg, rgba(19, 35, 45, 0.045), rgba(19, 35, 45, 0.045) 8px, transparent 8px, transparent 18px);
}

html[data-theme="light"] .rich-content .video-embed,
html[data-theme="light"] .rich-editor .video-embed {
    background: #0f1820;
}

html[data-theme="light"] .status.published {
    background: rgba(20, 122, 77, 0.1);
}

html[data-theme="light"] .status.draft {
    background: rgba(169, 96, 0, 0.1);
}

html[data-theme="light"] .site-nav a:hover {
    color: var(--text);
}

html[data-theme="light"] .primary-action {
    color: #ffffff;
}

html[data-theme="light"] .related-box a {
    color: var(--text);
}

html[data-theme="light"] .related-box a:hover {
    color: var(--cyan);
}

html[data-theme="light"] .news-card:hover {
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] label {
    color: var(--text);
}

@media (max-width: 920px) {
    .site-header {
        align-items: flex-start;
    }

    .admin-tabs {
        top: 7.5rem;
    }

    .nav-toggle {
        display: grid;
        place-items: center;
    }

    .site-nav {
        position: absolute;
        right: 1rem;
        top: 4.4rem;
        display: none;
        width: min(20rem, calc(100vw - 2rem));
        flex-direction: column;
        align-items: stretch;
        padding: 0.7rem;
        border: 1px solid var(--line);
        border-radius: 0.5rem;
        background: var(--surface-strong);
    }

    .site-nav.is-open {
        display: flex;
    }

    .hero-feature-copy {
        display: flex;
        flex-direction: column;
        height: auto;
        padding: 1.5rem;
        padding-bottom: 1.5rem;
        background: rgba(20, 24, 30, 0.55);
    }

    html[data-theme="light"] .hero-feature-copy {
        background: rgba(255, 255, 255, 0.52);
    }

    .hero-feature-copy .primary-action {
        position: static;
        margin-top: 1.2rem;
        display: inline-flex;
    }

    .hero {
        min-height: 42vh;
    }

    .hero-carousel {
        height: 38rem;
        min-height: 38rem;
    }

    .hero-content,
    .content-shell,
    .article-shell,
    .review-shell,
    .editor-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding-top: 6rem;
    }

    .hero-carousel-content {
        align-items: start;
        padding: 5.5rem 0 1.5rem;
    }

    .featured-rail {
        grid-template-rows: repeat(5, 4.35rem);
        align-self: stretch;
        height: calc((4.35rem * 5) + (0.4rem * 4));
        gap: 0.4rem;
        overflow: hidden;
        padding: 0;
    }

    .featured-thumb {
        height: 4.35rem;
        transform: none;
    }

    .featured-thumb:hover,
    .featured-thumb:focus-visible,
    .featured-thumb.is-active {
        transform: none;
    }

    .rail {
        order: 2;
    }

    .ad-vertical {
        min-height: 12rem;
    }

    .article-aside {
        grid-row: auto;
        position: static;
        align-self: stretch;
    }

    .comment-admin-grid,
    .category-admin-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-admin-layout,
    .category-admin-item {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero h1,
    .article-title-block h1,
    .admin-topbar h1 {
        word-break: break-word;
    }

    .hero-content {
        width: min(100% - 1rem, 1180px);
    }

    .content-shell,
    .admin-shell,
    .editor-shell,
    .comments-shell,
    .article-shell,
    .review-shell,
    .article-title-block {
        width: min(100% - 1rem, 1180px);
    }

    .news-grid,
    .comment-form,
    .comment-admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-topbar,
    .section-heading,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Topbar Arama Çubuğu Tasarımı */
.header-search-wrap {
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
}

.search-toggle {
    background: none;
    border: none;
    color: var(--text);
    padding: 0.55rem;
    display: grid;
    place-items: center;
    border-radius: 0.35rem;
    transition: background 240ms cubic-bezier(0.4, 0, 0.2, 1), 
                color 240ms cubic-bezier(0.4, 0, 0.2, 1), 
                transform 240ms cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.search-toggle:hover {
    background: color-mix(in srgb, var(--cyan) 10%, transparent);
    color: var(--cyan);
    transform: scale(1.06);
}

.header-search-form {
    position: absolute;
    inset: 0;
    z-index: 45;
    background: var(--panel);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 clamp(1rem, 4vw, 4rem);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 200ms ease, transform 200ms ease;
}

.header-search-form.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.header-search-form input {
    flex: 1;
    background: none;
    border: none;
    font-size: 1.05rem;
    color: var(--text);
    padding: 0.6rem 0;
    border-bottom: 2px solid var(--line);
    border-radius: 0;
}

.header-search-form input:focus {
    border-bottom-color: var(--cyan);
    box-shadow: none;
}

.header-search-form button {
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 0.5rem;
    display: grid;
    place-items: center;
    transition: color 180ms ease;
}

.header-search-form button:hover {
    color: var(--cyan);
}

.header-search-form .search-close:hover {
    color: var(--danger);
}

/* KVKK Çerez Banner ve Modal Tasarımı */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    right: auto;
    width: min(25rem, calc(100vw - 3rem));
    z-index: 99;
    padding: 1.25rem;
    background: color-mix(in srgb, var(--panel) 94%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    animation: cookie-slide-up 400ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cookie-banner[hidden] {
    display: none !important;
}

@keyframes cookie-slide-up {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner-content {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.cookie-banner-content p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--text);
}

.cookie-link-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--cyan);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.cookie-link-btn:hover {
    color: var(--lime);
}

.cookie-banner-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

@media (max-width: 480px) {
    .cookie-banner {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        width: auto;
        padding: 1rem;
    }
    .cookie-banner-actions {
        flex-direction: column;
        gap: 0.4rem;
    }
}

.cookie-btn {
    min-height: 2.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 0.35rem;
    font-size: 0.84rem;
    font-weight: 700;
    transition: all 180ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 60%, transparent);
    color: var(--text);
}

.cookie-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-accept {
    background: linear-gradient(135deg, var(--lime), var(--cyan));
    color: #061014;
    border: none;
}

.btn-accept:hover {
    box-shadow: 0 0 12px rgba(127, 179, 190, 0.14);
}

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

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

/* Çerez Tercihleri Modalı */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.cookie-modal[hidden] {
    display: none !important;
}

.cookie-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 16, 22, 0.82);
    backdrop-filter: blur(8px);
}

.cookie-modal-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 38rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 3rem);
    animation: cookie-modal-scale 240ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes cookie-modal-scale {
    from {
        transform: scale(0.92);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
}

.cookie-modal-header h2 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--text);
}

.cookie-modal-close {
    background: none;
    border: none;
    color: var(--muted);
    padding: 0.5rem;
    display: grid;
    place-items: center;
    border-radius: 0.35rem;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease;
}

.cookie-modal-close:hover {
    color: var(--text);
    background-color: var(--input-surface);
}

.cookie-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.cookie-modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--line);
    margin-bottom: 1.25rem;
    gap: 0.5rem;
}

.cookie-tab-btn {
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 180ms ease;
}

.cookie-tab-btn:hover {
    color: var(--text);
}

.cookie-tab-btn.active {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
}

.cookie-tab-content {
    display: none;
}

.cookie-tab-content.active {
    display: block;
}

.cookie-tab-desc {
    margin: 0 0 1.25rem 0;
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.5;
}

.cookie-option-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-option-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: color-mix(in srgb, var(--surface) 30%, transparent);
}

.cookie-option-info h3 {
    margin: 0 0 0.4rem 0;
    font-size: 0.94rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-badge {
    font-size: 0.68rem;
    padding: 0.15rem 0.45rem;
    border-radius: 0.25rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cookie-badge.mandatory {
    background: rgba(127, 179, 190, 0.1);
    color: var(--cyan);
    border: 1px solid rgba(127, 179, 190, 0.22);
}

.cookie-option-info p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--muted);
}

/* iOS Tarzı Custom Switch */
.cookie-switch-wrap {
    position: relative;
    display: inline-block;
    width: 2.6rem;
    height: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.cookie-switch-wrap input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-switch-label {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: all 240ms ease;
}

.cookie-switch-label:before {
    position: absolute;
    content: "";
    height: 1.06rem;
    width: 1.06rem;
    left: 0.15rem;
    bottom: 0.13rem;
    background-color: var(--muted);
    border-radius: 999px;
    transition: all 240ms ease;
}

.cookie-switch-wrap input:checked + .cookie-switch-label {
    background-color: color-mix(in srgb, var(--cyan) 12%, transparent);
    border-color: rgba(127, 179, 190, 0.32);
}

.cookie-switch-wrap input:checked + .cookie-switch-label:before {
    transform: translateX(1.1rem);
    background-color: var(--cyan);
    box-shadow: 0 0 8px rgba(127, 179, 190, 0.2);
}

.cookie-switch-wrap input:disabled + .cookie-switch-label {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Aydınlatma Metni Stili */
.cookie-policy-text {
    max-height: 18rem;
    overflow-y: auto;
    padding-right: 0.5rem;
    font-size: 0.84rem;
    line-height: 1.6;
    color: var(--muted);
}

.cookie-policy-text::-webkit-scrollbar {
    width: 6px;
}

.cookie-policy-text::-webkit-scrollbar-thumb {
    background-color: var(--line);
    border-radius: 999px;
}

.cookie-policy-text h3 {
    margin: 0 0 0.85rem 0;
    font-size: 1rem;
    color: var(--text);
}

.cookie-policy-text p {
    margin: 0 0 0.75rem 0;
}

.cookie-modal-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: flex-end;
}

.btn-save {
    background-color: var(--cyan);
    color: #061014;
    border: none;
}

.btn-save:hover {
    background-color: var(--lime);
    box-shadow: 0 0 12px rgba(168, 184, 121, 0.14);
}

/* YouTube Video Boyutlandırma Sınıfları */
.video-size-sm:not(.pip-active),
.video-wrapper.video-size-sm {
    width: 50% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.video-size-md:not(.pip-active),
.video-wrapper.video-size-md {
    width: 75% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.video-size-lg:not(.pip-active),
.video-wrapper.video-size-lg {
    width: 100% !important;
}

/* Video Wrapper (PiP Titreme Önleyici Kapsayıcı) */
.video-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    margin-bottom: 1.5rem;
}

/* Normal akışta video wrapper'a tam otursun */
.video-wrapper .video-embed:not(.pip-active) {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

/* PiP Video Modu Tasarımı */
.rich-content .video-embed.pip-active {
    position: fixed !important;
    bottom: 1.5rem;
    left: 1.5rem;
    top: auto;
    right: auto;
    width: 320px;
    height: 212px;
    min-width: 240px;
    min-height: 167px;
    max-width: 800px;
    max-height: 482px;
    aspect-ratio: auto !important;
    z-index: 98 !important;
    margin: 0 !important;
    box-shadow: var(--shadow);
    border: 1px solid var(--cyan);
    border-radius: 0 !important;
    overflow: hidden !important;
    resize: both;
    display: flex;
    flex-direction: column;
}

.rich-content .video-embed.pip-active iframe {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: calc(100% - 2rem) !important;
    flex: 1;
    border-radius: 0 !important;
}

/* Sürükleme overlay'i */
.pip-drag-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: transparent;
}

/* PiP Üst Kontrol Barı */
.pip-controls {
    display: none;
}

.video-embed.pip-active .pip-controls {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    height: 2rem;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.5rem;
    z-index: 15;
    flex-shrink: 0;
    order: -1;
}

/* Sürükleme kulpu */
.pip-drag-handle {
    flex: 1;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--cyan);
    cursor: move;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: none;
    padding-right: 0.5rem;
}

.pip-drag-handle [data-lucide] {
    width: 0.8rem;
    height: 0.8rem;
}

/* PiP Kapatma butonu */
.pip-close-btn {
    background: none;
    border: none;
    color: var(--muted);
    padding: 0.2rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    border-radius: 0.25rem;
    transition: color 180ms ease, background-color 180ms ease;
    flex-shrink: 0;
}

.pip-close-btn:hover {
    color: var(--danger);
    background-color: var(--input-surface);
}

/* PiP Yeniden Boyutlandırma Köşesi */
.pip-resize-handle {
    display: none;
}
.video-embed.pip-active .pip-resize-handle {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 15px;
    height: 15px;
    z-index: 20;
    cursor: se-resize;
    background: transparent;
}

/* Kategori İkon Seçici ve Önizleme Sınıfları */
.flex-row-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.icon-select-preview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    background: var(--input-surface);
    border: 1px solid var(--line);
    border-radius: 0.45rem;
    color: var(--cyan);
}

.icon-select-preview [data-lucide],
.icon-select-preview svg {
    width: 1.15rem;
    height: 1.15rem;
}

/* Admin Sekmeli Arayüz Stilleri */
.admin-tabs {
    position: sticky;
    top: 4.6rem;
    z-index: 999;
    background: var(--bg);
    display: flex;
    gap: 0.55rem;
    border-bottom: 1px solid var(--line);
    padding: 0.65rem 0;
    margin-bottom: 1.6rem;
    overflow-x: auto;
}

.admin-tab-btn {
    background: none;
    border: 1px solid transparent;
    color: var(--muted);
    font-weight: 800;
    padding: 0.65rem 1.35rem;
    cursor: pointer;
    border-radius: 0.45rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 180ms ease;
    white-space: nowrap;
}

.admin-tab-btn:hover {
    color: var(--text);
    background-color: var(--input-surface);
}

.admin-tab-btn.active {
    color: var(--cyan);
    background: color-mix(in srgb, var(--cyan) 10%, transparent);
    border-color: rgba(127, 179, 190, 0.2);
    box-shadow: 0 0 10px rgba(127, 179, 190, 0.06);
}

.admin-tab-btn [data-lucide] {
    width: 1rem;
    height: 1rem;
}

/* Tab İçerik Gizleme/Gösterme */
.admin-tab-content {
    display: none !important;
}

.admin-tab-content.active {
    display: block !important;
}

/* Aydınlık Mod Kategori Butonu Düzenlemeleri */
html[data-theme="light"] .header-categories a {
    background: color-mix(in srgb, var(--surface) 60%, transparent);
    border-color: var(--line);
}

html[data-theme="light"] .header-categories a.active {
    background: transparent !important;
    color: var(--text) !important;
    border-color: transparent !important;
}

html[data-theme="light"] .header-categories a.active::before {
    background: conic-gradient(
        from var(--border-angle), 
        rgba(2, 132, 199, 0), 
        rgba(2, 132, 199, 1) 15%, 
        rgba(2, 132, 199, 0) 30%, 
        rgba(101, 163, 13, 0) 45%, 
        rgba(101, 163, 13, 1) 60%, 
        rgba(101, 163, 13, 0) 75%
    );
}

html[data-theme="light"] .header-categories a:hover {
    border-color: rgba(2, 132, 199, 0.45);
    background: color-mix(in srgb, var(--cyan) 12%, transparent);
    color: var(--cyan);
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.1);
}

/* Yorum Sayfa İçi Açılır Panel Stilleri */
.comment-collapsible-wrap {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-bottom: 0;
    transition: max-height 380ms cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 380ms cubic-bezier(0.16, 1, 0.3, 1), 
                margin-bottom 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

.comment-collapsible-wrap.is-open {
    max-height: 520px;
    opacity: 1;
    margin-bottom: 2rem;
}

.comment-collapsible-content {
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: 0.65rem;
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.comment-collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.75rem;
    margin-bottom: 1.15rem;
}

.close-collapsible-btn {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0.3rem;
    border-radius: 0.25rem;
    transition: color 180ms ease, background-color 180ms ease;
}

.close-collapsible-btn:hover {
    color: var(--danger);
    background-color: var(--input-surface);
}

/* Enter Tuşu Tasarımlı Gönder Butonu */
.enter-key-btn {
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-bottom: 3px solid color-mix(in srgb, var(--cyan) 70%, #000);
    border-radius: 0.35rem;
    color: var(--text);
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: all 120ms ease;
    user-select: none;
}

.enter-key-btn:hover {
    background: color-mix(in srgb, var(--cyan) 10%, var(--panel-2));
    border-color: rgba(127, 179, 190, 0.32);
    color: var(--cyan);
}

.enter-key-btn:active {
    transform: translateY(2px);
    border-bottom-width: 1px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.enter-key-btn [data-lucide] {
    width: 0.85rem;
    height: 0.85rem;
    opacity: 0.82;
}

/* Aydınlık Mod Admin Paneli İyileştirmeleri */
html[data-theme="light"] .category-create-form,
html[data-theme="light"] .category-admin-item,
html[data-theme="light"] .admin-comment {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
}

html[data-theme="light"] .table-actions button,
html[data-theme="light"] .admin-comment button,
html[data-theme="light"] .danger-button {
    color: var(--danger);
    border-color: rgba(220, 38, 38, 0.22);
    background: rgba(220, 38, 38, 0.04);
}

html[data-theme="light"] .table-actions button:hover,
html[data-theme="light"] .admin-comment button:hover,
html[data-theme="light"] .danger-button:hover {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.35);
    color: var(--danger);
}

/* Özel Silme Onay Popup Modalı (Custom Confirm) */
.custom-confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.custom-confirm-modal.is-active {
    opacity: 1;
    pointer-events: auto;
}

.custom-confirm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 16, 22, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.custom-confirm-content {
    position: relative;
    z-index: 10;
    width: min(26rem, calc(100vw - 2rem));
    padding: 1.65rem;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    background: var(--surface-strong);
    box-shadow: var(--shadow);
    text-align: center;
    transform: scale(0.92) translateY(8px);
    transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-confirm-modal.is-active .custom-confirm-content {
    transform: scale(1) translateY(0);
}

.confirm-icon-wrap {
    display: grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    margin: 0 auto 1.15rem;
    border-radius: 999px;
    background: rgba(255, 95, 109, 0.12);
    color: var(--danger);
}

.confirm-icon-wrap [data-lucide] {
    width: 1.6rem;
    height: 1.6rem;
}

.custom-confirm-content h3 {
    margin: 0 0 0.55rem;
    font-size: 1.22rem;
    color: var(--text);
}

.custom-confirm-content p {
    margin: 0 0 1.65rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--muted);
}

.confirm-actions {
    display: flex;
    gap: 0.65rem;
    justify-content: center;
}

.confirm-btn-cancel,
.confirm-btn-ok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    padding: 0.55rem 1.35rem;
    border: 1px solid var(--line);
    border-radius: 0.45rem;
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 180ms ease;
}

.confirm-btn-cancel {
    background: color-mix(in srgb, var(--surface) 60%, transparent);
    color: var(--text);
}

.confirm-btn-cancel:hover {
    border-color: var(--muted);
    background: var(--input-surface);
}

.confirm-btn-ok {
    background: var(--danger);
    color: #ffffff;
    border-color: transparent;
}

.confirm-btn-ok:hover {
    background: color-mix(in srgb, var(--danger) 85%, #000);
    box-shadow: 0 0 16px rgba(255, 95, 109, 0.25);
}

/* Aydınlık Mod Özel Görünümleri */
html[data-theme="light"] .custom-confirm-backdrop {
    background: rgba(255, 255, 255, 0.65);
}

html[data-theme="light"] .custom-confirm-content {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .confirm-btn-cancel {
    background: #f1f3f5;
    color: #334155;
}

html[data-theme="light"] .confirm-btn-cancel:hover {
    background: #e2e8f0;
    border-color: rgba(0, 0, 0, 0.15);
}

html[data-theme="light"] .confirm-btn-ok {
    background: #dc2626;
    color: #ffffff;
}

html[data-theme="light"] .confirm-btn-ok:hover {
    background: #b91c1c;
    box-shadow: 0 0 16px rgba(220, 38, 38, 0.3);
}

/* Editör Bağlantı ve Yazar Filtresi Stilleri */
.author-link {
    color: var(--cyan);
    font-weight: 600;
    text-decoration: none;
    transition: color 180ms ease;
    cursor: pointer;
}

.author-link:hover {
    color: var(--lime);
    text-decoration: underline;
}

.filter-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1.15rem;
    margin-bottom: 1.6rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: reply-slide-down 220ms ease;
}

.filter-indicator-text {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    color: var(--text);
}

.filter-indicator-icon {
    width: 0.95rem;
    height: 0.95rem;
    color: var(--cyan);
}

.filter-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-height: auto;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 0.35rem;
    background: color-mix(in srgb, var(--surface) 80%, transparent);
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 180ms ease;
}

.filter-clear-btn:hover {
    border-color: var(--danger);
    color: var(--danger);
    background: color-mix(in srgb, var(--danger) 5%, transparent);
}

/* Aydınlık Mod Yazar Filtresi */
html[data-theme="light"] .filter-indicator {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

html[data-theme="light"] .filter-clear-btn {
    background: #f1f3f5;
    color: #334155;
}

html[data-theme="light"] .filter-clear-btn:hover {
    background: rgba(220, 38, 38, 0.06);
    border-color: rgba(220, 38, 38, 0.3);
    color: #dc2626;
}

/* Aydınlık Mod Diğer Stil İnce Ayarları */
html[data-theme="light"] .editor-toolbar {
    border-color: rgba(2, 132, 199, 0.18);
}

html[data-theme="light"] .rich-editor {
    background:
        linear-gradient(180deg, rgba(2, 132, 199, 0.015), transparent 7rem),
        var(--input-surface);
}

html[data-theme="light"] .editor-toolbar button:hover,
html[data-theme="light"] .color-tool:hover {
    border-color: rgba(2, 132, 199, 0.45);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

html[data-theme="light"] .theme-toggle-track {
    border-color: rgba(2, 132, 199, 0.46);
    background: linear-gradient(90deg, rgba(2, 132, 199, 0.2), rgba(101, 163, 13, 0.16));
}

html[data-theme="light"] .site-nav a {
    background:
        linear-gradient(135deg, rgba(2, 132, 199, 0.08), rgba(101, 163, 13, 0.04)),
        color-mix(in srgb, var(--surface) 62%, transparent);
}

html[data-theme="light"] .site-nav a:hover,
html[data-theme="light"] .ghost-button:hover {
    border-color: rgba(2, 132, 199, 0.45);
}

html[data-theme="light"] .site-nav a:hover {
    box-shadow: 0 8px 22px rgba(2, 132, 199, 0.08);
}

/* Admin Paneli Mobil Uyumluluk Stilleri */
@media (max-width: 640px) {
    /* Tabloyu Kart Görünümüne Dönüştür */
    .table-wrap {
        border: none !important;
        background: transparent !important;
    }
    
    .admin-table {
        display: block !important;
        background: transparent !important;
        min-width: 0 !important;
    }
    
    .admin-table thead,
    .admin-table tbody,
    .admin-table th,
    .admin-table td,
    .admin-table tr {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .admin-table thead {
        display: none !important;
    }
    
    .admin-table tr {
        border: 1px solid var(--line);
        margin-bottom: 1rem;
        border-radius: 0.5rem;
        background: var(--surface) !important;
        padding: 0.5rem 0.8rem;
        box-shadow: var(--shadow);
    }
    
    .admin-table td {
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        position: relative;
        padding: 0.75rem 0 0.75rem 38% !important;
        min-height: 2.5rem;
        text-align: right !important;
    }
    
    html[data-theme="light"] .admin-table td {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    }
    
    .admin-table td:last-child {
        border-bottom: none !important;
    }
    
    .admin-table td::before {
        position: absolute;
        top: 0.75rem;
        left: 0;
        width: 35%;
        text-align: left;
        font-size: 0.68rem;
        font-weight: 800;
        text-transform: uppercase;
        color: var(--lime);
    }
    
    /* Mobil Etiketler */
    .admin-table td:nth-of-type(1)::before { content: "Başlık"; }
    .admin-table td:nth-of-type(2)::before { content: "Kategori"; }
    .admin-table td:nth-of-type(3)::before { content: "Durum"; }
    .admin-table td:nth-of-type(4)::before { content: "Yorum"; }
    .admin-table td:nth-of-type(5)::before { content: "Güncelleme"; }
    .admin-table td:nth-of-type(6)::before { content: "İşlem"; }
    
    /* Başlık Alanı Düzeni */
    .admin-table td:nth-of-type(1) {
        text-align: left !important;
        padding-left: 0 !important;
        padding-top: 1.8rem !important;
    }
    .admin-table td:nth-of-type(1)::before {
        top: 0.4rem;
        width: 100%;
    }
    
    /* İşlemler Sütunu Düzeni */
    .admin-table td:nth-of-type(6) {
        display: flex !important;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding-left: 0 !important;
    }
    .admin-table td:nth-of-type(6)::before {
        display: none !important;
    }

    /* Yeni Kategori Ekleme Formu (Mobil Düzen) */
    .category-create-row {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        gap: 0.65rem !important;
    }
    .category-create-row input {
        grid-column: 1 / span 2 !important;
        width: 100% !important;
    }
    .category-create-row select {
        width: 100% !important;
    }
    .category-create-row button {
        grid-column: 1 / span 2 !important;
        width: 100% !important;
        margin-top: 0.25rem;
    }

    /* Mevcut Kategorileri Düzenleme Listesi (Mobil Düzen) */
    .category-admin-item {
        position: relative !important;
        padding-bottom: 4.2rem !important; /* Kaydet ve Sil butonları için alan */
        margin-bottom: 0.8rem !important;
    }
    
    .category-edit-row {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        gap: 0.65rem !important;
    }
    
    .category-edit-row input {
        grid-column: 1 / span 2 !important;
        width: 100% !important;
    }
    
    .category-edit-row select {
        width: 100% !important;
    }
    
    /* Düzenleme Kaydet Butonu */
    .category-edit-row button[type="submit"] {
        position: absolute !important;
        bottom: 1rem !important;
        left: 1rem !important;
        width: calc(50% - 1.25rem) !important;
        margin: 0 !important;
    }
    
    /* Kategori Silme Formu ve Butonu */
    .category-admin-item form[action*="/sil"] {
        position: absolute !important;
        bottom: 1rem !important;
        right: 1rem !important;
        width: calc(50% - 1.25rem) !important;
        margin: 0 !important;
    }
    
    .category-admin-item form[action*="/sil"] button {
        width: 100% !important;
        margin: 0 !important;
        min-height: 2.65rem !important;
    }
    
    .icon-select-preview {
        width: 2.65rem !important;
        height: 2.65rem !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border: 1px dashed var(--line) !important;
        background: rgba(255, 255, 255, 0.02) !important;
        box-sizing: border-box !important;
    }
    
    html[data-theme="light"] .icon-select-preview {
        background: rgba(0, 0, 0, 0.01) !important;
    }
}

/* Admin Filtreleme Paneli Stilleri */
.admin-filter-bar {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.6rem;
    padding: 1.2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
}

html[data-theme="light"] .admin-filter-bar {
    background: #ffffff;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.filter-group label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.filter-group input,
.filter-group select {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .admin-filter-bar {
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
        padding: 1rem !important;
    }
}

/* İNCELEME DETAY SAYFASI VE WORD DÜZENİ STILLERİ */
.review-layout {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: var(--surface);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
    border: 1px solid var(--border);
    overflow: hidden;
}

.review-header {
    padding: 3.5rem 3rem 2.5rem;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
}

.review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 1.2rem;
}

.review-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.review-meta i {
    width: 1rem;
    height: 1rem;
    color: var(--cyan);
}

.review-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.25;
    margin: 0 0 1.2rem 0;
    letter-spacing: -0.02em;
}

.review-summary {
    font-size: 1.2rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
    font-weight: 500;
}

.review-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20rem;
    gap: 2rem;
    width: min(1180px, calc(100% - 2rem));
    margin: 3rem auto;
    padding: 0;
}

.review-content {
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--text);
    padding: 0 3rem 4rem;
}

.review-content p {
    margin-bottom: 1.5rem;
    color: var(--text);
}

/* Karanlık modda tüm alt elemanların siyah renklerini ezerek beyaza çevirme */
html[data-theme="dark"] .review-content,
html[data-theme="dark"] .review-content * {
    color: var(--text) !important;
}

html[data-theme="dark"] .review-content a {
    color: var(--cyan) !important;
}

/* Editör için Word Düzeni (Word Modu) */
.rich-editor.word-editor {
    min-height: 550px;
    background-color: var(--surface-strong);
    border: 1px solid var(--line);
    padding: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.12);
    cursor: text;
}

/* Sürükle Bırak Görsel İşaretçileri */
.rich-editor img {
    cursor: grab;
    transition: outline 0.15s ease, transform 0.15s ease;
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

.rich-editor img:active {
    cursor: grabbing;
}

.rich-editor img.drag-over {
    outline: 2px dashed var(--lime) !important;
    transform: scale(0.99);
}

/* Resim Boyutlandırma Overlay & Handle Stilleri */
.editor-img-resizer {
    position: absolute;
    border: 2px dashed var(--cyan);
    pointer-events: none;
    z-index: 9999;
    box-sizing: border-box;
    display: block;
}

.editor-img-handle {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--cyan);
    border: 2px solid #ffffff;
    border-radius: 50%;
    pointer-events: auto;
    cursor: se-resize;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.editor-img-handle.bottom-right {
    right: -7px;
    bottom: -7px;
}

.editor-img-handle.bottom-left {
    left: -7px;
    bottom: -7px;
    cursor: sw-resize;
}

.editor-img-handle.top-right {
    right: -7px;
    top: -7px;
    cursor: ne-resize;
}

.editor-img-handle.top-left {
    left: -7px;
    top: -7px;
    cursor: nw-resize;
}

.editor-floating-toolbar .danger-tool {
    border-color: rgba(255, 95, 109, 0.45);
    color: #ffd2d6;
}

.editor-floating-toolbar .danger-tool:hover {
    background: rgba(255, 95, 109, 0.16);
    border-color: rgba(255, 95, 109, 0.7);
}

/* Aydınlık Modda İnceleme Detay Sayfası Uyumlaması */
html[data-theme="light"] .review-layout {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .review-header {
    border-color: rgba(0, 0, 0, 0.06);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.01) 0%, transparent 100%);
}

html[data-theme="light"] .rich-editor.word-editor {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .review-layout {
        margin: 0;
    }
    
    .review-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .review-title {
        font-size: 1.85rem;
    }
    
    .review-shell {
        margin: 1.5rem auto;
        width: min(100% - 1rem, 1180px);
    }
    
    .review-content {
        padding: 0 1.5rem 3rem;
    }
    
    .rich-editor.word-editor {
        padding: 1.5rem;
    }
}

/* MODAL POPUP GENEL STILLERI */
.editor-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 14, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.editor-modal-backdrop.is-active {
    opacity: 1;
}

.editor-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%) scale(0.96);
    width: min(460px, calc(100% - 2rem));
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    z-index: 10001;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.editor-modal.is-active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.modal-header h3 i,
.modal-header h3 [data-lucide] {
    color: var(--cyan);
    width: 1.25rem;
    height: 1.25rem;
}
.modal-close-btn {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 0.25rem;
    display: grid;
    place-items: center;
    border-radius: 4px;
    transition: color 0.15s, background-color 0.15s;
}
.modal-close-btn:hover {
    color: var(--text);
    background-color: rgba(255, 255, 255, 0.08);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    background-color: rgba(0, 0, 0, 0.15);
}

/* Modallardaki Sekmeli Arayüz (Görsel Modalı İçin) */
.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--line);
    margin-bottom: 1.25rem;
    gap: 0.25rem;
}
.modal-tab-btn {
    flex: 1;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 0.5rem;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
    text-align: center;
}
.modal-tab-btn:hover {
    color: var(--text);
}
.modal-tab-btn.active {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
}
.modal-tab-content {
    display: none;
}
.modal-tab-content.active {
    display: block;
}

/* Form Elemanları */
.modal-form-group {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
    text-align: left;
}
.modal-form-group:last-child {
    margin-bottom: 0;
}
.modal-form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
}
.modal-form-group input,
.modal-form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--text);
    font-size: 0.95rem;
    box-sizing: border-box;
}
.modal-form-group input:focus,
.modal-form-group select:focus {
    border-color: var(--cyan);
    outline: none;
    box-shadow: 0 0 10px rgba(127, 179, 190, 0.09);
}

/* Dosya Seçme Alanı Tasarımı */
.file-upload-zone {
    border: 2px dashed var(--line);
    border-radius: 8px;
    padding: 2.2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
    background: rgba(255, 255, 255, 0.01);
}
.file-upload-zone:hover {
    border-color: var(--cyan);
    background: rgba(127, 179, 190, 0.02);
}
.file-upload-zone i,
.file-upload-zone [data-lucide] {
    width: 2.2rem;
    height: 2.2rem;
    color: var(--muted);
    margin: 0 auto 0.75rem;
}
.file-upload-zone p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}
.file-upload-zone span {
    font-weight: 700;
    color: var(--cyan);
}
.file-upload-zone input[type=file] {
    display: none;
}
.file-upload-preview {
    margin-top: 1rem;
    max-height: 120px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid var(--line);
    display: none;
    margin-left: auto;
    margin-right: auto;
}

/* Evrensel Popup Alert Modalı */
.custom-alert-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 14, 0.7);
    backdrop-filter: blur(10px);
    z-index: 20000;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.custom-alert-backdrop.is-active {
    opacity: 1;
}
.custom-alert-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%) scale(0.95);
    width: min(400px, calc(100% - 2rem));
    background: var(--surface-strong);
    border: 1px solid rgba(255, 99, 132, 0.3);
    border-radius: 14px;
    padding: 2.2rem 1.5rem;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    z-index: 20001;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}
.custom-alert-content.is-active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.custom-alert-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1.25rem;
    background: rgba(255, 99, 132, 0.15);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #ff6384;
}
.custom-alert-icon i,
.custom-alert-icon [data-lucide] {
    width: 1.75rem;
    height: 1.75rem;
}
.custom-alert-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
}
.custom-alert-content p {
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
}
.custom-alert-btn {
    width: 100%;
    padding: 0.85rem;
    background: #ff6384;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 99, 132, 0.3);
    transition: filter 0.15s, transform 0.1s;
}
.custom-alert-btn:hover {
    filter: brightness(1.1);
}
.custom-alert-btn:active {
    transform: scale(0.98);
}

/* Aydınlık Mod Uyumlamaları */
html[data-theme="light"] .editor-modal {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
html[data-theme="light"] .modal-footer {
    background-color: #f7f9fa;
}
html[data-theme="light"] .custom-alert-content {
    background: #ffffff;
    border-color: rgba(255, 99, 132, 0.35);
}
html[data-theme="light"] .modal-form-group input,
html[data-theme="light"] .modal-form-group select {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    color: #111;
}
html[data-theme="light"] .modal-tab-btn:not(.active) {
    color: #666;
}
html[data-theme="light"] .file-upload-zone {
    background: rgba(0, 0, 0, 0.005);
}

/* ANASAYFA İNCELEMELER SİDEBAR STİLLERİ */
.home-aside {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.home-aside .section-heading {
    margin-bottom: 0.5rem;
}

.reviews-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.home-review-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: var(--surface);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.home-review-card:hover {
    transform: translateY(-2px);
    border-color: rgba(127, 179, 190, 0.28);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: var(--surface-strong);
}

.home-review-card .meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--muted);
}

.home-review-card h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
    transition: color 0.2s ease;
}

.home-review-card:hover h4 {
    color: var(--cyan);
}

.home-review-card p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Aydınlık Mod Uyumları */
html[data-theme="light"] .home-review-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .home-review-card:hover {
    background: #f8fafc;
    border-color: rgba(2, 132, 199, 0.25);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .home-review-card:hover h4 {
    color: #0284c7;
}

/* GÖRSEL VE VİDEO HİZALAMA SINIFLARI */
.rich-editor figure.align-left,
.rich-editor table.align-left,
.rich-editor img.align-left,
.rich-editor .video-placeholder.align-left,
.rich-editor .image-comparison-slider.align-left,
.review-content figure.align-left,
.review-content table.align-left,
.review-content img.align-left,
.review-content .video-embed.align-left,
.review-content .comparison-container.align-left,
.article-content figure.align-left,
.article-content table.align-left,
.article-content img.align-left,
.article-content .video-embed.align-left,
.article-content .comparison-container.align-left {
    float: left;
    margin: 0.5rem 1.75rem 0.75rem 0;
    max-width: 50%;
    clear: left;
}

.rich-editor figure.align-right,
.rich-editor table.align-right,
.rich-editor img.align-right,
.rich-editor .video-placeholder.align-right,
.rich-editor .image-comparison-slider.align-right,
.review-content figure.align-right,
.review-content table.align-right,
.review-content img.align-right,
.review-content .video-embed.align-right,
.review-content .comparison-container.align-right,
.article-content figure.align-right,
.article-content table.align-right,
.article-content img.align-right,
.article-content .video-embed.align-right,
.article-content .comparison-container.align-right {
    float: right;
    margin: 0.5rem 0 0.75rem 1.75rem;
    max-width: 50%;
    clear: right;
}

.rich-editor figure.align-center,
.rich-editor table.align-center,
.rich-editor img.align-center,
.rich-editor .video-placeholder.align-center,
.rich-editor .image-comparison-slider.align-center,
.review-content figure.align-center,
.review-content table.align-center,
.review-content img.align-center,
.review-content .video-embed.align-center,
.review-content .comparison-container.align-center,
.article-content figure.align-center,
.article-content table.align-center,
.article-content img.align-center,
.article-content .video-embed.align-center,
.article-content .comparison-container.align-center {
    display: block;
    margin: 1.75rem auto;
    text-align: center;
    max-width: 100%;
    clear: both;
}

.review-content .comparison-container,
.article-content .comparison-container {
    max-width: 100%;
}

.rich-editor figure > img:not([style*="height"]),
.article-content figure > img:not([style*="height"]),
.review-content figure > img:not([style*="height"]) {
    width: 100%;
    height: auto;
}

.rich-editor figure > img[style*="height"],
.article-content figure > img[style*="height"],
.review-content figure > img[style*="height"] {
    width: auto;
    max-width: 100%;
}

/* YOUTUBE VİDEO YER TUTUCU (EDITOR-ONLY PLACEHOLDER) */
.video-placeholder {
    position: relative;
    border: 2px dashed rgba(255, 0, 0, 0.4);
    border-radius: 0.5rem;
    background: linear-gradient(135deg, rgba(20, 22, 25, 0.95), rgba(28, 32, 38, 0.95));
    cursor: pointer;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    user-select: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://img.youtube.com/vi/placeholder/0.jpg') center/cover no-repeat;
    opacity: 0.08;
    filter: blur(2px);
}

.video-placeholder:hover {
    border-color: var(--danger);
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.15);
}

.video-placeholder-inside {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: #e2e8f0;
    text-align: center;
    padding: 1.5rem;
}

.video-placeholder-inside .yt-icon {
    width: 48px;
    height: 48px;
    color: #ff0000;
    filter: drop-shadow(0 2px 8px rgba(255, 0, 0, 0.4));
    transition: transform 0.2s ease;
}

.video-placeholder:hover .video-placeholder-inside .yt-icon {
    transform: scale(1.1);
}

.video-placeholder-inside span {
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.25rem 0.65rem;
    border-radius: 0.25rem;
    max-width: 320px;
    word-break: break-all;
}

/* DİNAMİK HİZALAMA VE DÜZENLEME ARAÇ ÇUBUĞU (FLOATING TOOLBAR) */
.editor-floating-toolbar {
    position: absolute;
    background: var(--surface-strong);
    border: 1px solid var(--cyan);
    border-radius: 0.5rem;
    padding: 0.4rem;
    display: flex;
    gap: 0.35rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(127, 179, 190, 0.1);
    z-index: 10005;
    pointer-events: auto;
    box-sizing: border-box;
    align-items: center;
}

.editor-floating-toolbar button {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text);
    padding: 0.35rem 0.55rem;
    border-radius: 0.35rem;
    cursor: pointer;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
    transition: all 0.15s ease;
}

.editor-floating-toolbar button:hover {
    background: rgba(127, 179, 190, 0.07);
    color: var(--cyan);
    border-color: rgba(127, 179, 190, 0.18);
}

.editor-floating-toolbar button.active {
    background: var(--cyan);
    color: #101214;
    border-color: var(--cyan);
}

.editor-floating-toolbar .toolbar-divider {
    width: 1px;
    height: 18px;
    background: var(--line);
    margin: 0 0.15rem;
}

/* KARŞILAŞTIRMALI GÖRSEL (BEFORE/AFTER SLIDER) STİLLERİ */
.image-comparison-slider {
    position: relative;
    display: flex;
    width: min(640px, 100%);
    max-width: 100%;
    min-height: 160px;
    border: 2px dashed var(--cyan);
    border-radius: 0.5rem;
    background: var(--surface-strong);
    padding: 0.5rem;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.image-comparison-slider:hover {
    border-color: var(--cyan-light);
}

.comparison-placeholder-inside {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #e2e8f0;
    text-align: center;
    padding: 1.5rem;
    min-height: 140px;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 22, 25, 0.95), rgba(28, 32, 38, 0.95));
    border-radius: 0.35rem;
    user-select: none;
}

.comparison-placeholder-inside .comparison-icon {
    width: 48px;
    height: 48px;
    color: var(--cyan);
    filter: drop-shadow(0 2px 8px rgba(127, 179, 190, 0.2));
    transition: transform 0.2s ease;
}

.image-comparison-slider:hover .comparison-placeholder-inside .comparison-icon {
    transform: scale(1.1);
}

.comparison-placeholder-inside .comparison-placeholder-text {
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.25rem 0.65rem;
    border-radius: 0.25rem;
    max-width: 320px;
    word-break: break-all;
}

/* YAYINDAKİ INTERAKTİF SLIDER KAPSAYICISI */
.comparison-container {
    position: relative;
    width: 100%;
    min-height: 120px;
    aspect-ratio: var(--comparison-ratio, 16 / 9);
    overflow: hidden;
    border-radius: 0.5rem;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    user-select: none;
    -webkit-user-select: none;
    background:
        linear-gradient(135deg, rgba(127, 179, 190, 0.06), rgba(168, 184, 121, 0.035)),
        var(--panel);
}

.comparison-container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
}

.comparison-img.before-img img {
    height: 100%;
}

.comparison-img.after-img img {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.comparison-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.comparison-img.before-img {
    z-index: 1;
}

.comparison-img.after-img {
    z-index: 2;
    width: 100%;
    height: 100%;
    clip-path: inset(0 50% 0 0);
}

/* DİKEY SLIDER MODU */
.comparison-container.orientation-vertical .comparison-img.after-img {
    width: 100%;
    height: 100%;
    clip-path: inset(0 0 50% 0);
}

/* SLIDER TUTAMACI (HANDLE) */
.comparison-handle {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: #ffffff;
    cursor: ew-resize;
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-handle::before {
    content: '';
    position: absolute;
    width: 44px;
    height: 44px;
    background-color: var(--cyan);
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.comparison-handle:hover::before {
    transform: scale(1.1);
    background-color: var(--cyan-light);
}

.comparison-handle-arrows {
    position: absolute;
    display: flex;
    gap: 0.6rem;
    color: #101214;
    font-size: 0.75rem;
    pointer-events: none;
    align-items: center;
    justify-content: center;
}

/* DİKEY SLIDER HANDLE */
.comparison-container.orientation-vertical .comparison-handle {
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    cursor: ns-resize;
    transform: translateY(-50%);
}

.comparison-container.orientation-vertical .comparison-handle::before {
    transform: rotate(90deg);
}
.comparison-container.orientation-vertical .comparison-handle:hover::before {
    transform: rotate(90deg) scale(1.1);
}

/* AYDINLIK MOD UYUMLARI */
html[data-theme="light"] .editor-floating-toolbar {
    background: #ffffff;
    border-color: rgba(2, 132, 199, 0.4);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(2, 132, 199, 0.1);
}
html[data-theme="light"] .editor-floating-toolbar button {
    color: #334155;
}
html[data-theme="light"] .editor-floating-toolbar button:hover {
    background: rgba(2, 132, 199, 0.08);
    color: #0284c7;
    border-color: rgba(2, 132, 199, 0.2);
}
html[data-theme="light"] .editor-floating-toolbar button.active {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}
html[data-theme="light"] .image-comparison-slider {
    border-color: rgba(2, 132, 199, 0.35);
    background: #f8fafc;
}
html[data-theme="light"] .comparison-placeholder-inside {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #1e293b;
}
html[data-theme="light"] .comparison-placeholder-inside span {
    background: rgba(255, 255, 255, 0.85);
}
html[data-theme="light"] .video-placeholder {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-color: rgba(239, 68, 68, 0.35);
}
html[data-theme="light"] .video-placeholder-inside {
    color: #1e293b;
}
html[data-theme="light"] .video-placeholder-inside span {
    background: rgba(255, 255, 255, 0.85);
}

/* Sonsuz Kaydırma Yükleniyor Spinner Göstergesi */
.news-loading {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    width: 100%;
    grid-column: 1 / -1;
}

.news-loading.active {
    display: flex;
}

.news-spinner {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid var(--line);
    border-top-color: var(--cyan);
    border-radius: 50%;
    animation: news-spin 1s linear infinite;
}

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

/* Editör İçi Sürükle Bırak Hedef Göstergeleri */
.rich-editor > *.drag-over-top {
    border-top: 2px dashed var(--cyan) !important;
}
.rich-editor > *.drag-over-bottom {
    border-bottom: 2px dashed var(--cyan) !important;
}

/* Kopyasını Yeni Kaydet Butonu Stilleri */
.copy-clone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.8rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;

    margin-top: 0.5rem;
    width: 100%;
    border: 1px dashed var(--cyan);
    background: transparent;
    color: var(--cyan);
    transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.copy-clone-btn:hover {
    background: color-mix(in srgb, var(--cyan) 8%, transparent);
    border-style: dashed;
    border-color: var(--cyan-light, var(--cyan));
    color: var(--cyan-light, var(--cyan));
    transform: translateY(-1px);
}

/* Aydınlık Mod Uyumu */
html[data-theme="light"] .copy-clone-btn {
    border-color: #0284c7;
    color: #0284c7;
}

html[data-theme="light"] .copy-clone-btn:hover {
    background: rgba(2, 132, 199, 0.08);
    border-color: #025a87;
    color: #025a87;
}
/* ==========================================================================
   ÜÇ SÜTUNLU ANASAYFA DÜZENİ VE STİLLERİ
   ========================================================================== */
.content-shell.three-column-layout {
    display: grid;
    grid-template-columns: 20rem minmax(0, 1fr) 20rem;
    gap: 2rem;
    width: min(1400px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 3rem 0 12rem;
}

.sticky-column {
    position: sticky;
    top: 6.5rem;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
    scrollbar-width: none;
    z-index: 10;
}

.sticky-column::-webkit-scrollbar {
    display: none;
}

/* Sol Sütun Çok Okunanlar */
.side-news-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.side-news-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: var(--surface);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.side-news-card:hover {
    transform: translateY(-2px);
    border-color: rgba(127, 179, 190, 0.28);
    box-shadow: 0 4px 12px rgba(127, 179, 190, 0.06);
}

.side-news-card h4 {
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
    color: var(--text-strong);
}

.side-news-card .meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.side-card-footer {
    display: flex;
    justify-content: flex-end;
    font-size: 0.7rem;
    color: var(--cyan);
    font-weight: 500;
}

/* Sağ Sütun Çok Okunanlar */
.side-reviews-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.home-right-aside .home-review-card h4 {
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
    color: var(--text-strong);
}

.home-right-aside .home-review-card .meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* İnceleme Öğesi Kart Farklılaştırması */
.review-item-card {
    border-color: rgba(168, 184, 121, 0.18);
}

.review-item-card:hover {
    border-color: rgba(168, 184, 121, 0.28);
    box-shadow: 0 6px 18px rgba(168, 184, 121, 0.045);
}

.review-thumb {
    position: relative;
}

.review-badge-overlay {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background: rgba(168, 184, 121, 0.82);
    color: #101214;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.review-badge-overlay svg {
    width: 12px;
    height: 12px;
}

.review-read-link {
    color: var(--lime) !important;
}

.review-read-link:hover {
    color: var(--text-strong) !important;
}

/* Aydınlık Mod Uyumu */
html[data-theme="light"] .review-badge-overlay {
    background: #65a30d;
    color: #ffffff;
}

html[data-theme="light"] .review-item-card {
    border-color: rgba(101, 163, 13, 0.2);
}

html[data-theme="light"] .review-item-card:hover {
    border-color: rgba(101, 163, 13, 0.4);
}

/* Mobil / Tablet Uyumluluğu */
@media (max-width: 1100px) {
    .content-shell.three-column-layout {
        grid-template-columns: 1fr;
    }
    .home-left-aside, .home-right-aside {
        display: none;
    }
}
