/* ============================================================
   COMMUNITY PAGE — Premium fashion-tech editorial
   12 bölümlü uzun topluluk sayfası
   ============================================================ */

.community-page {
    --bg: #FBFAF8;
    --surface: #FFFFFF;
    --surface-soft: #F7F4EF;
    --text: #0B0B0F;
    --muted: #6F7280;
    --border: #ECE8E1;
    --border-soft: #F3EFE8;
    --blue: #7C3AED;
    --blue-soft: #EDF3FF;
    --blush: #E9A5B4;
    --gold: #C89445;
    --black: #09090B;

    background: var(--bg);
    color: var(--text);
    padding-bottom: 64px;
}

.page-container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 40px;
}

.community-top { padding-top: 28px; }
.community-section { margin-top: 56px; }

/* ============================================================
   BÖLÜM HEADER (her bölüm için ortak)
   ============================================================ */
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0;
}
.section-link {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s ease;
}
.section-link:hover { color: var(--blue); text-decoration: none; }

.empty-state {
    padding: 32px;
    text-align: center;
    color: var(--muted);
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: 16px;
    font-style: italic;
}

/* ============================================================
   1. TOP LAYOUT — 3 kolon
   ============================================================ */
.top-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 330px;
    gap: 32px;
    align-items: start;
}

/* ============================================================
   2. KATEGORİ SIDEBAR
   ============================================================ */
.category-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
.category-sidebar::-webkit-scrollbar { width: 4px; }
.category-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.sidebar-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin: 0 0 12px;
    padding: 0 12px;
}

.cat-item {
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    transition: background 0.15s ease;
}
.cat-item:hover {
    background: var(--surface);
    text-decoration: none;
    color: var(--text);
}
.cat-item.is-active {
    background: var(--blue-soft);
    color: var(--blue);
}
.cat-item.is-active::before {
    content: "";
    position: absolute;
    left: -2px;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 2px;
    background: var(--blue);
}

.cat-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--surface-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.cat-item.is-active .cat-icon {
    background: var(--blue);
    color: #FFFFFF;
}

.cat-body { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.cat-name {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -0.005em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cat-desc {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}
.cat-count {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}
.cat-item.is-active .cat-count { color: var(--blue); }

.cat-suggest {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 14px;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s ease, background 0.2s ease;
}
.cat-suggest:hover {
    border-color: var(--blue);
    background: var(--blue-soft);
    text-decoration: none;
    color: var(--blue);
}
.cat-suggest-plus {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--surface-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.cat-suggest strong {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
}
.cat-suggest em {
    font-style: italic;
    font-size: 11px;
    color: var(--muted);
    line-height: 1.3;
}

/* ============================================================
   3. ORTA İÇERİK — Hero + Hot Topics
   ============================================================ */
.main-community-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-width: 0;
}

/* HERO — kompakt */
.community-hero {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #1A1110;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 26px 30px;
    color: #FAF6F0;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.25) 65%, rgba(0, 0, 0, 0.10) 100%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 560px;
}
.hero-eyebrow {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.20em;
    color: rgba(255, 255, 255, 0.85);
}
.hero-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin: 0;
}
.hero-title br { display: none; }
.hero-title em {
    font-style: italic;
    color: var(--blush);
    font-weight: 400;
    margin: 0 4px;
}
.hero-deck {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    max-width: 520px;
}
.hero-deck br { display: none; }
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: 8px;
    padding: 9px 18px;
    background: #FFFFFF;
    color: var(--text);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.20);
    color: var(--text);
    text-decoration: none;
}

.hero-active {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.hero-active .avatar-stack .stack-avatar {
    width: 26px;
    height: 26px;
    font-size: 9.5px;
    margin-left: -8px;
    border-width: 1.5px;
}
.hero-active .avatar-stack .stack-avatar:first-child { margin-left: 0; }
.avatar-stack {
    display: flex;
    align-items: center;
}
.avatar-stack .stack-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    background-color: var(--surface-soft);
    background-size: cover;
    background-position: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    margin-left: -10px;
    flex-shrink: 0;
}
.avatar-stack .stack-avatar:first-child { margin-left: 0; }
.avatar-stack .stack-more {
    margin-left: -10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    background: var(--black);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.01em;
}
.hero-active .avatar-stack .stack-avatar { border-color: rgba(255, 255, 255, 0.85); }

