
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg: #080a09;
    --panel: #101411;
    --panel-2: #151a16;
    --panel-3: #1b211c;
    --border: rgba(255,255,255,.075);
    --text: #f4f7f2;
    --muted: #818b80;
    --lime: #b5ff42;
    --lime-dark: #91d92c;
    --pink: #f17cb0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body.dashboard-body {
    margin: 0;
    background:
        radial-gradient(ellipse at 50% -20%, rgba(181,255,66,.075), transparent 42%),
        var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
}

button, input, textarea {
    font: inherit;
}

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

button {
    -webkit-tap-highlight-color: transparent;
}

.app-layout {
    width: min(1500px, 100%);
    min-height: 100vh;
    margin: auto;
    display: grid;
    grid-template-columns: 245px minmax(0, 690px) 285px;
    gap: 34px;
    padding: 0 28px;
}

/* SOL MENÜ */

.sidebar {
    height: 100vh;
    position: sticky;
    top: 0;
    padding: 35px 20px 25px 0;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 31px;
    font-weight: 700;
    letter-spacing: -2px;
    margin: 0 0 55px 12px;
}

.logo span {
    color: var(--lime);
}

.nav-label,
.section-kicker,
.topbar-eyebrow {
    color: #687368;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.nav-label {
    margin: 0 0 14px 15px;
}

