/* Sivil Memurlar Sayfası — sayfa düzeni */

.forum-shell {
    width: 94%;
    max-width: 1100px;
    margin: 0 auto 3rem;
}

.forum-hero {
    text-align: center;
    margin: 1.25rem auto 1.75rem;
    padding: 0 0.5rem;
}

.forum-hero h1 {
    color: var(--brand-accent, #c9a962);
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(1.55rem, 4vw, 2.35rem);
    line-height: 1.25;
    margin-bottom: 0.65rem;
    letter-spacing: 0.02em;
}

.kurum-hero-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 0.35rem;
    max-width: 52rem;
}

.kurum-hero-logo {
    width: 1.15em;
    height: 1.15em;
    font-size: clamp(1.55rem, 3.4vw, 2.25rem);
    object-fit: contain;
    flex: 0 0 auto;
    display: block;
}

.kurum-hero-title {
    margin: 0 !important;
    margin-bottom: 0 !important;
    text-align: left !important;
    font-size: clamp(1.55rem, 3.4vw, 2.25rem) !important;
    line-height: 1.2 !important;
}

.kurum-hero-desc {
    margin: 0.35rem 0 0 !important;
    max-width: none !important;
    color: var(--brand-muted, #c8c2b6);
    font-size: 0.98rem;
    line-height: 1.45;
}

@media (max-width: 640px) {
  .kurum-hero-heading {
    gap: 0.55rem;
  }
}

.forum-hero p {
    color: var(--brand-muted, #c8c2b6);
    font-size: clamp(0.92rem, 2.4vw, 1.05rem);
    line-height: 1.65;
    max-width: 720px;
    margin: 0 auto;
}

/* Ana sayfa: başlık ortada; Resmî Gazete slogan hizasında sağda küçük kutu */
.home-hero .home-hero-row {
    position: relative;
    width: 100%;
    min-height: 7.25rem;
}

.home-hero .home-hero-copy {
    text-align: center;
    /* Sağdaki kutunun üstüne binmesin */
    padding-right: 176px;
    box-sizing: border-box;
}

.home-hero .home-hero-copy h1 {
    margin-top: 0;
}

.home-hero .home-hero-copy p {
    margin-left: auto;
    margin-right: auto;
}

.home-hero .rg-home-aside {
    position: absolute;
    top: 0;
    right: 0;
    width: 158px;
    max-width: 158px;
    /* Başlık + slogan (~3 satır) yüksekliğini aşmasın */
    max-height: 7.25rem;
    overflow: hidden;
    z-index: 2;
}

.home-hero .rg-widget--compact {
    height: 100%;
    max-height: 7.25rem;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    border-color: rgba(201, 169, 98, 0.35);
    background:
        linear-gradient(145deg, rgba(201, 169, 98, 0.12), rgba(255, 255, 255, 0.02) 55%),
        rgba(0, 0, 0, 0.18);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.home-hero .rg-widget--compact .rg-widget-head {
    padding: 0.35rem 0.5rem;
    background: linear-gradient(90deg, rgba(201, 169, 98, 0.18), transparent);
}

.home-hero .rg-widget--compact .rg-widget-head h2 {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 800;
}

.home-hero .rg-widget--compact .rg-list {
    flex: 1 1 auto;
    max-height: none;
    overflow: hidden;
}

.home-hero .rg-widget--compact .rg-list a {
    padding: 0.28rem 0.5rem;
    font-size: 0.68rem;
    line-height: 1.25;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-hero .rg-widget--compact .rg-widget-foot {
    padding: 0.22rem 0.5rem 0.3rem;
    font-size: 0.62rem;
    border-top: 1px solid rgba(201, 169, 98, 0.15);
}

.home-hero .rg-widget--compact .rg-widget-foot a {
    font-weight: 800;
}

@media (max-width: 820px) {
    .home-hero .home-hero-row {
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .home-hero .home-hero-copy {
        padding-inline: 0;
        order: 1;
    }

    .home-hero .rg-home-aside {
        position: static;
        width: min(100%, 200px);
        max-width: 200px;
        max-height: 7.5rem;
        order: 2;
    }
}

.forum-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.forum-actions a {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    padding: 0.7rem 1.2rem;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.forum-actions .btn-primary {
    background: var(--brand-accent, #c9a962);
    color: #111;
}

.forum-actions .btn-primary:hover {
    background: var(--brand-accent-hover, #dbbc74);
}

.forum-actions .btn-ghost {
    background: transparent;
    color: var(--brand-ink, #f2efe8);
    border: 1px solid rgba(201, 169, 98, 0.45);
}

.forum-actions .btn-ghost:hover {
    border-color: rgba(219, 188, 116, 0.75);
    color: #dbbc74;
}

.home-tools-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
    margin: 0 auto 1.75rem;
    padding: 0.35rem;
    max-width: 920px;
}

.home-tool-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--theme-border, rgba(201, 169, 98, 0.28));
    color: var(--theme-muted, #c8c2b6);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    background: var(--theme-card, rgba(255, 255, 255, 0.03));
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.home-tool-link:hover {
    color: var(--theme-accent, #c9a962);
    border-color: var(--theme-accent, #c9a962);
    background: rgba(201, 169, 98, 0.1);
}

.forum-section-title {
    color: var(--brand-ink, #f2efe8);
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.45rem;
    margin: 2rem 0 0.85rem;
    text-align: left;
}

.forum-section-sub {
    color: var(--brand-muted, #c8c2b6);
    font-size: 0.95rem;
    margin: -0.4rem 0 1rem;
}

.bakanlik-block {
    background: var(--brand-panel, rgba(8, 10, 14, 0.82));
    border: 1px solid rgba(201, 169, 98, 0.22);
    border-radius: 8px;
    padding: 1.25rem 1.35rem 1.4rem;
    margin-bottom: 1.15rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.bakanlik-block > h2 {
    color: var(--brand-accent, #c9a962);
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.3rem;
    margin-bottom: 0.35rem;
}

.kurum-mini-heading {
    display: flex;
    align-items: center;
    gap: 0.45em;
    min-width: 0;
}

.kurum-mini-heading > span {
    min-width: 0;
    line-height: 1.25;
}

.kurum-mini-logo {
    width: 1.15em;
    height: 1.15em;
    object-fit: contain;
    flex: 0 0 auto;
    display: block;
}

.bakanlik-block > .kurum-mini-heading,
.bakanlik-block > .bakanlik-title-link > .kurum-mini-heading {
    color: var(--brand-accent, #c9a962);
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.3rem;
    margin-bottom: 0.35rem;
}

.birim-link > .kurum-mini-heading {
    color: var(--brand-ink, #f2efe8);
    font-size: 1.02rem;
    margin-bottom: 0.35rem;
    font-family: var(--font-body, 'Segoe UI', sans-serif);
    font-weight: 700;
}

.bakanlik-block > .bakanlik-desc {
    color: var(--brand-muted, #c8c2b6);
    font-size: 0.92rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.bakanlik-title-link {
    display: inline-block;
    max-width: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: 4px;
    transition: opacity 0.15s ease, color 0.15s ease;
}

.bakanlik-title-link:hover,
.bakanlik-title-link:focus-visible {
    opacity: 0.92;
    outline: none;
}

.bakanlik-title-link:hover .kurum-mini-heading,
.bakanlik-title-link:focus-visible .kurum-mini-heading {
    color: #dbbc74;
}

.bakanlik-hub-meta {
    margin: -0.55rem 0 1rem;
    font-size: 0.84rem;
}

.bakanlik-hub-meta a {
    color: #dbbc74;
    font-weight: 600;
    text-decoration: none;
}

.bakanlik-hub-meta a:hover {
    text-decoration: underline;
}

.birim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
}

.birim-link {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 98, 0.18);
    border-radius: 6px;
    padding: 0.95rem 1rem;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.birim-link:hover {
    border-color: rgba(201, 169, 98, 0.55);
    background: rgba(201, 169, 98, 0.08);
    transform: translateY(-2px);
}

.birim-link h3 {
    color: var(--brand-ink, #f2efe8);
    font-size: 1.02rem;
    margin-bottom: 0.35rem;
    font-family: var(--font-body, 'Segoe UI', sans-serif);
    font-weight: 700;
}

.birim-link p {
    color: var(--brand-muted, #c8c2b6);
    font-size: 0.86rem;
    line-height: 1.45;
    margin-bottom: 0.55rem;
}

.birim-meta {
    color: #dbbc74;
    font-size: 0.8rem;
    font-weight: 600;
}

/* —— Ana sayfa: Engelliler.biz tarzı konu akışı —— */
.feed-panel {
    background: rgba(12, 14, 18, 0.92);
    border: 1px solid rgba(201, 169, 98, 0.22);
    border-radius: 10px;
    overflow: hidden;
    margin: 0.5rem 0 2rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.feed-tabs-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.35rem 0.75rem;
    padding: 0.55rem 0.75rem 0;
    border-bottom: 1px solid rgba(201, 169, 98, 0.18);
    background: rgba(255, 255, 255, 0.02);
}

.feed-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
    flex: 1 1 12rem;
    min-width: 0;
}

.feed-col-headings {
    display: grid;
    grid-template-columns: minmax(90px, 140px) 52px minmax(72px, 110px);
    gap: 0.35rem 0.5rem;
    flex: 0 1 auto;
    align-items: end;
    padding-bottom: 0.55rem;
    margin-bottom: -1px;
    pointer-events: none;
    user-select: none;
}

.feed-col-heading {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--theme-muted, #a8a29e);
    line-height: 1.2;
}

.feed-col-heading--konu {
    grid-column: 1;
    text-align: left;
    padding-left: 0.05rem;
}

.feed-col-heading--mesaj {
    text-align: center;
}

.feed-col-heading--son {
    text-align: right;
    padding-right: 0.05rem;
}

.feed-tab {
    appearance: none;
    border: none;
    background: transparent;
    color: var(--brand-muted, #c8c2b6);
    font: inherit;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.65rem 0.7rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.feed-tab:hover {
    color: #dbbc74;
}

.feed-tab.is-active {
    color: var(--theme-accent, #c9a962);
    border-bottom-color: var(--theme-accent, #c9a962);
}

.feed-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.feed-list > li {
    list-style: none;
}

.feed-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) minmax(140px, 220px) 64px minmax(90px, 130px);
    gap: 0.55rem 0.75rem;
    align-items: center;
    padding: 0.95rem 1.05rem;
    border: 1px solid var(--theme-border, rgba(201, 169, 98, 0.22));
    border-radius: 10px;
    background: var(--theme-card, rgba(255, 255, 255, 0.03));
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.feed-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.feed-row:last-child {
    border-bottom: 1px solid var(--theme-border, rgba(201, 169, 98, 0.22));
}

.feed-row:hover {
    background: var(--theme-hover, rgba(201, 169, 98, 0.08));
    border-color: var(--theme-accent, #c9a962);
}

.feed-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
    flex-shrink: 0;
}

.feed-title {
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--theme-ink, var(--brand-ink, #f2efe8));
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.feed-snippet {
    color: var(--theme-muted, var(--brand-muted, #c8c2b6));
    font-size: 0.84rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feed-row:hover .feed-title {
    color: var(--theme-accent-hover, #dbbc74);
}

.feed-user-replies {
    display: contents;
}

.feed-replies {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
}

.feed-replies strong {
    color: var(--theme-ink, #f2efe8);
    font-size: 1rem;
    line-height: 1;
}

.feed-replies small {
    color: var(--theme-muted, var(--brand-muted, #c8c2b6));
    font-size: 0.68rem;
    font-weight: 600;
}

.feed-cats {
    justify-self: start;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    max-width: 100%;
}

.feed-cat {
    display: inline-block;
    max-width: 100%;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: var(--theme-hover, rgba(201, 169, 98, 0.12));
    border: 1px solid var(--theme-border, rgba(201, 169, 98, 0.28));
    color: var(--theme-accent-hover, #dbbc74);
    font-size: 0.75rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feed-cat--soru {
    background: rgba(201, 169, 98, 0.14);
    border-color: rgba(201, 169, 98, 0.45);
    color: #dbbc74;
}

.feed-cat--konu {
    background: rgba(125, 211, 252, 0.12);
    border-color: rgba(125, 211, 252, 0.4);
    color: #7dd3fc;
}

.feed-cat--becayis {
    background: rgba(34, 211, 238, 0.14);
    border-color: rgba(34, 211, 238, 0.45);
    color: #22d3ee;
}

.btn-reply-to {
    display: inline-flex;
    margin-top: 0.65rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--theme-border, rgba(34, 211, 238, 0.35));
    border-radius: 6px;
    background: transparent;
    color: var(--theme-accent, #22d3ee);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-reply-to:hover {
    background: rgba(34, 211, 238, 0.1);
}

.fp-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.55rem;
    margin-top: 0.65rem;
}

.fp-actions .btn-reply-to {
    margin-top: 0;
}

.btn-mod-del,
.btn-report {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.btn-mod-del {
    border: 1px solid rgba(248, 113, 113, 0.45);
    background: rgba(248, 113, 113, 0.1);
    color: #fca5a5;
}

.btn-report {
    border: 1px solid rgba(245, 158, 11, 0.65);
    background: #fff7ed;
    color: #9a3412;
}

.btn-report:hover {
    background: #ffedd5;
    border-color: #f59e0b;
}

.btn-report.is-done,
span.btn-report.is-done {
    cursor: default;
    opacity: 0.72;
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

.report-dialog {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(8, 10, 14, 0.62);
}

.report-dialog-card {
    width: min(28rem, 100%);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    padding: 1.15rem 1.2rem 1.25rem;
    border-radius: 14px;
    background: #fff;
    color: #1f2937;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

.report-dialog-card h2 {
    margin: 0 0 0.4rem;
    font-size: 1.2rem;
}

.report-dialog-lead {
    margin: 0 0 0.85rem;
    color: #475569;
    font-size: 0.9rem;
}

.report-reason {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.28rem 0;
    padding: 0.4rem 0.5rem;
    border-radius: 8px;
    cursor: pointer;
}

.report-reason:hover,
.report-reason:has(input:checked) {
    background: #fff7ed;
}

.report-note-label {
    display: block;
    margin: 0.75rem 0 0.3rem;
    font-weight: 700;
    font-size: 0.82rem;
}

.report-dialog-card textarea {
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    min-height: 4.5rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font: inherit;
}

.report-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.report-dialog-actions .btn-ghost {
    padding: 0.35rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
    color: #334155;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.rapor-status {
    display: inline-flex;
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.rapor-status.is-wait {
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
}

.rapor-status.is-seen {
    background: rgba(125, 211, 252, 0.16);
    color: #7dd3fc;
}

.rapor-status.is-done {
    background: rgba(74, 222, 128, 0.16);
    color: #86efac;
}

.rapor-status.is-none {
    background: rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
}

.rapor-outcome {
    font-weight: 700;
}

.rapor-resolve {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.45rem;
    width: 100%;
}

.rapor-resolve select,
.rapor-resolve input {
    padding: 0.35rem 0.45rem;
    border-radius: 6px;
    border: 1px solid var(--theme-border, rgba(255,255,255,0.16));
    background: rgba(0, 0, 0, 0.25);
    color: inherit;
    font: inherit;
}

.rapor-resolve input {
    flex: 1 1 10rem;
}

.btn-edit-post {
    display: inline-flex;
    padding: 0.35rem 0.7rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
    color: #334155;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-edit-post:hover {
    background: #eef2ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

.fp-edited {
    display: inline-block;
    margin-left: 0.55rem;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 600;
    font-style: italic;
}

.fp-head .fp-edited {
    margin-left: 0.35rem;
}

.fp-edit-form {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}

.fp-edit-form textarea {
    width: 100%;
    min-height: 120px;
    resize: vertical;
    padding: 0.7rem 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    font: inherit;
    font-size: var(--thread-text-size, 0.95rem);
    line-height: var(--thread-text-line, 1.65);
    box-sizing: border-box;
}

.fp-edit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.fp-edit-save,
.fp-edit-cancel {
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.fp-edit-save {
    border: none;
    background: #0ea5e9;
    color: #fff;
}

.fp-edit-save:hover {
    background: #0284c7;
}

.fp-edit-cancel {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
}

.fp-edit-cancel:hover {
    background: #f1f5f9;
}

.fp-edit-error {
    margin: 0;
    color: #b91c1c;
    font-size: 0.82rem;
    font-weight: 600;
}

.nav-link--notif {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-notif-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.32rem;
    border-radius: 999px;
    background: var(--theme-accent, #22d3ee);
    color: #0f172a;
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1;
}

.nav-notif-badge--red {
    background: #e11d48;
    color: #fff;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.35);
}

.ntf-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.ntf-item {
    border: 1px solid var(--theme-border, rgba(201, 169, 98, 0.22));
    border-radius: 10px;
    background: var(--theme-panel, rgba(8, 10, 14, 0.82));
    overflow: hidden;
}

.ntf-item.is-unread {
    border-color: color-mix(in srgb, var(--theme-accent, #22d3ee) 50%, transparent);
    box-shadow: inset 3px 0 0 var(--theme-accent, #22d3ee);
}

.ntf-link {
    display: grid;
    gap: 0.25rem;
    padding: 0.85rem 1rem;
    text-decoration: none;
    color: inherit;
}

.ntf-link:hover .ntf-title {
    color: var(--theme-accent, #22d3ee);
}

.ntf-title {
    color: var(--theme-ink, #f2efe8);
    font-size: 0.98rem;
}

.ntf-topic {
    color: var(--theme-accent, #c9a962);
    font-size: 0.88rem;
    font-weight: 700;
}

.ntf-snippet {
    color: var(--theme-muted, #c8c2b6);
    font-size: 0.86rem;
    line-height: 1.4;
}

.ntf-time {
    color: var(--theme-muted, #94a3b8);
    font-size: 0.78rem;
}

/* Bildirimler sayfası — Facebook tarzı istek + profesyonel akış */
.ntf-page {
    max-width: 42rem;
    margin: 0 auto;
}

.ntf-page-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.85rem 1.1rem;
    margin: 0.35rem 0 1.15rem;
    text-align: left;
}

.ntf-page-hero h1 {
    margin: 0 0 0.28rem;
    font-size: clamp(1.55rem, 3vw, 2rem);
    color: var(--theme-ink, #f2efe8);
    font-family: var(--font-display, Georgia, serif);
    letter-spacing: 0.01em;
}

.ntf-page-hero p {
    margin: 0;
    color: var(--theme-muted, #94a3b8);
    font-size: 0.9rem;
}

.ntf-hero-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.ntf-unread-pill {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    background: rgba(24, 119, 242, 0.18);
    color: #93c5fd;
    font-size: 0.75rem;
    font-weight: 800;
}

.ntf-read-all {
    appearance: none;
    border: 0;
    background: transparent;
    color: #93c5fd;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.35rem 0.2rem;
}

.ntf-read-all:hover {
    text-decoration: underline;
}

.ntf-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 1.05rem;
}

.ntf-filter {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.38rem 0.82rem;
    border-radius: 999px;
    cursor: pointer;
}

.ntf-filter.is-on {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}

.ntf-section {
    margin: 0 0 1.35rem;
}

.ntf-section h2 {
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.ntf-feed {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.42rem;
}

.ntf-card {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.55);
    padding: 0.7rem 0.8rem 0.75rem;
}

.ntf-card.is-unread {
    background: rgba(24, 119, 242, 0.1);
    border-color: rgba(24, 119, 242, 0.28);
}

.ntf-card:hover {
    background: rgba(255, 255, 255, 0.06);
}

.ntf-card.is-unread:hover {
    background: rgba(24, 119, 242, 0.16);
}

.ntf-card-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.65rem;
    align-items: start;
}

.ntf-card-main {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.7rem;
    align-items: start;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.ntf-card-row > .ntf-dot {
    align-self: center;
}

.ntf-card-main .pf-avatar {
    flex: 0 0 auto;
}

.ntf-card-body {
    min-width: 0;
}

.ntf-kicker {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 0.12rem;
}

.ntf-card-text {
    margin: 0;
    color: #e2e8f0;
    font-size: 0.92rem;
    line-height: 1.4;
}

.ntf-card-text strong {
    color: #fff;
    font-weight: 800;
}

.ntf-card-excerpt {
    display: block;
    margin-top: 0.18rem;
    color: #94a3b8;
    font-size: 0.82rem;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ntf-card-time {
    display: block;
    margin-top: 0.22rem;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
}

.ntf-card.is-unread .ntf-card-time {
    color: #93c5fd;
}

.ntf-dot {
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 50%;
    background: #1877f2;
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.22);
    flex: 0 0 auto;
}

.ntf-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin: 0.65rem 0 0 3.55rem;
}

.ntf-btn {
    appearance: none;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.48rem 0.95rem;
    cursor: pointer;
    min-height: 2.15rem;
}

.ntf-btn.is-confirm {
    background: #1877f2;
    color: #fff;
}

.ntf-btn.is-confirm:hover {
    filter: brightness(1.08);
}

.ntf-btn.is-delete {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

.ntf-btn.is-delete:hover {
    background: rgba(255, 255, 255, 0.14);
}

.ntf-btn.is-ghost {
    background: rgba(24, 119, 242, 0.16);
    color: #bfdbfe;
}

.ntf-status {
    font-size: 0.8rem;
    font-weight: 700;
    color: #86efac;
}

.ntf-status.is-muted {
    color: #94a3b8;
}

.ntf-empty {
    text-align: center;
    padding: 2.4rem 1.2rem;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #94a3b8;
}

.ntf-empty strong {
    display: block;
    color: #e2e8f0;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

@media (max-width: 640px) {
    .ntf-actions {
        margin-left: 0;
    }
    .ntf-card-main {
        grid-column: 1 / 3;
    }
}

.profile-ntf-more {
    margin: 0.85rem 0 0;
    font-size: 0.9rem;
}

.profile-ntf-more a {
    color: var(--theme-accent, #22d3ee);
    font-weight: 700;
}

.feed-user {
    text-align: right;
    color: var(--theme-accent, #c9a962);
    font-size: 0.86rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feed-empty {
    padding: 2.25rem 1.25rem;
    text-align: center;
    color: var(--theme-muted, var(--brand-muted, #c8c2b6));
    border: 1px dashed var(--theme-border, rgba(201, 169, 98, 0.35));
    border-radius: 12px;
    background: var(--theme-card, rgba(255, 255, 255, 0.02));
}

.feed-empty a {
    color: var(--theme-accent, #c9a962);
    font-weight: 700;
}

.feed-empty-title {
    display: block;
    color: var(--theme-ink, #f2efe8);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.feed-empty-cta {
    display: inline-flex;
    margin-top: 0.9rem;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    background: var(--theme-accent, #c9a962);
    color: #111 !important;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.88rem;
}

html[data-theme="renkli"] .feed-empty-cta,
.feed-empty-cta {
    color: #0f172a !important;
}

.forum-empty {
    color: var(--theme-muted, #c8c2b6);
    text-align: center;
    padding: 1.5rem 1rem;
}

.forum-empty a {
    color: var(--theme-accent, #c9a962);
    font-weight: 700;
}

.feed-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 2rem 0 0.85rem;
}

.feed-section-head .forum-section-title {
    margin: 0;
}

.feed-section-head .forum-section-sub {
    margin: 0;
    flex: 1 1 100%;
}

.rep-leaders-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 98, 0.22);
    border-radius: 12px;
    padding: 0.35rem 0.55rem 0.65rem;
}

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

.rep-lead-row {
    display: grid;
    grid-template-columns: 2.1rem minmax(0, 1fr) auto;
    gap: 0.55rem 0.7rem;
    align-items: center;
    padding: 0.55rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rep-lead-row:last-child {
    border-bottom: 0;
}

.rep-lead-rank {
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--theme-muted, #c8c2b6);
    text-align: center;
}

.rep-lead-row.is-rank-1 .rep-lead-rank { color: #e8c547; }
.rep-lead-row.is-rank-2 .rep-lead-rank { color: #c9d4e0; }
.rep-lead-row.is-rank-3 .rep-lead-rank { color: #d4a574; }

.rep-lead-row.is-me {
    background: rgba(201, 169, 98, 0.08);
    border-radius: 8px;
}

.rep-lead-user {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.rep-lead-user .pf-avatar {
    flex: 0 0 auto;
}

a.rep-lead-user:hover .rep-lead-name {
    color: var(--theme-accent, #c9a962);
}

.rep-lead-name {
    display: block;
    min-width: 0;
    flex: 1 1 auto;
    font-weight: 400 !important;
    font-size: 0.92rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--theme-ink, #f2efe8);
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    -webkit-text-fill-color: currentColor;
    background: none !important;
    animation: none !important;
}

.rep-lead-meta {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--theme-accent, #c9a962);
    white-space: nowrap;
}

.rep-lead-you {
    margin: 0.35rem 0.5rem 0.15rem;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(201, 169, 98, 0.18);
    font-size: 0.84rem;
    color: var(--theme-muted, #c8c2b6);
}

.rep-lead-you strong {
    color: var(--theme-accent, #c9a962);
}

@media (max-width: 820px) {
    .feed-col-headings {
        display: none;
    }

    .feed-row {
        grid-template-columns: 34px minmax(0, 1fr) auto;
        grid-template-areas:
            "main main main"
            "avatar userreplies userreplies"
            "cat cat cat";
        row-gap: 0.35rem;
        column-gap: 0.45rem;
    }
    .feed-row > .pf-avatar { grid-area: avatar; align-self: center; }
    .feed-main { grid-area: main; min-width: 0; overflow: hidden; }
    .feed-cats { grid-area: cat; min-width: 0; max-width: 100%; }
    .feed-user-replies {
        grid-area: userreplies;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.45rem;
        min-width: 0;
    }
    .feed-user {
        flex: 1 1 auto;
        text-align: left;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .feed-user-replies .feed-replies {
        flex: 0 0 auto;
        flex-direction: row;
        align-items: baseline;
        justify-content: flex-end;
        gap: 0.2rem;
        white-space: nowrap;
    }
    .feed-title {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: unset;
        word-break: normal;
        overflow-wrap: normal;
    }
    .home-feed-compact .feed-row {
        grid-template-columns: 34px minmax(0, 1fr) auto;
        grid-template-areas:
            "main main main"
            "avatar userreplies userreplies"
            "cat cat cat";
    }
}

@media (max-width: 820px) {
    .thread-shell,
    .forum-shell.thread-shell {
        width: 96%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .thread-header h1,
    .topic-title,
    .moderation-preview,
    .forum-post .fp-body,
    .form-panel {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .moderation-preview-banner {
        max-width: 100%;
        box-sizing: border-box;
    }
}

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

.topic-item {
    position: relative;
    background: var(--theme-panel, var(--brand-panel, rgba(8, 10, 14, 0.82)));
    border: 1px solid var(--theme-border, rgba(201, 169, 98, 0.18));
    border-radius: 10px;
    margin-bottom: 0.7rem;
    padding: 1.05rem 1.15rem;
    transition: border-color 0.15s ease, background 0.15s ease;
    cursor: pointer;
}

.topic-item:hover {
    border-color: var(--theme-accent, #c9a962);
    background: var(--theme-hover, rgba(201, 169, 98, 0.06));
}

/* Kartın tamamı konuya gider; kullanıcı adı üstte kalır */
.topic-card-hit {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    text-indent: -9999px;
    overflow: hidden;
    color: transparent;
}

.topic-title {
    position: relative;
    z-index: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: anywhere;
    color: var(--theme-ink, var(--brand-ink, #f2efe8));
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.35;
}

.topic-item:hover .topic-title {
    color: var(--brand-accent, #c9a962);
}

.topic-item a:not(.topic-card-hit) {
    color: var(--theme-ink, var(--brand-ink, #f2efe8));
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
}

.topic-meta {
    margin-top: 0.45rem;
    color: var(--brand-muted, #c8c2b6);
    font-size: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    /* z-index yok: yoksa author-link kart linkinin altında kalır */
    pointer-events: none;
}

.topic-item .author-link {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.topic-panel,
.comment-panel,
.form-panel {
    background: var(--theme-panel, var(--brand-panel, rgba(8, 10, 14, 0.82)));
    border: 1px solid var(--theme-border, rgba(201, 169, 98, 0.22));
    border-radius: 10px;
    padding: 1.35rem 1.4rem;
    margin-bottom: 1rem;
    color: var(--theme-ink, inherit);
}

.topic-panel h1 {
    color: var(--theme-accent, var(--brand-accent, #c9a962));
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.topic-body,
.comment-body {
    color: var(--theme-ink, #e8e4dc);
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
}

.comment-panel + .comment-panel {
    margin-top: 0.65rem;
}

.comment-author {
    color: var(--theme-accent-hover, #dbbc74);
    font-weight: 700;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.topic-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.like-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 169, 98, 0.4);
    background: rgba(255, 255, 255, 0.03);
    color: var(--theme-muted, #c8c2b6);
    font: inherit;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.like-btn:hover {
    border-color: rgba(201, 169, 98, 0.7);
    color: #dbbc74;
}

.like-btn.is-liked {
    border-color: rgba(96, 165, 250, 0.55);
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd;
}

.like-count {
    min-width: 1.1em;
    font-variant-numeric: tabular-nums;
}

.author-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    border-radius: 8px;
}

.author-link:hover .author-name {
    color: #3b82f6;
    text-decoration: underline;
}

.author-link.is-anon {
    cursor: default;
}

.author-name {
    font-weight: 400;
    color: var(--theme-ink, #f2efe8);
}

/* İtibar: özel renk + beyaz/açık renklerde koyu kenar (okunabilirlik) */
.author-name.is-rep-name-custom,
.fp-username.is-rep-name-custom,
.member-card-name.is-rep-name-custom,
.profile-meta h1.is-rep-name-custom,
.profile-meta .profile-username-text.is-rep-name-custom,
.rep-lead-name.is-rep-name-custom,
.memur-uname-text.is-rep-name-custom {
    color: var(--rep-name-color, #c9a962) !important;
    -webkit-text-fill-color: var(--rep-name-color, #c9a962);
    text-shadow: none;
}

/* Açık renk (beyaz vb.): açık zeminde okunabilsin diye koyu kenar */
.author-name.is-rep-name-custom.is-rep-name-light,
.fp-username.is-rep-name-custom.is-rep-name-light,
.member-card-name.is-rep-name-custom.is-rep-name-light,
.profile-meta h1.is-rep-name-custom.is-rep-name-light,
.profile-meta .profile-username-text.is-rep-name-custom.is-rep-name-light,
.rep-lead-name.is-rep-name-custom.is-rep-name-light,
.memur-uname-text.is-rep-name-custom.is-rep-name-light,
.nav-profile-name.is-rep-name-custom.is-rep-name-light {
    text-shadow:
      -1px 0 0 rgba(15, 23, 42, 0.92),
      1px 0 0 rgba(15, 23, 42, 0.92),
      0 -1px 0 rgba(15, 23, 42, 0.92),
      0 1px 0 rgba(15, 23, 42, 0.92),
      0 0 3px rgba(15, 23, 42, 0.45);
}

/* Koyu renk: koyu zeminde kaybolmasın diye açık kenar */
.author-name.is-rep-name-custom.is-rep-name-dark,
.fp-username.is-rep-name-custom.is-rep-name-dark,
.member-card-name.is-rep-name-custom.is-rep-name-dark,
.profile-meta h1.is-rep-name-custom.is-rep-name-dark,
.profile-meta .profile-username-text.is-rep-name-custom.is-rep-name-dark,
.rep-lead-name.is-rep-name-custom.is-rep-name-dark,
.memur-uname-text.is-rep-name-custom.is-rep-name-dark,
.nav-profile-name.is-rep-name-custom.is-rep-name-dark {
    text-shadow:
      -1px 0 0 rgba(255, 255, 255, 0.7),
      1px 0 0 rgba(255, 255, 255, 0.7),
      0 -1px 0 rgba(255, 255, 255, 0.7),
      0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Açık zeminli konu kartlarında koyu isim için beyaz kenar gerekmez */
.forum-post .author-name.is-rep-name-custom.is-rep-name-dark,
.fp-sidebar .fp-username.is-rep-name-custom.is-rep-name-dark,
.member-card .member-card-name.is-rep-name-custom.is-rep-name-dark {
    text-shadow: none;
}

.author-name.is-rep-name-bold,
.fp-username.is-rep-name-bold,
.member-card-name.is-rep-name-bold,
.profile-meta h1.is-rep-name-bold,
.profile-meta .profile-username-text.is-rep-name-bold,
.rep-lead-name.is-rep-name-bold,
.memur-uname-text.is-rep-name-bold {
    font-weight: 400 !important;
    letter-spacing: normal;
}

.author-name.is-rep-name-shiny-default,
.fp-username.is-rep-name-shiny-default,
.member-card-name.is-rep-name-shiny-default,
.profile-meta h1.is-rep-name-shiny-default,
.profile-meta .profile-username-text.is-rep-name-shiny-default,
.memur-uname-text.is-rep-name-shiny-default,
.nav-profile-name.is-rep-name-shiny-default {
    display: inline-block;
    background-image: linear-gradient(
      110deg,
      #b8860b 0%,
      #ffe9a0 26%,
      #fff8dc 50%,
      #f5d76e 74%,
      #b8860b 100%
    ) !important;
    background-size: 220% 100% !important;
    background-color: transparent !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
    filter: drop-shadow(0 0 6px rgba(245, 215, 110, 0.45));
    animation: rep-name-shine 2.4s linear infinite;
}

.author-name.is-rep-name-shiny.is-rep-name-custom,
.fp-username.is-rep-name-shiny.is-rep-name-custom,
.member-card-name.is-rep-name-shiny.is-rep-name-custom,
.profile-meta h1.is-rep-name-shiny.is-rep-name-custom,
.profile-meta .profile-username-text.is-rep-name-shiny.is-rep-name-custom,
.memur-uname-text.is-rep-name-shiny.is-rep-name-custom,
.nav-profile-name.is-rep-name-shiny.is-rep-name-custom {
    display: inline-block;
    background-image: linear-gradient(
      110deg,
      var(--rep-name-color, #c9a962) 0%,
      #ffffff 40%,
      var(--rep-name-color, #c9a962) 55%,
      #ffffff 78%,
      var(--rep-name-color, #c9a962) 100%
    ) !important;
    background-size: 220% 100% !important;
    background-color: transparent !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.35));
    animation: rep-name-shine 2.4s linear infinite;
}

.author-name.is-rep-name-shiny.is-rep-name-custom.is-rep-name-light,
.fp-username.is-rep-name-shiny.is-rep-name-custom.is-rep-name-light,
.member-card-name.is-rep-name-shiny.is-rep-name-custom.is-rep-name-light,
.profile-meta h1.is-rep-name-shiny.is-rep-name-custom.is-rep-name-light,
.profile-meta .profile-username-text.is-rep-name-shiny.is-rep-name-custom.is-rep-name-light,
.memur-uname-text.is-rep-name-shiny.is-rep-name-custom.is-rep-name-light,
.nav-profile-name.is-rep-name-shiny.is-rep-name-custom.is-rep-name-light {
    filter: drop-shadow(0 0 1px rgba(15, 23, 42, 0.95)) drop-shadow(0 0 5px rgba(255, 255, 255, 0.35));
    text-shadow: none !important;
}

@keyframes rep-name-shine {
    0% { background-position: 0% 50%; }
    100% { background-position: 220% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    .author-name.is-rep-name-shiny-default,
    .fp-username.is-rep-name-shiny-default,
    .member-card-name.is-rep-name-shiny-default,
    .profile-meta h1.is-rep-name-shiny-default,
.profile-meta .profile-username-text.is-rep-name-shiny-default,
    .memur-uname-text.is-rep-name-shiny-default,
    .nav-profile-name.is-rep-name-shiny-default,
    .author-name.is-rep-name-shiny.is-rep-name-custom,
    .fp-username.is-rep-name-shiny.is-rep-name-custom,
    .member-card-name.is-rep-name-shiny.is-rep-name-custom,
    .profile-meta h1.is-rep-name-shiny.is-rep-name-custom,
.profile-meta .profile-username-text.is-rep-name-shiny.is-rep-name-custom,
    .memur-uname-text.is-rep-name-shiny.is-rep-name-custom,
    .nav-profile-name.is-rep-name-shiny.is-rep-name-custom {
        animation: none;
        background-position: 40% 50%;
    }
}

.author-link:hover .author-name.is-rep-name-custom:not(.is-rep-name-shiny) {
    filter: brightness(1.12);
    text-decoration: none;
}

.fp-user-btn:hover .fp-username.is-rep-name-custom:not(.is-rep-name-shiny) {
    filter: brightness(1.08);
}

/* Eski sınıf adları (geriye dönük) */
.author-name.is-rep-gold,
.fp-username.is-rep-gold,
.member-card-name.is-rep-gold,
.profile-meta h1.is-rep-gold,
.profile-meta .profile-username-text.is-rep-gold {
    color: #f5d76e !important;
    text-shadow:
      0 0 6px rgba(245, 215, 110, 0.55),
      0 0 14px rgba(201, 169, 98, 0.35);
}

.author-name.is-rep-gold-bold,
.fp-username.is-rep-gold-bold,
.member-card-name.is-rep-gold-bold,
.profile-meta h1.is-rep-gold-bold,
.profile-meta .profile-username-text.is-rep-gold-bold {
    font-weight: 400 !important;
    letter-spacing: normal;
}

.author-name.is-rep-gold-sparkle,
.fp-username.is-rep-gold-sparkle,
.member-card-name.is-rep-gold-sparkle,
.profile-meta h1.is-rep-gold-sparkle,
.profile-meta .profile-username-text.is-rep-gold-sparkle {
    background-image: linear-gradient(
      110deg,
      #b8860b 0%,
      #ffe9a0 28%,
      #fff8dc 50%,
      #f5d76e 72%,
      #b8860b 100%
    );
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    animation: rep-gold-sparkle 2.4s linear infinite;
    text-shadow: 0 0 10px rgba(245, 215, 110, 0.35);
}

@keyframes rep-gold-sparkle {
    0% { background-position: 0% 50%; }
    100% { background-position: 220% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    .author-name.is-rep-gold-sparkle,
    .fp-username.is-rep-gold-sparkle,
    .member-card-name.is-rep-gold-sparkle,
    .profile-meta h1.is-rep-gold-sparkle,
.profile-meta .profile-username-text.is-rep-gold-sparkle {
        animation: none;
        background-position: 40% 50%;
    }
}

.author-link:hover .author-name.is-rep-gold {
    color: #ffe9a0 !important;
    text-decoration: none;
}

.fp-user-btn:hover .fp-username.is-rep-gold {
    color: #d4a017 !important;
}

.tip-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    white-space: nowrap;
    vertical-align: middle;
    margin-right: 0.4rem;
}

.tip-badge--konu {
    background: rgba(125, 211, 252, 0.12);
    color: #7dd3fc;
    border: 1px solid rgba(125, 211, 252, 0.4);
}

.tip-badge--soru {
    background: rgba(201, 169, 98, 0.14);
    color: #dbbc74;
    border: 1px solid rgba(201, 169, 98, 0.45);
}

.tip-badge--soru.is-solved {
    background: rgba(134, 239, 172, 0.14);
    color: #86efac;
    border-color: rgba(134, 239, 172, 0.45);
}

.topic-title-row,
.thread-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.5rem;
}

.topic-title-row .content-tags,
.thread-title-row .content-tags {
    flex: 0 0 auto;
}

.topic-title-row .topic-title {
    flex: 1 1 12rem;
    min-width: 0;
}

.thread-title-row {
    flex-direction: column;
    align-items: flex-start;
}

.thread-title-row h1 {
    margin: 0;
    width: 100%;
    flex: none;
}

.forum-post.is-best-answer {
    box-shadow: inset 3px 0 0 rgba(134, 239, 172, 0.75);
}

.rep-signature {
    margin-top: 0.55rem;
    max-width: 100%;
    overflow: hidden;
    border-radius: 6px;
    padding: 0.28rem 0;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.14), transparent);
}

.rep-signature-text {
    display: inline-block;
    padding-left: 100%;
    white-space: nowrap;
    font-size: 0.68rem;
    font-weight: 600;
    font-style: italic;
    color: #b45309;
    animation: rep-sig-scroll 14s linear infinite;
}

.member-card .rep-signature-text,
.profile-shell .rep-signature-text {
    color: #dbbc74;
}

@keyframes rep-sig-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
    .rep-signature-text {
        animation: none;
        padding-left: 0;
        white-space: normal;
    }
}

/* Üye bilgi kartı (örnek popup) */
.member-card {
    position: absolute;
    z-index: 4000;
    width: min(320px, calc(100vw - 16px));
    background: #fff;
    color: #1f2937;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
    overflow: visible;
    animation: member-card-in 0.14s ease-out;
    cursor: pointer;
}

.member-card:hover {
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.36);
}

@keyframes member-card-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.member-card-main {
    display: flex;
    gap: 0.6rem;
    padding: 0.8rem 0.85rem 0.7rem;
    align-items: flex-start;
}

.member-card-info {
    min-width: 0;
    flex: 1;
}

.member-card-name {
    display: inline-block;
    font-weight: 400;
    font-size: 1.05rem;
    color: #2563eb;
    text-decoration: none;
    margin-bottom: 0.2rem;
}

.member-card:hover .member-card-name {
    text-decoration: underline;
}

.member-card-actions {
    display: flex;
    align-items: center;
    gap: 0.38rem;
    margin: 0.42rem 0 0.5rem;
}

.mca-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    padding: 0;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #f8fafc;
    color: #1e3a5f;
    cursor: pointer;
    flex: 0 0 auto;
}

.mca-btn svg {
    width: 15px;
    height: 15px;
    display: block;
}

.mca-btn.is-primary {
    background: #f8edd3;
    border-color: #c9a962;
    color: #7a5414;
}

.mca-btn.is-msg {
    background: #e0f2fe;
    border-color: #7dd3fc;
    color: #0369a1;
}

.mca-btn.is-report {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
}

.mca-btn.is-friend,
.mca-btn.is-pending,
.mca-btn.is-accept {
    background: #ecfdf5;
    border-color: #6ee7b7;
    color: #047857;
}

.mca-btn.is-done {
    cursor: default;
    opacity: 0.72;
    background: #f3f4f6;
    color: #6b7280;
}

.mca-btn:hover:not(.is-done) {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.member-card-line {
    margin: 0.12rem 0 0;
    font-size: 0.82rem;
    color: #4b5563;
    line-height: 1.35;
}

.member-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    padding: 0.55rem 0.75rem 0.65rem;
    background: #f3f4f6;
    border-top: 1px solid #e5e7eb;
    border-radius: 0 0 10px 10px;
    text-align: center;
}

.member-card-stats .mcs-label {
    display: block;
    font-size: 0.72rem;
    color: #6b7280;
    margin-bottom: 0.15rem;
}

.member-card-stats strong {
    font-size: 0.95rem;
    color: #111827;
    font-weight: 800;
}

.member-card-arrow {
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 14px;
    height: 14px;
    background: #f3f4f6;
    transform: translateX(-50%) rotate(45deg);
    box-shadow: 2px 2px 2px rgba(15, 23, 42, 0.06);
}

.member-card.is-below .member-card-arrow {
    top: -7px;
    bottom: auto;
    background: #fff;
    box-shadow: -1px -1px 1px rgba(15, 23, 42, 0.06);
}

.member-card .pf-avatar {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
}

.member-card .pf-avatar .pf-fallback {
    font-size: 0.95rem;
}

.gift-bar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.85rem;
    min-width: 0;
}

.gift-bar .gift-row {
    flex: 0 0 auto;
    margin-top: 0;
    flex-wrap: nowrap;
}

.gift-bar .gift-marquee {
    flex: 1 1 auto;
    min-width: 0;
    margin-top: 0;
}

.gift-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.gift-row .btn-eic {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 1px solid rgba(34, 197, 94, 0.45);
    color: #86efac;
    border-radius: 4px;
    padding: 0.28rem 0.55rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.72rem;
    line-height: 1.2;
}

.gift-row .btn-eic:hover {
    background: rgba(34, 197, 94, 0.12);
}

.gift-row .eic-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    border: 1.5px solid #8a6a12;
    background: #f0d789;
    color: #6b520c;
    border-radius: 4px;
    padding: 0.28rem 0.55rem;
    font-weight: 800;
    font-size: 0.74rem;
    line-height: 1.2;
    text-shadow: none;
}

.gift-row .eic-badge--btn {
    cursor: pointer;
    font-family: inherit;
}

.gift-row .eic-badge--btn:hover {
    background: #e6c75a;
    color: #5c4609;
    border-color: #6b520c;
}

.gift-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    background: transparent;
    border: 1px solid rgba(201, 169, 98, 0.4);
    color: var(--brand-accent, #c9a962);
    border-radius: 4px;
    padding: 0.28rem 0.55rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.72rem;
}

.gift-btn:hover {
    background: rgba(201, 169, 98, 0.12);
}

.gift-btn .gift-icon {
    width: 12px;
    height: 12px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    vertical-align: middle;
}

.gift-btn .gift-emoji {
    font-size: 0.95rem;
    line-height: 1;
    display: inline-block;
    flex-shrink: 0;
}

.gift-row:empty {
    display: none;
}

.gift-marquee {
    margin-top: 0.4rem;
    overflow: hidden;
    max-width: 100%;
    border-radius: 4px;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.14);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.gift-marquee[hidden] {
    display: none !important;
}

.gift-marquee-track {
    display: flex;
    width: max-content;
    min-width: 200%;
    gap: 2.5rem;
    animation: gift-marquee-scroll 18s linear infinite;
}

.gift-marquee-text {
    display: inline-block;
    flex: 1 0 auto;
    min-width: calc(50% - 1.25rem);
    padding: 0.22rem 0.55rem;
    white-space: nowrap;
    font-size: 0.68rem;
    font-weight: 600;
    color: #1d4ed8;
    letter-spacing: 0.01em;
}

@keyframes gift-marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .gift-marquee-track {
        animation: none;
        width: 100%;
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .gift-marquee-text {
        white-space: normal;
    }

    .gift-marquee-text[aria-hidden="true"] {
        display: none;
    }
}

.form-panel label {
    display: block;
    text-align: left;
    font-weight: 700;
    margin: 0.75rem 0 0.35rem;
    color: var(--brand-ink, #f2efe8);
}

.form-panel input[type="text"],
.form-panel select,
.form-panel textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 4px;
    border: 1px solid #555;
    background: #222;
    color: #fff;
    font: inherit;
}

.form-panel textarea {
    min-height: 140px;
    resize: vertical;
}

.form-panel .btn-submit {
    margin-top: 1.1rem;
    width: 100%;
    background: var(--brand-accent, #c9a962);
    color: #111;
    border: none;
    padding: 0.85rem 1.25rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}

.form-panel .btn-submit:hover {
    background: var(--brand-accent-hover, #dbbc74);
}

.form-panel .btn-submit:disabled {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.form-hint {
    color: var(--brand-muted, #c8c2b6);
    font-size: 0.88rem;
    margin-top: 0.75rem;
    line-height: 1.5;
}

.anonim-ad-fixed {
    margin: 0.35rem 0 0;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    border: 1px dashed rgba(201, 169, 98, 0.45);
    background: rgba(0, 0, 0, 0.18);
    color: #e8e2d6;
    font-weight: 600;
    letter-spacing: 0.02em;
    user-select: none;
}

.sendika-gate {
    margin: 0.75rem 0 0;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.38);
    color: #fecaca;
    font-size: 0.92rem;
    line-height: 1.45;
}

.topic-attach-section {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(201, 169, 98, 0.22);
}

.topic-attach-heading {
    margin: 0 0 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--brand-accent, #c9a962);
    letter-spacing: 0.03em;
}

.topic-attach-lead {
    margin-top: 0 !important;
}

.topic-attach-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0.65rem 0 0.5rem;
}

.topic-attach-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(201, 169, 98, 0.45);
    background: rgba(0, 0, 0, 0.22);
    color: #e8e2d6;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.topic-attach-btn:hover {
    border-color: rgba(219, 188, 116, 0.75);
    background: rgba(201, 169, 98, 0.12);
}

.topic-attach-btn input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.topic-attach-btn--pdf {
    border-color: rgba(96, 165, 250, 0.45);
}

.topic-attach-list {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.topic-attach-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.55rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
}

.topic-attach-item-kind {
    flex: 0 0 auto;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #86efac;
}

.topic-attach-item-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #e8e2d6;
}

.topic-attach-remove {
    flex: 0 0 auto;
    border: none;
    background: transparent;
    color: #fca5a5;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.15rem 0.35rem;
}

.topic-attach-remove:hover {
    color: #fecaca;
    text-decoration: underline;
}

.topic-attach-note {
    margin-bottom: 0 !important;
    font-size: 0.8rem !important;
}

.topic-attach-guest-wrap {
    position: relative;
    display: inline-block;
    margin-top: 0.15rem;
}

.topic-attach-guest-trigger.is-open {
    border-color: rgba(219, 188, 116, 0.75);
    background: rgba(201, 169, 98, 0.14);
}

.topic-attach-popover {
    position: absolute;
    left: 0;
    top: calc(100% + 0.45rem);
    z-index: 40;
    width: min(20.5rem, calc(100vw - 2.5rem));
    padding: 0.85rem 0.95rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: #1a2332;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    color: #cbd5e1;
    font-size: 0.84rem;
    line-height: 1.5;
}

.topic-attach-popover-close {
    position: absolute;
    top: 0.35rem;
    right: 0.4rem;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.15rem 0.35rem;
}

.topic-attach-popover-close:hover {
    color: #e2e8f0;
}

.topic-attach-popover-title {
    margin: 0 1.5rem 0.45rem 0;
    font-weight: 700;
    color: #e2e8f0;
    font-size: 0.92rem;
    line-height: 1.35;
}

.topic-attach-popover-text {
    margin: 0 0 0.65rem;
}

.topic-attach-popover-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.topic-attach-popover-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.topic-attach-popover-actions .btn-primary {
    background: var(--brand-accent, #c9a962);
    color: #111827;
    border: 1px solid rgba(201, 169, 98, 0.85);
}

.topic-attach-popover-actions .btn-primary:hover {
    background: var(--brand-accent-hover, #dbbc74);
    color: #0f172a;
}

.topic-attach-popover-actions .btn-ghost {
    background: rgba(15, 23, 42, 0.35);
    color: #f1f5f9;
    border: 1px solid rgba(219, 188, 116, 0.65);
}

.topic-attach-popover-actions .btn-ghost:hover {
    background: rgba(201, 169, 98, 0.12);
    color: #fde68a;
    border-color: rgba(219, 188, 116, 0.9);
}

.topic-attach-guest-cta {
    font-size: 0.82rem !important;
    padding: 0.45rem 0.85rem !important;
}

.sendika-gate a {
    color: #dbbc74;
}

.forum-empty {
    color: var(--brand-muted, #c8c2b6);
    padding: 1.25rem;
    text-align: center;
}

.breadcrumb {
    color: var(--brand-muted, #c8c2b6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #dbbc74;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.site-footer-note {
    position: fixed;
    left: 50%;
    bottom: 0.55rem;
    transform: translateX(-50%);
    margin: 0;
    color: rgba(200, 194, 182, 0.7);
    font-size: 0.72rem;
    pointer-events: none;
    z-index: 850;
    white-space: nowrap;
}

.nav-link.active {
    color: var(--theme-accent, #22d3ee) !important;
}

/* —— Konu / soru / becayiş yazışma alanı (standart genişlik + punto) —— */
.forum-shell.thread-shell,
.thread-shell {
    --thread-text-size: 0.95rem;
    --thread-text-line: 1.65;
    width: 94%;
    /* Bilgi kartı + gönderi metni tek blok; genel forum-shell ile aynı tavan */
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.thread-header {
    margin: 0 0 1rem;
    width: 100%;
}

.thread-header h1 {
    margin: 0 0 0.55rem;
    color: var(--theme-ink, #f2efe8);
    font-family: Manrope, sans-serif;
    font-size: var(--thread-text-size);
    font-weight: 700;
    line-height: var(--thread-text-line);
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}

.thread-header-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    color: var(--theme-muted, #9ca3af);
    font-size: 0.88rem;
}

.thread-time::before {
    content: '🕒 ';
}

.thread-posts {
    display: grid;
    gap: 0.85rem;
    width: 100%;
}

.thread-shell .forum-post,
.thread-shell .form-panel.thread-reply {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.thread-shell .form-panel.thread-reply h2 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: var(--thread-text-line);
}

.thread-shell .form-panel.thread-reply textarea {
    font-size: var(--thread-text-size);
    line-height: var(--thread-text-line);
}

.forum-post {
    display: grid;
    /* Memur bilgi kartı: uzun ad / kurum / unvan için yeterli genişlik */
    grid-template-columns: minmax(236px, 27%) minmax(0, 1fr);
    background: #fff;
    color: #1f2937;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.forum-post.is-reported {
    border: 3px solid #dc2626;
    box-shadow:
      0 0 0 5px rgba(220, 38, 38, 0.28),
      0 16px 36px rgba(153, 27, 27, 0.35);
}

.reported-flag {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.7rem 1rem;
    background: linear-gradient(90deg, #991b1b, #ea580c 55%, #b91c1c);
    color: #fff;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 1.05rem;
    font-weight: 800;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    animation: reported-flag-pulse 1.2s ease-in-out 4;
}

.reported-flag strong {
    font-size: 1.12rem;
}

.reported-flag-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 50%;
    background: #fff;
    color: #b91c1c;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0;
}

.forum-post.is-reported .fp-body {
    background: #fef3c7;
    outline: 2px dashed #dc2626;
    outline-offset: 4px;
    border-radius: 8px;
    padding: 0.7rem 0.75rem;
}

@keyframes reported-flag-pulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.18); }
}

/* Sv5: profil veya yorum üzerine gelince tüm kartta belirgin tek geçişli ışık */
.forum-post.has-border-beam {
    position: relative;
    overflow: hidden;
}

.forum-post.has-border-beam::after {
    content: '';
    position: absolute;
    top: -40%;
    left: 0;
    width: 42%;
    height: 180%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(245, 215, 110, 0.2) 34%,
        rgba(255, 236, 150, 0.78) 48%,
        rgba(255, 220, 100, 0.9) 52%,
        rgba(201, 169, 98, 0.28) 66%,
        transparent 100%
    );
    box-shadow:
      0 0 36px rgba(255, 220, 100, 0.55),
      0 0 12px rgba(245, 215, 110, 0.4);
    transform: translateX(-180%) skewX(-14deg);
    opacity: 0;
    pointer-events: none;
    z-index: 6;
}

.forum-post.has-border-beam:hover::after {
    animation: post-beam-sweep 1.05s ease-out 1;
}

@keyframes post-beam-sweep {
    0% {
        opacity: 0;
        transform: translateX(-180%) skewX(-14deg);
    }
    10% {
        opacity: 1;
    }
    70% {
        opacity: 0.95;
    }
    100% {
        opacity: 0;
        transform: translateX(320%) skewX(-14deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .forum-post.has-border-beam:hover::after {
        animation: none;
        opacity: 0.28;
        transform: none;
        width: 100%;
        left: 0;
        top: 0;
        height: 100%;
        box-shadow: none;
        background: linear-gradient(
            180deg,
            rgba(245, 215, 110, 0.22),
            transparent 75%
        );
    }
}

.fp-sidebar {
    position: relative;
    background: #f3f4f6;
    padding: 0.95rem 0.6rem 1rem;
    text-align: center;
    border-right: 1px solid #e5e7eb;
    overflow: visible;
}

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

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

.fp-sidebar.has-kart-efekt,
.kart-fx-preview.has-kart-efekt {
    position: relative;
    isolation: isolate;
    border-radius: 12px 0 0 12px;
}

.fp-kart-fx {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 4;
    overflow: hidden;
}

.fp-sidebar.kart-efekt-donen .rep-signature {
    margin-left: 0;
    margin-right: 0;
}

.fp-sidebar.kart-efekt-donen,
.kart-fx-preview.kart-efekt-donen {
    border: 3px solid transparent;
    background:
        linear-gradient(180deg, #fffaf3 0%, #f3f4f6 42%) padding-box,
        conic-gradient(
            from var(--fp-fire-angle),
            #92400e 0deg,
            #c2410c 42deg,
            #c9a962 78deg,
            #fde68a 112deg,
            #ea580c 158deg,
            #9a3412 198deg,
            #fbbf24 248deg,
            #fff7ed 286deg,
            #b45309 328deg,
            #92400e 360deg
        ) border-box;
    box-shadow:
        inset 0 0 0 1px rgba(201, 169, 98, 0.28),
        inset 0 0 10px rgba(180, 83, 9, 0.06);
    animation: fp-fire-spin 6s linear infinite;
}

@keyframes fp-fire-spin {
    to { --fp-fire-angle: 360deg; }
}

.fp-sidebar.kart-efekt-huzme .fp-kart-fx,
.kart-fx-preview.kart-efekt-huzme .fp-kart-fx {
    padding: 2px;
    background: conic-gradient(
        from var(--kart-fx-angle),
        transparent 0deg,
        transparent 255deg,
        #c2410c 278deg,
        #fbbf24 298deg,
        #fff7ed 308deg,
        #ea580c 328deg,
        transparent 360deg
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask-composite: exclude;
    animation: kart-fx-spin 2.6s linear infinite;
}

@keyframes kart-fx-spin {
    to { --kart-fx-angle: 360deg; }
}

.fp-sidebar.kart-efekt-kayma .fp-kart-fx::after,
.kart-fx-preview.kart-efekt-kayma .fp-kart-fx::after {
    content: '';
    position: absolute;
    top: -45%;
    left: 0;
    width: 45%;
    height: 190%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(194, 65, 12, 0.12) 34%,
        rgba(255, 236, 150, 0.78) 50%,
        rgba(234, 88, 12, 0.28) 64%,
        transparent 100%
    );
    transform: translateX(-180%) skewX(-14deg);
    animation: kart-fx-kayma 3.2s ease-in-out infinite;
}

@keyframes kart-fx-kayma {
    0% {
        opacity: 0;
        transform: translateX(-180%) skewX(-14deg);
    }
    8% { opacity: 1; }
    55% { opacity: 0.9; }
    100% {
        opacity: 0;
        transform: translateX(320%) skewX(-14deg);
    }
}

.fp-sidebar.kart-efekt-parlama,
.kart-fx-preview.kart-efekt-parlama {
    box-shadow:
        0 0 0 2px rgba(201, 169, 98, 0.4),
        0 0 16px rgba(234, 88, 12, 0.28);
    animation: kart-fx-pulse 2.2s ease-in-out infinite;
}

@keyframes kart-fx-pulse {
    0%, 100% {
        box-shadow:
            0 0 0 2px rgba(201, 169, 98, 0.28),
            0 0 8px rgba(234, 88, 12, 0.16);
    }
    50% {
        box-shadow:
            0 0 0 3px rgba(251, 191, 36, 0.72),
            0 0 22px rgba(234, 88, 12, 0.48);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fp-sidebar.kart-efekt-donen,
    .kart-fx-preview.kart-efekt-donen {
        animation: none;
        background:
            linear-gradient(180deg, #fffaf3 0%, #f3f4f6 42%) padding-box,
            linear-gradient(165deg, #9a3412, #c9a962, #ea580c, #fbbf24, #92400e) border-box;
    }
    .fp-sidebar.kart-efekt-huzme .fp-kart-fx,
    .kart-fx-preview.kart-efekt-huzme .fp-kart-fx,
    .fp-sidebar.kart-efekt-kayma .fp-kart-fx::after,
    .kart-fx-preview.kart-efekt-kayma .fp-kart-fx::after,
    .fp-sidebar.kart-efekt-parlama,
    .kart-fx-preview.kart-efekt-parlama {
        animation: none;
    }
}

.fp-sidebar .rep-signature {
    margin-left: -0.15rem;
    margin-right: -0.15rem;
}

.fp-sidebar .fp-username.is-rep-name-custom:not(.is-rep-name-shiny) {
    color: var(--rep-name-color, #c9a962) !important;
    -webkit-text-fill-color: var(--rep-name-color, #c9a962);
}

.fp-sidebar .fp-username.is-rep-gold {
    color: #d4a017 !important;
}

.fp-sidebar .fp-username.is-rep-gold-bold {
    color: #b8860b !important;
}

/* Konu yan paneli: profil fotoğrafı taşmasın */
.fp-sidebar .pf-avatar {
    width: 72px;
    height: 72px;
}

.fp-sidebar .pf-avatar.is-premium .pf-frame {
    inset: -10%;
    width: 120%;
    height: 120%;
}

.fp-sidebar .pf-avatar.is-premium .pf-photo,
.fp-sidebar .pf-avatar.is-premium .pf-fallback {
    width: 68%;
    height: 68%;
}

.fp-sidebar .pf-fallback {
    font-size: 1.35rem;
}

.fp-user-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.fp-user-btn.is-anon {
    cursor: default;
}

.fp-username {
    font-weight: 400;
    font-size: 0.95rem;
    color: #111827;
    word-break: break-word;
}

.fp-user-btn:hover .fp-username {
    color: #2563eb;
}

.fp-user-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.fp-user-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    max-width: 100%;
}

.fp-user-badges .fp-role-badge,
.fp-user-badges .staff-role-tag {
    margin: 0;
}

.fp-stats {
    margin: 0.85rem 0 0;
    padding: 0;
    text-align: left;
    display: grid;
    gap: 0.35rem;
}

.fp-memur-meta {
    margin-top: 0.7rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid #e5e7eb;
}

.fp-memur-meta + .fp-stats {
    margin-top: 0.55rem;
}

.fp-stats > div {
    display: grid;
    grid-template-columns: minmax(4.75rem, 34%) minmax(0, 1fr);
    align-items: start;
    gap: 0.35rem 0.5rem;
    font-size: 0.78rem;
    line-height: 1.35;
}

.fp-stats dt {
    margin: 0;
    color: #6b7280;
    font-weight: 600;
    min-width: 0;
}

.fp-stats dd {
    margin: 0;
    color: #111827;
    font-weight: 800;
    min-width: 0;
    text-align: right;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.fp-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0.85rem 1rem 0.9rem;
    background: #fff;
}

.fp-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid #eef2f7;
    color: #6b7280;
    font-size: 0.82rem;
}

.fp-head-left {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2rem 0.45rem;
    min-width: 0;
}

.fp-num {
    font-weight: 800;
    color: #9ca3af;
}

.fp-body {
    flex: 1;
    color: #1f2937;
    line-height: var(--thread-text-line, 1.65);
    white-space: pre-wrap;
    word-break: break-word;
    font-size: var(--thread-text-size, 0.95rem);
    margin-bottom: 0.85rem;
}

.topic-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0 0 0.85rem;
}

.topic-attach-file {
    margin: 0;
}

.topic-attach-image img {
    display: block;
    max-width: min(100%, 320px);
    max-height: 240px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    object-fit: contain;
    background: #f3f4f6;
}

.topic-attach-image figcaption {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.topic-attach-pdf {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.25);
    color: #1d4ed8;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
}

.topic-attach-pdf:hover {
    background: rgba(37, 99, 235, 0.14);
}

.topic-attach-pdf-badge {
    display: inline-block;
    padding: 0.12rem 0.35rem;
    border-radius: 4px;
    background: #1d4ed8;
    color: #fff;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
}

.fp-topic-head {
    margin-bottom: 0.75rem;
}

.fp-topic-head .content-tags {
    margin-bottom: 0.45rem;
}

.fp-topic-title {
    margin: 0 0 0.55rem;
    color: #111827;
    font-family: Manrope, sans-serif;
    font-size: clamp(1.05rem, 2.4vw, 1.22rem);
    font-weight: 800;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.fp-topic-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.85rem;
    color: #6b7280;
    font-size: 0.84rem;
    margin-bottom: 0.15rem;
}

.fp-topic-meta .thread-time::before {
    content: '🕒 ';
}

/* Beyaz gönderi kartında koyu tema metin renklerini geçersiz kıl */
.forum-post .author-name {
    color: #111827;
}

.forum-post .author-name.is-rep-gold,
.forum-post .author-name.is-rep-gold-bold {
    color: #b8860b !important;
    text-shadow: none;
}

.forum-post .author-name.is-rep-name-custom:not(.is-rep-name-shiny) {
    color: var(--rep-name-color, #b8860b) !important;
    -webkit-text-fill-color: var(--rep-name-color, #b8860b);
}

.forum-post .author-name.is-rep-name-custom.is-rep-name-light:not(.is-rep-name-shiny) {
    text-shadow:
      -1px 0 0 rgba(15, 23, 42, 0.9),
      1px 0 0 rgba(15, 23, 42, 0.9),
      0 -1px 0 rgba(15, 23, 42, 0.9),
      0 1px 0 rgba(15, 23, 42, 0.9);
}

.fp-sidebar .fp-username.is-rep-name-custom.is-rep-name-light:not(.is-rep-name-shiny) {
    text-shadow:
      -1px 0 0 rgba(15, 23, 42, 0.9),
      1px 0 0 rgba(15, 23, 42, 0.9),
      0 -1px 0 rgba(15, 23, 42, 0.9),
      0 1px 0 rgba(15, 23, 42, 0.9);
}

.forum-post .author-name.is-rep-gold-sparkle,
.forum-post .author-name.is-rep-name-shiny-default,
.forum-post .author-name.is-rep-name-shiny.is-rep-name-custom {
    text-shadow: none !important;
}

.forum-post .bec-ilan-route {
    color: #111827;
}

.forum-post .bec-ilan-route strong {
    color: #0f172a;
}

.forum-post .bec-ilan-note {
    color: #374151;
}

.forum-post .bec-ilan-note.is-muted {
    color: #6b7280;
}

.forum-post .bec-arrow {
    color: #0891b2;
}

.forum-post .feed-cat--becayis {
    background: rgba(8, 145, 178, 0.1);
    border-color: rgba(8, 145, 178, 0.35);
    color: #0e7490;
}

.forum-post .feed-cat--konu {
    background: rgba(2, 132, 199, 0.1);
    border-color: rgba(2, 132, 199, 0.35);
    color: #0369a1;
}

.fp-head.fp-head--topic {
    margin-bottom: 0.35rem;
}

.fp-body p {
    margin: 0 0 0.65rem;
    font-size: inherit;
    line-height: inherit;
}

.reaction-bar {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: auto;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.react-like-btn.like-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}

.react-like-btn.like-btn .like-label,
.react-like-btn.like-btn .like-count {
    display: none;
}

.react-like-btn.like-btn.is-liked {
    background: #2563eb;
}

.react-names {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0.25rem;
    font-size: 0.84rem;
    color: #374151;
    min-width: 0;
}

.react-summary-toggle {
    appearance: none;
    display: inline;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.react-summary-toggle:hover .react-summary-name,
.react-summary-toggle:hover .react-more {
    text-decoration: underline;
}

.react-summary-name {
    color: #2563eb;
    font-weight: 700;
}

.react-all-names {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0.25rem;
}

.react-all-names[hidden] {
    display: none !important;
}

.react-name.author-link {
    color: #2563eb;
    font-weight: 700;
    padding: 0;
}

.react-more {
    color: #374151;
}

.react-sep {
    color: #9ca3af;
}

.react-empty {
    color: #9ca3af;
    font-size: 0.82rem;
}

.forum-post .gift-bar,
.forum-post .gift-row {
    margin-top: 0.65rem;
}

.forum-post .gift-bar .gift-row {
    margin-top: 0;
}

.forum-post .gift-btn {
    border-color: rgba(37, 99, 235, 0.35);
    color: #2563eb;
    font-size: 0.7rem;
    padding: 0.24rem 0.5rem;
}

.thread-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin: 0.85rem 0;
    padding: 0.55rem 0.15rem;
}

.thread-pager-label {
    color: var(--theme-muted, #9ca3af);
    font-size: 0.86rem;
    font-weight: 700;
}

.thread-pager-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.thread-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    border: 1px solid rgba(201, 169, 98, 0.35);
    color: var(--theme-muted, #c8c2b6);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.86rem;
    background: rgba(255, 255, 255, 0.03);
}

a.thread-page-btn:hover {
    color: #dbbc74;
    border-color: rgba(201, 169, 98, 0.7);
}

.thread-page-btn.is-current {
    background: var(--theme-accent, #c9a962);
    border-color: var(--theme-accent, #c9a962);
    color: #111;
}

.thread-reply h2 {
    margin: 0 0 0.75rem;
    color: var(--theme-accent, #c9a962);
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.35rem;
}

@media (max-width: 768px) {
    .forum-shell { width: 96%; }
    .bakanlik-block { padding: 1rem; }
    .topic-panel, .comment-panel, .form-panel { padding: 1.05rem; }
    .site-footer-note { display: none; }
    .forum-post {
        grid-template-columns: 1fr;
        max-width: 100%;
        box-sizing: border-box;
    }
    .fp-sidebar {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
        align-items: stretch;
        text-align: left;
        padding: 0.5rem 0.55rem;
        overflow: hidden;
    }
    .fp-sidebar.has-kart-efekt {
        border-radius: 12px 12px 0 0;
    }
    .fp-user-btn {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        grid-template-areas: "avatar identity";
        align-items: center;
        gap: 0.4rem;
        width: 100%;
        min-width: 0;
    }
    .fp-user-btn > .pf-avatar {
        grid-area: avatar;
        width: 44px !important;
        height: 44px !important;
        margin: 0;
    }
    .fp-user-btn .pf-avatar.is-premium .pf-frame {
        inset: -7%;
        width: 114%;
        height: 114%;
    }
    .fp-user-btn .pf-fallback {
        font-size: 0.95rem;
    }
    .fp-user-btn .fp-username,
    .fp-user-btn .fp-user-identity {
        grid-area: identity;
        align-items: flex-start;
        text-align: left;
        min-width: 0;
        max-width: 100%;
    }
    .fp-username {
        font-size: 0.82rem;
        line-height: 1.25;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        word-break: break-word;
    }
    .fp-user-badges {
        justify-content: flex-start;
        gap: 0.15rem;
        margin-top: 0.12rem;
    }
    .fp-user-badges .fp-role-badge,
    .fp-user-badges .staff-role-tag {
        font-size: 0.58rem;
        padding: 0.08rem 0.28rem;
    }
    .fp-stats {
        margin: 0;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.28rem;
    }
    .fp-stats > div {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.2rem;
        padding: 0.2rem 0.32rem;
        border-radius: 6px;
        background: rgba(17, 24, 39, 0.05);
        font-size: 0.66rem;
        line-height: 1.2;
        min-width: 0;
    }
    .fp-stats dt {
        font-size: 0.6rem;
        font-weight: 600;
        flex: 0 0 auto;
    }
    .fp-stats dd {
        font-size: 0.7rem;
        font-weight: 800;
        text-align: right;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .fp-memur-meta {
        margin-top: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
    .fp-memur-meta + .fp-stats {
        margin-top: 0;
    }
    .fp-sidebar .rep-signature {
        margin: 0;
        font-size: 0.62rem;
        line-height: 1.25;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .fp-body {
        padding: 0.65rem 0.7rem;
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

.admin-acc {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.admin-acc-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.18);
}

.admin-acc-item summary {
    cursor: pointer;
    list-style: none;
    padding: 0.75rem 0.9rem;
    font-weight: 800;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.35rem 0.75rem;
}

.admin-acc-item summary::-webkit-details-marker {
    display: none;
}

.admin-acc-meta {
    font-weight: 600;
    font-size: 0.78rem;
    opacity: 0.72;
}

.admin-acc-body {
    padding: 0 0.9rem 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.popup-enable-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
    font-weight: 700;
}

.rapor-section {
    margin: 1.75rem 0 2rem;
}

.rapor-section h2 {
    color: var(--theme-accent, #c9a962);
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.35rem;
    margin: 0 0 0.45rem;
}

.rapor-section .profile-hint {
    margin: 0 0 0.85rem;
}

.rapor-compact-list {
    gap: 0.32rem;
}

.rapor-compact-list .ntf-item {
    border-radius: 7px;
}

.rapor-compact-list .ntf-link,
.rapor-compact-list .yaptirim-item {
    padding: 0.42rem 0.7rem;
    gap: 0.1rem;
}

.rapor-compact-list .ntf-title {
    font-size: 0.82rem;
    font-weight: 700;
}

.rapor-compact-list .ntf-topic,
.rapor-compact-list .ntf-snippet {
    font-size: 0.74rem;
    line-height: 1.32;
}

.rapor-compact-list .ntf-time {
    font-size: 0.68rem;
}

.rapor-compact-list .rapor-status {
    font-size: 0.62rem;
    padding: 0.04rem 0.36rem;
}

.rapor-compact-list .yaptirim-open {
    font-size: 0.72rem;
    margin-top: 0.05rem;
}

.rapor-compact-list .rapor-resolve {
    margin-top: 0.28rem;
    gap: 0.28rem;
}

.rapor-compact-list .rapor-resolve select,
.rapor-compact-list .rapor-resolve input,
.rapor-compact-list .rapor-resolve .btn-ghost {
    font-size: 0.74rem;
    padding: 0.22rem 0.38rem;
}

.yaptirim-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.yaptirim-item a {
    color: var(--theme-accent, #22d3ee);
}

.yaptirim-open {
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 0.15rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.admin-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.25rem;
}

.admin-hub-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--theme-panel, rgba(8, 10, 14, 0.88));
    border: 1px solid var(--theme-border, rgba(201, 169, 98, 0.28));
    border-radius: 12px;
    padding: 1.2rem 1.25rem 1.3rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.admin-hub-card:hover {
    border-color: var(--theme-accent, #c9a962);
    transform: translateY(-2px);
}

.admin-hub-card h2 {
    margin: 0 0 0.4rem;
    color: var(--theme-accent, #c9a962);
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.28rem;
}

.admin-hub-card p {
    margin: 0;
    color: var(--theme-muted, #9ca3af);
    font-size: 0.9rem;
    line-height: 1.5;
}

.uyeler-toast {
    margin: 0 0 0.85rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    font-weight: 700;
}

.uyeler-toast.is-ok {
    background: rgba(74, 222, 128, 0.12);
    color: #86efac;
}

.uyeler-toast.is-err {
    background: rgba(248, 113, 113, 0.12);
    color: #fca5a5;
}

.uyeler-panel {
    margin-top: 0.25rem;
}

.uyeler-toolbar {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
}

.uyeler-search input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.42rem 0.65rem;
    border-radius: 8px;
    border: 1px solid var(--theme-border, rgba(255, 255, 255, 0.14));
    background: rgba(0, 0, 0, 0.32);
    color: inherit;
    font: inherit;
    font-size: 0.85rem;
}

.uyeler-list {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.uye-row {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(14rem, 1fr);
    gap: 0.35rem 0.7rem;
    align-items: center;
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    background: rgba(15, 17, 23, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.uye-row.is-self {
    border-color: rgba(201, 169, 98, 0.35);
}

.uye-id {
    display: grid;
    grid-template-columns: 8px auto 1fr;
    gap: 0.3rem 0.45rem;
    align-items: center;
}

.uye-presence {
    width: 8px;
    height: 8px;
    margin-top: 0;
    border-radius: 50%;
    background: #64748b;
}

.uye-presence.is-online { background: #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, 0.7); }
.uye-presence.is-idle { background: #eab308; }
.uye-presence.is-banned { background: #ef4444; }

.uye-avatar { display: inline-flex; transform: scale(0.82); transform-origin: center left; }

.uye-who {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.28rem;
}

.uye-name-row {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
}

.uye-name {
    color: #f8fafc;
    font-weight: 800;
    font-size: 0.86rem;
    text-decoration: none;
    margin-right: 0.3rem;
}

.uye-name:hover { text-decoration: underline; }

.uye-row .fp-role-badge {
    margin: 0;
    padding: 0.06rem 0.38rem;
    font-size: 0.62rem;
    vertical-align: middle;
}

.uye-you {
    display: inline-flex;
    margin-left: 0.25rem;
    padding: 0.02rem 0.32rem;
    border-radius: 999px;
    background: rgba(201, 169, 98, 0.18);
    color: #e8c57a;
    font-size: 0.62rem;
    font-weight: 800;
}

.uye-meta {
    margin: 0.08rem 0 0;
    color: #94a3b8;
    font-size: 0.7rem;
    line-height: 1.3;
}

.uye-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin-top: 0.15rem;
}

.uye-pill {
    display: inline-flex;
    padding: 0.04rem 0.35rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
}

.uye-pill.is-ban { background: rgba(239, 68, 68, 0.18); color: #fca5a5; }
.uye-pill.is-mute { background: rgba(245, 158, 11, 0.16); color: #fbbf24; }

.uye-self-note {
    margin: 0;
    color: #94a3b8;
    font-size: 0.72rem;
}

.uye-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 0.28rem 0.32rem;
}

.uye-actions label {
    display: grid;
    gap: 0.1rem;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
}

.uye-actions select {
    min-width: 7.6rem;
    padding: 0.22rem 0.32rem;
    border-radius: 5px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #111827;
    font: inherit;
    font-size: 0.75rem;
    color-scheme: light;
}

.uye-actions select option,
.uye-actions select optgroup {
    background-color: #ffffff;
    color: #111827;
}

.uye-actions .btn-ghost,
.uye-actions .btn-mod-del {
    margin: 0;
    padding: 0.24rem 0.5rem;
    border-radius: 5px;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
}

.uyeler-pager {
    margin-top: 0.65rem;
}

.uye-actions .btn-ghost {
    border: 1px solid rgba(34, 211, 238, 0.35);
    background: transparent;
    color: #67e8f9;
}

.sendika-catalog {
    margin: 0 0 1.1rem;
    padding: 0.9rem 1rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(110, 231, 183, 0.28);
    background: rgba(16, 185, 129, 0.06);
}

.sendika-catalog h2 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    color: var(--theme-ink, #e8e4dc);
}

.sendika-catalog p {
    margin: 0 0 0.7rem;
    color: #94a3b8;
    font-size: 0.86rem;
    line-height: 1.45;
}

.sendika-catalog-list {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.sendika-catalog-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.45rem 0.28rem 0.65rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(110, 231, 183, 0.25);
    color: #d1fae5;
    font-size: 0.82rem;
}

.sendika-catalog-list button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #fca5a5;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0 0.15rem;
}

.sendika-catalog-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.sendika-catalog-form input {
    flex: 1 1 14rem;
    min-width: 12rem;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.55);
    color: inherit;
    font: inherit;
}

.sendika-catalog-form button {
    padding: 0.45rem 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(110, 231, 183, 0.4);
    background: rgba(16, 185, 129, 0.16);
    color: #6ee7b7;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.uye-actions .btn-mod-del {
    border: 1px solid rgba(248, 113, 113, 0.45);
    background: rgba(248, 113, 113, 0.1);
    color: #fca5a5;
}

@media (max-width: 860px) {
    .uye-row {
        grid-template-columns: 1fr;
    }
}

.admin-dp-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.admin-dp-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.admin-dp-tab,
.admin-pager-btn {
    appearance: none;
    border: 1px solid rgba(201, 169, 98, 0.28);
    background: rgba(8, 10, 14, 0.55);
    color: var(--theme-ink, #f2efe8);
    border-radius: 999px;
    padding: 0.38rem 0.8rem;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.admin-dp-tab.is-on,
.admin-pager-btn.is-on {
    background: rgba(201, 169, 98, 0.18);
    border-color: var(--theme-accent, #c9a962);
    color: var(--theme-accent, #c9a962);
}

.admin-dp-search input {
    min-width: min(280px, 100%);
    padding: 0.45rem 0.7rem;
    border-radius: 8px;
    border: 1px solid var(--theme-border, rgba(201, 169, 98, 0.28));
    background: rgba(0, 0, 0, 0.22);
    color: inherit;
    font: inherit;
}

.admin-dp-count {
    margin: 0 0 0.55rem;
    font-size: 0.82rem;
    color: var(--theme-muted, #9ca3af);
}

.admin-dp-head,
.admin-dp-row summary {
    display: grid;
    grid-template-columns: 64px 1fr 1.3fr 0.9fr 1fr 0.95fr;
    gap: 0.5rem 0.65rem;
    align-items: center;
}

.admin-dp-head {
    padding: 0.35rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--theme-muted, #9ca3af);
}

.admin-dp-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-dp-row {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.18);
}

.admin-dp-row summary {
    cursor: pointer;
    list-style: none;
    padding: 0.75rem 0.85rem;
}

.admin-dp-row summary::-webkit-details-marker {
    display: none;
}

.admin-dp-id {
    font-weight: 800;
    color: var(--theme-accent, #c9a962);
}

.admin-dp-user,
.admin-dp-who {
    font-weight: 700;
}

.admin-dp-pack,
.admin-dp-date {
    font-size: 0.82rem;
    color: var(--theme-muted, #9ca3af);
}

.admin-dp-body {
    padding: 0 0.9rem 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-dp-kv-list {
    margin: 0.75rem 0 0;
}

.admin-dp-kv {
    display: grid;
    grid-template-columns: minmax(8rem, 11rem) 1fr;
    gap: 0.35rem 0.85rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-dp-kv dt {
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--theme-muted, #9ca3af);
}

.admin-dp-kv dd {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

.admin-dp-actions {
    margin: 0.85rem 0 0;
}

.admin-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
}

.author-name-row,
.fp-user-name-row,
.member-card-name-row {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
}

.staff-role-tag {
    flex: 0 0 auto;
    margin: 0;
    padding: 0.12rem 0.42rem;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.25;
    vertical-align: middle;
    white-space: nowrap;
}

.author-link .staff-role-tag {
    pointer-events: none;
}

.topic-list-pager {
    margin-top: 1rem;
}

/* —— Admin istatistik çizelgeleri —— */
.stat-panel {
    background: var(--theme-panel, rgba(15, 23, 42, 0.92));
    border: 1px solid var(--theme-border, rgba(34, 211, 238, 0.35));
    border-radius: 14px;
    padding: 1.15rem 1.2rem 1.35rem;
    margin-bottom: 1.15rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.stat-panel-head {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.stat-panel h2 {
    margin: 0;
    font-family: var(--font-display, Georgia, serif);
    color: var(--theme-accent, #22d3ee);
    font-size: 1.35rem;
}

.stat-source {
    margin: 0.25rem 0 0;
    color: var(--theme-muted, #9ca3af);
    font-size: 0.82rem;
}

.stat-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}

.stat-hero-card {
    background: var(--theme-panel, rgba(15, 23, 42, 0.92));
    border: 1px solid var(--theme-border, rgba(34, 211, 238, 0.35));
    border-radius: 14px;
    padding: 1.15rem 1.25rem 1.2rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.stat-hero-val {
    display: block;
    font-size: clamp(2rem, 5vw, 2.75rem);
    line-height: 1.1;
    margin: 0.2rem 0 0.2rem;
    color: var(--theme-accent, #22d3ee);
}

.stat-hero-val--visit {
    color: #e2e8f0;
}

.stat-hero-card em {
    font-style: normal;
    font-size: 0.82rem;
    color: var(--theme-muted, #9ca3af);
}

.stat-hero-split {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    margin: 0.7rem 0 0;
    font-size: 0.84rem;
    color: var(--theme-muted, #9ca3af);
}

.stat-hero-split i {
    margin-right: 0.15rem;
}

.stat-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.stat-tab {
    appearance: none;
    border: 1px solid var(--theme-border, rgba(34, 211, 238, 0.35));
    background: transparent;
    color: var(--theme-ink, #f8fafc);
    border-radius: 999px;
    padding: 0.38rem 0.85rem;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
}

.stat-tab--sm {
    font-size: 0.78rem;
    padding: 0.3rem 0.7rem;
    font-weight: 600;
}

.stat-tab.is-on,
.stat-tab:hover {
    border-color: var(--theme-accent, #22d3ee);
    background: rgba(34, 211, 238, 0.14);
    color: var(--theme-accent, #22d3ee);
}

.stat-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.stat-kpi {
    background: var(--theme-card, rgba(34, 211, 238, 0.06));
    border: 1px solid var(--theme-border, rgba(34, 211, 238, 0.22));
    border-radius: 12px;
    padding: 0.85rem 1rem;
}

.stat-kpi-label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--theme-muted, #9ca3af);
}

.stat-kpi-val {
    display: block;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.15;
    margin: 0.2rem 0 0.15rem;
}

.stat-kpi-val--anon { color: #94a3b8; }
.stat-kpi-val--uye { color: var(--theme-accent, #22d3ee); }

.stat-kpi em {
    font-style: normal;
    font-size: 0.78rem;
    color: var(--theme-muted, #9ca3af);
}

.stat-metric-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.9rem;
    align-items: center;
    margin-bottom: 0.85rem;
}

.stat-legend {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem 0.7rem;
    margin-left: auto;
    font-size: 0.82rem;
    color: var(--theme-muted, #9ca3af);
}

.stat-swatch {
    display: inline-block;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 3px;
    margin-right: 0.28rem;
    vertical-align: -1px;
}

.stat-swatch--anon { background: #64748b; }
.stat-swatch--uye { background: var(--theme-accent, #22d3ee); }
.stat-swatch--msb { background: #4ade80; }
.stat-swatch--ic { background: #a78bfa; }
.stat-swatch--genel { background: #64748b; }

.stat-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(2.2rem, 1fr));
    gap: 0.35rem;
    align-items: end;
    min-height: 220px;
    padding: 0.4rem 0 0;
}

.stat-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.stat-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 170px;
    width: 100%;
}

.stat-bar {
    display: block;
    width: 42%;
    max-width: 14px;
    min-height: 0;
    border-radius: 4px 4px 2px 2px;
}

.stat-bar--anon {
    background: linear-gradient(180deg, #94a3b8, #475569);
}

.stat-bar--uye {
    background: linear-gradient(180deg, #67e8f9, #0891b2);
}

.stat-col-nums {
    display: flex;
    gap: 0.2rem;
    font-size: 0.62rem;
    line-height: 1.2;
    margin-top: 0.28rem;
    color: var(--theme-muted, #9ca3af);
}

.stat-bar--anon-n { color: #94a3b8; }
.stat-bar--uye-n { color: var(--theme-accent, #22d3ee); }

.stat-col-label {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.65rem;
    color: var(--theme-muted, #9ca3af);
    text-align: center;
    white-space: nowrap;
}

.stat-member-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.stat-member-card {
    background: var(--theme-card, rgba(34, 211, 238, 0.06));
    border: 1px solid var(--theme-border, rgba(34, 211, 238, 0.22));
    border-radius: 12px;
    padding: 1rem 0.9rem 1.05rem;
}

.stat-member-card h3 {
    margin: 0;
    font-size: 1.02rem;
    color: var(--theme-ink, #f8fafc);
}

.stat-hint {
    margin: 0.15rem 0 0.7rem;
    font-size: 0.78rem;
    color: var(--theme-muted, #9ca3af);
}

.stat-donut-wrap {
    position: relative;
    width: 7.2rem;
    height: 7.2rem;
    margin: 0.35rem auto 0.7rem;
}

.stat-donut {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.stat-donut circle {
    fill: none;
    stroke-width: 3.15;
}

.stat-donut-bg { stroke: rgba(148, 163, 184, 0.22); }
.stat-donut-msb { stroke: #4ade80; }
.stat-donut-ic { stroke: #a78bfa; }
.stat-donut-genel { stroke: #64748b; }

.stat-donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.stat-donut-center strong {
    font-size: 1.25rem;
    line-height: 1;
}

.stat-donut-center span {
    font-size: 0.7rem;
    color: var(--theme-muted, #9ca3af);
}

.stat-legend-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.84rem;
}

.stat-legend-list li {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.28rem 0 0;
}

.stat-legend-list strong {
    margin-left: auto;
}

.stat-legend-list em {
    font-style: normal;
    color: var(--theme-muted, #9ca3af);
    min-width: 2.6rem;
    text-align: right;
}

@media (max-width: 900px) {
    .admin-hub-grid {
        grid-template-columns: 1fr;
    }
    .admin-dp-head {
        display: none;
    }
    .admin-dp-row summary {
        grid-template-columns: 1fr 1fr;
    }
    .stat-kpis,
    .stat-member-grid,
    .stat-hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stat-chart {
        grid-template-columns: repeat(auto-fit, minmax(1.7rem, 1fr));
        overflow-x: auto;
    }
}

@media (max-width: 560px) {
    .stat-kpis,
    .stat-member-grid,
    .stat-hero-grid {
        grid-template-columns: 1fr;
    }
    .stat-legend {
        margin-left: 0;
        width: 100%;
    }
}

/* İçerik onay akışı */
.moderation-submit-success {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 1.5rem 0.5rem;
}
.moderation-submit-icon {
    display: inline-grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.14);
    border: 1px solid rgba(34, 211, 238, 0.55);
    color: #67e8f9;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1;
}
.moderation-submit-success h1 { color: var(--theme-accent, #c9a962); }
.moderation-submit-success p {
    text-align: justify;
    text-align-last: start;
    line-height: 1.55;
    hyphens: auto;
}
.moderation-submit-note,
.moderation-preview-banner {
    border: 1px solid rgba(201, 169, 98, 0.3);
    background: rgba(201, 169, 98, 0.08);
    border-radius: 12px;
    padding: 0.9rem 1rem;
}
.moderation-preview-banner {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0.85rem 0 1rem;
}
.moderation-preview-banner.is-pending { border-color: rgba(245, 158, 11, 0.48); }
.moderation-preview-banner.is-rejected { border-color: rgba(248, 113, 113, 0.5); }
.moderation-status {
    display: inline-flex;
    align-items: center;
    width: max-content;
    border-radius: 999px;
    padding: 0.28rem 0.66rem;
    font-size: 0.76rem;
    line-height: 1.2;
    font-weight: 800;
    white-space: nowrap;
}
.moderation-status.is-pending { background: rgba(245, 158, 11, 0.16); color: #fbbf24; }
.moderation-status.is-approved { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.moderation-status.is-rejected { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.moderation-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
}
.moderation-hero h1,
.moderation-hero p { text-align: left; }
.moderation-queue-count {
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    padding: 0.55rem 0.85rem;
    font-weight: 800;
}
.moderation-tabs { margin: 1rem 0; }
.moderation-list { display: grid; gap: 1rem; }
.moderation-card {
    border: 1px solid var(--theme-border, rgba(148, 163, 184, 0.22));
    background: var(--theme-surface, rgba(15, 23, 42, 0.72));
    border-radius: 16px;
    padding: 1.1rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.moderation-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}
.moderation-card-head h2 { margin: 0.3rem 0 0; font-size: 1.18rem; }
.moderation-kind {
    color: var(--theme-accent, #67e8f9);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.moderation-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
    margin: 1rem 0;
}
.moderation-meta div {
    border: 1px solid var(--theme-border, rgba(148, 163, 184, 0.18));
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
}
.moderation-meta dt { color: var(--theme-muted, #94a3b8); font-size: 0.75rem; }
.moderation-meta dd { margin: 0.2rem 0 0; font-weight: 700; }
.moderation-preview {
    white-space: pre-wrap;
    line-height: 1.65;
    border-left: 3px solid var(--theme-accent, #22d3ee);
    background: rgba(148, 163, 184, 0.06);
    border-radius: 0 10px 10px 0;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
}
.moderation-note-label { display: block; font-weight: 700; margin-bottom: 0.4rem; }
.moderation-note-label span { color: var(--theme-muted, #94a3b8); font-weight: 400; }
.moderation-note {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0.8rem;
}
.moderation-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem; }
.moderation-history-note { margin: 0.2rem 0 1rem; }
.moderation-reply-locked { text-align: center; }

@media (max-width: 700px) {
    .moderation-hero,
    .moderation-card-head { align-items: flex-start; flex-direction: column; }
    .moderation-meta { grid-template-columns: 1fr; }
}
