/* ============================================
   FOKAL — Horizontal Masonry + Shorts Viewer
   ============================================ */

:root {
    --admin-bar-h: 0px;
    --bg: #f5f5f5;
    --surface: #ffffff;
    --text: #0f0f0f;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border: #e5e5e5;
    --accent: #e85d2c;
    --accent-light: #fff0eb;
    --dark: #0a0a0a;
    --radius: 20px;
    --radius-sm: 14px;
    --radius-pill: 100px;
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --card-gap: 16px;
    --header-h: 60px;
    --header-bg: rgba(245, 245, 245, 0.85);
    --header-border: rgba(0, 0, 0, 0.05);
    --bottom-nav-bg: rgba(245, 245, 245, 0.92);
    --search-overlay-bg: rgba(245, 245, 245, 0.96);
    --surface-hover: rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --scrollbar-track: rgba(0, 0, 0, 0.04);
    --scrollbar-thumb: rgba(0, 0, 0, 0.16);
    --scrollbar-thumb-hover: rgba(0, 0, 0, 0.32);
}

/* Light & Dark Mode Tokens */
[data-theme="light"] {
    --bg: #f5f5f5;
    --surface: #ffffff;
    --text: #0f0f0f;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border: #e5e5e5;
    --accent: #e85d2c;
    --accent-light: #fff0eb;
    --dark: #0a0a0a;
    --header-bg: rgba(245, 245, 245, 0.85);
    --header-border: rgba(0, 0, 0, 0.05);
    --bottom-nav-bg: rgba(245, 245, 245, 0.92);
    --search-overlay-bg: rgba(245, 245, 245, 0.96);
    --surface-hover: rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
    --scrollbar-track: rgba(0, 0, 0, 0.04);
    --scrollbar-thumb: rgba(0, 0, 0, 0.16);
    --scrollbar-thumb-hover: rgba(0, 0, 0, 0.32);
}

[data-theme="dark"] {
    --bg: #0d0e11;
    --surface: #16181d;
    --text: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border: #262933;
    --accent: #f06a38;
    --accent-light: rgba(240, 106, 56, 0.16);
    --dark: #07080a;
    --header-bg: rgba(13, 14, 17, 0.88);
    --header-border: rgba(255, 255, 255, 0.08);
    --bottom-nav-bg: rgba(13, 14, 17, 0.92);
    --search-overlay-bg: rgba(13, 14, 17, 0.97);
    --surface-hover: rgba(255, 255, 255, 0.06);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
    --scrollbar-track: rgba(255, 255, 255, 0.04);
    --scrollbar-thumb: rgba(255, 255, 255, 0.18);
    --scrollbar-thumb-hover: rgba(255, 255, 255, 0.35);
}

/* WordPress Admin Bar Compatibility */
body.admin-bar {
    --admin-bar-h: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar {
        --admin-bar-h: 46px;
    }
}
@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed !important;
    }
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.body-dark {
    background: var(--dark);
    overflow: hidden;
}
.body-dark .bottom-nav {
    background: rgba(13, 14, 17, 0.92) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.body-dark .bottom-nav-item {
    color: #9ca3af !important;
}
.body-dark .bottom-nav-item.active {
    color: var(--accent) !important;
}
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }
img { display: block; max-width: 100%; }

body, .header, .sidebar, .card, .site-footer, .bottom-nav, .search-box, .row-filter-btn {
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed; top: var(--admin-bar-h); left: 0; right: 0;
    height: var(--header-h);
    background: var(--header-bg);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    z-index: 100;
    border-bottom: 1px solid var(--header-border);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 100%; padding: 0 28px; max-width: 1600px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 2px; }
.logo-text { font-size: 24px; font-weight: 900; letter-spacing: -1px; color: var(--text); }
.logo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-top: -10px; }
.header-center { display: flex; align-items: center; gap: 2px; list-style: none; }
.header-center ul, .header-center li { list-style: none; margin: 0; padding: 0; display: contents; }
.nav-link {
    padding: 7px 16px; font-size: 13.5px; font-weight: 500;
    color: var(--text-secondary); border-radius: 100px;
    transition: all 0.2s ease; white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: var(--surface-hover); }
.nav-link.active { color: var(--text); background: var(--surface-hover); font-weight: 600; }
.header-right { display: flex; align-items: center; gap: 10px; }
.icon-btn {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary); transition: all 0.2s ease;
}
.icon-btn:hover { background: var(--surface-hover); color: var(--text); }

/* Theme Toggle Button & Sun/Moon Icons */
.theme-toggle-btn {
    cursor: pointer;
}
.theme-icon-sun,
.theme-icon-moon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}
:root .theme-icon-sun { display: none; }
:root .theme-icon-moon { display: block; }

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

.avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--text); color: var(--bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; cursor: pointer;
}

/* ============================================
   SEARCH
   ============================================ */
.search-overlay {
    position: fixed; inset: 0;
    background: var(--search-overlay-bg);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 200;
    display: flex; flex-direction: column; align-items: center; padding-top: 120px;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-box {
    width: 100%; max-width: 560px;
    display: flex; align-items: center; gap: 12px;
    padding: 14px 20px; background: var(--surface);
    border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
}
.search-box svg { color: var(--text-muted); flex-shrink: 0; }
.search-box input {
    flex: 1; border: none; background: none;
    font-size: 16px; font-family: var(--font); color: var(--text); outline: none;
}
.search-box input::placeholder { color: var(--text-muted); }
.search-box kbd {
    padding: 3px 8px; font-size: 11px; font-family: var(--font);
    color: var(--text-muted); background: var(--bg);
    border-radius: 6px; border: 1px solid var(--border);
}
.search-results { width: 100%; max-width: 560px; margin-top: 14px; max-height: 60vh; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.search-result-item {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px; border-radius: 12px; cursor: pointer;
    background: var(--surface); border: 1px solid var(--border);
    transition: all 0.15s ease;
}
.search-result-item:hover { background: var(--surface-hover); border-color: var(--accent); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.search-result-left { display: flex; flex-direction: column; gap: 3px; }
.search-result-item .sr-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--accent); }
.search-result-item .sr-title { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.35; }
.search-result-item .sr-meta { font-size: 11px; color: var(--text-muted); }
.search-result-badge { padding: 4px 8px; border-radius: 6px; background: var(--bg); font-size: 10px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; }
.search-empty { padding: 24px; text-align: center; color: var(--text-muted); font-size: 14px; }

/* ============================================
   MAIN / CARD ROWS
   ============================================ */
.main {
    padding-top: calc(var(--header-h) + var(--admin-bar-h) + 12px);
    min-height: 100vh;
    height: auto;
    display: flex; flex-direction: column;
    gap: 16px; position: relative;
    padding-bottom: 32px;
}

/* Content Wrap — sidebar + rows side by side */
.content-wrap {
    display: flex; gap: 16px; align-items: flex-start;
}
.content-rows {
    display: flex; flex-direction: column; gap: 16px; flex: 1; min-width: 0;
}

/* ============================================
   SIDEBAR — Editör Seçkisi
   ============================================ */
.sidebar {
    width: 280px; flex-shrink: 0;
    display: flex; flex-direction: column;
    border-radius: 16px; overflow: hidden;
    position: sticky; top: calc(var(--header-h) + var(--admin-bar-h) + 12px);
    background: var(--surface);
    height: 590px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin 0.35s ease, transform 0.35s ease;
}
.sidebar.collapsed {
    width: 0; opacity: 0; margin-right: -16px; pointer-events: none; transform: translateX(-20px);
}

/* Sidebar Reopen Floating Tab */
.sidebar-reopen-tab {
    display: none;
    position: sticky; top: calc(var(--header-h) + var(--admin-bar-h) + 12px);
    width: 36px; height: 160px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 8px;
    padding: 10px 4px;
    z-index: 90;
    transition: all 0.2s ease;
    color: var(--text-secondary);
}
.sidebar-reopen-tab:hover {
    background: var(--accent-light);
    color: var(--accent);
    border-color: rgba(232, 93, 44, 0.3);
}
.sidebar-reopen-tab .tab-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.sidebar.collapsed + .sidebar-reopen-tab {
    display: flex;
}

.sidebar-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px 10px; flex-shrink: 0;
}
.sidebar-label {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.8px; color: var(--text-muted);
}
.sidebar-toggle {
    width: 26px; height: 26px; border-radius: 7px;
    border: none; background: rgba(0,0,0,0.05);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--text-muted);
    transition: all 0.2s ease;
}
.sidebar-toggle:hover {
    background: rgba(0,0,0,0.1); color: var(--text);
}

