/* =========================================================================
   Sergile.net — Modern / Canlı Tasarım Sistemi
   Header · Body · Footer platform iskeleti + panel sidebar + profil düzeni
   ========================================================================= */

/* ---------- Tasarım Token'ları ---------- */
/* Faz 13 — kurumsal renk paletine göre güncellendi:
   Ana Renk (gradyan) #FF2D7A → #8A3FFC · Koyu #0F1220 · Açık Gri #F2F3F7 · Beyaz #FFFFFF */
:root {
    /* Marka gradyanı */
    --brand-1: #FF2D7A;
    --brand-2: #8A3FFC;
    --brand-grad: linear-gradient(135deg, #FF2D7A 0%, #8A3FFC 100%);
    --brand-grad-soft: linear-gradient(135deg, rgba(255,45,122,.14), rgba(138,63,252,.14));

    --accent: #8A3FFC;
    --accent-hover: #7328E6;

    /* Yüzeyler (light) */
    --bg: #F2F3F7;
    --bg-main: #ffffff;
    --surface: #ffffff;
    --surface-2: #EDEEF4;
    --bg-secondary: #EDEEF4;
    --bg-tertiary: #E4E6EF;

    --border: #E1E3EC;
    --border-color: #E1E3EC;
    --border-strong: #CFD2DF;

    --text: #0F1220;
    --text-primary: #0F1220;
    --text-secondary: #6B6E85;
    --text-muted: #9799AE;

    --badge-bg: #F3E9FF;
    --badge-text: #7328E6;

    --shadow-soft: 0 6px 20px rgba(15,18,32,.07);
    --shadow-heavy: 0 16px 40px rgba(15,18,32,.13);
    --shadow-brand: 0 8px 22px rgba(138,63,252,.28);

    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 100px;

    --font-system: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition: .25s cubic-bezier(.2,.8,.2,1);
    --header-h: 68px;
    --sidebar-w: 260px;
}

body.dark-theme {
    --bg: #0A0C16;
    --bg-main: #0F1220;
    --surface: #0F1220;
    --surface-2: #171B2E;
    --bg-secondary: #171B2E;
    --bg-tertiary: #1F2438;

    --border: #232840;
    --border-color: #232840;
    --border-strong: #2F3554;

    --text: #F2F3F7;
    --text-primary: #F2F3F7;
    --text-secondary: #A6A9C2;
    --text-muted: #6E7189;

    --badge-bg: #271C47;
    --badge-text: #C7A6FF;

    --shadow-soft: 0 6px 20px rgba(0,0,0,.5);
    --shadow-heavy: 0 16px 40px rgba(0,0,0,.6);
    --shadow-brand: 0 8px 22px rgba(138,63,252,.4);
}

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

html {
    scroll-behavior: smooth;
    /* Modal açılınca body overflow kilitlenince kaydırma çubuğu kaybolup
       içerik sağa sıçramasın diye çubuk yerini kalıcı olarak ayır. */
    scrollbar-gutter: stable;
}

body {
    font-family: var(--font-system);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
button { cursor: pointer; background: none; border: none; font-family: inherit; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Erişilebilirlik: klavye odak halkası */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ---------- Yardımcılar ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: var(--radius-pill);
    font-size: 0.98rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--brand-grad);
    color: #fff;
    box-shadow: var(--shadow-brand);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(138,63,252,.42); }
.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
}
.btn-secondary:hover { background: var(--surface-2); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); background: var(--surface-2); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn-danger { color: #ef4444; border: 1px solid transparent; background: transparent; }
.btn-danger:hover { background: rgba(239,68,68,.1); }

/* ---------- HEADER ---------- */
.app-header {
    position: sticky;
    top: 0;
    z-index: 900;
    height: var(--header-h);
    background: color-mix(in srgb, var(--bg-main) 82%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
@supports not (background: color-mix(in srgb, white, black)) {
    .app-header { background: var(--bg-main); }
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}
/* Faz 14 — gerçek marka logosu (eskiden CSS ile çizilen soyut nokta + metin) */
.brand-logo {
    height: 32px; width: auto;
    flex-shrink: 0;
    display: block;
}
.footer-brand .brand-logo { height: 40px; }
.admin-brand .brand-logo { height: 26px; }
.header-search {
    flex: 1;
    max-width: 420px;
    position: relative;
}
.header-search input {
    width: 100%;
    padding: 11px 16px 11px 42px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text-primary);
    font-size: 0.92rem;
    transition: var(--transition);
}
.header-search input:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.header-search .search-ico {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); font-size: 0.9rem;
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}
.header-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}
.header-link:hover, .header-link.active { color: var(--text-primary); }
.header-nav form { display: flex; align-items: center; }

.avatar-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border);
    background: var(--brand-grad-soft);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    /* <button> olarak da kullanılıyor (bkz. .user-menu-trigger); tarayıcının
       varsayılan buton dolgusu görseli 38px'lik çemberin içine sıkıştırıyordu. */
    padding: 0;
}
.avatar-btn img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hesap menüsü (Faz M) ----------
   Avatar eskiden tek hedefe (panele) giden bir bağlantıydı; kullanıcının kendi
   herkese açık vitrinine ulaşması panel → sidebar → "Vitrinimi Gör" ile üç adım
   sürüyor, Ayarlar ve Çıkış da panelin içinde kalıyordu. Artık avatar bir menü
   açıyor ve menünün ilk satırı vitrine gidiyor.
   Açık/kapalı durumu .is-open sınıfıyla; desen paylaşım widget'ıyla aynı. */
.user-menu { position: relative; flex-shrink: 0; }
.user-menu-trigger.avatar-btn:hover,
.user-menu.is-open .user-menu-trigger.avatar-btn { border-color: var(--accent); }

.user-menu-popover {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    /* .app-header sticky + z-index:900 olduğu için kendi yığın bağlamını
       kuruyor; buradaki değer yalnızca header'ın içindeki kardeşlere karşı
       geçerli. Sayfa içeriğinin üstünde kalmayı header'ın 900'ü sağlıyor. */
    z-index: 20;
    width: 248px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
    /* Kapalıyken görünmez VE erişilemez olmalı: yalnızca opacity kullanmak
       menüyü klavye/ekran okuyucu için açık bırakıyordu. */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.user-menu.is-open .user-menu-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .user-menu-popover { transition: none; transform: none; }
    .user-menu.is-open .user-menu-popover { transform: none; }
}
/* .header-nav form { display: flex } kuralı menü içindeki çıkış formunu da
   yakalıyordu; buton tam genişlik kalsın. */
.user-menu-popover form { display: block; }