.main-nav {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.nav-item {
    min-height: 48px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #939d92;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    transition: .2s;
}

.nav-icon {
    width: 23px;
    font-size: 22px;
    text-align: center;
}

.nav-item:hover {
    color: white;
    background: rgba(255,255,255,.045);
}

.nav-item.active {
    color: var(--lime);
    background: linear-gradient(100deg, rgba(181,255,66,.15), rgba(181,255,66,.035));
    box-shadow: inset 3px 0 var(--lime);
}

.sidebar-bottom {
    margin-top: auto;
}

.sidebar-user,
.right-account {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d0ff83, #8fdc32);
    color: #10150b;
    font-weight: 800;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-avatar {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
}

.sidebar-user-info,
.right-account > div:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
}

.sidebar-user-info strong,
.right-account strong {
    font-size: 13px;
}

.sidebar-user-info span,
.right-account span {
    font-size: 11px;
    color: var(--muted);
}

.logout-link {
    display: block;
    padding: 18px 8px 0;
    color: #e88c8c;
    font-size: 12px;
}

/* ANA AKIŞ */

.feed {
    min-width: 0;
    padding: 35px 0 60px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.topbar h1 {
    margin: 8px 0 5px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 29px;
    letter-spacing: -1.4px;
}

.topbar p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.topbar-avatar {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
    border: 2px solid rgba(181,255,66,.3);
}

/* HERO */

.hero-card {
    position: relative;
    min-height: 205px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 30px;
    border: 1px solid rgba(181,255,66,.17);
    border-radius: 22px;
    background:
        radial-gradient(circle at 85% 20%, rgba(181,255,66,.17), transparent 30%),
        radial-gradient(circle at 95% 100%, rgba(241,124,176,.12), transparent 35%),
        linear-gradient(120deg, #192117, #111612 65%, #17141a);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-tag {
    color: var(--lime);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-card h2 {
    margin: 17px 0 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(29px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.hero-card h2 span {
    color: var(--lime);
}

.hero-card p {
    color: #a0a99d;
    font-size: 13px;
}

.hero-decoration {
    position: absolute;
    right: 35px;
    top: 22px;
    color: rgba(181,255,66,.075);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 145px;
    font-weight: 700;
    letter-spacing: -15px;
    transform: rotate(-12deg);
    user-select: none;
}

/* BİLDİRİMLER */

.notice {
    padding: 13px 16px;
    margin-top: 16px;
    border-radius: 12px;
    font-size: 13px;
}

.success-message {
    color: var(--lime);
    background: rgba(181,255,66,.08);
    border: 1px solid rgba(181,255,66,.18);
}

.error-message {
    color: #ff9999;
    background: rgba(255,80,80,.08);
    border: 1px solid rgba(255,80,80,.2);
}

/* GÖNDERİ OLUŞTURMA */

.composer-card {
    margin-top: 22px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(145deg, #151a16, #101411);
    box-shadow: 0 14px 40px rgba(0,0,0,.15);
}

.composer-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 17px;
}

.composer-avatar {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
}

.composer-heading > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.composer-heading strong {
    font-size: 14px;
}

.composer-heading span {
    color: var(--muted);
    font-size: 11px;
}

.composer-card textarea {
    display: block;
    width: 100%;
    min-height: 105px;
    padding: 16px;
    resize: vertical;
    border: 1px solid #2a342a;
    border-radius: 13px;
    outline: none;
    color: white;
    background: #0d110e;
    font-size: 14px;
    line-height: 1.6;
    transition: .2s;
}

.composer-card textarea::placeholder {
    color: #687368;
}

.composer-card textarea:focus,
.poll-builder input:focus,
.comment-form input:focus {
    border-color: rgba(181,255,66,.55);
    box-shadow: 0 0 0 3px rgba(181,255,66,.07);
}

.composer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.poll-toggle {
    border: 0;
    background: transparent;
    color: var(--lime);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 9px 3px;
}

.share-button {
    border: 0;
    border-radius: 10px;
    padding: 12px 21px;
    background: linear-gradient(135deg, #d0ff83, #a5f13d);
    color: #11170b;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 7px 20px rgba(181,255,66,.12);
    transition: .2s;
}

.share-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.07);
}

.share-button span {
    margin-left: 9px;
    font-size: 16px;
}

.poll-builder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 12px;
}

.poll-builder[hidden] {
    display: none;
}

.poll-builder input {
    min-width: 0;
    padding: 12px;
    border-radius: 9px;
    border: 1px solid #303b30;
    outline: none;
    background: #0d110e;
    color: white;
    font-size: 12px;
}

/* AKIŞ BAŞLIĞI */

.feed-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin: 34px 2px 16px;
}

.feed-section-heading h2 {
    margin: 6px 0 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 21px;
    letter-spacing: -.7px;
}

.post-total {
    color: var(--lime);
    font-size: 11px;
}

/* GÖNDERİ KARTLARI */

.post-card {
    padding: 22px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: 19px;
    background: linear-gradient(145deg, #151a16, #101411);
    transition: border-color .2s, transform .2s;
    scroll-margin-top: 100px;
}

.post-card:hover {
    border-color: rgba(181,255,66,.17);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-avatar {
    width: 45px;
    height: 45px;
    flex-basis: 45px;
    border: 0;
    cursor: pointer;
    font-size: 15px;
}

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

.profile-name-trigger {
    display: inline-block;
    width: fit-content;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f3f5f1;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.profile-name-trigger:hover {
    color: var(--lime);
}

.post-author span {
    color: #788176;
    font-size: 11px;
}

.post-type-label {
    margin-left: auto;
    padding: 6px 9px;
    border-radius: 7px;
    background: rgba(181,255,66,.07);
    color: var(--lime);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .7px;
}

.post-content {
    margin: 21px 0;
    color: #e6ebe4;
    font-size: 15px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

/* ANKET */

.poll-area {
    margin: 15px 0 18px;
}

.vote-form {
    margin-top: 9px;
}

.poll-option {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 49px;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    padding: 0 15px;
    border: 1px solid #303b30;
    border-radius: 11px;
    background: #111712;
    color: #e9eee7;
    text-align: left;
    cursor: pointer;
    font-size: 12px;
    transition: .2s;
}

.poll-option:hover {
    border-color: var(--lime);
    background: #192017;
}

.poll-vote-label {
    color: var(--lime);
    font-size: 11px;
    font-weight: 700;
}

.poll-result {
    cursor: default;
}

.poll-result > span,
.poll-result > strong {
    position: relative;
    z-index: 1;
}

.poll-result > strong {
    color: var(--lime);
}

.poll-progress {
    position: absolute;
    inset: 0 auto 0 0;
    background: rgba(181,255,66,.13);
    border-right: 1px solid rgba(181,255,66,.18);
}

.poll-total {
    margin-top: 12px;
    color: var(--muted);
    font-size: 11px;
}

/* GÖNDERİ AKSİYONLARI */

.post-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    margin-top: 17px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.action-button {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 0;
    border-radius: 9px;
    background: rgba(255,255,255,.04);
    color: #a0aa9f;
    font-size: 12px;
    cursor: pointer;
    transition: .2s;
}

.action-button:hover {
    background: rgba(181,255,66,.08);
    color: var(--lime);
}

.action-button.is-liked {
    color: #ff7896;
}

.action-static {
    cursor: default;
}

/* YORUMLAR */

.comments-section {
    padding-top: 15px;
}

.comments-heading {
    margin-bottom: 9px;
    color: #8c978b;
    font-size: 11px;
    font-weight: 700;
}

.comment-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
}

.comment-avatar {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border: 0;
    font-size: 12px;
    cursor: pointer;
}

.comment-body {
    min-width: 0;
    flex: 1;
    padding: 10px 13px;
    border-radius: 0 12px 12px 12px;
    background: rgba(255,255,255,.035);
}

.comment-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.comment-meta .profile-name-trigger {
    font-size: 12px;
}

.comment-meta span {
    color: #697568;
    font-size: 10px;
}

.comment-body p {
    margin: 6px 0 0;
    color: #cbd2c9;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.comment-form {
    display: flex;
    gap: 9px;
    margin-top: 13px;
}

.comment-form input {
    flex: 1;
    min-width: 0;
    height: 43px;
    padding: 0 14px;
    border: 1px solid #303a30;
    border-radius: 11px;
    outline: none;
    background: #0d110e;
    color: white;
    font-size: 12px;
}

.comment-form input::placeholder {
    color: #687368;
}

.comment-form button {
    width: 44px;
    border: 0;
    border-radius: 11px;
    background: var(--lime);
    color: #10150b;
    font-size: 19px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s;
}

.comment-form button:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* BOŞ AKIŞ */

.empty-feed {
    text-align: center;
    padding: 55px 20px;
    border: 1px dashed #303a30;
    border-radius: 18px;
    background: rgba(255,255,255,.015);
}

.empty-icon {
    color: var(--lime);
    font-size: 34px;
}

.empty-feed h3 {
    margin: 14px 0 7px;
    font-size: 16px;
}

.empty-feed p {
    color: var(--muted);
    font-size: 12px;
}

/* SAĞ PANEL */

.right-sidebar {
    min-width: 0;
    padding-top: 35px;
}

.right-sticky {
    position: sticky;
    top: 35px;
}

.right-welcome {
    padding: 24px 21px;
    border: 1px solid rgba(181,255,66,.15);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(181,255,66,.12), transparent 40%),
        #131913;
}

.right-welcome h3 {
    margin: 17px 0 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 23px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.right-welcome p,
.right-card p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.right-card {
    margin-top: 15px;
    padding: 19px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--panel);
}

.right-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.right-card-heading h3 {
    margin: 0;
    font-size: 14px;
}

.right-card-heading span {
    color: var(--lime);
    font-size: 12px;
}

.right-account {
    margin: 17px 0;
}

.right-avatar {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
}

.right-profile-link {
    display: block;
    padding-top: 13px;
    border-top: 1px solid var(--border);
    color: var(--lime);
    font-size: 11px;
    font-weight: 700;
}

.right-footer {
    margin-top: 23px;
    color: #657063;
    font-size: 10px;
}

.right-footer p {
    margin-top: 8px;
}

.feed-footer {
    padding: 25px 0;
    color: #657063;
    text-align: center;
    font-size: 10px;
}

/* PROFİL ÖNİZLEME */

.profile-preview-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0,0,0,.78);
    backdrop-filter: blur(9px);
}

.profile-preview-overlay[hidden] {
    display: none;
}

.profile-preview-modal {
    position: relative;
    width: min(420px, 100%);
    overflow: hidden;
    border: 1px solid #343d32;
    border-radius: 20px;
    background: #141914;
    color: white;
    box-shadow: 0 30px 100px rgba(0,0,0,.65);
    animation: preview-in .2s ease;
}

@keyframes preview-in {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.preview-cover {
    height: 115px;
    background:
        radial-gradient(circle at 80% 20%, rgba(181,255,66,.25), transparent 35%),
        linear-gradient(120deg, #29351f, #141914, #33202d);
}

.preview-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.5);
    color: white;
    font-size: 23px;
    cursor: pointer;
}

.preview-content {
    padding: 0 23px 23px;
}

.preview-avatar {
    width: 82px;
    height: 82px;
    margin-top: -40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 4px solid #141914;
    border-radius: 50%;
    background: var(--lime);
    color: #10150b;
    font-size: 29px;
    font-weight: 800;
}

.preview-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-content h3 {
    margin: 12px 0 3px;
    font-size: 21px;
}

.preview-handle {
    color: var(--muted);
    font-size: 12px;
}

.preview-bio {
    color: #c5cec2;
    font-size: 13px;
    line-height: 1.6;
}

.preview-stats {
    display: flex;
    justify-content: space-around;
    padding: 17px 0;
    margin-top: 16px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.preview-stats div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.preview-stats strong {
    font-size: 18px;
}

.preview-stats span {
    color: var(--muted);
    font-size: 11px;
}

.preview-actions {
    display: flex;
    gap: 10px;
    margin-top: 17px;
}

.preview-follow,
.preview-visit {
    flex: 1;
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.preview-follow {
    border: 0;
    background: var(--lime);
    color: #10150b;
}

.preview-follow.following {
    border: 1px solid #394239;
    background: #252d25;
    color: white;
}

.preview-visit {
    border: 1px solid #394239;
    color: white;
}

.preview-error {
    color: #ff8585;
    font-size: 12px;
}

/* MOBİL */

.mobile-nav {
    display: none;
}

@media (max-width: 1150px) {
    .app-layout {
        grid-template-columns: 210px minmax(0, 690px);
        justify-content: center;
        gap: 25px;
    }

    .right-sidebar {
        display: none;
    }
}

@media (max-width: 700px) {
    body.dashboard-body {
        padding-bottom: 75px;
    }

    .app-layout {
        display: block;
        padding: 0 15px;
    }

    .sidebar {
        height: auto;
        position: static;
        padding: 20px 0 12px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .logo {
        margin: 0 0 17px 3px;
        font-size: 27px;
    }

    .nav-label,
    .sidebar-bottom {
        display: none;
    }

    .main-nav {
        flex-direction: row;
        gap: 5px;
        overflow-x: auto;
        padding-bottom: 3px;
    }

    .nav-item {
        min-height: 39px;
        flex: 0 0 auto;
        gap: 7px;
        padding: 0 10px;
        font-size: 11px;
    }

    .nav-icon {
        width: auto;
        font-size: 17px;
    }

    .feed {
        padding-top: 23px;
    }

    .topbar h1 {
        font-size: 25px;
    }

    .hero-card {
        min-height: 175px;
        padding: 23px;
        border-radius: 18px;
    }

    .hero-card h2 {
        font-size: 31px;
    }

    .hero-decoration {
        right: 12px;
        font-size: 100px;
    }

    .composer-card,
    .post-card {
        padding: 16px;
        border-radius: 16px;
    }

    .post-content {
        font-size: 14px;
    }

    .poll-builder {
        grid-template-columns: 1fr;
    }

    .post-actions {
        gap: 6px;
    }

    .action-button {
        padding: 7px 8px;
        font-size: 11px;
    }

    .mobile-nav {
        position: fixed;
        z-index: 100;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        justify-content: space-around;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--border);
        background: rgba(12,16,12,.94);
        backdrop-filter: blur(18px);
    }

    .mobile-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        color: #899286;
        font-size: 19px;
    }

    .mobile-nav a span {
        font-size: 9px;
    }

    .mobile-nav .mobile-nav-active {
        color: var(--lime);
    }
}

@media (max-width: 390px) {
    .app-layout {
        padding: 0 11px;
    }

    .hero-card h2 {
        font-size: 27px;
    }

    .post-card,
    .composer-card {
        padding: 13px;
    }

    .post-type-label {
        font-size: 8px;
    }
}

/* PROFİL */

.profile-page .profile-card {
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(145deg, #151a16, #101411);
    box-shadow: 0 14px 40px rgba(0,0,0,.15);
}

.profile-page .profile-cover {
    height: 155px;
    background:
        radial-gradient(circle at 85% 20%, rgba(181,255,66,.18), transparent 35%),
        radial-gradient(circle at 95% 100%, rgba(241,124,176,.12), transparent 40%),
        linear-gradient(120deg, #192117, #111612 65%, #17141a);
    border-bottom: 1px solid var(--border);
}

.profile-page .profile-main {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 18px;
    padding: 0 24px 22px;
}

.profile-page .profile-avatar {
    width: 100px;
    height: 100px;
    flex: 0 0 100px;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-top: -48px;
    border: 5px solid #151a16;
    border-radius: 50%;
    background: linear-gradient(135deg, #d0ff83, #8fdc32);
    color: #10150b;
    font-size: 36px;
    font-weight: 800;
}

.profile-page .profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-page .profile-details {
    flex: 1;
    min-width: min(160px, 100%);
    overflow-wrap: anywhere;
    padding-top: 13px;
}

.profile-page .profile-details h2 {
    margin: 0 0 5px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 23px;
    letter-spacing: -.7px;
}

.profile-page .profile-username {
    margin: 0 0 13px;
    color: var(--muted);
    font-size: 12px;
}

.profile-page .profile-bio {
    color: #cbd2c9;
    font-size: 13px;
    line-height: 1.7;
}

.profile-page .follow-form {
    margin-left: auto;
    padding-top: 14px;
}

.profile-page .follow-button {
    padding: 12px 20px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #d0ff83, #a5f13d);
    color: #11170b;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.profile-page .follow-button.following {
    border: 1px solid rgba(181,255,66,.25);
    background: rgba(181,255,66,.08);
    color: var(--lime);
}

.profile-page .profile-stats {
    display: flex;
    gap: 38px;
    padding: 19px 25px;
    border-top: 1px solid var(--border);
}

.profile-page .profile-stats strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
}

.profile-page .profile-stats span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
}

.profile-page .profile-edit-link {
    margin: 14px 0 0 auto;
    text-decoration: none;
}

@media (max-width: 700px) {
    .profile-page .profile-main {
        padding: 0 16px 18px;
    }

    .profile-page .profile-stats {
        justify-content: space-around;
        gap: 10px;
    }

    .profile-page .follow-form,
    .profile-page .profile-edit-link {
        margin-left: 0;
    }
}

/* Yorum beğenileri ve yanıtları */
.comment-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    gap: 8px;
    margin-top: 8px;
}

.comment-reply {
    margin-inline-start: clamp(12px, 4vw, 36px);
    padding-inline-start: 10px;
    border-inline-start: 1px solid var(--border);
}

.comment-reply-box[open] {
    flex-basis: 100%;
    min-width: 0;
}

.comment-reply-box summary {
    padding: 7px 8px;
    color: var(--lime);
    cursor: pointer;
}

.comment-reply-box .comment-form {
    margin-top: 6px;
}

/* Giriş ve kayıt */
.auth-page {
    margin: 0;
    background: #101411;
    color: var(--text);
    font-family: 'Inter', sans-serif;
}

.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.auth-brand,
.auth-form-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(24px, 6vw, 88px);
}

.auth-brand {
    background: radial-gradient(circle at top left, #28391d, transparent 65%), #151a16;
    border-inline-end: 1px solid var(--border);
}

.auth-page .brand-logo,
.auth-mobile-logo,
.auth-page h1,
.auth-page h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.auth-page .brand-logo,
.auth-mobile-logo {
    font-size: 32px;
}

.auth-page .brand-logo span,
.auth-mobile-logo span,
.auth-page h1 span,
.auth-page .eyebrow,
.auth-page .form-label,
.auth-switch a {
    color: var(--lime);
}

.auth-page h1 {
    margin: 16px 0;
    font-size: clamp(42px, 6vw, 86px);
    line-height: 1;
}

.auth-page h2 {
    margin: 8px 0;
    font-size: clamp(29px, 4vw, 44px);
}

.auth-page p,
.auth-page .brand-footer,
.auth-side-footer,
.auth-page .brand-stats,
.auth-switch {
    color: var(--muted);
}

.auth-page p {
    line-height: 1.65;
}

.auth-page .brand-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 24px;
}

.auth-page .brand-stats strong {
    display: block;
    color: var(--lime);
}

.auth-form-side {
    justify-content: center;
    align-items: center;
}

.auth-form-box {
    width: min(100%, 420px);
}

.auth-page .field {
    display: grid;
    gap: 6px;
    margin: 16px 0;
}

.auth-page .field label,
.auth-page .form-label,
.auth-page .eyebrow,
.auth-page .brand-footer,
.auth-side-footer {
    font-size: 12px;
}

.auth-page .field input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #151a16;
    color: var(--text);
    font: inherit;
}

.auth-page .field input:focus-visible {
    outline: 2px solid var(--lime);
}

.auth-submit {
    width: 100%;
    padding: 13px;
    border: 0;
    border-radius: 10px;
    background: var(--lime);
    color: #101411;
    font-weight: 800;
    cursor: pointer;
}

.auth-switch {
    margin-top: 16px;
}

.auth-page .error-message,
.auth-page .success-message {
    margin: 12px 0;
    padding: 10px;
    border: 1px solid currentColor;
    border-radius: 8px;
}

.auth-mobile-logo {
    display: none;
}

@media (max-width: 700px) {
    .auth-layout {
        grid-template-columns: 1fr;
    }

    .auth-brand {
        display: none;
    }

    .auth-mobile-logo {
        display: block;
    }
}

.feed-action-error {
    color: #ff9dad;
    font-size: 12px;
}

.feed-action-error:empty {
    display: none;
}

.edit-field {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
}

.edit-field label {
    font-weight: 700;
}

.edit-field input,
.edit-field textarea {
    width: 100%;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #101411;
    color: var(--text);
    font: inherit;
}

.edit-field textarea {
    min-height: 110px;
    resize: vertical;
}

.edit-field :is(input, textarea):focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 2px;
}

.edit-avatar {
    display: grid;
    width: 88px;
    height: 88px;
    place-items: center;
    border-radius: 50%;
    background: var(--lime);
    color: #101411;
    object-fit: cover;
    font-size: 32px;
    font-weight: 800;
}

.edit-hint {
    color: var(--muted);
}

.edit-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.explore-search label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.explore-search-controls {
    display: flex;
    gap: 10px;
}

.explore-search input {
    flex: 1;
    min-width: 0;
    padding: 11px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #101411;
    color: var(--text);
    font: inherit;
}

.explore-search input:focus-visible {
    outline: 2px solid var(--lime);
}

.feed-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.feed-tabs [aria-current="page"] {
    background: rgba(181,255,66,.12);
    color: var(--lime);
    font-weight: 700;
}

.profile-stat-link:hover strong,
.profile-stat-link:hover span,
.profile-stat-link:focus-visible strong,
.profile-stat-link:focus-visible span {
    color: var(--lime);
}

.profile-stat-link:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 5px;
}