/* Sidebar Slider Container */
.sidebar-slider {
    flex: 1; position: relative; display: flex; flex-direction: column;
    margin: 0 10px 10px; overflow: hidden; border-radius: 12px;
}
.sidebar-slides {
    position: relative; width: 100%; height: 100%; flex: 1;
}
.sidebar-slide {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.sidebar-slide.active {
    opacity: 1; visibility: visible; pointer-events: auto;
}

/* Sidebar Slide Controls / Dots */
.sidebar-controls {
    position: absolute; top: 12px; left: 12px; right: 12px;
    display: flex; align-items: center; justify-content: space-between;
    z-index: 10; pointer-events: none;
}
.sidebar-dots {
    display: flex; align-items: center; gap: 5px; pointer-events: auto;
}
.sidebar-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer; transition: all 0.25s ease;
}
.sidebar-dot.active {
    width: 18px; border-radius: 10px; background: #fff;
}
.sidebar-arrows {
    display: flex; align-items: center; gap: 4px; pointer-events: auto;
}
.sidebar-arrow-btn {
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(0,0,0,0.4); backdrop-filter: blur(6px);
    color: #fff; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s ease;
}
.sidebar-arrow-btn:hover { background: rgba(0,0,0,0.7); }

/* Sidebar Card */
.sidebar-card {
    width: 100%; height: 100%;
    position: relative; cursor: pointer; display: block;
    border-radius: 12px; overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.35s ease;
}
.sidebar-card:hover { transform: scale(1.01); }
.sidebar-card .card-bg {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.sidebar-card:hover .card-bg { transform: scale(1.06); }
.sidebar-card .card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.05) 70%, transparent 100%);
}
.sidebar-card .card-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 20px 18px; color: #fff;
}
.sidebar-card .card-cat {
    display: inline-block; font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--accent); margin-bottom: 8px;
}
.sidebar-card .card-title {
    font-size: 18px; font-weight: 700; line-height: 1.35;
    letter-spacing: -0.3px; margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.sidebar-card .card-source {
    font-size: 12px; color: rgba(255,255,255,0.65);
}

.card-row {
    display: flex; flex-direction: column; gap: 8px;
}

.card-row-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 28px;
}
.card-row-header-left {
    display: flex; align-items: center; gap: 12px;
}
.card-row-header-right {
    display: flex; align-items: center; gap: 8px;
}

/* Row Nav Buttons (Desktop Arrow Scroll) */
.row-nav-btns {
    display: flex; align-items: center; gap: 6px;
}
.row-nav-btn {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary); cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}
.row-nav-btn:hover {
    background: var(--accent-light);
    color: var(--accent);
    border-color: rgba(232, 93, 44, 0.3);
    transform: translateY(-1px);
}
.row-nav-btn:active { transform: translateY(0); }

.card-row-title {
    font-size: 17px; font-weight: 700; letter-spacing: -0.3px; color: var(--text);
}

.card-row-date {
    font-size: 12px; font-weight: 500; color: var(--text-muted);
}

.card-row-badge {
    padding: 3px 10px; background: var(--accent); color: #fff;
    border-radius: 100px; font-size: 10px; font-weight: 700;
    letter-spacing: 0.5px;
}

.card-row-title-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 2px 7px;
    border-radius: 6px;
    vertical-align: middle;
    margin-right: 6px;
}

.row-cat-all-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    margin-left: 12px;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.row-cat-all-link:hover {
    opacity: 0.8;
    transform: translateX(2px);
}

/* Row Pills (Odak Time Period Tabs) */
.row-pills {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(0, 0, 0, 0.04);
    padding: 3px;
    border-radius: 100px;
    border: 1px solid var(--border);
}
.row-pill {
    background: transparent;
    border: none;
    padding: 4px 12px;
    border-radius: 100px;
    font-family: var(--font);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.row-pill:hover {
    color: var(--text);
}
.row-pill.active {
    background: var(--surface);
    color: var(--accent);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Row Filter Dropdown */
.row-filter {
    position: relative;
}
.row-filter-btn {
    display: flex; align-items: center; gap: 5px;
    padding: 5px 12px; border: 1px solid var(--border);
    background: var(--surface); border-radius: 100px;
    font-family: var(--font); font-size: 12px; font-weight: 500;
    color: var(--text-secondary); cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.row-filter-btn:hover {
    border-color: var(--text-muted); color: var(--text);
}
.row-filter-btn svg {
    transition: transform 0.2s ease;
}
.row-filter.open .row-filter-btn svg {
    transform: rotate(180deg);
}
.row-filter-dropdown {
    position: absolute; top: calc(100% + 6px); left: 0; z-index: 100;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; padding: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    min-width: 140px;
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: all 0.2s ease;
}
.row-filter.open .row-filter-dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.row-filter-option {
    display: block; width: 100%; text-align: left;
    padding: 8px 12px; border: none; background: none;
    font-family: var(--font); font-size: 12px; font-weight: 500;
    color: var(--text-secondary); cursor: pointer;
    border-radius: 8px; transition: all 0.15s ease;
}
.row-filter-option:hover {
    background: rgba(0,0,0,0.04); color: var(--text);
}
.row-filter-option.active {
    color: var(--accent); font-weight: 600;
}

.card-track {
    display: flex; gap: var(--card-gap); padding: 0 28px 10px;
    height: 280px;
    align-items: center; overflow-x: auto; overflow-y: hidden;
    transition: opacity 0.25s ease;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    cursor: grab; -webkit-user-select: none; user-select: none;
    scroll-padding-left: 28px;
    /* native momentum scroll on iOS */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    /* Standart W3C Scrollbar (Firefox vb.) */
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}
.card-track.is-loading {
    opacity: 0.45;
    pointer-events: none;
}
.card-track-empty {
    display: flex; align-items: center; justify-content: center;
    width: 100%; min-width: 280px; height: 180px;
    color: var(--text-muted); font-size: 13px; font-weight: 500;
    background: rgba(0,0,0,0.02); border-radius: var(--radius-card);
    border: 1px dashed var(--border);
}
.card-track.grabbing { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.card-track .card { scroll-snap-align: start; flex-shrink: 0; }

/* ─── Şık, Zarif ve Göz Yormayan Yatay Scrollbar ─── */
.card-track::-webkit-scrollbar {
    height: 5px;
}
.card-track::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 999px;
    margin: 0 28px;
}
.card-track::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 999px;
    transition: background 0.2s ease;
}
.card-track::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

.scroll-hint {
    position: absolute; right: 32px; top: 50%; transform: translateY(-50%);
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 500; color: var(--text-muted);
    background: rgba(255,255,255,0.8); backdrop-filter: blur(10px);
    padding: 8px 16px; border-radius: 100px; border: 1px solid var(--border);
    z-index: 10; pointer-events: none;
    transition: opacity 0.5s ease;
    animation: hintPulse 2s ease-in-out infinite;
}
.scroll-hint.hidden { opacity: 0; }
@keyframes hintPulse {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(-4px); }
}
.scroll-indicator {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    width: 120px; height: 4px; background: rgba(0,0,0,0.08);
    border-radius: 2px; z-index: 50; display: none;
}
.scroll-thumb { height: 100%; width: 30px; background: var(--accent); border-radius: 2px; }

/* ============================================
   CARDS
   ============================================ */
.card {
    flex-shrink: 0; height: 260px; border-radius: var(--radius);
    overflow: hidden; position: relative; cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.35s ease;
    scroll-snap-align: start;
}
.card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }
.card.wide { width: 360px; }
.card.medium { width: 280px; }
.card.narrow { width: 240px; }
.card.big { width: 420px; height: 260px; }