.user-menu-head {
    display: flex; align-items: center; gap: 10px;
    padding: 10px;
    border-radius: var(--radius);
    background: var(--surface-2);
    margin-bottom: 6px;
}
.user-menu-head:hover { background: var(--brand-grad-soft); }
.user-menu-head-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.user-menu-id { display: flex; flex-direction: column; min-width: 0; }
.user-menu-id strong {
    font-size: 0.92rem; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.user-menu-id em {
    font-style: normal;
    font-size: 0.78rem; color: var(--text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.user-menu-cta {
    font-size: 0.75rem; font-weight: 700; color: var(--accent);
    margin-top: 3px;
}
.user-menu-cta i { font-size: 0.68rem; }

.user-menu-link {
    display: flex; align-items: center; gap: 10px;
    width: 100%;
    padding: 10px;
    border-radius: var(--radius);
    font-size: 0.9rem; font-weight: 600;
    color: var(--text-secondary);
    text-align: left;
    transition: var(--transition);
}
.user-menu-link i { width: 16px; text-align: center; color: var(--text-muted); }
.user-menu-link:hover { background: var(--surface-2); color: var(--text-primary); }
.user-menu-link:hover i { color: var(--accent); }
.user-menu-badge {
    margin-left: auto;
    min-width: 20px; padding: 1px 6px;
    border-radius: var(--radius-pill);
    background: var(--brand-grad); color: #fff;
    font-size: 0.7rem; font-weight: 700; text-align: center;
}
.user-menu-logout { color: #ef4444; }
.user-menu-logout i { color: #ef4444; }
.user-menu-logout:hover { background: color-mix(in srgb, #ef4444 12%, transparent); color: #ef4444; }
@supports not (background: color-mix(in srgb, white, black)) {
    .user-menu-logout:hover { background: var(--surface-2); }
}
.user-menu-sep { height: 1px; background: var(--border); margin: 6px 4px; }

.theme-toggle {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition);
    flex-shrink: 0;
}
.theme-toggle:hover { background: var(--brand-grad-soft); color: var(--accent); }

/* Mobil arama ikonu (masaüstünde gizli; inline arama kutusu görünürken gerekmez) */
.header-search-icon {
    display: none;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-primary);
    align-items: center; justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: var(--transition);
}
.header-search-icon:hover { background: var(--brand-grad-soft); color: var(--accent); }

/* Arama sayfasındaki büyük arama kutusu */
.search-box { position: relative; max-width: 620px; margin-bottom: 40px; }
.search-box > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.search-box .input { padding-left: 46px; border-radius: var(--radius-pill); }
/* Öneri kutusu ikonu, arama ikonunun altına kaymasın */
.search-box > .search-suggest > i { position: static; }

/* ---------- Canlı arama önerileri (Faz M) ----------
   Vitrinlere en kısa yol: iki harf yaz, doğrudan profile atla. Kutu hem
   header'daki (.header-search) hem arama sayfasındaki (.search-box) formda
   çalışıyor; ikisi de position:relative.
   Satırlar JS'te createElement + textContent ile kuruluyor (bkz. script.js
   2f-2); buradaki sınıflar oradaki isimlerle birebir eşleşmeli. */
.search-suggest {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    z-index: 30;
    max-height: 60vh;
    overflow-y: auto;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
    text-align: left;
}
.is-suggesting .search-suggest { display: block; }

.suggest-label {
    display: block;
    padding: 8px 10px 4px;
    font-size: 0.7rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .5px;
    color: var(--text-muted);
}
.suggest-row {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius);
    color: var(--text-primary);
    transition: background var(--transition);
}
/* .is-active klavye gezinmesinden gelir; hover ile aynı görünmeli ki fare ve
   klavye kullanıcısı aynı geri bildirimi alsın. */
.suggest-row:hover,
.suggest-row.is-active { background: var(--surface-2); }
.suggest-avatar {
    width: 32px; height: 32px;
    border-radius: 50%; object-fit: cover;
    background: var(--surface-2);
    flex-shrink: 0;
}
.suggest-ico {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--brand-grad-soft); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.suggest-text { display: flex; flex-direction: column; min-width: 0; }
.suggest-text strong {
    font-size: 0.9rem; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.suggest-text em {
    font-style: normal;
    font-size: 0.76rem; color: var(--text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.suggest-row--all { border-top: 1px solid var(--border); margin-top: 6px; border-radius: 0 0 var(--radius) var(--radius); }
.suggest-row--all .suggest-text strong { color: var(--accent); }
.suggest-empty {
    padding: 14px 10px;
    font-size: 0.86rem; color: var(--text-secondary);
}

/* ---------- PAGE / MAIN ---------- */
.page-main { min-height: 60vh; }

/* Flash / alert */
.alert {
    border-radius: var(--radius);
    padding: 14px 18px;
    font-weight: 600;
    margin-top: 20px;
    border: 1px solid var(--border);
    background: var(--surface);
}
.alert-success { border-color: #22c55e55; }
.alert-error { border-color: #ef444455; }
.alert ul { margin: 6px 0 0 18px; list-style: disc; font-weight: 500; }

/* ---------- FOOTER ---------- */
.app-footer {
    background: var(--bg-main);
    border-top: 1px solid var(--border);
    margin-top: 80px;
    padding-top: 64px;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 56px;
    padding-bottom: 48px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 1.4rem; font-weight: 800; margin-bottom: 16px; }
.footer-bio { color: var(--text-secondary); font-size: 0.95rem; max-width: 340px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--surface-2); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem; color: var(--text-primary);
    transition: var(--transition);
}
.footer-social a:hover { background: var(--brand-grad); color: #fff; border-color: transparent; transform: translateY(-2px); }
.footer-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 18px; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: var(--text-secondary); font-size: 0.93rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid var(--border);
    max-width: 1200px; margin: 0 auto; padding: 22px 24px;
    display: flex; justify-content: space-between; align-items: center;
    color: var(--text-muted); font-size: 0.85rem;
}
.footer-bottom a { color: var(--text-muted); margin-left: 18px; }
.footer-bottom a:hover { color: var(--text-primary); }

/* ---------- HERO (Landing) ---------- */
.hero {
    position: relative;
    text-align: center;
    padding: 96px 0 44px;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: -30%; left: 50%; transform: translateX(-50%);
    width: 900px; height: 600px;
    background: radial-gradient(closest-side, rgba(138,63,252,.20), transparent 70%),
                radial-gradient(closest-side, rgba(255,45,122,.18), transparent 70%);
    background-position: 30% 30%, 70% 60%;
    background-repeat: no-repeat;
    filter: blur(10px);
    z-index: 0;
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px; border-radius: var(--radius-pill);
    background: var(--surface); border: 1px solid var(--border);
    font-size: 0.82rem; font-weight: 700; letter-spacing: .3px;
    box-shadow: var(--shadow-soft);
}
.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800; line-height: 1.08; letter-spacing: -2px;
}
.hero p { font-size: 1.2rem; color: var(--text-secondary); max-width: 620px; }
.hero-actions { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.hero-meta {
    display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center;
    margin-top: 10px; color: var(--text-muted); font-size: 0.9rem; font-weight: 500;
}
.hero-meta i { color: var(--accent); margin-right: 6px; }

/* Bölümler arası tutarlı dikey ritim */
.section-block { margin-top: 64px; }

/* ---------- Section heading ---------- */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.5px; }
.section-head h3 { font-size: 1.3rem; font-weight: 800; }
.section-sub { color: var(--text-secondary); margin-top: 4px; }
.section-count {
    font-size: 0.82rem; font-weight: 700; color: var(--text-muted);
    background: var(--surface-2); border: 1px solid var(--border);
    padding: 5px 12px; border-radius: var(--radius-pill);
}

/* Kapanış CTA bandı */
.cta-band {
    margin: 72px 0 8px;
    text-align: center;
    padding: 56px 24px;
    border-radius: var(--radius-lg);
    background: var(--brand-grad-soft);
    border: 1px solid var(--border);
}
.cta-band h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; letter-spacing: -1px; }
.cta-band p { color: var(--text-secondary); margin: 10px 0 24px; }

/* ---------- Horizontal card scroller ---------- */
/* overflow-x:auto dikey ekseni de kırptığı için; kartların hover'da yukarı
   kalkmasına ve gölgelerinin yayılmasına yer açmak üzere iç boşluk (padding)
   veriyoruz, negatif margin ile de hizayı geri alıyoruz (gölge kesilmesin). */
.h-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    /* padding = gölgenin yayılımı (shadow-heavy: alt ~56px, üst ~24px) kadar;
       yatay negatif margin = container padding'i (24px), böylece kaydırıcı
       container kenarına hizalanır ama sayfada taşma yaratmaz. */
    padding: 30px 24px 60px;
    margin: -10px -24px 0;
    scrollbar-width: none;
}
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll { cursor: grab; user-select: none; }
.h-scroll.is-dragging { cursor: grabbing; scroll-behavior: auto; }
/* Tarayıcının resim/link için yerleşik "sürükle" davranışı, elle tutup kaydırma
   jestimizle çakışıyordu (fare resmi/linki sürüklemeye çalışıyordu, satır kaymıyordu). */
.h-scroll img, .h-scroll a { -webkit-user-drag: none; user-drag: none; }

/* Kaydırma okları — script.js .h-scroll'u bu sarmalayıcıyla saracak.
   Fare kullanıcıları scrollbar'ı gizli olduğu için kaydırılabilir olduğunu
   fark etmeyebilir; bu yüzden görünür bir ok çifti + sürükleme desteği ekliyoruz. */
.h-scroll-wrap { position: relative; }
.h-scroll-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(calc(-50% - 15px));
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-soft);
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
    transition: var(--transition);
}
.h-scroll-arrow:hover { background: var(--brand-grad); color: #fff; border-color: transparent; }
.h-scroll-arrow:disabled { opacity: 0; pointer-events: none; }
.h-scroll-arrow--prev { left: 4px; }
.h-scroll-arrow--next { right: 4px; }
@media (hover: hover) and (pointer: fine) {
    .h-scroll-wrap.has-overflow .h-scroll-arrow { display: flex; }
}

/* Vitrin (creator) card */
.creator-card {
    min-width: 320px;
    max-width: 320px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}
.creator-card { position: relative; }
.creator-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-heavy); border-color: var(--border-strong); z-index: 2; }
.creator-cover { height: 150px; background: var(--brand-grad-soft); overflow: hidden; }
.creator-cover img { width: 100%; height: 100%; object-fit: cover; }
.creator-body { padding: 0 20px 20px; }
.creator-avatar {
    width: 60px; height: 60px; border-radius: 50%;
    border: 4px solid var(--surface); margin-top: -30px;
    object-fit: cover; background: var(--surface-2); position: relative; z-index: 2;
}
.creator-name { font-weight: 700; font-size: 1.1rem; margin-top: 10px; }
.creator-handle { color: var(--text-secondary); font-size: 0.9rem; }
.creator-meta { margin-top: 12px; font-size: 0.85rem; color: var(--text-muted); display: flex; gap: 14px; }

/* ---------- Faz 19 — Akış (Feed) ---------- */
.feed-wrap { padding-top: 40px; max-width: 640px; }
.feed-list { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.feed-entry {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.feed-head {
    display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
    padding: 14px 18px; font-size: 0.9rem;
}
.feed-actor { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--text-primary); }
.feed-avatar {
    width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
    background: var(--surface-2); border: 1px solid var(--border);
}
/* Faz M — isim + handle dikey yığın. Desen diğer yüzeylerle aynı
   (.author-bar-text, .modal-author-text, .user-menu-id, .suggest-text). */
.feed-actor-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.feed-actor-name { font-weight: 700; }
.feed-actor-handle { font-size: 0.76rem; font-weight: 600; color: var(--text-muted); }
.feed-actor:hover .feed-actor-name { color: var(--accent); }
.feed-verb { color: var(--text-secondary); }
.feed-time { color: var(--text-muted); }

.feed-card { display: block; border-top: 1px solid var(--border); }
.feed-card-media {
    width: 100%; height: 300px; object-fit: cover; display: block;
    background: var(--brand-grad-soft);
    transition: opacity .2s ease;
}
.feed-card:hover .feed-card-media { opacity: .94; }
.feed-card-body { padding: 16px 18px 20px; }
.feed-card-eyebrow {
    display: inline-block; font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em;
    color: var(--accent); margin-bottom: 6px;
}
.feed-card-title { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.3px; }
.feed-card-sub { color: var(--text-secondary); font-size: 0.9rem; }

@media (max-width: 640px) {
    .feed-card-media { height: 220px; }
}

/* ---------- Category chips ---------- */
/* Aktif chip'in gradyan gölgesi kesilmesin diye dikey nefes payı + negatif margin */
.chips {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    /* aktif chip gölgesi (shadow-brand: alt ~30px, üst ~14px, yan ~22px) sığsın */
    padding: 16px 24px 34px;
    margin: -8px -24px 0;
    scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
/* Yönetim aramasında chip'ler sarmalanıyor; yatay kaydırma gerekmiyor. */
.chips.is-visible { overflow: visible; flex-wrap: wrap; }
.chip {
    padding: 10px 20px; border-radius: var(--radius-pill);
    border: 1px solid var(--border-strong); color: var(--text-secondary);
    font-weight: 600; white-space: nowrap; transition: var(--transition);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active { background: var(--brand-grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-brand); }

/* ---------- Content grid & cards ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}
/* Vitrin kartı normalde yatay şeritte (h-scroll) sabit genişlikte durur;
   bir ızgara (grid) içine konduğunda hücre genişliğini doldursun. */
.grid .creator-card { min-width: 0; max-width: none; }

/* .card normalde grid hücresini doldurur (genişliği yok); yatay şeritte (h-scroll)
   kullanılınca (ör. anasayfa "Öne çıkan koleksiyonlar") sabit bir genişlik gerekir,
   yoksa flex satırında büzülüp bozulur. */
.h-scroll .card { flex: 0 0 auto; width: 260px; }
/* Koleksiyon sayfası: içerikler daha büyük görsellerle sunulsun */
.grid-lg { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }

.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    display: flex; flex-direction: column;
}
.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* Hover: kart yukarı kalkıp gölge alır (görsel zoom'u yok — sade). */
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-heavy); border-color: var(--border-strong); z-index: 2; }
/* Faz B1 — kart medyası 4:5 (dikey). İçerik kapakları sunucuda 4:5 kırpıldığı
   için thumb tam oturur (kesme yok); koleksiyon kapakları ve placeholder'lar
   object-fit: cover ile bu orana kırpılır. Tek oran = tutarlı ızgara. */
.card-media { position: relative; aspect-ratio: 4/5; background: var(--surface-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-tag {
    position: absolute; top: 12px; left: 12px;
    z-index: 2; /* hover'da buyuyen gorselin ustunde kalsin, yoksa ortulup kayboluyor */
    padding: 5px 12px; border-radius: var(--radius-pill);
    font-size: 0.72rem; font-weight: 700;
    background: color-mix(in srgb, var(--bg-main) 85%, transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--text-primary);
}
@supports not (backdrop-filter: blur(8px)) {
    .card-tag { background: var(--bg-main); }
}
.card-body { padding: 16px 18px 20px; }
.card-eyebrow { font-size: 0.78rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.card-title { font-size: 1.08rem; font-weight: 700; margin-top: 6px; line-height: 1.3; }
.card-note { font-size: 0.88rem; color: var(--text-secondary); margin-top: 8px; }

/* ---------- Kart: ana bağlantı + yazar satırı (Faz M) ----------
   Kartın tamamı eskiden tek bir <a> idi, bu yüzden sahibine giden ikinci bir
   bağlantı eklenemiyordu (iç içe <a> geçersiz HTML). Artık medya + gövde
   .card-link içinde, yazar satırı onun kardeşi. */
.card-link { display: flex; flex-direction: column; }
/* Odak halkası artık dış kapta değil ana bağlantıda. Kartta overflow:hidden
   olduğu için halka negatif offset ile içeride tutuluyor, yoksa kırpılıyor. */
.card-link:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }

.card--with-author .card-body { padding-bottom: 10px; }
.card-author {
    display: flex; align-items: center; gap: 8px;
    width: fit-content;
    max-width: calc(100% - 36px);
    margin: 0 18px 16px;
    padding: 5px 12px 5px 5px;
    border-radius: var(--radius-pill);
    background: var(--surface-2);
    font-size: 0.78rem; font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition);
}
.card-author:hover { background: var(--brand-grad-soft); color: var(--accent); }
.card-author-avatar {
    width: 20px; height: 20px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.card-author-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Beğeni sayısı rozeti (kart üzerinde, salt gösterim) */
.card-likes {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 10px; border-radius: var(--radius-pill);
    font-size: 0.72rem; font-weight: 700;
    background: color-mix(in srgb, var(--bg-main) 85%, transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--text-primary);
}
.card-likes i { color: #e23b57; }
@supports not (backdrop-filter: blur(8px)) {
    .card-likes { background: var(--bg-main); }
}

/* Favorilerim — kart üstü "favoriden çıkar" butonu (Faz 8 sonrası iyileştirme) */
.fav-cell {
    position: relative;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.fav-cell.is-removing {
    opacity: 0;
    transform: scale(0.94);
    pointer-events: none;
}
.fav-remove {
    position: absolute; top: 12px; right: 12px; z-index: 3;
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--bg-main) 82%, transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--accent);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.fav-remove i { font-size: 0.92rem; }
.fav-remove:hover {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
    transform: scale(1.06);
}
.fav-remove:disabled { opacity: 0.5; cursor: default; }
@supports not (backdrop-filter: blur(8px)) {
    .fav-remove { background: var(--bg-main); }
}

/* ---------- PROFİL (Vitrin) — kapak + sol kolon düzeni ---------- */
.vitrin-cover {
    height: 300px;
    background: var(--brand-grad);
    background-size: cover; background-position: center;
    position: relative;
}
.vitrin-cover::after { content:""; position:absolute; inset:0; background: linear-gradient(to bottom, transparent 45%, rgba(0,0,0,.22)); }
.vitrin-wrap {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    align-items: start;
}
.vitrin-aside {
    position: sticky; top: calc(var(--header-h) + 20px);
    margin-top: -80px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}
.vitrin-avatar {
    width: 110px; height: 110px; border-radius: 50%;
    border: 4px solid var(--surface); object-fit: cover;
    background: var(--surface-2);
    margin-top: -70px; box-shadow: var(--shadow-soft);
}
/* Faz M — avatar gerçek bir görselse büyütme düğmesine sarılıyor.
   Negatif margin düğmeye taşınıyor, içteki görselde sıfırlanıyor: iki kez
   uygulanırsa avatar kapağın çok üstüne çıkıyor. Avatarı olmayan vitrinde
   görsel çıplak <img> olarak kaldığı için oradaki yerleşim etkilenmiyor. */
.vitrin-avatar-btn {
    display: block;
    width: fit-content;
    padding: 0;
    line-height: 0;
    margin-top: -70px;
    border-radius: 50%;
}
.vitrin-avatar-btn .vitrin-avatar { margin-top: 0; }
.vitrin-avatar-btn:hover .vitrin-avatar { border-color: var(--accent); }
.vitrin-avatar-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Büyütme katmanı. z-index modal (1000) ile aynı ailede; ikisi aynı anda
   açılamıyor (avatar yalnızca vitrin sayfasında, içerik modalı koleksiyon
   sayfasında). */
.avatar-lightbox {
    display: none;
    position: fixed; inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, .82);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    align-items: center; justify-content: center;
    padding: 24px;
}
.avatar-lightbox.is-open { display: flex; }
.avatar-lightbox-inner { position: relative; max-width: 100%; }
.avatar-lightbox-image {
    max-width: min(440px, 100%);
    max-height: 80vh;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-heavy);
}
.avatar-lightbox-close {
    position: absolute; top: -14px; right: -14px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--surface); color: var(--text-primary);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-soft);
}
.avatar-lightbox-close:hover { background: var(--surface-2); color: var(--accent); }
.vitrin-badge {
    display: inline-block; margin-top: 14px;
    padding: 5px 12px; border-radius: var(--radius-pill);
    background: var(--badge-bg); color: var(--badge-text);
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
}
.vitrin-name { font-size: 1.55rem; font-weight: 800; margin-top: 12px; letter-spacing: -0.6px; }
.vitrin-handle { color: var(--text-secondary); font-size: 0.95rem; }
.vitrin-bio { margin-top: 14px; color: var(--text-secondary); line-height: 1.65; }
/* İstatistikler: kutulanmış, hafif yüzeyli — daha premium */
.vitrin-stats {
    display: flex; gap: 10px; margin-top: 20px; padding-top: 20px;
    border-top: 1px solid var(--border);
}
.vitrin-stat {
    flex: 1; text-align: center;
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 12px 8px;
}
.vitrin-stat b { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.5px; }
.vitrin-stat span { font-size: 0.76rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; }
a.vitrin-stat { transition: var(--transition); }
a.vitrin-stat:hover { border-color: var(--accent); }
.vitrin-actions { display: flex; gap: 10px; margin-top: 20px; }
.vitrin-content { padding-top: 28px; min-width: 0; }

/* ---------- PANEL — sidebar dashboard ---------- */
.panel-shell {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: var(--sidebar-w) 1fr;
    gap: 0; align-items: start;
}
.panel-sidebar {
    position: sticky; top: var(--header-h);
    height: calc(100vh - var(--header-h));
    border-right: 1px solid var(--border);
    padding: 28px 20px;
    display: flex; flex-direction: column; gap: 6px;
}
.panel-sidebar .side-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); font-weight: 700; margin: 14px 12px 6px; }
.side-link {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 14px; border-radius: 12px;
    color: var(--text-secondary); font-weight: 600; font-size: 0.95rem;
    transition: var(--transition);
}
.side-link i { width: 20px; text-align: center; }
.side-link:hover { background: var(--surface-2); color: var(--text-primary); }
.side-link.active { background: var(--brand-grad-soft); color: var(--accent); }
.panel-main { padding: 32px 32px 80px; min-width: 0; }