.hero-active-text { display: flex; flex-direction: column; line-height: 1.2; }
.hero-active-text strong {
    font-size: 11.5px;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: -0.005em;
}
.hero-active-text span {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.65);
}

/* ============================================================
   4. HOT TOPICS LIST
   ============================================================ */
.hot-topics-section { margin-top: 0; }

.hot-topics-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hot-topic-row {
    display: grid;
    grid-template-columns: 60px 80px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hot-topic-row:hover {
    transform: translateY(-2px);
    border-color: #DDD8CF;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    color: var(--text);
    text-decoration: none;
}
.hot-rank {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 44px;
    line-height: 1;
    color: var(--gold);
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.hot-thumb {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    background: var(--surface-soft);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.hot-body { display: flex; flex-direction: column; min-width: 0; gap: 6px; }
.hot-pill {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 10px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    border-radius: 999px;
}
.hot-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 17px;
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin: 0;
    color: var(--text);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.hot-meta {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}
.hot-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
    font-size: 12px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
.hot-stats span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }

/* ============================================================
   5. SAĞ RAIL
   ============================================================ */
.right-rail {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rail-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 22px;
}
.rail-card-head { margin-bottom: 12px; }
.rail-card-head h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.015em;
    color: var(--text);
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
    animation: online-pulse 2s ease-in-out infinite;
}
@keyframes online-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18); }
    50%      { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0.10); }
}
.rail-card-deck {
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0 0 14px;
}
.rail-stack { flex-wrap: wrap; }
.rail-stack .stack-avatar {
    width: 32px;
    height: 32px;
    border-color: var(--surface);
    background-color: var(--surface-soft);
}
.rail-stack .stack-more {
    width: 32px;
    height: 32px;
    border-color: var(--surface);
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rules-list li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    align-items: flex-start;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--muted);
}
.rules-list li > span {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: var(--surface-soft);
    color: var(--text);
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-variant-numeric: tabular-nums;
}
.rules-list strong { color: var(--text); font-weight: 600; }

.rail-cta-dark {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    background:
        radial-gradient(ellipse 60% 80% at 100% 0%, rgba(232, 165, 180, 0.18) 0%, transparent 65%),
        linear-gradient(135deg, #1A1110 0%, #0B0907 100%);
    border-radius: 22px;
    color: #FAF6F0;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rail-cta-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
    color: #FAF6F0;
    text-decoration: none;
}
.rail-cta-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--gold);
}
.rail-cta-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 22px;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    margin: 4px 0 2px;
}
.rail-cta-deck {
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255, 240, 220, 0.75);
    margin: 0 0 12px;
}
.rail-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 10px 18px;
    background: #FFFFFF;
    color: #0B0907;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease;
}
.rail-cta-dark:hover .rail-cta-btn { transform: translateY(-1px); }

/* ============================================================
   6. EDİTÖRÜN SEÇTİKLERİ — 3 col
   ============================================================ */
.editor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.editor-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.editor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    text-decoration: none;
    color: var(--text);
}
.editor-cover {
    aspect-ratio: 4 / 3;
    background: var(--surface-soft);
    background-size: cover;
    background-position: center;
}
.editor-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.editor-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 4px;
}
.editor-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0;
}
.editor-deck {
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
    margin: 0 0 12px;
}
.editor-author {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border-soft);
}
.editor-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface-soft);
    background-size: cover;
    background-position: center;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.editor-author strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.editor-author em {
    font-style: italic;
    font-size: 11px;
    color: var(--muted);
}

/* ============================================================
   7. BUGÜN AÇILAN SORULAR — 2 col
   ============================================================ */
.questions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.question-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.question-card:hover {
    transform: translateY(-2px);
    border-color: #DDD8CF;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    color: var(--text);
}
.question-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface-soft);
    background-size: cover;
    background-position: center;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.question-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.question-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--text);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.question-pill {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 8px;
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    border-radius: 999px;
}
.question-meta {
    font-size: 11.5px;
    color: var(--muted);
    margin: 0;
}
.question-views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    white-space: nowrap;
}