/* Image Card */
.card--image { background: var(--dark); }
.card--image .card-bg {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.card--image:hover .card-bg { transform: scale(1.06); }
.card--image .card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 45%, rgba(0,0,0,0.05) 70%, transparent 100%);
}
.card--image .card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; color: #fff; }
.card--image .card-cat { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 8px; }
.card--image .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.5px;
    text-shadow: 0 0 12px black;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card--image .card-source { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 8px; }
.card--image .card-play {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(255,255,255,0.95);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.card--image .card-play svg { color: var(--dark); margin-left: 3px; }
.card--image:hover .card-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.card--image .card-duration {
    position: absolute; top: 16px; right: 16px;
    padding: 4px 10px; background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px); border-radius: 6px;
    font-size: 11px; font-weight: 600; color: #fff;
    display: flex; align-items: center; gap: 4px;
}

/* Gradient / Text Card */
.card--gradient {
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 28px; color: #fff;
}
.card--gradient .card-bg-gradient { position: absolute; inset: 0; }
.card--gradient .card-content { position: relative; z-index: 2; }
.card--gradient .card-big-number { font-size: 56px; font-weight: 900; letter-spacing: -2px; line-height: 1; margin-bottom: 8px; }
.card--gradient .card-stat-label { font-size: 15px; font-weight: 500; opacity: 0.85; line-height: 1.4; }

/* Solid Color Card */
.card--solid { display: flex; flex-direction: column; justify-content: space-between; padding: 24px; }
.card--solid .card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.card--solid .card-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; opacity: 0.6; }
.card--solid .card-time { font-size: 12px; font-weight: 500; opacity: 0.5; }
.card--solid .card-title { font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -0.5px; }