/* ---------- Panel mobil gezinmesi (Faz O) ----------
   Masaüstünde ikisi de gizli: sidebar zaten görünür durumda. Mobil kurallar
   860px bloğunda. */
.panel-back { display: none; }
.panel-title { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.5px; }
.panel-sub { color: var(--text-secondary); margin-top: 6px; margin-bottom: 28px; }

/* Panel list row (koleksiyon/içerik) */
.row-card {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px; border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--surface); transition: var(--transition);
}
.row-card { position: relative; }
.row-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-soft); z-index: 2; }
.row-card .row-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.row-card .row-thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--surface-2); flex-shrink: 0; }
.row-card .row-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.95rem; }
.input, .textarea, .select {
    width: 100%; padding: 14px 16px;
    border-radius: 12px; border: 1px solid var(--border);
    background: var(--surface); color: var(--text-primary);
    font-size: 1rem; font-family: inherit;
    transition: var(--transition);
}
.textarea { resize: vertical; min-height: 90px; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(138,63,252,.12); }
.form-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-soft);
}
.auth-wrap { max-width: 440px; margin: 60px auto; padding: 0 24px; }

/* ---------- Kurumsal / bilgi sayfaları (okuma düzeni) ---------- */
.page-hero { max-width: 760px; margin: 0 auto; padding: 72px 24px 4px; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3rem); font-weight: 800; letter-spacing: -1.5px; line-height: 1.12; }
.page-hero .lead { font-size: 1.2rem; color: var(--text-secondary); margin-top: 18px; line-height: 1.6; max-width: 640px; }
.page-updated { color: var(--text-muted); font-size: 0.85rem; margin-top: 14px; }

.prose { max-width: 760px; margin: 0 auto; padding: 24px 24px 48px; }
.prose h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.4px; margin: 38px 0 12px; }
.prose p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; font-size: 1.02rem; }
.prose ul { margin: 6px 0 18px 22px; list-style: disc; color: var(--text-secondary); line-height: 1.8; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text-primary); font-weight: 700; }
/* .btn hariç: metin içi linkler accent renginde; butonlar kendi (beyaz) rengini korur */
.prose a:not(.btn) { color: var(--accent); font-weight: 600; }
.prose a:not(.btn):hover { text-decoration: underline; }
.prose .form-card p { margin-bottom: 0; }

/* ---------- Modal ---------- */
.modal-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(10,9,15,.6); backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .25s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
    background: var(--surface); width: 95%; max-width: 900px; max-height: 90vh;
    border-radius: var(--radius-lg); overflow-y: auto; position: relative;
    /* Sadece solma + hafif yukarı kayma — "büyüyerek açılma" (scale) hissi kaldırıldı */
    opacity: 0; transform: translateY(14px);
    transition: opacity .2s ease, transform .28s cubic-bezier(.2,.8,.2,1);
    display: flex; flex-direction: column;
}
.modal-overlay.active .modal { opacity: 1; transform: translateY(0); }
.modal-close {
    position: absolute; top: 16px; right: 16px; z-index: 5;
    width: 38px; height: 38px; border-radius: 50%;
    background: color-mix(in srgb, var(--bg-main) 80%, transparent);
    border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.modal-body { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 460px; }
.modal-media { background: var(--surface-2); display: flex; flex-direction: column; }
/* Faz C1 — sahne sabit oranlı, görsel CONTAIN ile sığar (eskiden cover'dı ve
   dikey görselleri kesiyordu). Letterbox alanı surface-2 zeminde kalır. */
.modal-stage {
    position: relative; aspect-ratio: 1/1; background: var(--surface-2);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.modal-stage > img {
    max-width: 100%; max-height: 100%; width: auto; height: auto;
    object-fit: contain; transition: opacity .2s ease;
}
.modal-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; border-radius: 50%; border: none; z-index: 2;
    background: rgba(20,19,34,.55); color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.modal-nav:hover { background: rgba(20,19,34,.82); }
.modal-nav-prev { left: 12px; }
.modal-nav-next { right: 12px; }
.modal-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; z-index: 2; }
.modal-dot { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: rgba(255,255,255,.5); box-shadow: 0 0 2px rgba(20,19,34,.5); }
.modal-dot.active { background: #fff; }
.modal-stage > img { cursor: zoom-in; }

/* Faz C2 — tam ekran görüntüleyici. */
.fsview {
    position: fixed; inset: 0; z-index: 2000;
    background: #0b0b12; display: flex; align-items: center; justify-content: center;
}
.fsview.u-hidden { display: none; }
.fsview-stage {
    width: 100%; height: 100%; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    /* Jestleri tamamen JS yönetir; tarayıcının kaydırma/zoom'u devre dışı. */
    touch-action: none;
}
.fsview-stage > img {
    max-width: 100%; max-height: 100%; width: auto; height: auto;
    object-fit: contain; user-select: none; -webkit-user-drag: none;
    /* Konum/ölçek transform ile (JS, CSSOM); geçiş yalnız zoom sıfırlanınca. */
    transform-origin: center center; will-change: transform;
}
.fsview-close {
    position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 14px;
    width: 42px; height: 42px; border-radius: 50%; border: none; z-index: 3;
    background: rgba(255,255,255,.14); color: #fff; font-size: 1.1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.fsview-close:hover { background: rgba(255,255,255,.26); }
.fsview-dots {
    position: absolute; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); left: 0; right: 0;
    display: flex; justify-content: center; gap: 8px; z-index: 3;
}
.fsview-dot { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; background: rgba(255,255,255,.45); }
.fsview-dot.active { background: #fff; }
.modal-thumbs { display: flex; gap: 10px; padding: 18px; overflow-x: auto; border-top: 1px solid var(--border); margin-top: auto; }
.modal-thumbs img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; cursor: pointer; opacity: .6; border: 2px solid transparent; transition: var(--transition); }
.modal-thumbs img.active, .modal-thumbs img:hover { opacity: 1; border-color: var(--accent); }
.modal-info { padding: 36px; display: flex; flex-direction: column; }
.modal-eyebrow { font-size: 0.82rem; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; color: var(--accent); }
.modal-title { font-size: 2rem; font-weight: 800; line-height: 1.1; margin: 10px 0 18px; letter-spacing: -1px; }
.modal-desc { color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }

/* Modal sosyal aksiyonlar (beğeni / favori) */
.modal-actions { display: flex; gap: 10px; margin-bottom: 22px; }
.icon-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: var(--radius-pill);
    border: 1px solid var(--border-strong); background: var(--surface);
    color: var(--text-secondary); font-weight: 700; font-size: 0.9rem;
    transition: var(--transition);
}
.icon-toggle:hover { border-color: var(--accent); color: var(--text-primary); }
.icon-toggle:disabled { opacity: .6; cursor: default; }
#modalLike.is-active { color: var(--text-primary); background: var(--brand-grad-soft); border-color: rgba(138,63,252,.35); }
#modalFav.is-active { color: var(--accent); background: var(--brand-grad-soft); border-color: transparent; }
#reactionEmoji { font-size: 1.05rem; line-height: 1; }

/* Faz 18 — tepki seçici (emoji popover) */
.reaction-control { position: relative; }
.reaction-picker {
    position: absolute; bottom: calc(100% + 10px); left: 0;
    display: flex; gap: 4px; padding: 8px;
    background: var(--surface); border: 1px solid var(--border-strong);
    border-radius: var(--radius-pill); box-shadow: var(--shadow-heavy);
    opacity: 0; visibility: hidden; transform: translateY(6px) scale(.96);
    transform-origin: bottom left;
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
    z-index: 5;
}
.reaction-picker.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.reaction-opt {
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.25rem; line-height: 1; cursor: pointer;
    background: transparent; border: none;
    transition: transform .12s ease, background .12s ease;
}
.reaction-opt:hover { transform: scale(1.25) translateY(-2px); background: var(--surface-2); }

/* Empty state — premium boş durum */
.empty {
    text-align: center; padding: 56px 28px; color: var(--text-secondary);
    border: 1px dashed var(--border-strong); border-radius: var(--radius-lg);
    background: var(--surface);
    display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.empty-icon {
    width: 64px; height: 64px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--brand-grad-soft); color: var(--accent);
    font-size: 1.5rem; margin-bottom: 10px;
}
.empty-title { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); }
.empty-text { max-width: 420px; line-height: 1.6; }
.empty-action { margin-top: 18px; }