/* ============================================================
   8. STİL REHBERLERİ — 4 col
   ============================================================ */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.guide-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
    text-decoration: none;
    color: var(--text);
}
.guide-cover {
    aspect-ratio: 5 / 4;
    background: var(--surface-soft);
    background-size: cover;
    background-position: center;
}
.guide-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.guide-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15.5px;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--text);
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.guide-deck {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0 0 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.guide-meta {
    margin-top: auto;
    font-size: 11px;
    color: var(--muted);
    padding-top: 8px;
    border-top: 1px solid var(--border-soft);
}

/* ============================================================
   9. TOPLULUK SALONLARI — yatay grid
   ============================================================ */
.salons-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}
.salon-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.salon-card:hover {
    transform: translateY(-2px);
    border-color: #DDD8CF;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    color: var(--text);
    text-decoration: none;
}
.salon-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--surface-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.salon-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.salon-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin: 0;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.salon-meta {
    font-size: 11px;
    color: var(--muted);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.salon-count {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

/* ============================================================
   10. HAFTANIN KONUSU — banner
   ============================================================ */
.weekly-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px auto;
    align-items: center;
    gap: 32px;
    padding: 36px 40px;
    background:
        radial-gradient(ellipse 60% 100% at 90% 50%, rgba(232, 165, 180, 0.12) 0%, transparent 65%),
        linear-gradient(135deg, var(--surface-soft) 0%, #F2EDE5 100%);
    border: 1px solid var(--border);
    border-radius: 28px;
    color: var(--text);
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.weekly-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    color: var(--text);
    text-decoration: none;
}
.weekly-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 10px;
}
.weekly-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-style: italic;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0 0 8px;
}
.weekly-deck {
    font-size: 13.5px;
    color: var(--muted);
    margin: 0;
}
.weekly-illu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.weekly-illu-emoji {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.04);
}
.weekly-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: var(--black);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    border-radius: 999px;
    white-space: nowrap;
}

/* ============================================================
   11. BOTTOM CTA — siyah gradient
   ============================================================ */
.community-cta {
    position: relative;
    padding: 56px 48px;
    background:
        radial-gradient(ellipse 50% 60% at 0% 100%, rgba(232, 165, 180, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 100% 0%, rgba(124, 58, 237, 0.10) 0%, transparent 70%),
        linear-gradient(135deg, #1A1110 0%, #0B0907 100%);
    border-radius: 28px;
    color: #FAF6F0;
    overflow: hidden;
    text-align: center;
}
.community-cta-body {
    max-width: 720px;
    margin: 0 auto;
}
.community-cta-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #FFFFFF;
    margin: 0 0 12px;
}
.community-cta-deck {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 240, 220, 0.7);
    margin: 0 0 28px;
}
.community-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: #FFFFFF;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-primary:hover {
    transform: translateY(-2px);
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.18);
}
.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: transparent;
    color: #FAF6F0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.45);
    color: #FFFFFF;
    text-decoration: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
    .top-layout { grid-template-columns: 240px minmax(0, 1fr) 300px; gap: 24px; }
    .editor-grid { gap: 18px; }
    .guides-grid { gap: 16px; }
    .salons-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
    .top-layout { grid-template-columns: 240px minmax(0, 1fr); }
    .right-rail { display: none; }
    .page-container { padding: 0 28px; }
}

@media (max-width: 900px) {
    .top-layout { grid-template-columns: 1fr; gap: 24px; }
    .category-sidebar {
        position: static;
        max-height: none;
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
        padding: 4px 0;
    }
    .sidebar-eyebrow { display: none; }
    .cat-item { flex: 0 0 auto; padding: 10px 14px; }
    .cat-item.is-active::before { display: none; }
    .cat-body .cat-desc { display: none; }
    .cat-suggest { display: none; }

    .community-hero {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 22px;
    }
    .hero-active { align-self: flex-start; }
    .editor-grid { grid-template-columns: 1fr; }
    .questions-grid { grid-template-columns: 1fr; }
    .guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .salons-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .hot-topic-row {
        grid-template-columns: 44px 64px minmax(0, 1fr);
        gap: 12px;
        padding: 14px 16px;
    }
    .hot-stats {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding-top: 10px;
        border-top: 1px solid var(--border-soft);
        margin-top: 4px;
    }
    .hot-rank { font-size: 32px; }
    .hot-thumb { width: 64px; height: 64px; }

    .weekly-banner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px;
        text-align: center;
    }
    .weekly-illu { justify-content: center; }
    .weekly-cta { justify-self: center; }

    .community-cta { padding: 40px 24px; }
}