.card--dark { background: var(--dark); color: #fff; }
.card--coral { background: linear-gradient(135deg, #ff6b6b, #ee5a24); color: #fff; }
.card--ocean { background: linear-gradient(135deg, #0984e3, #6c5ce7); color: #fff; }
.card--mint { background: linear-gradient(135deg, #00b894, #00cec9); color: #fff; }
.card--sunset { background: linear-gradient(135deg, #fdcb6e, #e17055); color: #fff; }
.card--lavender { background: linear-gradient(135deg, #a29bfe, #6c5ce7); color: #fff; }
.card--slate { background: #2d3436; color: #fff; }

/* Column / Köşe Yazısı Card */
.card--column {
    background: var(--surface); color: var(--text);
    display: flex; flex-direction: column; justify-content: space-between;
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.card--column .col-top {
    display: flex; align-items: center; gap: 12px;
    padding: 22px 22px 0;
}
.card--column .col-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0;
}
.card--column .col-author {
    font-family: 'Lora', 'Georgia', serif;
    font-size: 13px; font-weight: 700; color: var(--text);
    line-height: 1.2;
    letter-spacing: 0.2px;
}
.card--column .col-author-sub {
    font-size: 11px; font-weight: 400; color: var(--text-muted);
    margin-top: 2px;
    font-family: var(--font);
}
.card--column .col-body {
    padding: 16px 22px 0; flex: 1;
    display: flex; flex-direction: column;
}
.card--column .col-title {
    font-family: 'Lora', 'Georgia', serif;
    font-size: 17px; font-weight: 700; line-height: 1.35;
    letter-spacing: -0.1px; color: var(--text);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card--column .col-excerpt {
    font-family: 'Lora', 'Georgia', serif;
    font-size: 13px; line-height: 1.6; color: var(--text-secondary);
    margin-top: 10px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    font-style: italic;
}
.card--column .col-footer {
    padding: 14px 22px 18px;
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.card--column .col-source {
    font-size: 11px; font-weight: 500; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.card--column .col-read-time {
    font-size: 11px; font-weight: 500; color: var(--accent);
}

/* ============================================
   FLOATING LABELS ROW
   ============================================ */
.float-row {
    position: relative;
    padding: 24px 0 8px;
    overflow: hidden;
}

.float-fade-left,
.float-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 5;
    pointer-events: none;
}

.float-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}

.float-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

.float-row:hover .float-track,
.float-track:hover {
    animation-play-state: paused;
}

.float-track {
    display: flex;
    gap: 32px;
    width: max-content;
    animation: floatScroll 30s linear infinite;
}

.float-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.float-label:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--surface);
    transform: translateY(-2px);
}

.float-icon {
    font-size: 6px;
    color: var(--accent);
}

@keyframes floatScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


.card-odak {
    position: absolute; top: 16px; left: 16px;
    display: flex; align-items: center; gap: 5px;
    padding: 4px 10px; background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-radius: 100px; font-size: 11px; font-weight: 700;
    letter-spacing: 0.8px; color: #fff; text-transform: uppercase;
}
.card-odak::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: #fff; animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ============================================
   BOTTOM NAV
   ============================================ */
.bottom-nav {
    display: none; position: fixed; bottom: 0; left: 0; right: 0;
    height: 64px; background: var(--bottom-nav-bg);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--header-border); z-index: 90;
    justify-content: space-around; align-items: center; padding: 0 16px;
}
.bottom-nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 6px 16px; color: var(--text-muted); font-size: 10px;
    font-weight: 500; border-radius: 12px; transition: all 0.2s ease;
}
.bottom-nav-item.active { color: var(--accent); }
.bottom-nav-item:hover { color: var(--text); }

/* ============================================
   SHORTS VIEWER
   ============================================ */
.shorts-viewer {
    position: fixed; inset: 0; background: var(--dark);
    z-index: 2000; opacity: 0; visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.shorts-viewer.active { opacity: 1; visibility: visible; }

/* Progress */
.shorts-progress {
    position: absolute; top: calc(var(--admin-bar-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0;
    height: 3px; background: rgba(255,255,255,0.15); z-index: 10;
}
.shorts-progress-bar {
    height: 100%; background: var(--accent); width: 0%;
    transition: width 0.1s linear; border-radius: 0 2px 2px 0;
}

/* Top Bar */
.shorts-topbar {
    position: absolute; top: calc(var(--admin-bar-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px max(20px, env(safe-area-inset-right, 20px)) 14px max(20px, env(safe-area-inset-left, 20px)); z-index: 15;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%);
}
.shorts-back {
    display: flex; align-items: center; gap: 8px;
    color: #fff; font-size: 14px; font-weight: 500;
    padding: 8px 16px; border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.12); backdrop-filter: blur(10px);
    transition: var(--transition);
}
.shorts-back:hover { background: rgba(255,255,255,0.22); }

.shorts-topbar-right {
    display: flex; align-items: center; gap: 10px;
}
.shorts-icon-pill {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    height: 38px; padding: 0 14px; border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.12); backdrop-filter: blur(10px);
    color: #fff; font-size: 13px; font-weight: 600;
    transition: var(--transition); cursor: pointer; border: 1px solid rgba(255,255,255,0.1);
}
.shorts-icon-pill:hover { background: rgba(255,255,255,0.22); }
.shorts-icon-pill.active { background: var(--accent); border-color: var(--accent); }

/* Pause Indicator */
.shorts-pause-badge {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(0,0,0,0.65); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff; padding: 14px 22px; border-radius: 100px;
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 600; z-index: 20;
    opacity: 0; pointer-events: none;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.shorts-pause-badge.visible {
    opacity: 1; transform: translate(-50%, -50%) scale(1);
}

/* Slides */
.shorts-slides {
    width: 100%; height: 100%; overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none; -ms-overflow-style: none;
    user-select: none; -webkit-user-select: none;
}
.shorts-slides::-webkit-scrollbar { display: none; }

.shorts-slide {
    width: 100%; height: 100vh; height: 100dvh; scroll-snap-align: start;
    position: relative; display: flex; align-items: flex-end;
}
.shorts-slide-bg { 
    position: absolute; 
    inset: 0; 
    overflow: hidden; 
    background: #080b10;
}

/* 1. Ambient Blur Layer (Arka planda atmosferik derinlik ve renk) */
.shorts-ambient-layer {
    position: absolute;
    inset: -30px;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}
.shorts-img-ambient,
.shorts-video-ambient {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(80px) brightness(0.28) saturate(1.45);
    transform: scale(1.35);
    opacity: 0.9;
}

/* 2. Top-Hero Media (Üste hizalı, ekranın %140'ı dolgunluğunda, tam görsel ve altta yumuşak eriyen fade) */
.shorts-hero-media {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: clamp(280px, 42vh, 420px);
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
    /* Altta yumuşacık eriyen fade maskesi */
    mask-image: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,1) 62%, 
        rgba(0,0,0,0.85) 78%, 
        rgba(0,0,0,0.2) 92%, 
        rgba(0,0,0,0) 100%
    );
    -webkit-mask-image: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,1) 62%, 
        rgba(0,0,0,0.85) 78%, 
        rgba(0,0,0,0.2) 92%, 
        rgba(0,0,0,0) 100%
    );
}

/* Video durumunda tam dikey sahne */
.shorts-hero-media.shorts-hero-media--video {
    height: 100vh !important;
    height: 100dvh !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
}

.shorts-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform-origin: center top;
    will-change: transform;
}

/* Başlangıç pozisyonları (%140 ölçek ve Ken Burns yatay kayma payı) */
.shorts-hero-img.pan-ltr {
    transform: scale(1.38) translate3d(5.2%, 0px, 0);
}

.shorts-hero-img.pan-rtl {
    transform: scale(1.38) translate3d(-5.2%, 0px, 0);
}

/* Slayt aktif değilken animasyonu sıfırla */
.shorts-slide:not(.is-active) .shorts-hero-img.cinematic-pan {
    animation: none !important;
}

/* Slayt aktif olduğunda animasyonu başlat */
.shorts-slide.is-active .shorts-hero-img.cinematic-pan.pan-ltr {
    animation: cinematicPanLTR 18s cubic-bezier(0.2, 0, 0.2, 1) forwards !important;
}

.shorts-slide.is-active .shorts-hero-img.cinematic-pan.pan-rtl {
    animation: cinematicPanRTL 18s cubic-bezier(0.2, 0, 0.2, 1) forwards !important;
}

/* Duraklatıldığında görsel animasyonunu dondur */
.shorts-wrapper.is-paused .shorts-hero-img {
    animation-play-state: paused !important;
}

/* Soldan Sağa Sinematik Kayış (%140 Ken Burns LTR) */
@keyframes cinematicPanLTR {
    0% {
        transform: scale(1.38) translate3d(5.2%, 0px, 0);
    }
    50% {
        transform: scale(1.41) translate3d(0%, 4px, 0);
    }
    100% {
        transform: scale(1.44) translate3d(-5.2%, 8px, 0);
    }
}

/* Sağdan Sola Sinematik Kayış (%140 Ken Burns RTL) */
@keyframes cinematicPanRTL {
    0% {
        transform: scale(1.38) translate3d(-5.2%, 0px, 0);
    }
    50% {
        transform: scale(1.41) translate3d(0%, 4px, 0);
    }
    100% {
        transform: scale(1.44) translate3d(5.2%, 8px, 0);
    }
}

.shorts-hero-media video.shorts-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    pointer-events: auto;
}

.shorts-hero-media .shorts-video-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}

.shorts-video-error-badge {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    padding: 16px 22px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
    text-align: center;
    max-width: 85%;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* 3. Gradient Katmanı (Alt metinler ve butonlar için kusursuz zemin) */
.shorts-slide-gradient {
    position: absolute; 
    inset: 0;
    background: linear-gradient(to top, 
        #080b10 0%, 
        #080b10 32%, 
        rgba(8, 11, 16, 0.94) 52%, 
        rgba(8, 11, 16, 0.55) 68%, 
        rgba(8, 11, 16, 0.15) 82%, 
        rgba(0, 0, 0, 0.45) 100%
    );
    pointer-events: none;
    z-index: 3;
}

/* 4. Desktop & Tablet Görünüm Standardı (Merkezlenmiş Odak Çerçevesi) */
@media (min-width: 768px) {
    .shorts-slides {
        max-width: 520px;
        margin: 0 auto;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 0 80px rgba(0, 0, 0, 0.9);
        position: relative;
    }
    .shorts-topbar {
        max-width: 520px;
        left: 50% !important;
        transform: translateX(-50%);
    }
    .shorts-progress {
        max-width: 520px;
        left: 50% !important;
        transform: translateX(-50%);
    }
    .shorts-nav {
        right: calc(50% - 330px);
    }
}
@media (min-width: 768px) and (max-width: 900px) {
    .shorts-nav {
        right: 16px;
    }
}

/* Slide Content */
.shorts-slide-content {
    position: relative; z-index: 5; width: 100%;
    padding: 0 max(20px, env(safe-area-inset-right, 20px)) max(96px, calc(80px + env(safe-area-inset-bottom, 0px))) max(20px, env(safe-area-inset-left, 20px));
    display: flex; gap: 20px; align-items: flex-end;
}
.shorts-slide-text { flex: 1; color: #fff; max-width: calc(100% - 70px); }
.shorts-slide-meta {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 8px; font-size: 12px; color: rgba(255,255,255,0.6);
}
.shorts-slide-meta .meta-category { font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--accent); font-size: 11px; }
.shorts-slide-meta .meta-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.shorts-badge-pill {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 10px; border-radius: 100px;
    background: var(--accent); color: #fff;
    font-size: 10.5px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.8px; line-height: 1.3;
    box-shadow: 0 2px 8px rgba(232, 93, 44, 0.4);
}
.shorts-badge-pill::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%;
    background: #fff; animation: pulse 1.8s ease-in-out infinite;
}
.shorts-badge-pill--video {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: none; color: #fff; font-weight: 700;
}
.shorts-badge-pill--video::before { display: none; }
.shorts-slide-title {
    font-size: 30px; font-weight: 700; line-height: 1.2;
    letter-spacing: -0.5px; margin-bottom: 14px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    transition: font-size 0.5s ease, margin-bottom 0.5s ease, opacity 0.5s ease;
}
.shorts-slide-title.shrunk {
    font-size: 18px;
    margin-bottom: 10px;
    opacity: 0.7;
}
.shorts-slide-sentence {
    font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.8);
    min-height: 48px; transition: font-size 0.5s ease, transform 0.5s ease, opacity 0.4s ease;
}
.shorts-slide-sentence.grown {
    font-size: 22px; line-height: 1.5;
    color: #fff; font-weight: 500;
}
.shorts-slide-sentence.fade-out { opacity: 0; transform: translateY(8px); }

/* Sentence lines container */
.shorts-sentences {
    display: flex; flex-direction: column; gap: 8px;
}
.shorts-sentences .sentence-line {
    padding: 8px 14px;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.88);
    transition: all 0.35s ease;
    opacity: 0.75; transform: translateY(0);
}
.shorts-sentences .sentence-line.visible {
    opacity: 0.85; transform: translateY(0);
}
.shorts-sentences .sentence-line.active {
    font-size: 19px; color: #fff; font-weight: 600;
    opacity: 1;
    background: rgba(0,0,0,0.75);
    border-left: 3px solid var(--accent);
}

/* Action Bar */
.shorts-action-bar { 
    display: flex; flex-direction: column; align-items: center; gap: 20px; 
    padding-bottom: max(8px, env(safe-area-inset-bottom, 0px)); 
}
.shorts-action-item {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    color: #fff; cursor: pointer; transition: var(--transition);
}
.shorts-action-item:hover { transform: scale(1.1); }
.shorts-action-icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; transition: var(--transition);
}
.shorts-action-item:hover .shorts-action-icon { background: rgba(255,255,255,0.2); }
.shorts-action-icon.bookmarked { background: var(--accent); }
.shorts-action-count { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.7); }

/* Summary CTA */
.shorts-summary-cta { 
    position: absolute; 
    bottom: max(20px, calc(14px + env(safe-area-inset-bottom, 0px))); 
    left: max(20px, calc(16px + env(safe-area-inset-left, 0px))); 
    right: max(80px, calc(80px + env(safe-area-inset-right, 0px))); 
    z-index: 10; 
}
.summary-cta-btn {
    width: 100%; padding: 14px 24px;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-pill);
    color: #fff; font-size: 14px; font-weight: 600; font-family: inherit;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: var(--transition); cursor: pointer;
}
.summary-cta-btn:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.25); }
.summary-cta-btn svg { transition: transform 0.3s ease; }
.summary-cta-btn:hover svg { transform: translateY(2px); }