/* ---------- Doğrulanmamış e-posta uyarı çubuğu ---------- */
.verify-banner {
    background: var(--brand-grad-soft);
    border-bottom: 1px solid var(--border);
}
.verify-banner-inner {
    max-width: 1200px; margin: 0 auto; padding: 12px 24px;
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    font-size: 0.9rem; font-weight: 600; color: var(--text-primary);
}
.verify-banner-inner i { color: var(--accent); }
.verify-banner-inner span { flex: 1; min-width: 200px; }
@media (max-width: 560px) {
    .verify-banner-inner { padding: 12px 16px; font-size: 0.85rem; }
}

/* ---------- Hesap ayarları (panel/settings) ---------- */
.settings-card { margin-bottom: 24px; }
.settings-title {
    display: flex; align-items: center; gap: 10px;
    font-weight: 800; font-size: 1.1rem; margin-bottom: 6px;
}
.settings-help {
    color: var(--text-secondary); font-size: 0.9rem;
    margin-bottom: 18px; line-height: 1.6;
}
.settings-hint { color: var(--text-muted); font-size: 0.82rem; margin-top: 6px; }

/* Adres alanı: "sergile.net/" öneki kutunun soluna yaslı */
.settings-slug-input { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.settings-slug-prefix {
    color: var(--text-muted); font-size: 0.9rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    white-space: nowrap;
}
.settings-slug-input .input { flex: 1; min-width: 180px; }

.notice-inline {
    display: flex; gap: 10px; align-items: flex-start;
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 12px 14px; margin-bottom: 18px;
    color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6;
}
.notice-inline i { color: #f59e0b; margin-top: 3px; flex-shrink: 0; }

/* Tehlikeli bölge görsel olarak da ayrışsın */
.settings-card--danger { border: 1px solid #ef4444; }
.settings-card--danger .settings-title { color: #ef4444; }
.settings-card--danger code {
    background: var(--surface-2); padding: 2px 7px;
    border-radius: 6px; font-size: 0.9em;
}

/* Ekranda görünmeyen ama ekran okuyucunun okuduğu metin. */
.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- Sürükle-bırak sıralama ---------- */
.sortable { display: flex; flex-direction: column; gap: 14px; }
.sortable.is-saving { opacity: .6; pointer-events: none; }

.sort-handle {
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 38px; margin-right: 2px;
    background: none; border: 0; border-radius: 8px;
    color: var(--text-secondary); cursor: grab;
    /* Dokunmatikte parmak hareketini tarayıcı kaydırma sanmasın. */
    touch-action: none;
}
.sort-handle:hover { background: var(--surface-2, rgba(127,127,127,.12)); color: var(--text); }
.sort-handle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sort-handle:active { cursor: grabbing; }

/* Sürüklenen satır "kaldırılmış" görünmeli: kullanıcı neyi taşıdığını ve
   nereye bırakacağını göremezse deneme yanılmaya mecbur kalır. */
.row-card.is-dragging {
    position: relative; z-index: 3;
    box-shadow: 0 14px 34px rgba(0,0,0,.28);
    border-color: var(--accent);
    background: var(--surface);
    cursor: grabbing;
    /* transform sürükleme sırasında JS'ten geliyor; geçiş vermek satırı
       parmağın gerisinde bırakırdı. */
    transition: box-shadow .12s, border-color .12s;
}

/* Sürükleme sürerken metin seçimi ve imleç değişimi rahatsız ediyor. */
.sortable.is-sorting { user-select: none; }
.sortable.is-sorting * { cursor: grabbing !important; }

/* Klavyeyle taşındığında satır kısa bir an vurgulanır: fare kullanıcısı
   hareketi görür, klavye kullanıcısı ise nereye gittiğini fark eder. */
.row-card.is-moved { animation: sort-flash .4s ease-out; }
@keyframes sort-flash {
    from { background: color-mix(in srgb, var(--accent) 18%, transparent); }
    to { background: transparent; }
}
@media (prefers-reduced-motion: reduce) {
    .row-card.is-moved { animation: none; outline: 2px solid var(--accent); }
}

.sort-hint {
    display: flex; align-items: flex-start; gap: 8px;
    color: var(--text-secondary); font-size: .82rem; line-height: 1.6;
    margin: 0 0 14px;
}
.sort-hint i { margin-top: 3px; }

/* ---------- İstatistikler (panel) ---------- */
.stat-cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px; margin-bottom: 24px;
}
.stat-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 18px 20px;
    display: flex; flex-direction: column; gap: 4px;
}
.stat-value { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--text-secondary); font-size: .84rem; }

.chart-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px; margin-bottom: 28px;
}
.chart-title { font-size: .95rem; font-weight: 700; margin: 0 0 16px; }
.chart-empty { color: var(--text-secondary); font-size: .88rem; line-height: 1.7; margin: 0; }
.chart {
    display: flex; align-items: flex-end; gap: 3px;
    height: 140px;
}
.chart-col { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.chart-bar {
    display: block; width: 100%; background: var(--accent);
    border-radius: 3px 3px 0 0; min-height: 2px;
    transition: opacity .15s;
}
.chart-col:hover .chart-bar { opacity: .7; }
.chart-axis {
    display: flex; justify-content: space-between;
    color: var(--text-secondary); font-size: .76rem; margin-top: 8px;
}
.stat-note {
    color: var(--text-secondary); font-size: .8rem; line-height: 1.7;
    margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border);
}