@media (max-width: 600px) {
    .page-container { padding: 0 16px; }
    .community-top { padding-top: 16px; }
    .community-section { margin-top: 40px; }

    .community-hero { padding: 18px; border-radius: 18px; }
    .hero-title { font-size: clamp(1.25rem, 5.5vw, 1.75rem); }
    .hero-deck { font-size: 12.5px; }

    .section-title { font-size: 18px; }
    .guides-grid { grid-template-columns: 1fr; }
    .salons-grid { grid-template-columns: 1fr; }

    .editor-card .editor-body { padding: 18px; }
    .editor-title { font-size: 17px; }
    .editor-cover { aspect-ratio: 16 / 10; }
}

/* ============================================================
   ============================================================
   CATEGORY PAGE — /forum/kategori/{slug}
   3 kolon: kategori sidebar | breadcrumb+hero+toolbar+topic-list | rail
   ============================================================
   ============================================================ */

.category-page {
    --bg: #FFFFFF;
    background: var(--bg);
}

.category-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 330px;
    gap: 32px;
    align-items: start;
    padding-top: 28px;
}

/* Sol kategori sidebar — community-page sidebar ile aynı, hafif overrides */
.category-page .category-sidebar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 18px 12px;
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.category-page .sidebar-eyebrow { padding: 0 6px 10px; margin: 0; }

/* ============================================================
   ORTA İÇERİK
   ============================================================ */
.category-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

/* BREADCRUMB */
.cat-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
}
.cat-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s ease;
}
.cat-breadcrumb a:hover { color: var(--text); text-decoration: none; }
.cat-bc-sep { color: var(--border); font-size: 14px; }
.cat-bc-current { color: var(--text); font-weight: 600; }

/* ============================================================
   HERO BAŞLIK KARTI
   ============================================================ */
.cat-hero {
    position: relative;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAF7F2 100%);
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
.cat-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue) 0%, transparent 60%);
}

.cat-hero-icon {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-soft) 100%);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 6px 14px rgba(15, 23, 42, 0.04);
}

.cat-hero-body { display: flex; flex-direction: column; min-width: 0; }
.cat-hero-eyebrow {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 13px;
    color: var(--blue);
    margin-bottom: 4px;
}
.cat-hero-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--text);
    margin: 0 0 8px;
}
.cat-hero-meta {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}
.cat-hero-meta strong { color: var(--text); font-weight: 600; }
.cat-hero-dot { margin: 0 6px; color: var(--border); }

.cat-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--blue);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.005em;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}
.cat-hero-cta:hover {
    transform: translateY(-2px);
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.36);
}
.cat-hero-cta > span:first-child {
    font-size: 18px;
    line-height: 1;
}

/* ============================================================
   TOOLBAR — search + sort
   ============================================================ */
.cat-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    flex-wrap: wrap;
}

.cat-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 280px;
    background: var(--surface-soft);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 4px 6px 4px 14px;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.cat-search:focus-within {
    background: var(--surface);
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.10);
}
.cat-search-icon { color: var(--muted); display: inline-flex; flex-shrink: 0; }
.cat-search input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font: inherit;
    font-size: 14px;
    color: var(--text);
    height: 36px;
    padding: 0;
    min-width: 0;
}
.cat-search input::placeholder { color: var(--muted); }
.cat-search-btn {
    height: 32px;
    padding: 0 16px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.cat-search-btn:hover { background: var(--surface-soft); border-color: #DDD8CF; }

.cat-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.cat-sort-label {
    font-size: 13px;
    color: var(--muted);
    margin-right: 4px;
}
.cat-sort-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.cat-sort-pill:hover {
    background: var(--surface-soft);
    color: var(--text);
    text-decoration: none;
}
.cat-sort-pill.is-active {
    background: var(--black);
    color: #FFFFFF;
}
.cat-sort-pill.is-active:hover { background: var(--black); color: #FFFFFF; }

/* ============================================================
   TOPIC LIST
   ============================================================ */
.topic-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.topic-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.topic-row:hover {
    transform: translateY(-1px);
    border-color: #DDD8CF;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    color: var(--text);
    text-decoration: none;
}
.topic-row.is-pinned {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--blue-soft) 100%);
    border-color: #DCE6FB;
}

.topic-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--surface-soft) 0%, var(--blue-soft) 100%);
    background-size: cover;
    background-position: center;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.topic-body { display: flex; flex-direction: column; min-width: 0; gap: 4px; }