/* Nav Arrows */
.shorts-nav {
    position: absolute; right: 28px;
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px; z-index: 25; transition: var(--transition);
    cursor: pointer;
}
.shorts-nav:hover { background: rgba(255,255,255,0.28); transform: scale(1.1); }
.shorts-nav-up { top: calc(50% - 60px); }
.shorts-nav-down { top: calc(50% + 10px); }

/* ============================================
   SUMMARY PANEL
   ============================================ */
.summary-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 3000; opacity: 0; visibility: hidden; transition: var(--transition);
}
.summary-overlay.active { opacity: 1; visibility: visible; }
.summary-panel {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--surface); border-radius: 20px 20px 0 0;
    z-index: 3100; transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.32,0.72,0,1);
    max-height: 85vh; overflow-y: auto;
}
.summary-panel.active { transform: translateY(0); }
.summary-handle { width: 36px; height: 4px; border-radius: 2px; background: var(--border); margin: 12px auto 0; }
.summary-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px 0; }
.summary-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-secondary); }
.summary-close {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: var(--text-secondary); transition: var(--transition);
}
.summary-close:hover { background: var(--bg); color: var(--text); }
.summary-body { padding: 20px 24px; }
.summary-text { font-size: 17px; line-height: 1.65; color: var(--text); font-weight: 400; }
.summary-sources { padding: 0 24px 16px; border-top: 1px solid var(--border); padding-top: 16px; }
.summary-sources-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 8px; }
.summary-sources-list { display: flex; flex-wrap: wrap; gap: 8px; }
.source-tag { padding: 5px 12px; background: var(--bg); border-radius: var(--radius-pill); font-size: 12px; font-weight: 500; color: var(--text-secondary); }
.summary-actions { padding: 0 24px 24px; }
.summary-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; background: var(--accent); color: #ffffff !important;
    border-radius: var(--radius-pill); font-size: 14px; font-weight: 600;
    transition: var(--transition); text-decoration: none;
}
.summary-cta svg {
    color: #ffffff;
    stroke: #ffffff;
    transition: transform 0.2s ease;
}
.summary-cta:hover {
    background: #d44d1e;
    color: #ffffff !important;
    transform: translateX(2px);
}
.summary-cta:hover svg {
    transform: translateX(3px);
}

/* ============================================
   COMMENTS DRAWER (YOUTUBE SHORTS STYLE)
   ============================================ */