/* ---------- Kota kartı (panel) ---------- */
.quota-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 16px 18px; margin: 28px 0 8px;
}
.quota-head {
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 700; font-size: .92rem; margin-bottom: 10px;
}
.quota-head i { color: var(--text-secondary); margin-right: 6px; }
.quota-numbers { color: var(--text-secondary); font-weight: 600; font-variant-numeric: tabular-nums; }
.quota-bar {
    height: 8px; border-radius: 99px; overflow: hidden;
    background: var(--surface-2, rgba(127,127,127,.18));
}
.quota-fill { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.quota-fill.is-full { background: #ef4444; }
.quota-note { color: var(--text-secondary); font-size: .82rem; margin: 10px 0 0; line-height: 1.6; }

/* ---------- Hata sayfaları (404 / 403 / 500) ---------- */
.error-page {
    max-width: 520px; margin: 0 auto; padding: 80px 20px 100px; text-align: center;
}
.error-code {
    font-size: 5rem; font-weight: 900; line-height: 1;
    letter-spacing: -.04em; color: var(--accent); opacity: .25;
    margin-bottom: 8px;
}
.error-page h1 { font-size: 1.6rem; font-weight: 800; margin: 0 0 12px; }
.error-page p { color: var(--text-secondary); line-height: 1.7; margin: 0 0 28px; }
.error-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 480px) {
    .error-page { padding: 48px 20px 64px; }
    .error-code { font-size: 3.5rem; }
}

/* ---------- Moderasyon bildirimi (panel) ---------- */
.moderation-notice {
    display: flex; gap: 12px; align-items: flex-start;
    background: color-mix(in srgb, #ef4444 8%, transparent);
    border: 1px solid #ef4444;
    border-radius: var(--radius);
    padding: 14px 16px; margin: 8px 0 20px;
}
@supports not (background: color-mix(in srgb, white, black)) {
    .moderation-notice { background: var(--surface-2); }
}
.moderation-notice > i { color: #ef4444; font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }

/* Bilgi tonu: doğrulama beklemesi bir yaptırım değil, geçici bir durum. */
.moderation-notice.is-info {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.moderation-notice.is-info > i { color: var(--accent); }

/* Olumlu ton: kısıtlama kalktı, sıra kullanıcıda. */
.moderation-notice.is-ok {
    border-color: #22c55e;
    background: color-mix(in srgb, #22c55e 8%, transparent);
}
.moderation-notice.is-ok > i { color: #22c55e; }
.moderation-notice strong { display: block; margin-bottom: 4px; }
.moderation-notice p {
    color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; margin: 0;
}
.moderation-notice a { color: var(--accent); font-weight: 600; text-decoration: underline; }

.publish-toggle {
    display: flex; align-items: center; gap: 8px;
    margin: 8px 0 20px;
    color: var(--text-secondary); font-weight: 600;
}
.publish-toggle.is-disabled { opacity: .5; cursor: not-allowed; }

/* Öncelikli şikayetler (yasa dışı içerik, telif) kuyrukta göze çarpsın */
.report-row.is-urgent { background: color-mix(in srgb, #ef4444 6%, transparent); }
.report-row.is-urgent td:first-child { box-shadow: inset 3px 0 0 #ef4444; }
.report-note {
    margin-top: 4px; max-width: 320px;
    white-space: normal; line-height: 1.5;
}

/* ---------- Şikayet bileşeni (x-report-button) ---------- */
.report-widget { margin-top: 16px; }
.report-trigger {
    display: inline-flex; align-items: center; gap: 7px;
    cursor: pointer; list-style: none;
    font-size: 0.82rem; font-weight: 600;
    color: var(--text-muted);
    padding: 6px 0;
}
.report-trigger::-webkit-details-marker { display: none; }
.report-trigger:hover { color: #ef4444; }
.report-widget[open] .report-trigger { color: #ef4444; margin-bottom: 10px; }

.report-form {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    background: var(--surface-2);
}
.report-intro {
    font-size: 0.85rem; color: var(--text-secondary);
    margin-bottom: 14px; line-height: 1.5;
}
.report-reasons { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.report-reason {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 9px 10px; border-radius: 10px;
    cursor: pointer; transition: background var(--transition);
}
.report-reason:hover { background: var(--bg-main); }
.report-reason input { margin-top: 3px; flex-shrink: 0; }
.report-reason strong { display: block; font-size: 0.88rem; font-weight: 600; }
.report-reason em {
    display: block; font-style: normal;
    font-size: 0.78rem; color: var(--text-muted); margin-top: 1px;
}
.report-optional { font-weight: 400; color: var(--text-muted); font-size: 0.8rem; }

/* ---------- Erişilebilirlik: içeriğe atlama bağlantısı ---------- */
.skip-link {
    position: absolute; left: -9999px; top: 0;
    z-index: 1300;
    padding: 12px 20px;
    background: var(--brand-grad); color: #fff;
    font-weight: 700; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Mobil alt navigasyon ----------
   Header'da giriş yapmış kullanıcı için 8 hedef vardı; 360px genişlikte
   dokunma alanları 44px'in (WCAG 2.5.5) altına düşüyordu. */
.mobile-nav { display: none; }

@media (max-width: 860px) {
    .hide-on-mobile { display: none !important; }

    .mobile-nav {
        display: flex;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 950;
        background: color-mix(in srgb, var(--bg-main) 94%, transparent);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid var(--border);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    @supports not (background: color-mix(in srgb, white, black)) {
        .mobile-nav { background: var(--bg-main); }
    }

    .mobile-nav-item {
        flex: 1;
        min-height: 56px;
        display: flex; flex-direction: column;
        align-items: center; justify-content: center; gap: 3px;
        padding: 8px 4px;
        color: var(--text-muted);
        font-size: 0.68rem; font-weight: 600;
    }
    .mobile-nav-item i { font-size: 1.15rem; }
    .mobile-nav-item.is-active { color: var(--accent); }
    .mobile-nav-item--primary { color: var(--accent); }
    .mobile-nav-item--primary i {
        background: var(--brand-grad); color: #fff;
        width: 30px; height: 30px; border-radius: 50%;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 0.9rem;
    }

    .mobile-nav-icon-wrap { position: relative; display: inline-flex; }
    .mobile-nav-dot {
        position: absolute; top: -2px; right: -4px;
        width: 8px; height: 8px; border-radius: 50%;
        background: var(--brand-1);
        border: 2px solid var(--bg-main);
    }

    /* Faz M — "Vitrinim" sekmesi. Son sekme profil olmalı (Instagram/X/Threads
       deseni); ikon yerine kullanıcının kendi avatarı duruyor ki sekmenin
       kişisel alan olduğu bakışta anlaşılsın. Yükseklik diğer sekmelerin
       ikonlarıyla (1.15rem ≈ 18px + satır) hizalı kalsın diye 22px. */
    .mobile-nav-avatar {
        width: 22px; height: 22px;
        border-radius: 50%;
        object-fit: cover;
        border: 1px solid var(--border);
        background: var(--surface-2);
    }
    .mobile-nav-item--me.is-active .mobile-nav-avatar { border-color: var(--accent); }

    /* Alt navigasyon içeriği örtmesin */
    .app-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
    /* Modal alt sheet'i de navigasyonun üstünde kalsın */
    .modal-overlay { z-index: 1000; }
}

/* ---------- Toast (JS ile oluşturulur: script.js → showToast) ----------
   Beğeni/favori gibi AJAX aksiyonları eskiden hatayı yutuyordu; kullanıcı
   butona basıp hiçbir şey olmadığını görüyordu. Artık kısa bir şerit çıkar. */
.toast-host {
    position: fixed;
    left: 50%; transform: translateX(-50%);
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 1200;
    display: flex; flex-direction: column; gap: 10px;
    align-items: center;
    width: min(420px, calc(100vw - 32px));
    pointer-events: none;
}
.toast {
    width: 100%;
    padding: 13px 18px;
    border-radius: var(--radius);
    background: var(--text-primary);
    color: var(--bg-main);
    font-size: 0.9rem; font-weight: 600;
    box-shadow: var(--shadow-heavy);
    opacity: 0; transform: translateY(12px);
    transition: opacity .22s ease, transform .22s ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast--error { background: #b91c1c; color: #fff; }
.toast--success { background: #15803d; color: #fff; }
@media (prefers-reduced-motion: reduce) {
    .toast { transition: none; transform: none; }
}

/* Pagination — markup: resources/views/vendor/pagination/sergile.blade.php */
.pagination { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    /* Dokunma hedefi en az 44px (WCAG 2.5.5) */
    min-width: 44px; min-height: 44px;
    padding: 8px 14px; border-radius: 10px; border: 1px solid var(--border);
    color: var(--text-secondary); font-weight: 600;
    transition: var(--transition);
}
.pagination a:hover,
.pagination .is-active { background: var(--brand-grad); color: #fff; border-color: transparent; }
.pagination .is-active { box-shadow: var(--shadow-brand); }
.pagination .is-disabled { opacity: .4; cursor: default; }
.pagination .is-dots { border-color: transparent; min-width: 0; padding: 8px 4px; }

/* Özet metni bir "düğme" gibi görünmesin */
.pagination-summary {
    border: none !important; background: none !important;
    margin-left: auto; padding: 0 !important;
    color: var(--text-muted) !important; font-weight: 500 !important;
    font-size: 0.85rem; white-space: nowrap;
}
@media (max-width: 560px) {
    .pagination-summary { display: none !important; }
    .pagination { justify-content: center; }
}

/* ============================================================
   PLATFORM YÖNETİM MERKEZİ (/admin) — bağımsız, sade chrome
   ============================================================ */
.admin-body { background: var(--surface-2); }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }

.admin-sidebar {
    position: sticky; top: 0; height: 100vh;
    background: var(--bg-main); border-right: 1px solid var(--border);
    display: flex; flex-direction: column; padding: 18px 14px;
}
.admin-brand { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 800; padding: 8px 10px 18px; }
.admin-brand small { font-weight: 600; color: var(--text-muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; }
.admin-nav { display: flex; flex-direction: column; gap: 3px; flex: 1; overflow-y: auto; }
.admin-nav-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: .6px; color: var(--text-muted); font-weight: 700; margin: 16px 12px 6px; }
.admin-nav-link {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: 10px;
    color: var(--text-secondary); font-weight: 600; font-size: 0.92rem;
    transition: var(--transition);
}
.admin-nav-link i { width: 18px; text-align: center; }
.admin-nav-link:hover { background: var(--surface-2); color: var(--text-primary); }
.admin-nav-link.active { background: var(--brand-grad-soft); color: var(--accent); }
.admin-nav-link .side-badge { margin-left: auto; }
.admin-sidebar-foot { border-top: 1px solid var(--border); padding-top: 10px; margin-top: 10px; display: flex; flex-direction: column; gap: 3px; }

.admin-main { min-width: 0; display: flex; flex-direction: column; }
.admin-topbar {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--surface-2) 88%, transparent);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 20px; padding: 14px 28px;
}
.admin-search { position: relative; flex: 1; max-width: 520px; }
.admin-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.9rem; }
.admin-search input {
    width: 100%; padding: 10px 16px 10px 42px; border-radius: var(--radius-pill);
    border: 1px solid var(--border); background: var(--bg-main); color: var(--text-primary); font-size: 0.92rem;
}
.admin-search input:focus { outline: none; border-color: var(--accent); }
.admin-user { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.admin-user-name { font-weight: 700; font-size: 0.9rem; }
.admin-user-badge { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: #fff; background: var(--brand-grad); padding: 4px 10px; border-radius: var(--radius-pill); }
.admin-content { padding: 28px; max-width: 1200px; width: 100%; }

.admin-page-title { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.6px; }
.admin-page-sub { color: var(--text-secondary); margin-top: 4px; margin-bottom: 26px; }

/* Stat kartları */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; margin-bottom: 36px; }
.stat-card { background: var(--bg-main); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.stat-card .stat-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-grad-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1rem; margin-bottom: 14px; }
.stat-card b { font-size: 1.9rem; font-weight: 800; letter-spacing: -1px; display: block; line-height: 1.1; }
.stat-card span { color: var(--text-muted); font-size: 0.85rem; font-weight: 600; }

/* Admin tablo */
.admin-table-wrap { background: var(--bg-main); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: .4px; color: var(--text-muted); font-weight: 700; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.admin-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 0.92rem; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--surface-2); }
.admin-table .t-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.admin-table .t-main { font-weight: 700; }
.admin-table .t-sub { color: var(--text-secondary); font-size: 0.85rem; }
.admin-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }

/* Durum rozetleri */
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill); }
.tag-green { background: rgba(34,197,94,.12); color: #16a34a; }
.tag-gray { background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border); }
.tag-purple { background: var(--brand-grad-soft); color: var(--accent); }
.tag-amber { background: rgba(245,158,11,.14); color: #b45309; }

/* Öne çıkar yıldız butonu */
.star-btn { color: var(--text-muted); font-size: 1rem; padding: 6px; border-radius: 8px; }
.star-btn:hover { background: var(--surface-2); }
.star-btn.is-featured { color: #f59e0b; }

.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.admin-recent-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

@media (max-width: 900px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px; }
    .admin-nav { flex-direction: row; flex-wrap: wrap; }
    .admin-nav-label { display: none; }
    .admin-sidebar-foot { border-top: none; margin: 0; padding: 0; flex-direction: row; }
    .admin-topbar { padding: 12px 16px; }
    .admin-content { padding: 18px 16px; }
    .admin-table-wrap { overflow-x: auto; }
    .admin-table { min-width: 640px; }
}

/* ---------- Geri Bildirimler (admin) ---------- */
.side-badge {
    margin-left: auto;
    background: var(--brand-grad); color: #fff;
    font-size: 0.72rem; font-weight: 800;
    min-width: 20px; height: 20px; padding: 0 6px;
    border-radius: var(--radius-pill);
    display: inline-flex; align-items: center; justify-content: center;
}
.feedback-row .feedback-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--border-strong); flex-shrink: 0;
}
.feedback-row.is-unread .feedback-dot { background: var(--accent); box-shadow: 0 0 0 4px var(--brand-grad-soft); }
.feedback-row.is-unread { border-color: var(--border-strong); }
.pill-unread {
    background: var(--brand-grad); color: #fff;
    font-size: 0.68rem; font-weight: 800; padding: 3px 9px;
    border-radius: var(--radius-pill); text-transform: uppercase; letter-spacing: .3px;
}
.pill-status {
    font-size: 0.75rem; font-weight: 700; padding: 6px 14px;
    border-radius: var(--radius-pill); white-space: nowrap;
}
.pill-status.is-unread { background: var(--brand-grad-soft); color: var(--accent); }
.pill-status.is-read { background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border); }

/* ---------- Responsive ---------- */

/* Tablet yatay: sol profil kolonu biraz daralır */
@media (max-width: 1024px) {
    .vitrin-wrap { grid-template-columns: 260px 1fr; gap: 24px; }
    .header-search { max-width: 300px; }
}

/* Tablet dikey / küçük tablet: tek kolon düzenlere geçiş */
@media (max-width: 860px) {
    .header-search { display: none; }
    .header-search-icon { display: flex; }  /* inline arama gizliyken ikon görünür */

    .vitrin-cover { height: 190px; }
    .vitrin-wrap { grid-template-columns: 1fr; }
    /* `position: static` DEĞİL `relative`: sadece "sticky olmasın" demek
       yetmiyor.

       .vitrin-cover konumlanmış bir öğe (::after gradyanı için
       position: relative). CSS boyama sırasında konumlanmış öğeler,
       konumlanmamış blokların ÜSTÜNE çizilir. Aside mobilde `static` olduğu
       için kapağın altında kalıyordu: aside kapağın son 64px'ini örtüyor,
       avatar da 70px daha yukarıda duruyor — sonuç olarak profil fotoğrafı
       kapağın arkasında kayboluyordu.

       `relative` + `z-index: 1` yerleşimi değiştirmiyor (offset verilmedi),
       yalnızca boyama sırasını düzeltiyor. */
    .vitrin-aside { position: relative; z-index: 1; margin-top: -64px; }
    .vitrin-content { padding-top: 8px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; }

    .panel-shell { grid-template-columns: 1fr; }
    /* Faz O — sidebar mobilde tamamen gizleniyor.
       Eskiden `flex-direction: row; flex-wrap: wrap` ile yatay bir satıra
       çevriliyordu: 11 hedef 360px'te üç satıra sarıyor, `side-label` gizlendiği
       için grup hiyerarşisi kayboluyor ve içerik ilk ekranın altına itiliyordu.

       Yerini header'daki hesap menüsü (.user-menu) ve alt navigasyon alıyor;
       ikisi panel hedeflerinin tamamını kapsıyor. Alt sayfalarda ayrıca
       .panel-back geri satırı var. */
    .panel-sidebar { display: none; }
    .panel-main { padding: 20px 16px 60px; }

    /* Alt sayfalarda tek geri hedefi. 11 pill yerine 1 bağlantı; aktif durum
       sorunu da kendiliğinden yok oluyor çünkü aynı anda tek sayfadasın. */
    .panel-back {
        display: inline-flex; align-items: center; gap: 8px;
        min-height: 44px;
        margin-bottom: 4px;
        padding: 8px 14px 8px 10px;
        border-radius: var(--radius-pill);
        border: 1px solid var(--border);
        background: var(--surface);
        color: var(--text-secondary);
        font-size: 0.9rem; font-weight: 600;
    }
    .panel-back:hover { border-color: var(--accent); color: var(--accent); }


    /* Mobil: alttan açılan tam genişlik "bottom sheet" */
    .modal-overlay { align-items: flex-end; }
    .modal {
        width: 100%;
        max-width: 100%;
        max-height: 88vh;
        border-radius: 22px 22px 0 0;   /* üst köşeler yuvarlak, alt düz (ekrana yaslı) */
    }
    /* Üstte tutma çubuğu (grabber) — bunun bir "sheet" olduğunu belli eder */
    .modal::before {
        content: "";
        position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
        width: 42px; height: 5px; border-radius: 3px;
        background: rgba(255,255,255,.75); z-index: 6;
    }
    .modal-body { grid-template-columns: 1fr; min-height: 0; }
    /* Mobilde sahne sabit yükseklik: contain sayesinde dikey de yatay da
       kesilmeden sığar, başlık ve bilgi ilk bakışta görünür kalır. */
    .modal-stage { aspect-ratio: auto; height: 42vh; }
    .modal-thumbs { padding: 12px 14px; }
    .modal-info { padding: 20px 22px calc(26px + env(safe-area-inset-bottom, 0px)); }
    .modal-eyebrow { font-size: 0.78rem; }
    .modal-title { font-size: 1.5rem; margin: 6px 0 12px; }
    .modal-desc { margin-bottom: 20px; }
    /* Kapatma butonu görselin üstünde daha net dursun */
    .modal-close {
        top: 12px; right: 12px;
        background: color-mix(in srgb, var(--bg-main) 92%, transparent);
        box-shadow: var(--shadow-soft);
    }
}

/* Telefon: en sıkışık düzen */
@media (max-width: 560px) {
    .header-inner { gap: 10px; padding: 0 16px; }
    .header-nav { gap: 10px; }
    .brand { font-size: 1.15rem; }         /* logo mobilde de görünür, sadece biraz küçülür */
    .btn-label { display: none; }          /* "Oluştur" butonu ikon-only olur */
    .header-nav .btn-sm { padding: 9px 12px; }

    .hero { padding: 64px 0 44px; }
    .hero p { font-size: 1.05rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }

    .creator-card { min-width: 250px; max-width: 250px; }
    .h-scroll .card { width: 210px; }
    .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }

    .vitrin-cover { height: 150px; }
    .vitrin-aside { padding: 20px; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .form-card { padding: 20px; }
    .section-head h1, .section-head h2 { font-size: 1.5rem; }
    .modal-info { padding: 20px; }
    .modal-title { font-size: 1.4rem; }

    /* Faz 2 — mobil boşluk/oran ayarları */
    .section-block { margin-top: 44px; }
    .hero-meta { gap: 8px 16px; font-size: 0.82rem; }
    .cta-band { padding: 40px 20px; margin: 48px 0 8px; }
    .vitrin-stat b { font-size: 1.1rem; }

    /* Kurumsal sayfalar */
    .page-hero { padding-top: 48px; }
    .page-hero .lead { font-size: 1.05rem; }
    .prose h2 { font-size: 1.2rem; }
}

/* Çok küçük ekran: kart ızgarası tek kolona düşmesin ama sıkışmasın */
@media (max-width: 380px) {
    .grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
    .creator-card { min-width: 220px; max-width: 220px; }
    .h-scroll .card { width: 180px; }

    /* Faz M — bildirim zili mobilde de görünür hale geldi; header'da 4 yuvarlak
       hedef var (ara, zil, avatar, tema). 320px'te logo + 4×38px + boşluklar
       taşıyordu. Hedefleri küçültmek yerine logo kısalıyor: dokunma alanları
       38px'te kalsın. */
    .brand-logo { height: 26px; }
}

/* ---------- Faz 9 — Hero mockup, sosyal kanıt sayaçları, spotlight ---------- */
.hero-inner--split {
    max-width: 1180px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    text-align: left;
    gap: 40px;
}
.hero-inner--split .hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero-inner--split .hero-actions,
.hero-inner--split .hero-meta { justify-content: flex-start; }
.hero-inner--split .hero p { text-align: left; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-mock {
    width: 100%; max-width: 320px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-heavy);
    transform: rotate(2deg);
    transition: var(--transition);
}
.hero-mock:hover { transform: rotate(0deg) translateY(-4px); }
/* Görsel sabit; şablonda satır-içi yazılıyordu, buraya taşındı. */
/* Faz N — maket kapağı. Eskiden banner.webp (parfüm fotoğrafı) idi; platform
   parfüme özel olmadığı için tanıtım görseli o sektörü işaret etmemeli.
   Yerine elle çizilmiş SVG numune (seramik rafı, marka gradyanı üzerinde).
   Gradyan yedekte kalıyor: SVG bir sebeple yüklenmezse kapak boş görünmesin. */
.hero-mock-cover {
    height: 90px;
    background: var(--brand-grad);
    background-image: url('/assets/img/demo/kapak.svg');
    background-size: cover;
    background-position: center;
}
.spotlight-media { background-size: cover; background-position: center; }
.hero-mock-body { padding: 0 20px 20px; text-align: center; }
.hero-mock-avatar {
    width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
    border: 4px solid var(--surface); margin-top: -32px; position: relative;
    background: var(--surface-2);
}
.hero-mock-name { font-weight: 800; margin-top: 8px; }
.hero-mock-handle { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 14px; }
.hero-mock-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.hero-mock-grid img { width: 100%; height: 64px; object-fit: cover; border-radius: 8px; }

.hero-float-card {
    position: absolute; display: flex; align-items: center; gap: 8px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-pill); padding: 9px 16px;
    font-size: 0.82rem; font-weight: 700; box-shadow: var(--shadow-soft);
}
.hero-float-card--top { top: 8px; left: -10px; }
.hero-float-card--bottom { bottom: 24px; right: -14px; }

.stats-bar {
    display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
    padding: 28px 0; margin-top: 8px;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-bar-item { text-align: center; }
.stats-bar-item b { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.5px; }
.stats-bar-item span { font-size: 0.82rem; color: var(--text-secondary); font-weight: 600; }

.spotlight-card {
    display: grid; grid-template-columns: 1fr 1fr;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-soft); transition: var(--transition); color: var(--text-primary);
}
.spotlight-card:hover { box-shadow: var(--shadow-heavy); transform: translateY(-2px); }
.spotlight-media { min-height: 220px; background-size: cover; background-position: center; }
.spotlight-body { padding: 32px; display: flex; flex-direction: column; align-items: flex-start; }
.spotlight-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    color: #f59e0b; font-weight: 700; font-size: 0.82rem; margin-bottom: 10px;
}
.spotlight-body h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.spotlight-body p { color: var(--text-secondary); margin-bottom: 14px; }
.spotlight-meta { color: var(--text-secondary); font-size: 0.88rem; font-weight: 600; }

@media (max-width: 900px) {
    .hero-inner--split { grid-template-columns: 1fr; text-align: center; }
    .hero-inner--split .hero-copy { align-items: center; }
    .hero-inner--split .hero-actions, .hero-inner--split .hero-meta { justify-content: center; }
    .hero-inner--split .hero p { text-align: center; }
    .hero-visual { margin-top: 12px; max-width: 280px; margin-left: auto; margin-right: auto; }
    .hero-float-card { display: none; }

    .spotlight-card { grid-template-columns: 1fr; }
    .spotlight-media { min-height: 160px; }
    .spotlight-body { padding: 22px; }
    .stats-bar { gap: 28px; }
}

/* ---------- Faz 10 — Bildirim merkezi ---------- */
.header-bell {
    position: relative; width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: var(--text-secondary);
    border: 1px solid var(--border); background: var(--surface);
    flex-shrink: 0; transition: var(--transition);
}
.header-bell:hover { color: var(--text-primary); background: var(--surface-2); }
.header-bell-dot {
    position: absolute; top: 6px; right: 7px;
    width: 9px; height: 9px; border-radius: 50%;
    background: #f43f5e; border: 2px solid var(--surface);
}

.notif-list { display: flex; flex-direction: column; gap: 10px; }
.notif-row {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--border);
    color: var(--text-primary); transition: var(--transition);
    /* Faz M — satır artık <a> değil <div>; içinde iki ayrı hedef var
       (avatar → aktörün vitrini, gövde → bildirimin hedefi). Gövde bağlantısı
       ::after ile tüm satırı kapladığı için buranın konumlanmış olması şart. */
    position: relative;
}
.notif-row:hover { border-color: var(--border-strong); box-shadow: var(--shadow-soft); }
.notif-row--unread { background: var(--brand-grad-soft); border-color: transparent; }
.notif-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--surface-2); flex-shrink: 0; }
/* Avatar bağlantısı, gövdenin ::after örtüsünün ÜSTÜNDE kalmalı; yoksa
   avatara tıklamak da bildirimin hedefine giderdi. */
.notif-actor { position: relative; z-index: 2; flex-shrink: 0; display: block; border-radius: 50%; }
.notif-actor:hover .notif-avatar { outline: 2px solid var(--accent); outline-offset: 2px; }
.notif-body { flex: 1; min-width: 0; }
/* Eskiden <p>; artık bağlantı. Görünüm birebir korunuyor. */
.notif-link { display: block; font-weight: 600; font-size: 0.94rem; }
.notif-link::after { content: ''; position: absolute; inset: 0; }
.notif-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.notif-time { font-size: 0.8rem; color: var(--text-secondary); }
.notif-icon { color: var(--accent); font-size: 0.95rem; flex-shrink: 0; }

/* ---------- Yazar şeridi — koleksiyon sayfası (Faz M) ----------
   Sahibe dönüş eskiden "← isim" düz metin bağlantısıydı: avatar yoktu,
   dokunma hedefi küçüktü, Takip Et için vitrin sayfasına gitmek gerekiyordu. */
.author-bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; flex-wrap: wrap;
    margin-bottom: 18px;
}
.author-bar-id {
    display: flex; align-items: center; gap: 12px;
    min-width: 0;
    padding: 6px 14px 6px 6px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: var(--transition);
}
.author-bar-id:hover { border-color: var(--accent); background: var(--brand-grad-soft); }
.author-bar-back { color: var(--text-muted); font-size: 0.85rem; margin-left: 8px; }
.author-bar-id:hover .author-bar-back { color: var(--accent); }
.author-bar-avatar {
    width: 40px; height: 40px;
    border-radius: 50%; object-fit: cover;
    background: var(--surface-2);
    flex-shrink: 0;
}
.author-bar-text { display: flex; flex-direction: column; min-width: 0; }
.author-bar-text strong {
    font-size: 0.95rem; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.author-bar-text em {
    font-style: normal; font-size: 0.8rem; color: var(--text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Yazar şeridi — içerik modalı (Faz M) ---------- */
.modal-author {
    display: inline-flex; align-items: center; gap: 10px;
    /* .modal-info bir kolon flex kabı: align-items:stretch varsayılanı bu
       şeridi tüm genişliğe yayıyordu, pill görünümü kayboluyordu. */
    align-self: flex-start;
    margin-bottom: 16px;
    padding: 6px 14px 6px 6px;
    border-radius: var(--radius-pill);
    background: var(--surface-2);
    max-width: 100%;
    transition: var(--transition);
}
.modal-author:hover { background: var(--brand-grad-soft); }
.modal-author-avatar {
    width: 34px; height: 34px;
    border-radius: 50%; object-fit: cover;
    flex-shrink: 0;
}
.modal-author-text { display: flex; flex-direction: column; min-width: 0; }
.modal-author-text strong {
    font-size: 0.88rem; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.modal-author-text em {
    font-style: normal; font-size: 0.76rem; color: var(--text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.modal-author:hover .modal-author-text strong { color: var(--accent); }

.vitrin-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.vitrin-badge-pill {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.72rem; font-weight: 700;
    padding: 4px 10px; border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--badge-color) 14%, transparent);
    color: var(--badge-color);
}

/* ---------- Faz 11 — Panel: hızlı ekleme + özel dosya yükleme ---------- */
.quick-add-bar { border: 1px dashed var(--border-strong); }

.upload-dropzone {
    position: relative; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    min-height: 140px; padding: 18px;
    border: 2px dashed var(--border-strong); border-radius: var(--radius);
    background: var(--surface-2); cursor: pointer; overflow: hidden;
    transition: var(--transition);
}
.upload-dropzone:hover, .upload-dropzone.is-dragover { border-color: var(--accent); background: var(--brand-grad-soft); }
.upload-placeholder { color: var(--text-secondary); font-size: 0.88rem; pointer-events: none; }
.upload-placeholder i { display: block; font-size: 1.6rem; color: var(--accent); margin-bottom: 8px; }
.upload-placeholder strong { color: var(--text-primary); }
.upload-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.upload-change-hint {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px;
    background: rgba(20,19,34,.55); color: #fff; font-weight: 700; font-size: 0.85rem;
    opacity: 0; transition: var(--transition); pointer-events: none;
}
.upload-dropzone:hover .upload-change-hint { opacity: 1; }

.upload-field--rounded .upload-dropzone { width: 110px; height: 110px; min-height: 0; border-radius: 50%; padding: 0; }
.upload-field--rounded .upload-placeholder { font-size: 0.7rem; padding: 0 10px; }
.upload-field--rounded .upload-placeholder i { font-size: 1.2rem; margin-bottom: 4px; }

.upload-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.upload-grid-item { position: relative; width: 88px; height: 88px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.upload-grid-item img { width: 100%; height: 100%; object-fit: cover; }
/* Faz A — kapak netliği. İlk görselde rozet; diğerlerinde "Kapak yap". */
.upload-cover-badge {
    position: absolute; top: 4px; left: 4px; z-index: 2;
    background: var(--accent); color: #fff; font-size: 0.6rem; font-weight: 700;
    padding: 2px 7px; border-radius: var(--radius-pill); pointer-events: none;
}
.upload-makecover {
    position: absolute; bottom: 4px; left: 4px; right: 4px; z-index: 2;
    background: rgba(20,19,34,.72); color: #fff; border: none; border-radius: 6px;
    font-size: 0.6rem; font-weight: 700; padding: 4px 0; cursor: pointer;
}
.upload-makecover:hover { background: var(--accent); }
/* "sürükle bırak" yalnız fare/işaretçi olan cihazlarda; dokunmatikte gizli. */
@media (hover: none) {
    .upload-drag-hint { display: none; }
}
.upload-remove {
    position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%;
    background: rgba(20,19,34,.75); color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem; border: none; transition: var(--transition);
}
.upload-remove:hover { background: #ef4444; }
.upload-help { font-size: 0.8rem; color: var(--text-secondary); margin-top: 8px; }

/* Faz B2 — kapak odağı. Görsel doğal oranında (kırpılmadan) gösterilir ki
   tıklama noktası doğrudan yüzdeye çevrilebilsin; object-fit: cover burada
   OLMAZ, yoksa görünen ile gerçek piksel kayar. */
.cover-focus { margin-top: 14px; text-align: center; }
.cover-focus-hint { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 8px; }
.cover-focus-hint i { color: var(--accent); margin-right: 4px; }
.cover-focus-stage {
    position: relative; display: inline-block; line-height: 0;
    border-radius: 12px; overflow: hidden; border: 1px solid var(--border);
    cursor: crosshair; max-width: 100%;
}
.cover-focus-img { display: block; max-width: 100%; max-height: 340px; width: auto; height: auto; }
/* İşaret: seçilen odak noktası. Konum JS ile (element.style.left/top) verilir. */
.cover-focus-dot {
    position: absolute; width: 26px; height: 26px; border-radius: 50%;
    border: 2px solid #fff; background: rgba(124,77,255,.55);
    transform: translate(-50%, -50%); pointer-events: none;
    box-shadow: 0 0 0 2px rgba(20,19,34,.35);
}
/* Dosya alanı: `hidden` (display:none) YERİNE görsel olarak gizleniyor.
   display:none olan bir dosya alanı bazı tarayıcılarda gönderim sırasında
   sorun çıkarıyor; bu desen ekran okuyucular için de daha doğru. */
.upload-input {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.upload-error { font-size: 0.8rem; color: #ef4444; margin-top: 8px; font-weight: 600; }
/* Aynı alan "görseller hazırlanıyor" gibi bilgi mesajları için de kullanılıyor;
   o durumda kırmızı göstermek yanıltıcı olur. */
.upload-error.is-info { color: var(--text-secondary); }

/* ---------- Faz 16 — Hakkımızda: logo masthead + kapanış mührü (animasyonlu) ---------- */
.about-mast { text-align: center; padding-top: 56px; }
.about-mast-logo {
    height: 60px; width: auto; margin: 0 auto; display: block;
    /* Girişte yumuşak iniş, ardından sonsuz hafif süzülme */
    animation: aboutMastIn 0.9s cubic-bezier(.2,.7,.2,1) both,
               aboutFloat 5.5s ease-in-out 1.2s infinite;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.about-mast-logo:hover {
    animation-play-state: paused;   /* süzülmeyi durdur, hover'ı hissettir */
    transform: translateY(-3px) scale(1.03);
    filter: drop-shadow(0 10px 22px rgba(138,63,252,.28));
}

@keyframes aboutMastIn {
    from { opacity: 0; transform: translateY(-18px); filter: blur(5px); }
    to   { opacity: 1; transform: translateY(0);     filter: blur(0); }
}
@keyframes aboutFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-7px); }
}

.about-seal { text-align: center; margin: 48px 0 8px; padding-top: 40px; border-top: 1px solid var(--border); }
.about-seal-icon {
    width: 60px; height: 60px; margin: 0 auto 16px; display: block;
    transform: rotate(-6deg);
    filter: drop-shadow(var(--shadow-brand));
    transition: transform 0.4s cubic-bezier(.2,.8,.2,1), filter 0.4s ease;
    cursor: pointer;
}
.about-seal-tagline { font-weight: 700; font-size: 1.1rem; margin-bottom: 22px; }

/* JS etkinse (js-reveal) mühür önce gizli başlar, görünür alana girince açılır.
   JS yoksa hiç gizlenmez; her şey normal görünür (progressive enhancement). */
.about-seal.js-reveal .about-seal-icon {
    opacity: 0; transform: rotate(-6deg) scale(0.75);
}
.about-seal.js-reveal .about-seal-tagline,
.about-seal.js-reveal .btn {
    opacity: 0; transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.about-seal.js-reveal.is-revealed .about-seal-icon {
    opacity: 1; transform: rotate(-6deg) scale(1);
    animation: aboutSealGlow 3.6s ease-in-out 0.9s infinite;
}
.about-seal.js-reveal.is-revealed .about-seal-tagline { opacity: 1; transform: none; transition-delay: 0.15s; }
.about-seal.js-reveal.is-revealed .btn { opacity: 1; transform: none; transition-delay: 0.28s; }

.about-seal-icon:hover {
    animation-play-state: paused;
    transform: rotate(0deg) scale(1.1);
    filter: drop-shadow(0 12px 28px rgba(255,45,122,.45));
}

@keyframes aboutSealGlow {
    0%, 100% { filter: drop-shadow(0 6px 14px rgba(138,63,252,.30)); }
    50%      { filter: drop-shadow(0 12px 30px rgba(255,45,122,.45)); }
}

@media (max-width: 640px) {
    .about-mast { padding-top: 40px; }
    .about-mast-logo { height: 48px; }
}

/* Hareket azaltma tercihine saygı: tüm süsleme animasyonlarını kapat */
@media (prefers-reduced-motion: reduce) {
    .about-mast-logo,
    .about-seal.js-reveal.is-revealed .about-seal-icon { animation: none; }
    .about-seal.js-reveal .about-seal-icon { opacity: 1; transform: rotate(-6deg); }
    .about-seal.js-reveal .about-seal-tagline,
    .about-seal.js-reveal .btn { opacity: 1; transform: none; }
}

/* ---------- Faz 8 — İletişim bağlantıları + Paylaşım widget'ı ---------- */
.vitrin-contact-links {
    display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap;
}
.contact-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: var(--radius-pill);
    background: var(--surface-2); border: 1px solid var(--border);
    color: var(--text-secondary); font-size: 1rem; transition: var(--transition);
}
.contact-link:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

.share-widget { position: relative; display: inline-block; }
.share-popover {
    display: none;
    position: absolute; top: calc(100% + 10px); left: 0; z-index: 30;
    width: 220px; padding: 16px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow-heavy);
    text-align: center;
}
.share-widget.is-open .share-popover { display: block; }
/* QR artık satır içi SVG; koyu temada da okunabilmesi için beyaz zeminde
   duruyor (QR okuyucular koyu-üstüne-açık desende güvenilir çalışmaz). */
.share-qr {
    margin-bottom: 10px; background: #fff;
    border-radius: 8px; padding: 8px; line-height: 0;
}
.share-qr svg, .share-qr img { width: 100%; height: auto; display: block; }
.share-url {
    font-size: 0.78rem; color: var(--text-secondary); margin-bottom: 10px;
    overflow-wrap: break-word; word-break: break-all;
}
.share-copy.is-copied { border-color: #22c55e; color: #22c55e; }

@media (max-width: 860px) {
    .share-popover { left: auto; right: 0; }
}

/* =========================================================================
   Yardımcı sınıflar (Faz L)
   -------------------------------------------------------------------------
   Blade'lerde 200'den fazla satır-içi `style=""` vardı; hepsi CSP'de
   `style-src 'unsafe-inline'` açık kalmasını zorunlu kılıyordu. Buradaki
   sınıflar o kalıpların birebir karşılığı.

   `u-` öneki bilinçli: bunlar bileşen değil, tek işi olan yardımcılar.
   Bileşene ait bir stil gerektiğinde ona kendi adıyla sınıf açılıyor
   (.quota-card, .chart-bar gibi), buraya eklenmiyor.
   ========================================================================= */
/* ÖZGÜLLÜK NOTU — seçiciler bilinçli olarak ikilenmiş (.u-right.u-right).
   Bileşen kuralları çoğunlukla `.admin-table th` gibi sınıf+eleman biçiminde
   ve tek sınıflı bir yardımcıdan güçlü. Satır-içi `style` bunları yendiği için
   sorun görünmüyordu; stiller sınıfa taşınınca tablo başlıkları hizasını
   kaybetti. İkileme, `!important` kullanmadan özgüllüğü yeterince yükseltiyor
   ve `!important`'ı gerçek acil durumlar için saklıyor. */


/* Dış boşluk */
.u-mt-0.u-mt-0  { margin-top: 0; }
.u-mt-8.u-mt-8  { margin-top: 8px; }
.u-mt-10.u-mt-10 { margin-top: 10px; }
.u-mt-16.u-mt-16 { margin-top: 16px; }
.u-mt-22.u-mt-22 { margin-top: 22px; }
.u-mt-24.u-mt-24 { margin-top: 24px; }
.u-mt-32.u-mt-32 { margin-top: 32px; }
.u-mt-40.u-mt-40 { margin-top: 40px; }

.u-mb-0.u-mb-0  { margin-bottom: 0; }
.u-mb-6.u-mb-6  { margin-bottom: 6px; }
.u-mb-10.u-mb-10 { margin-bottom: 10px; }
.u-mb-14.u-mb-14 { margin-bottom: 14px; }
.u-mb-18.u-mb-18 { margin-bottom: 18px; }
.u-mb-20.u-mb-20 { margin-bottom: 20px; }
.u-mb-24.u-mb-24 { margin-bottom: 24px; }
.u-mb-28.u-mb-28 { margin-bottom: 28px; }
.u-mb-40.u-mb-40 { margin-bottom: 40px; }
.u-mb-44.u-mb-44 { margin-bottom: 44px; }

.u-pt-40.u-pt-40 { padding-top: 40px; }
.u-pt-48.u-pt-48 { padding-top: 48px; }

/* Metin */
.u-muted.u-muted      { color: var(--text-secondary); }
.u-dim.u-dim        { color: var(--text-muted); }
.u-accent.u-accent     { color: var(--accent); }
.u-inherit.u-inherit    { color: inherit; }
.u-center.u-center     { text-align: center; }
.u-right.u-right      { text-align: right; }
.u-bold.u-bold       { font-weight: 700; }
.u-small.u-small      { font-size: .9rem; }
.u-tiny.u-tiny       { font-size: .85rem; }
.u-nums.u-nums       { font-variant-numeric: tabular-nums; }

/* Sayfa ve bölüm başlıkları */
.u-h1.u-h1 { font-size: 2rem; font-weight: 800; letter-spacing: -.5px; margin-bottom: 6px; }
.u-h2.u-h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 20px; }
.u-h3.u-h3 { font-size: 1.1rem; font-weight: 800; margin: 24px 0 12px; }
.u-lead.u-lead { color: var(--text-secondary); margin-bottom: 28px; }

/* Yerleşim */
.u-row.u-row       { display: flex; align-items: center; gap: 10px; }
.u-row-wrap.u-row-wrap  { display: flex; gap: 10px; flex-wrap: wrap; }
.u-row-18.u-row-18    { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.u-stack.u-stack     { display: flex; flex-direction: column; gap: 14px; }
.u-grow.u-grow      { flex: 1; min-width: 220px; }
.u-full.u-full      { width: 100%; }
.u-hidden.u-hidden    { display: none; }
.u-inline.u-inline    { display: inline; }
.u-span-all.u-span-all  { grid-column: 1 / -1; }

/* Genişlik sınırları */
.u-w-280.u-w-280 { max-width: 280px; }
.u-w-560.u-w-560 { max-width: 560px; }
.u-w-640.u-w-640 { max-width: 640px; }
.u-w-720.u-w-720 { max-width: 720px; }
.u-card-bg.u-card-bg { background: var(--bg-main); }

/* Tablolarda "sonuç yok" satırı */
.u-empty-cell.u-empty-cell { color: var(--text-secondary); padding: 24px; }

/* Panel: vitrin bilgileri formundaki tekrar eden parçalar */
.field-pair { display: flex; gap: 18px; flex-wrap: wrap; }
.field-pair > .field { flex: 1; min-width: 220px; }

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

.quick-add-title { font-weight: 800; font-size: 1rem; margin-bottom: 4px; }
.quick-add-title i { color: #f59e0b; }
.quick-add-desc { color: var(--text-secondary); font-size: .88rem; margin-bottom: 14px; }
.quick-add-select { flex: 1; min-width: 200px; }

.form-card-title { font-weight: 800; font-size: 1.2rem; margin-bottom: 20px; }
.form-subtitle { font-weight: 800; margin-bottom: 6px; }

/* Satır-içi olarak yazılmış olan uyarı kutusu; artık gerçek bir bileşen. */
.notice {
    display: flex; gap: 8px; align-items: flex-start;
    font-size: .88rem; color: var(--text-secondary);
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 12px 14px; margin-bottom: 18px;
}
.notice-warning > i { color: #f59e0b; margin-top: 2px; flex-shrink: 0; }

.row-title { font-weight: 700; }
.row-sub { color: var(--text-secondary); font-size: .9rem; }

/* Panel: içerik düzenlemede yüklü görsel şeridi */
.image-strip { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.image-strip-item { position: relative; }
.image-strip-item img {
    width: 88px; height: 88px; border-radius: 12px;
    object-fit: cover; border: 1px solid var(--border);
}
.image-remove-form { position: absolute; top: -8px; right: -8px; }
.image-remove-btn {
    width: 26px; height: 26px; border-radius: 50%;
    background: #ef4444; color: #fff; border: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.image-remove-btn i { font-size: .7rem; }

/* Yönetim ekranlarında tekrar eden parçalar */
.admin-form-card { max-width: 560px; background: var(--bg-main); }
.admin-form-card.is-wide { max-width: 720px; }
.admin-form-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 20px; }
.admin-back { margin-bottom: 18px; }
.admin-cell-flex { display: flex; align-items: center; gap: 10px; }
.admin-date-cell { text-align: right; color: var(--text-muted); font-size: .85rem; }
.admin-thumb { border-radius: 8px; }
.admin-avatar-lg { width: 64px; height: 64px; }

/* Kategoriler: liste + "yeni kategori" formu yan yana */
.category-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
@media (max-width: 860px) { .category-layout { grid-template-columns: 1fr; } }
.category-actions { white-space: nowrap; }
.category-edit-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.category-name-input { max-width: 200px; padding: 8px 12px; }
.category-slug-input {
    max-width: 170px; padding: 8px 12px;
    font-family: ui-monospace, monospace; font-size: .85rem;
}

/* Geri bildirim detayı */
.feedback-head {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.feedback-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -.5px; }
.feedback-meta { color: var(--text-secondary); margin-top: 6px; }
.feedback-meta a { color: var(--accent); font-weight: 600; }
.feedback-body {
    margin: 22px 0; padding: 20px;
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: var(--radius); line-height: 1.75; white-space: pre-wrap;
}
.feedback-trace { color: var(--text-muted); font-size: .85rem; margin-bottom: 24px; }

/* Giriş kayıtları */
.log-ip { font-family: monospace; }
.log-agent { max-width: 280px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Kullanıcı detayındaki özet tablo */
.admin-table.is-boxed { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.admin-user-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.admin-checkbox-row {
    display: flex; align-items: center; gap: 8px; margin: 8px 0 22px;
    color: var(--text-secondary); font-weight: 600;
}
.admin-logout-btn { width: 100%; text-align: left; }
.admin-alert { margin-top: 0; margin-bottom: 20px; }
.admin-alert .fa-circle-check { color: #22c55e; }

/* Herkese açık sayfalarda tekrar eden parçalar */
.page-h1 { font-size: 2rem; font-weight: 800; letter-spacing: -1px; }
.page-h1.is-lg { font-size: 2.2rem; }

/* Kimlik doğrulama ekranları */
.auth-title { font-size: 2rem; font-weight: 800; letter-spacing: -.5px; margin-bottom: 6px; }
.auth-alt { margin-top: 22px; color: var(--text-secondary); }
.auth-alt a.gradient-text { font-weight: 700; }
.auth-remember {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 22px; color: var(--text-secondary);
}
.auth-wrap.is-centered { text-align: center; }
.auth-badge-center { margin: 0 auto 20px; }
.auth-error-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 10px; }

/* Keşfet: yuvarlak arama kutusu */
.search-round { position: relative; max-width: 560px; margin-bottom: 48px; }
.search-round > i {
    position: absolute; left: 18px; top: 50%;
    transform: translateY(-50%); color: var(--text-muted);
}
.search-round .input { padding-left: 46px; border-radius: 100px; }
.section-sub.is-hot { display: flex; align-items: center; gap: 6px; }
.section-sub.is-hot > i { color: #f59e0b; }

/* Vitrin sayfası: takip formları kartın tamamını kaplamalı */
.vitrin-actions form { width: 100%; }

/* Ana sayfa: kayan kartlardaki ikon renkleri */
.hero-float-card .fa-heart { color: #f43f5e; }
.hero-float-card .fa-user-plus { color: var(--accent); }
.spotlight-cta { margin-top: 14px; }

/* Bot tuzağı: ekrandan tamamen çıkarılmış alan */
.honeypot-field {
    position: absolute; left: -9999px; top: -9999px;
    width: 1px; height: 1px; overflow: hidden;
}

.alert .fa-circle-check { color: #22c55e; }
.sidebar-logout { width: 100%; text-align: left; }
.container.is-pt-40 { padding-top: 40px; }
.container.is-pt-48 { padding-top: 48px; }
.card-clickable { cursor: pointer; }

/* Yayında olmayan vitrin uyarısı için üst boşluk */
.container.is-pt-20 { padding-top: 20px; }
/* E-posta doğrulama bilgi ekranı */
.verify-wrap { padding: 64px 24px; }