.post-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.save-post-form [aria-pressed="true"] {
    color: var(--lime);
}

.post-edited,
.post-copy-feedback {
    color: var(--muted);
    font-size: 12px;
}

.post-copy-feedback:empty {
    display: none;
}

.social-inline-link {
    color: var(--lime);
}

.social-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 24px 16px;
}

.profile-cover img,
.social-cover-preview {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-cover-preview {
    max-height: 220px;
    border-radius: 10px;
    margin: 12px 0;
}

.social-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
    margin: 12px 0;
}

.social-gallery a:only-child {
    grid-column: 1 / -1;
}

.social-gallery img {
    display: block;
    width: 100%;
    max-height: 360px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
}

.social-gallery-dialog {
    width: min(94vw, 940px);
    max-height: 94vh;
    padding: 12px;
    background: #101411;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.social-gallery-dialog::backdrop {
    background: rgba(0,0,0,.82);
}

.social-gallery-dialog img {
    display: block;
    width: 100%;
    max-height: 76vh;
    object-fit: contain;
}

.social-gallery-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.social-gallery-controls [hidden] {
    display: none;
}

.social-quote {
    display: grid;
    gap: 6px;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid var(--border);
    border-inline-start: 3px solid var(--lime);
    border-radius: 9px;
    overflow-wrap: anywhere;
}

.social-quote small,
.social-quote a {
    color: var(--lime);
}

.social-form-label,
.social-options {
    display: grid;
    gap: 8px;
    margin: 8px 0;
}

.social-form-label input[type=checkbox] {
    width: auto;
    justify-self: start;
}

.edit-field select,
.social-form-label select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #101411;
    color: var(--text);
    font: inherit;
}

.notification-unread {
    border-inline-start: 3px solid var(--lime);
}

.dm-bubble {
    max-width: min(92%, 540px);
    overflow-wrap: anywhere;
}

.dm-mine {
    margin-inline-start: auto;
    border-color: rgba(181,255,66,.25);
}

details.post-card summary {
    cursor: pointer;
    font-weight: 700;
}