.comments-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 3000; opacity: 0; visibility: hidden; transition: var(--transition);
}
.comments-overlay.active { opacity: 1; visibility: visible; }
.comments-panel {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--surface); border-radius: 20px 20px 0 0;
    z-index: 3100; transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.32,0.72,0,1);
    height: 70vh; max-height: 600px; display: flex; flex-direction: column;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
}
.comments-panel.active { transform: translateY(0); }
.comments-handle { width: 36px; height: 4px; border-radius: 2px; background: var(--border); margin: 12px auto 0; flex-shrink: 0; }
.comments-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.comments-title { font-size: 14px; font-weight: 700; color: var(--text); }
.comments-count { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.comments-close {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: var(--text-secondary); transition: var(--transition);
}
.comments-close:hover { background: var(--bg); color: var(--text); }
.comments-body {
    flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 14px;
}
.comment-item { display: flex; gap: 12px; align-items: flex-start; }
.comment-avatar {
    width: 32px; height: 32px; border-radius: 50%; background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; color: var(--accent); flex-shrink: 0;
}
.comment-content-wrap { flex: 1; min-width: 0; }
.comment-author-row { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.comment-author { font-size: 12.5px; font-weight: 600; color: var(--text); }
.comment-time { font-size: 11px; color: var(--text-muted); }
.comment-text { font-size: 13.5px; line-height: 1.45; color: var(--text); word-break: break-word; }
.comments-empty {
    margin: auto; text-align: center; padding: 30px 20px;
}
.comments-empty-icon { font-size: 36px; margin-bottom: 8px; }
.comments-empty-text { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.comments-empty-sub { font-size: 13px; color: var(--text-secondary); }
.comments-loading { text-align: center; padding: 30px; font-size: 13px; color: var(--text-muted); }
.comments-form {
    display: flex; align-items: center; gap: 10px; padding: 12px 16px;
    border-top: 1px solid var(--border); background: var(--surface); flex-shrink: 0;
}
.comments-input {
    flex: 1; height: 40px; border-radius: 100px; border: 1px solid var(--border);
    padding: 0 16px; font-size: 13px; font-family: inherit; color: var(--text);
    background: var(--bg); outline: none; transition: border-color 0.2s;
}
.comments-input:focus { border-color: var(--text); background: var(--surface); }
.comments-submit-btn {
    width: 40px; height: 40px; border-radius: 50%; background: var(--accent);
    color: #fff; display: flex; align-items: center; justify-content: center;
    transition: transform 0.2s, background 0.2s; flex-shrink: 0;
}
.comments-submit-btn:hover { background: #d44d1e; transform: scale(1.05); }

@media (min-width: 900px) {
    .comments-panel {
        left: auto; right: 28px; bottom: 28px; width: 380px; height: 600px;
        border-radius: 20px; transform: translateX(120%);
    }
    .comments-panel.active { transform: translateX(0); }
    .comments-handle { display: none; }
}

/* ============================================
   MOBILE FEATURED CARD
   ============================================ */
.mobile-featured {
    display: none;
}

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 1024px) {
    .header-center { display: none; }
    .card { height: 240px; }
    .card.big { height: 240px; width: 380px; }
    .card.wide { width: 320px; }
    .shorts-nav { display: flex; }
    .sidebar { width: 220px; }
    .sidebar-card .card-title { font-size: 15px; }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 768px) {
    :root { --header-h: 54px; --card-gap: 10px; }

    /* ── Body / Root containment ─────────────── */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* ── Header ──────────────────────────────── */
    .header-inner { padding: 0 16px; }
    .header-center { display: none; }
    .logo-text { font-size: 20px; }

    /* ── Main layout ─────────────────────────── */
    .main {
        min-height: 100svh;
        height: auto;
        padding-top: calc(var(--header-h) + var(--admin-bar-h) + 10px);
        padding-bottom: 80px;
        gap: 12px;
        overflow-x: hidden;
    }

    .content-wrap {
        flex-direction: column;
        gap: 0;
        overflow: hidden; /* ← stops card-track from bleeding out */
        width: 100%;
    }

    .content-rows {
        width: 100%;
        overflow: hidden;
    }

    /* ── Sidebar → hidden on mobile ──────────── */
    .sidebar { display: none; }

    /* ── Mobile featured card ────────────────── */
    .mobile-featured {
        display: block;
        margin: 0 16px;
        border-radius: 14px;
        overflow: hidden;
        position: relative;
        cursor: pointer;
        height: 150px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .mobile-featured:active { transform: scale(0.98); }
    .mobile-featured .mf-bg {
        position: absolute; inset: 0;
        width: 100%; height: 100%; object-fit: cover;
    }
    .mobile-featured .mf-overlay {
        position: absolute; inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.35) 55%, transparent 100%);
    }
    .mobile-featured .mf-content {
        position: absolute; inset: 0;
        display: flex; flex-direction: column; justify-content: flex-end;
        padding: 14px 16px; color: #fff;
    }
    .mobile-featured .mf-badge {
        display: inline-flex; align-items: center; gap: 5px;
        font-size: 10px; font-weight: 700; text-transform: uppercase;
        letter-spacing: 0.8px; color: var(--accent); margin-bottom: 4px;
    }
    .mobile-featured .mf-badge svg { width: 12px; height: 12px; }
    .mobile-featured .mf-title {
        font-size: 14px; font-weight: 700; line-height: 1.35; color: #fff;
        display: -webkit-box; -webkit-line-clamp: 2;
        -webkit-box-orient: vertical; overflow: hidden;
    }
    .mobile-featured .mf-source {
        font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 4px;
    }

    /* ── Card rows ───────────────────────────── */
    .card-row {
        gap: 8px;
        overflow: hidden; /* contain card-track horizontal scroll */
    }
    .card-row-header { padding: 0 16px; }
    .card-row-title { font-size: 14px; }
    .row-pills { gap: 2px; padding: 2px; }
    .row-pill { padding: 3px 8px; font-size: 10px; }
    .row-filter-btn { padding: 4px 10px; font-size: 11px; }

    /* ── Card track: native touch scroll + snap ── */
    .card-track {
        height: 190px;
        padding: 0 16px 6px;
        gap: 10px;
        overflow-x: scroll;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        overscroll-behavior-x: contain;
        /* disable drag cursor & user-select on touch */
        cursor: default;
        user-select: auto;
        -webkit-user-select: auto;
        scroll-padding-left: 16px;
    }
    .card-track::-webkit-scrollbar { display: none; }

    /* ── Card sizes ──────────────────────────── */
    .card         { height: 180px; width: 200px; border-radius: 14px; }
    .card.big     { width: 260px;  height: 180px; }
    .card.wide    { width: 240px;  height: 180px; }
    .card.medium  { width: 200px;  height: 180px; }
    .card.narrow  { width: 180px;  height: 180px; }

    /* ── Card inner typography ───────────────── */
    .card--image .card-content { padding: 14px; }
    .card--image .card-cat { font-size: 9px; margin-bottom: 5px; }
    .card--image .card-title { font-size: 14px; line-height: 1.2; text-shadow: 0 0 10px black; }
    .card--image .card-source { font-size: 10px; margin-top: 5px; }

    .card--gradient { padding: 20px; }
    .card--gradient .card-big-number { font-size: 30px; letter-spacing: -1px; margin-bottom: 5px; }
    .card--gradient .card-stat-label { font-size: 11px; }
    .card--gradient .card-content { padding: 0; }

    .card--solid { padding: 16px; }
    .card--solid .card-title { font-size: 14px; }

    .card--column .col-top { padding: 12px 12px 0; gap: 8px; }
    .card--column .col-avatar { width: 28px; height: 28px; }
    .card--column .col-author { font-size: 11px; }
    .card--column .col-body { padding: 8px 12px 0; }
    .card--column .col-title { font-size: 12px; }
    .card--column .col-excerpt { font-size: 10px; margin-top: 4px; }
    .card--column .col-footer { padding: 8px 12px 10px; }
    .card--column .col-source, .card--column .col-read-time { font-size: 9px; }

    /* card-odak badge */
    .card-odak { top: 10px; left: 10px; padding: 4px 10px; font-size: 9px; }

    /* ── Bottom nav ──────────────────────────── */
    .bottom-nav {
        display: flex;
        position: fixed; bottom: 0; left: 0; right: 0;
        height: auto;
        min-height: 60px;
        background: var(--bottom-nav-bg);
        backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--header-border);
        z-index: 150;
        justify-content: space-around; align-items: center;
        padding-bottom: max(6px, env(safe-area-inset-bottom, 0px));
    }
    .bottom-nav-item {
        display: flex; flex-direction: column; align-items: center; gap: 2px;
        padding: 6px 12px; color: var(--text-muted); font-size: 10px;
        font-weight: 600; border-radius: 12px; background: none; border: none; cursor: pointer;
        text-decoration: none;
    }
    .bottom-nav-item.active { color: var(--accent); }

    [data-theme="dark"] .bottom-nav {
        background: var(--bottom-nav-bg);
        border-top-color: var(--header-border);
    }
    [data-theme="dark"] .bottom-nav-item {
        color: var(--text-muted);
    }
    [data-theme="dark"] .bottom-nav-item.active {
        color: var(--accent);
    }

    /* ── Misc ────────────────────────────────── */
    .scroll-hint { display: none; }
    .float-row { padding: 6px 0; }
    .float-track { gap: 16px; animation-duration: 25s; }
    .float-label { font-size: 11px; padding: 6px 14px; }
    .float-fade-left, .float-fade-right { width: 60px; }
    .row-nav-btns { display: none; }

    /* ── Shorts / single page ────────────────── */
    .shorts-nav { display: none; }
    .shorts-slide-content { padding: 0 16px max(110px, calc(env(safe-area-inset-bottom) + 90px)); gap: 14px; }
    .shorts-slide-title { font-size: 24px; }
    .shorts-slide-title.shrunk { font-size: 16px; }
    .shorts-sentences .sentence-line { font-size: 13px; padding: 6px 12px; }
    .shorts-sentences .sentence-line.active { font-size: 17px; }
    .shorts-action-icon { width: 40px; height: 40px; }
    .shorts-action-bar { bottom: max(20px, env(safe-area-inset-bottom)); }
    .shorts-summary-cta { left: 16px; right: 68px; bottom: max(20px, env(safe-area-inset-bottom)); }
    .summary-cta-btn { padding: 12px 20px; font-size: 13px; }
    .summary-text { font-size: 15px; }

    /* ── Footer mobile ───────────────────────── */
    .site-footer { padding: 36px 16px 90px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============================================
   VIDEO SUPPORT (Shorts & Card Videos)
   ============================================ */
.shorts-video-ambient,
.card-bg-video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
}
.video-badge {
    position: absolute; top: 12px; right: 12px;
    padding: 4px 10px; background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px); border-radius: 6px;
    font-size: 11px; font-weight: 700; color: #fff;
    display: inline-flex; align-items: center; gap: 5px;
    z-index: 5; letter-spacing: 0.5px;
}

/* ============================================
   CARD TRACK GRAB & DRAG
   ============================================ */
.card-track {
    cursor: grab;
}
.card-track.grabbing {
    cursor: grabbing;
    user-select: none;
    -webkit-user-select: none;
}
.card-track.grabbing * {
    user-select: none;
    -webkit-user-select: none;
}

/* ============================================
   SITE FOOTER (Modern, Clean, Accessible)
   ============================================ */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 60px 28px 40px;
    margin-top: 48px;
    position: relative;
    z-index: 10;
}
.footer-inner {
    max-width: 1600px;
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand .footer-logo {
    display: inline-flex; align-items: center; gap: 2px;
    margin-bottom: 14px;
}
.footer-brand .footer-desc {
    font-size: 13.5px; line-height: 1.6; color: var(--text-secondary);
    max-width: 320px; margin-bottom: 20px;
}
.footer-col-title {
    font-size: 13px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.8px; color: var(--text);
    margin-bottom: 16px;
}
.footer-links {
    list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.footer-links a {
    font-size: 13.5px; color: var(--text-secondary);
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: var(--accent);
}
.footer-social-links {
    display: flex; align-items: center; gap: 10px; margin-top: 6px;
}
.footer-social-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--surface-hover);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary); transition: all 0.2s ease;
}
.footer-social-btn:hover {
    background: var(--accent-light);
    color: var(--accent);
    transform: translateY(-2px);
}
.footer-newsletter p {
    font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 12px;
}
.footer-newsletter-form {
    display: flex; gap: 8px;
}
.footer-newsletter-input {
    flex: 1; padding: 10px 14px; font-size: 13px;
    border: 1px solid var(--border); border-radius: 10px;
    background: var(--bg); font-family: inherit; color: var(--text);
}
.footer-newsletter-input:focus { outline: none; border-color: var(--accent); }
.footer-newsletter-btn {
    padding: 10px 16px; background: var(--text); color: var(--bg);
    font-size: 13px; font-weight: 600; border-radius: 10px;
    cursor: pointer; transition: background 0.2s ease; white-space: nowrap;
}
.footer-newsletter-btn:hover { background: var(--accent); }