.topic-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16.5px;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--text);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}
.topic-pin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--blue);
    color: #FFFFFF;
    font-size: 12px;
    flex-shrink: 0;
}
.topic-meta {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin: 0;
}
.topic-dot { margin: 0 6px; }

.topic-stats {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 13px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
.topic-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.topic-stat svg { color: var(--muted); }
.topic-row:hover .topic-stat svg { color: var(--text); }

.topic-empty {
    padding: 48px 32px;
    text-align: center;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: 18px;
    color: var(--muted);
}
.topic-empty p { margin: 0 0 16px; font-size: 14px; }
.topic-empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--blue);
    color: #FFFFFF;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.15s ease;
}
.topic-empty-cta:hover { transform: translateY(-1px); color: #FFFFFF; text-decoration: none; }

/* ============================================================
   PAGINATION
   ============================================================ */
.cat-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px 0 0;
}
.cat-page-btn {
    padding: 10px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.cat-page-btn:hover {
    background: var(--surface-soft);
    border-color: #DDD8CF;
    color: var(--text);
    text-decoration: none;
}
.cat-page-info { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ============================================================
   SAĞ RAIL — kategori sayfası özel
   ============================================================ */
.category-rail {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 96px;
}
.rail-card-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.015em;
    color: var(--text);
    margin: 0 0 8px;
}
.rail-cta-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 14px;
    padding: 14px 20px;
    background: var(--blue);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rail-cta-blue:hover {
    transform: translateY(-2px);
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(124, 58, 237, 0.36);
}
.rail-cta-blue > span:first-child { font-size: 17px; line-height: 1; }

/* Sohbet kuralları rail-card içinde — community-page'in rules-list ile aynı */
.category-rail .rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.category-rail .rules-list li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}
.category-rail .rules-list li > span {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-variant-numeric: tabular-nums;
}
.category-rail .rules-list strong { color: var(--text); font-weight: 600; }

/* ============================================================
   RESPONSIVE — kategori sayfası
   ============================================================ */
@media (max-width: 1280px) {
    .category-layout { grid-template-columns: 240px minmax(0, 1fr) 300px; gap: 24px; }
}
@media (max-width: 1100px) {
    .category-layout { grid-template-columns: 240px minmax(0, 1fr); }
    .category-rail { display: none; }
}
@media (max-width: 900px) {
    .category-layout { grid-template-columns: 1fr; gap: 20px; }
    .category-page .category-sidebar {
        position: static;
        max-height: none;
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
        padding: 8px;
    }
    .category-page .sidebar-eyebrow { display: none; }
    .category-page .cat-item { flex: 0 0 auto; }
    .category-page .cat-item.is-active::before { display: none; }

    .cat-hero {
        grid-template-columns: 64px minmax(0, 1fr);
        padding: 18px 20px;
    }
    .cat-hero-icon { width: 64px; height: 64px; font-size: 28px; }
    .cat-hero-cta { grid-column: 1 / -1; justify-content: center; width: 100%; }

    .cat-toolbar { flex-direction: column; align-items: stretch; }
    .cat-sort { flex-wrap: wrap; }

    .topic-row {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        padding: 14px 16px;
    }
    .topic-avatar { width: 44px; height: 44px; }
    .topic-stats {
        grid-column: 1 / -1;
        padding-top: 10px;
        border-top: 1px solid var(--border-soft);
        gap: 14px;
        font-size: 12px;
    }
    .topic-title { font-size: 15px; white-space: normal; }
}

@media (max-width: 600px) {
    .category-layout { padding-top: 16px; }
    .cat-hero { padding: 16px; }
    .cat-hero-title { font-size: 22px; }
    .cat-toolbar { padding: 10px 12px; }
    .cat-sort-pill { padding: 7px 12px; font-size: 12.5px; }
}

/* ============================================================
   ============================================================
   NEW TOPIC — /forum/yeni-konu
   Premium konu açma formu
   ============================================================
   ============================================================ */

.nt-shell {
    max-width: 760px;
    margin: 16px auto 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px 40px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.05);
}

.nt-head { margin-bottom: 28px; }
.nt-eyebrow {
    display: inline-block;
    padding: 5px 12px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    border-radius: 999px;
    margin-bottom: 12px;
}
.nt-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--text);
    margin: 0 0 6px;
}
.nt-deck {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

.nt-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.nt-error-summary {
    color: var(--color-error, #EF4444);
    font-size: 13px;
    line-height: 1.5;
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 12px;
    padding: 12px 16px;
}
.nt-error-summary:empty,
.nt-error-summary.validation-summary-valid { display: none; }
.nt-error-summary ul { margin: 0; padding-left: 18px; }

.nt-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.nt-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.005em;
}

.nt-input,
.nt-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    box-sizing: border-box;
}
.nt-input::placeholder,
.nt-textarea::placeholder {
    color: var(--muted);
}
.nt-input:focus,
.nt-textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.10);
}
.nt-textarea {
    resize: vertical;
    min-height: 200px;
}

.nt-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
}
.nt-counter {
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    margin-left: auto;
}
.nt-error {
    color: #EF4444;
    font-size: 12px;
}

/* Kategori chip grid */
.nt-chips {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}
.nt-chip {
    cursor: pointer;
    user-select: none;
    position: relative;
}
.nt-chip input { position: absolute; opacity: 0; pointer-events: none; }
.nt-chip span:first-of-type,
.nt-chip > span {
    transition: all 0.15s ease;
}
.nt-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    transition: all 0.15s ease;
}
.nt-chip:hover {
    border-color: #DDD8CF;
    transform: translateY(-1px);
}
.nt-chip.is-checked,
.nt-chip:has(input:checked) {
    border-color: var(--blue);
    background: var(--blue-soft);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.12);
}
.nt-chip-emoji {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}
.nt-chip-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nt-chip.is-checked .nt-chip-name,
.nt-chip:has(input:checked) .nt-chip-name {
    color: var(--blue);
}

/* Tips */
.nt-tips {
    padding: 16px 20px;
    background: var(--surface-soft);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
}
.nt-tips strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.005em;
}
.nt-tips ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12.5px;
    color: var(--text-soft, var(--muted));
    line-height: 1.5;
}
.nt-tips ul li {
    padding-left: 18px;
    position: relative;
}
.nt-tips ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
}

/* Actions */
.nt-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 6px;
}
.nt-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    background: var(--blue);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.005em;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.30);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.15s ease;
}
.nt-btn-primary:hover {
    transform: translateY(-2px);
    background: #7C3AED;
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(124, 58, 237, 0.40);
}
.nt-btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 13px 22px;
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.nt-btn-ghost:hover {
    background: var(--surface-soft);
    border-color: #DDD8CF;
    color: var(--text);
    text-decoration: none;
}

@media (max-width: 768px) {
    .nt-shell { padding: 24px 22px; border-radius: 18px; }
    .nt-chips { grid-template-columns: 1fr; }
    .nt-actions { flex-direction: column-reverse; align-items: stretch; }
    .nt-actions > * { justify-content: center; }
}

/* ============================================================
   Anonim toggle — premium iOS-style switch
   ============================================================ */