.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 24px; border-top: 1px solid var(--border);
    font-size: 12.5px; color: var(--text-muted);
}
.footer-bottom-links {
    display: flex; gap: 20px;
}
.footer-bottom-links a { color: var(--text-muted); transition: color 0.2s ease; }
.footer-bottom-links a:hover { color: var(--text); }

/* ============================================
   ACCESSIBILITY & SCREEN READERS
   ============================================ */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ============================================
   FOKAL DOT SPLASH & BRAND REVEAL
   ============================================ */
.fokal-splash {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #0d1117;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}

.fokal-splash-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fokalSplashPulse 0.8s ease-in-out infinite alternate;
}

.fokal-splash-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e63946;
    box-shadow: 0 0 25px #e63946, 0 0 50px rgba(230, 57, 70, 0.4);
    animation: fokalDotGlow 0.8s ease-in-out infinite alternate;
}

.fokal-splash-text {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #ffffff;
    font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

.fokal-splash--reveal {
    opacity: 0;
    transform: scale(1.08);
    pointer-events: none;
}

@keyframes fokalSplashPulse {
    from { transform: scale(0.95); opacity: 0.9; }
    to   { transform: scale(1.03); opacity: 1; }
}

@keyframes fokalDotGlow {
    from { box-shadow: 0 0 15px #e63946; }
    to   { box-shadow: 0 0 35px #e63946, 0 0 70px rgba(230, 57, 70, 0.6); }
}

/* ============================================
   SHORTS HEART BURST (DOUBLE-TAP TO LIKE)
   ============================================ */
.shorts-heart-burst {
    position: fixed;
    width: 90px;
    height: 90px;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    z-index: 99999;
    color: #e63946;
    filter: drop-shadow(0 0 15px rgba(230, 57, 70, 0.8));
    animation: heartBurstAnim 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes heartBurstAnim {
    0% {
        transform: translate(-50%, -50%) scale(0.2);
        opacity: 0.8;
    }
    45% {
        transform: translate(-50%, -50%) scale(1.35);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -75%) scale(1);
        opacity: 0;
    }
}

/* ============================================
   VOICE EQUALIZER BARS (TTS RHYTHM)
   ============================================ */
.voice-equalizer-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 14px;
    vertical-align: middle;
}

.voice-equalizer-bars span {
    width: 3px;
    background: #ffffff;
    border-radius: 2px;
    animation: soundWave 0.7s ease-in-out infinite alternate;
}

.voice-equalizer-bars span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.voice-equalizer-bars span:nth-child(2) { height: 14px; animation-delay: 0.3s; }
.voice-equalizer-bars span:nth-child(3) { height: 8px; animation-delay: 0.2s; }

@keyframes soundWave {
    0%   { height: 4px; }
    100% { height: 14px; }
}

/* ============================================
   PULL-TO-REFRESH SPINNER
   ============================================ */
.fokal-ptr-indicator {
    position: fixed;
    top: calc(var(--header-h, 54px) + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-60px);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(24, 28, 36, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    pointer-events: none;
}

.fokal-ptr-indicator.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.fokal-ptr-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e63946;
    box-shadow: 0 0 12px #e63946;
}

.fokal-ptr-indicator.refreshing .fokal-ptr-dot {
    animation: ptrSpin 0.7s linear infinite;
}

@keyframes ptrSpin {
    from { transform: rotate(0deg) scale(0.9); }
    to   { transform: rotate(360deg) scale(1.15); }
}

/* ============================================
   BOOKMARKS DRAWER (KAYDEDİLENLER ÇEKMECESİ)
   ============================================ */
.bookmarks-drawer {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bookmarks-drawer.active {
    opacity: 1;
    visibility: visible;
}

.bookmarks-drawer-content {
    width: 100%;
    max-height: 80vh;
    background: var(--surface, #181c24);
    border-radius: 20px 20px 0 0;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-bottom: none;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding-bottom: max(20px, env(safe-area-inset-bottom));
}

.bookmarks-drawer.active .bookmarks-drawer-content {
    transform: translateY(0);
}

.bookmarks-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.bookmarks-drawer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text, #fff);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.bookmarks-drawer-close {
    background: none;
    border: none;
    color: var(--text-muted, #9ca3af);
    cursor: pointer;
    padding: 6px;
    font-size: 20px;
    line-height: 1;
}

.bookmarks-drawer-list {
    overflow-y: auto;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bookmark-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text, #fff);
    transition: background 0.15s ease;
}

.bookmark-item:active {
    background: rgba(255, 255, 255, 0.09);
}

.bookmark-item-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    flex: 1;
}

.bookmark-item-cat {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent, #e63946);
    text-transform: uppercase;
}

.bookmarks-empty {
    text-align: center;
    padding: 30px 16px;
    color: var(--text-muted, #9ca3af);
    font-size: 13px;
}

/* ══════════════════════════════════════════════
   PAGINATION (Archive, Category, Search)
   ══════════════════════════════════════════════ */
.fokal-pagination-wrap {
    margin: 40px 0 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}
.fokal-pagination-wrap .pagination,
.fokal-pagination-wrap .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
.fokal-pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--surface, #1e293b);
    color: var(--text, #f8fafc);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.fokal-pagination-wrap .page-numbers:hover {
    background: var(--surface-hover, #334155);
    border-color: var(--accent, #e63946);
    color: #fff;
    transform: translateY(-1px);
}
.fokal-pagination-wrap .page-numbers.current {
    background: var(--accent, #e63946);
    border-color: var(--accent, #e63946);
    color: #fff;
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.35);
    cursor: default;
}
.fokal-pagination-wrap .page-numbers.dots {
    background: transparent;
    border-color: transparent;
    cursor: default;
    color: var(--text-muted, #94a3b8);
}

/* ══════════════════════════════════════════════
   404 ERROR PAGE
   ══════════════════════════════════════════════ */
.page-404-wrap {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}
.page-404-hero {
    max-width: 580px;
    margin: 0 auto 50px;
}
.page-404-glitch {
    font-size: clamp(80px, 14vw, 140px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -4px;
    color: var(--text, #fff);
    margin: 0 0 10px;
    position: relative;
    display: inline-block;
}
.page-404-dot {
    color: var(--accent, #e63946);
}
.page-404-title {
    font-size: clamp(20px, 3.5vw, 28px);
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--text, #fff);
}
.page-404-desc {
    font-size: 15px;
    color: var(--text-muted, #94a3b8);
    line-height: 1.6;
    margin: 0 0 28px;
}
.page-404-search-form {
    margin-bottom: 24px;
    width: 100%;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}
.page-404-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.page-404-search-icon {
    position: absolute;
    left: 16px;
    color: var(--text-muted, #94a3b8);
    pointer-events: none;
}
.page-404-search-input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 48px;
    background: var(--surface, #1e293b);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 999px;
    color: var(--text, #fff);
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}
.page-404-search-input:focus {
    border-color: var(--accent, #e63946);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
}
.page-404-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--accent, #e63946);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.3);
}
.page-404-home-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.45);
    color: #fff;
}
.page-404-rec-section {
    width: 100%;
    max-width: 1000px;
    margin-top: 20px;
    text-align: left;
}
.page-404-rec-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text, #fff);
    text-align: center;
}
.page-404-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.page-404-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    padding: 16px;
    text-decoration: none;
    color: #fff;
    background-color: #1e293b;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.page-404-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
.page-404-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
    pointer-events: none;
}
.page-404-card-body {
    position: relative;
    z-index: 2;
}
.page-404-card-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent, #e63946);
    margin-bottom: 6px;
}
.page-404-card-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    color: #fff;
}

/* ══════════════════════════════════════════════
   FOOTER TELEGRAM BOX
   ══════════════════════════════════════════════ */
.footer-telegram {
    display: flex;
    flex-direction: column;
}
.footer-telegram-desc {
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
    line-height: 1.5;
    margin: 0 0 16px;
}
.footer-actions-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}
.footer-pwa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 20px;
    background: var(--accent, #e85d2c);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(232, 93, 44, 0.3);
    width: fit-content;
    text-decoration: none;
}
.footer-pwa-btn:hover {
    background: var(--accent-hover, #d24e1f);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(232, 93, 44, 0.45);
}
.footer-pwa-btn:active {
    transform: translateY(0);
}
.footer-pwa-btn svg {
    flex-shrink: 0;
}
.footer-telegram-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 20px;
    background: #229ED9;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(34, 158, 217, 0.3);
    width: fit-content;
}
.footer-telegram-btn:hover {
    background: #1b86b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(34, 158, 217, 0.45);
}

/* ══════════════════════════════════════════════
   FOKAL SHARE MODAL
   ══════════════════════════════════════════════ */
.fokal-share-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.fokal-share-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.fokal-share-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.fokal-share-sheet {
    position: relative;
    z-index: 2;
    background: var(--surface, #1e293b);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 480px;
    padding: 20px 24px calc(24px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.fokal-share-modal.active .fokal-share-sheet {
    transform: translateY(0);
}
@media (min-width: 640px) {
    .fokal-share-modal {
        align-items: center;
    }
    .fokal-share-sheet {
        border-radius: 20px;
        padding: 24px;
        transform: scale(0.92);
    }
    .fokal-share-modal.active .fokal-share-sheet {
        transform: scale(1);
    }
}
.fokal-share-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.fokal-share-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text, #fff);
    margin: 0;
}
.fokal-share-close {
    background: none;
    border: none;
    color: var(--text-muted, #94a3b8);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}
.fokal-share-preview {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 20px;
}
.fokal-share-preview-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted, #cbd5e1);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fokal-share-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.fokal-share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 6px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text, #fff) !important;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 11px;
    font-weight: 600;
}
.fokal-share-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}
.fokal-share-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.2s ease;
}
.fokal-share-btn:hover .fokal-share-icon {
    transform: scale(1.08);
}
.fokal-share-wa .fokal-share-icon { background: #25D366; }
.fokal-share-tg .fokal-share-icon { background: #229ED9; }
.fokal-share-tw .fokal-share-icon { background: #000; border: 1px solid rgba(255, 255, 255, 0.2); }
.fokal-share-copy .fokal-share-icon { background: var(--surface-hover, #475569); }

/* ══════════════════════════════════════════════
   MEDIA & SCROLL OPTIMIZATIONS (Performance & Virtualization)
   ══════════════════════════════════════════════ */

/* 1. Offscreen Render Skipping (Zero CPU/GPU cost for offscreen tracks) */
.card-row {
    content-visibility: auto;
    contain-intrinsic-size: 1px 260px;
}
.site-footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 380px;
}

/* 2. Image Skeleton & LQIP Transition */
.card-bg, .cinematic-zoom {
    background-color: var(--surface, #1e293b);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.fokal-lazy-pending {
    opacity: 0.2;
    filter: blur(8px);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 75%);
    background-size: 200% 100%;
    animation: fokalShimmer 1.5s infinite;
}

.fokal-loaded {
    opacity: 1 !important;
    filter: blur(0px) !important;
}

@keyframes fokalShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 3. CLS (Cumulative Layout Shift) Prevention */
.card--image {
    aspect-ratio: 3 / 2;
    contain: layout paint;
}
.shorts-slide-bg {
    width: 100%;
    height: 100%;
}

/* ══════════════════════════════════════════════
   RESPONSIVE FINE-TUNING & ERGONOMICS
   ══════════════════════════════════════════════ */

/* Micro-screens (< 380px, e.g. iPhone SE, compact Android) */
@media (max-width: 380px) {
    .shorts-slide-title {
        font-size: 22px;
        line-height: 1.22;
        margin-bottom: 8px;
    }
    .shorts-slide-sentence {
        font-size: 13.5px;
        min-height: 40px;
    }
    .shorts-slide-sentence.grown {
        font-size: 17px;
    }
    .summary-cta-btn {
        padding: 10px 16px;
        font-size: 12.5px;
    }
    .shorts-action-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    .shorts-action-bar {
        gap: 14px;
    }
    .shorts-topbar .shorts-back {
        padding: 6px 12px;
        font-size: 12.5px;
    }
    .shorts-icon-pill {
        height: 34px;
        padding: 0 10px;
        font-size: 12px;
    }
    .card-title {
        font-size: 14px;
        line-height: 1.25;
    }
}

/* Mobile Landscape Safe Orientation */
@media (orientation: landscape) and (max-height: 520px) {
    .shorts-topbar {
        padding: 8px max(16px, env(safe-area-inset-right, 16px)) 8px max(16px, env(safe-area-inset-left, 16px));
    }
    .shorts-slide-content {
        padding: 0 max(65px, calc(50px + env(safe-area-inset-right, 0px))) 44px max(20px, env(safe-area-inset-left, 20px));
        align-items: flex-end;
    }
    .shorts-slide-title {
        font-size: 18px;
        margin-bottom: 5px;
    }
    .shorts-slide-sentence {
        font-size: 12.5px;
        line-height: 1.35;
        min-height: 32px;
    }
    .shorts-slide-sentence.grown {
        font-size: 15px;
    }
    .shorts-summary-cta {
        bottom: 10px;
        left: max(20px, env(safe-area-inset-left, 20px));
        right: max(65px, calc(50px + env(safe-area-inset-right, 0px)));
    }
    .summary-cta-btn {
        padding: 7px 14px;
        font-size: 11.5px;
    }
    .shorts-action-bar {
        gap: 10px;
        padding-bottom: 4px;
    }
    .shorts-action-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
    .shorts-nav {
        display: none !important;
    }
}

/* ══════════════════════════════════════════════
   SEEN STATE TRACKING ("İzlendi / Okundu" Hafızası)
   ══════════════════════════════════════════════ */
.card.is-seen,
.mobile-featured.is-seen {
    position: relative;
}
.card.is-seen .card-image-wrap img,
.card.is-seen .card-bg-gradient,
.mobile-featured.is-seen .mf-bg {
    filter: saturate(0.82) brightness(0.92);
    transition: filter 0.3s ease;
}
.card.is-seen:hover .card-image-wrap img,
.card.is-seen:hover .card-bg-gradient,
.mobile-featured.is-seen:hover .mf-bg {
    filter: saturate(1) brightness(1);
}
.card.is-seen .card-title,
.mobile-featured.is-seen .mf-title {
    color: var(--text-muted);
    transition: color 0.25s ease;
}
.card.is-seen:hover .card-title,
.mobile-featured.is-seen:hover .mf-title {
    color: var(--text);
}
.card.is-seen .card-image-wrap::after,
.mobile-featured.is-seen .mf-content::after {
    content: '✓ İzlendi';
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 3px 8px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 4;
}
.mobile-featured.is-seen .mf-content::after {
    top: 14px;
    right: 14px;
}
.card--column.is-seen {
    opacity: 0.82;
    transition: opacity 0.25s ease;
}
.card--column.is-seen:hover {
    opacity: 1;
}

/* ══════════════════════════════════════════════
   PWA INSTALL BANNER
   ══════════════════════════════════════════════ */
.pwa-install-banner {
    position: fixed;
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    left: 14px;
    right: 14px;
    max-width: 480px;
    margin: 0 auto;
    background: rgba(18, 22, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transform: translateY(130%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    pointer-events: none;
}
.pwa-install-banner.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.pwa-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
}
.pwa-banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.pwa-banner-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent, #e85d2c) 0%, #ff8c42 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(232, 93, 44, 0.35);
}
.pwa-logo-f {
    color: #fff;
    font-family: var(--font-heading, inherit);
    font-weight: 900;
    font-size: 20px;
    line-height: 1;
}
.pwa-banner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.pwa-banner-title {
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pwa-banner-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 11.5px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pwa-banner-desc strong {
    color: #fff;
    font-weight: 600;
}
.pwa-banner-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.pwa-btn-install {
    padding: 7px 15px;
    background: var(--accent, #e85d2c);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}
.pwa-btn-install:hover {
    background: #d44d21;
    transform: scale(1.04);
}
.pwa-btn-ios {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.pwa-btn-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}
.pwa-btn-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
    .pwa-install-banner {
        bottom: 24px;
        left: auto;
        right: 24px;
        width: 380px;
    }
}