.nt-anon-toggle {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.nt-anon-toggle:has(input:checked) {
    border-color: var(--blue);
    background: var(--blue-soft);
}
.nt-anon-toggle:hover { border-color: #DDD8CF; }
.nt-anon-toggle:has(input:checked):hover { border-color: var(--blue); }

.nt-anon-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nt-anon-track {
    position: relative;
    width: 46px;
    height: 26px;
    background: var(--border);
    border-radius: 999px;
    flex-shrink: 0;
    transition: background 0.25s ease;
}
.nt-anon-toggle:has(input:checked) .nt-anon-track {
    background: var(--blue);
}
.nt-anon-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nt-anon-toggle:has(input:checked) .nt-anon-knob {
    transform: translateX(20px);
}
/* Login değilse track disabled görünür ama checked stays */
.nt-anon-toggle input:disabled ~ .nt-anon-track {
    opacity: 0.7;
    cursor: not-allowed;
}

.nt-anon-text { display: flex; flex-direction: column; line-height: 1.3; gap: 2px; }
.nt-anon-text strong {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
}
.nt-anon-text em {
    font-style: normal;
    font-size: 11.5px;
    color: var(--muted);
}

/* Login değilsin uyarı banner */
.nt-anon-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
    padding: 12px 14px;
    background: rgba(124, 58, 237, 0.06);
    border: 1px solid rgba(124, 58, 237, 0.20);
    border-radius: 12px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-soft, var(--muted));
}
.nt-anon-info > svg { color: var(--blue); flex-shrink: 0; margin-top: 1px; }
.nt-anon-info strong { color: var(--text); font-weight: 700; margin-right: 4px; }
.nt-anon-info a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
}
.nt-anon-info a:hover { text-decoration: underline; }


/* Anonim yazar — link yerine düz metin (Topic detay & yanıtlar) */
.anon-author {
    color: var(--text-primary, #0a0a0a);
    font-weight: 600;
    cursor: default;
}

/* ════════════════════════════════════════════════════════════════════
   FORUM — TOPIC DETAY (premium)
   ════════════════════════════════════════════════════════════════════ */

.thread {
    max-width: 880px;
    margin: 0 auto;
    padding: 8px 0 64px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Breadcrumb */
.thread-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary, #525252);
    flex-wrap: wrap;
}
.thread-breadcrumb a {
    color: var(--text-secondary, #525252);
    text-decoration: none;
    transition: color .15s ease;
}
.thread-breadcrumb a:hover {
    color: var(--text-primary, #0a0a0a);
}
.thread-breadcrumb-chevron {
    color: #d4d4d4;
    flex-shrink: 0;
}
.thread-breadcrumb-current {
    color: var(--text-primary, #0a0a0a);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 360px;
}

/* Thread header */
.thread-header {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 8px 0 4px;
}
.thread-header-flags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.forum-flag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}
.forum-flag--pinned {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}
.forum-flag--locked {
    background: #f5f5f5;
    color: #525252;
}

.thread-title {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text-primary, #0a0a0a);
}

.thread-meta-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.thread-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    background: #f5f5f5;
    border: 1px solid #ededed;
    border-radius: 999px;
    font-size: 12.5px;
    color: var(--text-secondary, #525252);
}
.thread-meta-pill strong {
    color: var(--text-primary, #0a0a0a);
    font-weight: 700;
}
.thread-meta-pill svg {
    color: #a3a3a3;
    flex-shrink: 0;
}
.thread-meta-pill--time {
    background: transparent;
    border-color: transparent;
}

/* Posts (op + replies) */
.post {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 20px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.post:hover {
    border-color: #e0e0e0;
}
.post--op {
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    border-color: #e5e5e5;
    box-shadow: 0 1px 3px rgba(0,0,0,.02);
}
.post.is-best-answer {
    border-color: #10b981;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 60%);
    box-shadow: 0 0 0 1px rgba(16,185,129,.15);
}

.post-best-answer-banner {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: #10b981;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    width: fit-content;
    letter-spacing: 0.01em;
    margin-bottom: 4px;
}

.post-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e5e5e5, #d4d4d4);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #525252;
    flex-shrink: 0;
}
.post--op .post-avatar {
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px #e5e5e5;
}

.post-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.post-author-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
}
.post-author a {
    color: var(--text-primary, #0a0a0a);
    font-weight: 600;
    text-decoration: none;
    transition: color .15s ease;
}
.post-author a:hover {
    color: #8b5cf6;
    text-decoration: underline;
}
.anon-author {
    color: var(--text-primary, #0a0a0a);
    font-weight: 600;
    cursor: default;
}
.post-author-badge {
    padding: 2px 8px;
    background: #f5f5f5;
    color: #525252;
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px;
    line-height: 1.5;
}
.post-author-badge--op {
    background: linear-gradient(135deg, #ddd6fe, #c4b5fd);
    color: #5b21b6;
}
.post-meta {
    margin-left: auto;
    font-size: 12.5px;
    color: var(--text-secondary, #525252);
}

.post-content {
    font-size: 15.5px;
    line-height: 1.7;
    color: #1f1f1f;
    word-break: break-word;
}
.post-content br + br {
    display: block;
    content: "";
    margin-top: 8px;
}

.post-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    padding-top: 4px;
    border-top: 1px solid #f5f5f5;
    margin-top: 4px;
}
.post-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary, #525252);
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.post-action svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}
.post-action:hover {
    background: #f5f5f5;
    color: var(--text-primary, #0a0a0a);
}
.post-action--like.is-liked {
    color: #e11d48;
}
.post-action--like.is-liked svg {
    fill: #e11d48;
    stroke: #e11d48;
}
.post-action--follow.is-following {
    color: #8b5cf6;
    background: #f5f3ff;
}
.post-action--best.is-best {
    color: #10b981;
    background: #ecfdf5;
}
.post-action-count {
    font-weight: 600;
    color: var(--text-primary, #0a0a0a);
    font-size: 12.5px;
}

/* Replies head */
.thread-replies-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 4px 4px;
    flex-wrap: wrap;
    gap: 12px;
}
.thread-replies-count {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.015em;
}
.thread-replies-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.thread-sort-label {
    color: var(--text-secondary, #525252);
}
.thread-sort-btn {
    padding: 6px 12px;
    background: #f5f5f5;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-secondary, #525252);
    cursor: pointer;
    transition: all .15s ease;
}
.thread-sort-btn.is-active,
.thread-sort-btn:hover {
    background: #fff;
    border-color: #e5e5e5;
    color: var(--text-primary, #0a0a0a);
}

.thread-replies {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.thread-pagination {
    margin-top: 16px;
}

/* Reply box */
.reply-box {
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,.02);
}
.reply-box-head {
    display: flex;
    align-items: center;
    gap: 12px;
}
.reply-box-icon {
    font-size: 22px;
    line-height: 1;
}
.reply-box-label {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.reply-box-label strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary, #0a0a0a);
}
.reply-box-label span {
    font-size: 13px;
    color: var(--text-secondary, #525252);
}
.reply-box textarea {
    width: 100%;
    min-height: 120px;
    padding: 14px 16px;
    border: 1.5px solid #e5e5e5;
    border-radius: 14px;
    font-family: inherit;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-primary, #0a0a0a);
    background: #fafafa;
    resize: vertical;
    transition: border-color .15s ease, background .15s ease;
}
.reply-box textarea:focus {
    outline: none;
    border-color: #0a0a0a;
    background: #fff;
}
.reply-box-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.reply-box-tips {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--text-secondary, #525252);
}
.reply-box-counter {
    color: #a3a3a3;
}
.reply-box-locked,
.reply-box-anon {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #fafafa, #f5f5f5);
    border: 1px dashed #d4d4d4;
    border-radius: 20px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.reply-box-locked svg {
    color: #525252;
    flex-shrink: 0;
}
.reply-box-locked > div,
.reply-box-anon > div {
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.reply-box-locked strong,
.reply-box-anon strong {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-primary, #0a0a0a);
}
.reply-box-locked span,
.reply-box-anon span {
    font-size: 13px;
    color: var(--text-secondary, #525252);
}
.reply-box-anon-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Mobile */
@media (max-width: 640px) {
    .thread { gap: 16px; padding: 4px 0 48px; }
    .post {
        grid-template-columns: 44px 1fr;
        gap: 12px;
        padding: 18px;
        border-radius: 16px;
    }
    .post-avatar { width: 44px; height: 44px; font-size: 15px; }
    .thread-title { font-size: 24px; }
    .post-meta { margin-left: 0; width: 100%; }
    .reply-box { padding: 18px; border-radius: 16px; }
}
