/* ── Variables (Krem · altın · terakota — ekran görüntüsü teması) ───────── */
:root {
    color-scheme: light;
    --bg-base: #f5f2eb;
    --bg: #f5f2eb;
    --bg-muted: #ebe6dc;
    --surface: #fffcf7;
    --card: #fffcf7;
    --glass: #fffcf7;
    --glass-strong: #ffffff;
    --glass-border: #e8e4dc;
    --border: #e0dbd2;
    --border-strong: #d4cec4;
    --text: #2a2824;
    --muted: #6f6a62;
    --accent: #b8942e;
    --accent2: #d94f38;
    --daily: #b8942e;
    --weekly: #3d9b7a;
    --monthly: #7d5eb8;
    --yearly: #b85c3a;
    --spotlight: #a64d32;
    --warm: #c5a059;
    --rose: #d94f38;
    --header-bg: rgba(245, 242, 235, 0.94);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --radius: 6px;
    --radius-lg: 10px;
    --radius-pill: 999px;
    --blur: blur(10px) saturate(1.08);
    --shadow-glass: 0 2px 12px rgba(42, 40, 36, 0.06), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
    --shadow-float: 0 10px 32px rgba(42, 40, 36, 0.1);
    --input-bg: #ffffff;
    --compose-gate-bg: #fdfaf5;
    --compose-gate-border: #e8e4dc;
    --compose-gate-topbar: #a64d32;
    --compose-gate-muted: #757575;
    --compose-gate-cta: #e05a3e;
    --compose-gate-cta-hover: #c94e36;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.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;
}
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text);
    min-height: 100vh;
    font-size: 15px;
    line-height: 1.6;
    background: var(--bg);
}
@media (max-width: 780px) {
    html {
        overflow-x: clip;
        max-width: 100%;
    }
    body {
        overflow-x: clip;
        max-width: 100%;
    }
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    background: var(--header-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    z-index: 100;
}
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-brand-cluster {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    flex-shrink: 0;
    min-width: 0;
}
.header-site-nav {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.header-site-nav .btn-header-login {
    text-decoration: none;
    padding: 6px 14px;
    font-size: 12px;
}
.header-account-logout .header-site-nav {
    flex-shrink: 0;
}
.btn-header-login.btn-header-secondary.is-active {
    border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
    background: color-mix(in srgb, var(--accent) 16%, var(--bg));
    color: var(--accent);
}
.btn-header-login.btn-header-secondary.is-active:hover {
    opacity: 1;
    border-color: color-mix(in srgb, var(--accent) 65%, var(--border));
}
.header-mid{
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    min-width: 0;
    padding: 0 12px;
    pointer-events: none;
}
.header-mid > * {
    pointer-events: auto;
}
.header-mid:empty {
    display: none;
}
/* Misafir ana sayfa: logo | boşluk | tanıtım + giriş */
body.header-guest-home .header-inner {
    gap: 16px 20px;
}
body.header-guest-home .header-mid {
    display: none;
}
body.header-guest-home .header-right--home {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
}
.header-guest-cluster {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    min-width: 0;
    flex: 1 1 auto;
    width: 100%;
}
.header-guest-pitch {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    padding: 8px 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent) 0%, color-mix(in srgb, var(--accent) 4%, transparent) 100%);
    border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
.header-guest-pitch__line {
    margin: 0;
    line-height: 1.45;
    text-align: center;
    font-size: clamp(10px, 2.35vw, 12px);
    color: var(--muted);
    white-space: normal;
    width: 100%;
    overflow: visible;
}
.header-guest-pitch__title {
    font-family: var(--font-display);
    font-size: 1em;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}
.header-guest-pitch__lead {
    color: var(--muted);
}
.header-guest-pitch__sep {
    color: var(--muted);
    font-weight: 400;
}
.header-right-actions--guest {
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
}
.header-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    max-width: min(100%, 16rem);
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
    text-decoration: none;
    color: inherit;
    line-height: 1.35;
    text-align: center;
}
a.header-welcome:hover .header-welcome__name {
    color: var(--accent);
}
.header-welcome__greet {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: normal;
    text-transform: none;
}
.header-welcome__name {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.03em;
    text-transform: none;
    max-width: min(14rem, 48vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.compose-wait-user {
    margin: 0 auto 8px;
    display: flex;
    justify-content: center;
}
.compose-wait-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px auto 6px;
    font-size: 12px;
    color: var(--muted);
}
.compose-wait-timer__label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--accent);
}
.compose-wait-timer__time {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
    background: color-mix(in srgb, var(--accent) 8%, transparent);
    color: var(--accent);
}
.header-countdown{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent);
    background: rgba(255, 255, 255, 0.55);
    color: var(--text);
    white-space: nowrap;
}
.header-countdown-label{
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: var(--accent);
}
.header-countdown-time{
    font-weight: 900;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}
.logo-icon { font-size: 22px; color: var(--accent); line-height: 1; }
.logo-text {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.3px;
}
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    max-width: min(100%, 560px);
}
.header-right-primary {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}
.header-right-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
.header-right-actions button,
.header-right-actions .btn-compose-open,
.header-right-actions a.header-action-link {
    cursor: pointer;
}
/* Üst bar tek satıra yakın */
.header-right--home {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px 16px;
}
.header-right--home .header-right-primary {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: auto;
}
.header-logout-form {
    display: inline;
    margin: 0;
}
body.header-home-auth .header-home-menu-logout.header-logout-form {
    display: inline-flex;
    margin: 0;
    padding: 0;
    vertical-align: top;
}
.header-account-logout {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: nowrap;
}
.header-action-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}
.header-action-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
}
.header-action-link__svg {
    display: block;
}
.header-action-link__label {
    line-height: 1.2;
}
.header-nav-icons {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    flex-shrink: 0;
}
.header-nav-icons .header-site-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.header-tagline {
    font-size: 12px;
    color: var(--muted);
    font-style: italic;
    letter-spacing: .5px;
    text-align: right;
    max-width: min(100%, 280px);
    line-height: 1.35;
}
.header-tagline--center {
    text-align: center;
    max-width: min(100%, 440px);
    margin: 0 auto;
}
body:not(.header-home-auth) .header-mid .header-tagline--center {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
}

/* Dil seçici (profil vb.): pill içinde form daralmasın */
.lang-locale-bar .theme-switch-form {
    flex-shrink: 0;
}
.btn-header-login {
    flex-shrink: 0;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 8px 18px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .15s, transform .1s;
}
.btn-header-login.btn-header-secondary{
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}
.btn-header-login.btn-header-secondary:hover{
    opacity: 1;
    border-color: var(--border);
}
.btn-header-login:hover {
    opacity: .88;
    transform: translateY(-1px);
}
@media (max-width: 640px) {
    .header-inner { flex-wrap: wrap; gap: 14px; }

    /* Giriş: diğer sayfalar (ana sayfa hariç — o header-home-auth kullanır) */
    body.layout-auth:not(.header-home-auth) .header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        grid-template-areas:
            "brand notif inbox"
            "welcome welcome welcome"
            "menu menu menu";
        align-items: center;
        gap: 10px 8px;
        padding-left: 16px;
        padding-right: 16px;
    }
    body.layout-auth:not(.header-home-auth) .header-brand-cluster {
        grid-area: brand;
        justify-content: flex-start;
        width: auto;
        min-width: 0;
    }
    body.layout-auth:not(.header-home-auth) .header-mid {
        grid-area: welcome;
        grid-column: 1 / -1;
        width: 100%;
        padding: 0;
        justify-content: center;
        text-align: center;
    }
    body.layout-auth:not(.header-home-auth) .header-mid:empty {
        display: none;
    }
    body.layout-auth:not(.header-home-auth) .header-mid .header-tagline--center {
        display: block;
        text-align: center;
        width: 100%;
        max-width: none;
    }
    body.layout-auth:not(.header-home-auth) .header-welcome {
        justify-content: flex-start;
        text-align: left;
        max-width: 100%;
    }
    body.layout-auth:not(.header-home-auth) .header-right,
    body.layout-auth:not(.header-home-auth) .header-right.header-right--home {
        display: contents;
        width: auto;
        max-width: none;
        flex: unset;
        align-items: unset;
        gap: 0;
    }
    body.layout-auth:not(.header-home-auth) .header-right-primary {
        display: none;
    }
    body.layout-auth:not(.header-home-auth) .header-right-actions {
        display: contents;
    }
    body.layout-auth:not(.header-home-auth) .header-notif {
        grid-area: notif;
        grid-row: 1;
        justify-self: end;
    }
    body.layout-auth:not(.header-home-auth) .header-inbox {
        grid-area: inbox;
        grid-row: 1;
        justify-self: end;
    }
    body.layout-auth:not(.header-home-auth) .header-account-logout {
        grid-area: menu;
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        width: 100%;
        margin: 4px 0 0;
        padding-top: 10px;
        border-top: 1px solid var(--border);
    }
    body.layout-auth:not(.header-home-auth) .header-nav-icons {
        display: flex;
        justify-content: center;
        width: 100%;
        gap: 10px;
    }
    body.layout-auth:not(.header-home-auth) .header-nav-icons .header-action-link {
        flex: 0 0 auto;
    }
    body.layout-auth:not(.header-home-auth) .header-account-logout > .header-logout-form {
        display: block;
        margin: 0;
        width: 100%;
    }
    body.layout-auth:not(.header-home-auth) .header-account-logout > .header-logout-form button {
        width: 100%;
        box-sizing: border-box;
        padding: 8px 12px;
        font-size: 12px;
    }

    /* Ara · Favorilerim · Hesabım: mobilde simge, yan yana */
    body.layout-auth .header-nav-icons .header-action-link {
        position: relative;
        width: 44px;
        height: 44px;
        min-width: 44px;
        padding: 0;
        border-radius: 999px;
        gap: 0;
    }
    body.layout-auth .header-action-link__label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    body.layout-auth:not(.header-home-auth) .header-tagline:not(.header-tagline--center) {
        display: none;
    }

    body.layout-home-compact.header-guest-home .header-inner {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 8px;
        padding-left: 16px;
        padding-right: 16px;
    }
    body.layout-home-compact.header-guest-home .header-brand-cluster {
        justify-content: center;
        width: 100%;
        gap: 6px;
    }
    body.layout-home-compact .logo-text,
    body.layout-auth:not(.header-home-auth) .logo-text {
        font-size: 18px;
    }
    body.layout-home-compact .logo-icon,
    body.layout-auth:not(.header-home-auth) .logo-icon {
        font-size: 17px;
    }
    body.layout-home-compact.header-guest-home .header-mid {
        flex: 0 0 auto;
        width: 100%;
        padding: 0;
        justify-content: center;
    }
    body.layout-home-compact.header-guest-home .header-right {
        width: 100%;
        max-width: none;
        align-items: center;
    }
    body.layout-home-compact.header-guest-home .header-right-primary {
        justify-content: center;
    }
    body.layout-home-compact.header-guest-home .header-right-actions {
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 100%;
    }
    body.layout-home-compact.header-guest-home .header-account-logout {
        margin-left: auto;
        gap: 8px;
    }
    body.layout-home-compact.header-guest-home .header-account-logout .btn-header-login {
        padding: 8px 12px;
        font-size: 12px;
    }
    body.layout-home-compact .header-tagline:not(.header-tagline--center),
    body.layout-auth:not(.header-home-auth) .header-tagline:not(.header-tagline--center) {
        display: none;
    }
    body.header-guest-home.layout-home-compact .header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding-left: 12px;
        padding-right: 12px;
    }
    body.header-guest-home.layout-home-compact .header-brand-cluster {
        width: 100%;
        justify-content: center;
    }
    body.header-guest-home.layout-home-compact .header-right--home {
        width: 100%;
    }
    body.header-guest-home.layout-home-compact .header-guest-cluster {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        width: 100%;
    }
    body.header-guest-home.layout-home-compact .header-guest-cluster--pitch-only .header-right-actions--guest {
        display: none;
    }
    body.header-guest-home.layout-home-compact .header-guest-pitch {
        width: 100%;
        min-width: 0;
        max-width: none;
        padding: 8px 12px;
        justify-content: center;
    }
    body.header-guest-home.layout-home-compact .header-guest-pitch__line {
        text-align: center;
        font-size: clamp(10px, 2.6vw, 12px);
        line-height: 1.5;
    }
    body.header-guest-home.layout-home-compact .header-right-actions--guest {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        gap: 8px;
    }
    body:not(.header-home-auth):not(.layout-auth) .header-right:not(.header-right--home) {
        width: 100%;
        max-width: none;
        align-items: stretch;
    }
    body:not(.header-home-auth) .header-right-primary {
        justify-content: flex-end;
    }
    body:not(.header-home-auth) .header-tagline:not(.header-tagline--center) {
        text-align: right;
        max-width: none;
    }
    body:not(.header-home-auth) .header-tagline--center {
        text-align: center;
        max-width: none;
    }
}

/* ── Layout ─────────────────────────────────────────────────────────────── */
.page-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}
.page-layout--single {
    grid-template-columns: 1fr;
    max-width: 560px;
    /* Tek sütunda her blok satırı arası — çok sütunlu sayfa gap’inden ayrı */
    gap: 12px;
}
.auth-header {
    margin: 10px 0 22px 0;
}
.auth-header__top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}
.auth-title {
    font-family: var(--font-display);
    font-size: 32px;
    line-height: 1.12;
    margin-bottom: 10px;
    letter-spacing: -.3px;
    font-weight: 700;
    color: var(--text);
}
.auth-subtitle {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    max-width: 26rem;
}
.auth-subtle {
    margin-top: 8px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45;
    max-width: 26rem;
    font-style: italic;
}
.auth-gesture-card {
    background: linear-gradient(152deg, #fffbeb 0%, #fff0c9 38%, #ffe8a8 100%);
    border: 1px solid color-mix(in srgb, var(--accent) 65%, transparent);
    border-radius: var(--radius);
    padding: 16px 16px 12px;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow:
        0 10px 26px rgba(184, 140, 30, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    transition: transform .18s ease, box-shadow .18s ease;
}
.auth-gesture-card:hover{
    transform: translateY(-1px);
    box-shadow:
        0 14px 34px rgba(184, 140, 30, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.auth-gesture-card::before{
    content:'';
    position:absolute;
    top:0;left:0;
    width:5px;height:100%;
    background: linear-gradient(180deg, #ffd54a 0%, #e6a819 45%, #b8830c 100%);
}
.auth-gesture-badge{
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 8px;
}
.auth-gesture-text{
    font-family: var(--font-display);
    font-style: italic;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.auth-gesture-author{
    font-size: 12px;
    color: #5c4f2e;
    font-style: italic;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.auth-gesture-meta{
    font-size: 12px;
    color: #c45c18;
    font-weight: 600;
}
.auth-card {
    position: relative;
    background: var(--glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px 24px 22px;
    box-shadow: var(--shadow-glass);
}
.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    pointer-events: none;
}
.auth-field {
    margin-bottom: 18px;
}
.auth-card .auth-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}
.auth-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}
.auth-input {
    width: 100%;
    font-family: var(--font-body);
    font-size: 15px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text);
    margin-bottom: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-input:hover {
    border-color: color-mix(in srgb, var(--border) 70%, var(--accent) 30%);
}
.auth-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.auth-card .auth-input {
    margin-bottom: 12px;
}
.auth-field .auth-input {
    margin-bottom: 0;
}
.auth-password-wrap {
    position: relative;
    width: 100%;
}
.auth-password-wrap .auth-input--password {
    padding-right: 46px;
}
.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}
.auth-password-toggle:hover {
    color: var(--text);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.auth-password-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.auth-password-toggle__icon {
    display: block;
    flex-shrink: 0;
}
.auth-password-toggle__icon[hidden] {
    display: none;
}
.auth-card > .auth-error {
    margin: -2px 0 14px 0;
}
.auth-error {
    color: var(--accent2);
    font-size: 13px;
    margin: 8px 0 0 0;
    line-height: 1.4;
}
.auth-field .auth-error {
    margin-top: 8px;
    margin-bottom: 0;
}
.auth-card--blocked {
    border-color: rgba(166, 77, 50, 0.45);
    background: rgba(166, 77, 50, 0.08);
}
.auth-blocked-title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent, var(--accent2));
}
.auth-blocked-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text);
}
.auth-status {
    background: rgba(61, 155, 122, 0.12);
    border: 1px solid rgba(61, 155, 122, 0.35);
    color: #145a45;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 16px;
}
.auth-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 20px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text);
    user-select: none;
}
.auth-checkbox {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin: 0;
    accent-color: var(--accent);
    cursor: pointer;
}
.auth-remember__text {
    line-height: 1.35;
}
.btn-auth {
    width: 100%;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 13px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--accent) 92%, var(--text)) 0%,
        var(--accent) 45%,
        color-mix(in srgb, var(--accent) 88%, #fff6dc) 100%
    );
    box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 35%, transparent);
    transition: opacity 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}
.btn-auth:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 42%, transparent);
}
.btn-auth:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--accent) 70%, var(--text));
    outline-offset: 3px;
}

.auth-oauth {
    margin-bottom: 18px;
}
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--border) 85%, var(--muted));
    background: color-mix(in srgb, var(--surface-elevated, var(--surface)) 96%, var(--muted));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.btn-google:hover {
    border-color: color-mix(in srgb, var(--border) 50%, var(--accent));
    background: color-mix(in srgb, var(--surface) 94%, var(--accent));
}
.btn-google:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--accent) 70%, var(--text));
    outline-offset: 3px;
}
.btn-google__icon {
    display: inline-flex;
    flex-shrink: 0;
}
.btn-google__text {
    line-height: 1.3;
}
.auth-oauth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}
.auth-oauth-divider::before,
.auth-oauth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}
.auth-oauth-divider span {
    flex-shrink: 0;
    max-width: 80%;
    text-align: center;
    line-height: 1.35;
}
.auth-oauth-hint {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
    color: var(--muted);
}
.auth-muted-inline {
    color: var(--muted);
    font-size: 14px;
}

.auth-links {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 22px;
}

/* Auth sayfaları */
body.layout-auth .page-layout {
    padding-top: 22px;
    padding-bottom: 32px;
}
/* Hesabım (/me): orantılı iki sütun; geçmiş kutusu sol kutucuklarla aynı satır hizası */
body.layout-auth.layout-me .page-layout.page-layout--single.profile-me-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 8px 18px 8px;
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    grid-template-areas:
        "me-head me-sp"
        "me-main me-side";
    column-gap: 22px;
    row-gap: 12px;
    align-items: start;
}
body.layout-auth.layout-me .profile-me-header-cell {
    grid-area: me-head;
    min-width: 0;
}
body.layout-auth.layout-me .profile-me-header-cell .auth-header {
    margin-bottom: 0;
}
body.layout-auth.layout-me .profile-me-header-cell .profile-me-header__email {
    font-size: 14px;
    margin-top: 0;
    max-width: none;
}
body.layout-auth.layout-me .profile-me-top-spacer {
    grid-area: me-sp;
    min-width: 0;
    pointer-events: none;
}
body.layout-auth.layout-me .profile-me-main-cell {
    grid-area: me-main;
    min-width: 0;
}
body.layout-auth.layout-me .profile-me-sidebar-cell {
    grid-area: me-side;
}
body.layout-auth.layout-me .page-layout.page-layout--single > .feed-column,
body.layout-auth.layout-me .feed-column.profile-me-main-cell {
    min-width: 0;
}
body.layout-auth.layout-me .rankings-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}
body.layout-auth.layout-me .rankings-sticky {
    position: sticky;
    top: 52px;
    align-self: flex-start;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: calc(100svh - 64px);
    overflow-y: auto;
    overscroll-behavior: contain;
}
/* Sol .profile-preferences ile aynı iç boşluk / hiza */
body.layout-auth.layout-me .profile-me-history-card {
    padding: 10px 12px;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
body.layout-auth.layout-me .profile-me-history-card.auth-card::before {
    display: none;
}
body.layout-auth.layout-me .auth-gesture-card::before {
    display: none;
}
body.layout-auth.layout-me .profile-me-history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 2px;
    flex: 0 1 auto;
    min-height: 0;
}
body.layout-auth.layout-me .profile-me-history-card .profile-msg-card-meta {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.35;
}
body.layout-auth.layout-me .profile-me-history-card .profile-msg-card-body {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.45;
}
body.layout-auth.layout-me .profile-me-history-card .profile-msg-card {
    padding: 10px 12px;
}
body.layout-auth.layout-me .profile-me-history-paginator {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}
body.layout-auth.layout-me .profile-me-history-paginator-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 8px;
    font-size: 13px;
    line-height: 1.2;
}
body.layout-auth.layout-me .profile-me-page-btn,
body.layout-auth.layout-me .profile-me-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    padding: 5px 6px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
body.layout-auth.layout-me .profile-me-page-btn:hover,
body.layout-auth.layout-me .profile-me-page-num:hover {
    border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 6%, var(--surface));
}
body.layout-auth.layout-me .profile-me-page-btn--disabled {
    opacity: 0.38;
    cursor: default;
    pointer-events: none;
}
body.layout-auth.layout-me .profile-me-page-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    padding: 5px 6px;
    border-radius: 6px;
    border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
    background: color-mix(in srgb, var(--accent) 12%, var(--surface));
    color: var(--text);
    font-weight: 800;
    cursor: default;
}
body.layout-auth.layout-me .profile-me-page-ellipsis {
    padding: 0 2px;
    color: var(--muted);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.06em;
}
@media (min-width: 681px) and (max-width: 780px) {
    body.layout-auth.layout-me .page-layout.page-layout--single.profile-me-layout {
        grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
        column-gap: 16px;
    }
}
@media (max-width: 780px) {
    body.layout-auth.layout-me .page-layout.page-layout--single.profile-me-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "me-head"
            "me-main"
            "me-side";
        column-gap: 0;
        row-gap: 8px;
    }
    body.layout-auth.layout-me .profile-me-top-spacer {
        display: none;
    }
    body.layout-auth.layout-me .rankings-column {
        order: 0;
    }
    body.layout-auth.layout-me .rankings-sticky {
        position: static;
        max-height: none;
        overflow: visible;
    }
}
body.layout-auth .auth-header {
    margin: 4px 0 10px 0;
}
body.layout-auth .auth-title {
    font-size: clamp(1.65rem, 4vw, 2rem);
    margin-bottom: 10px;
}
body.layout-auth .auth-title::after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    margin-top: 14px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
}
body.layout-auth .auth-subtitle {
    font-size: 14px;
    margin-top: 2px;
}
body.layout-auth .auth-gesture-card {
    margin-bottom: 14px;
}
body.layout-auth .auth-card {
    padding: 26px 24px 24px;
}
body.layout-legal .legal-page {
    max-width: 900px;
}
body.layout-legal .legal-page__header {
    margin-bottom: 12px;
}
body.layout-legal .legal-page__meta {
    margin-top: 6px;
}
body.layout-legal .legal-page__card {
    padding: 20px 18px;
}
body.layout-legal .legal-page__section + .legal-page__section {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
body.layout-legal .legal-page__section-title {
    margin-bottom: 8px;
}
body.layout-legal .legal-page__list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
    color: var(--text);
    line-height: 1.5;
    font-size: 14px;
}
body.layout-legal .legal-page__consent-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text);
}
body.layout-auth .auth-header__top .lang-locale-bar {
    margin-bottom: 0;
}
@media (max-width: 640px) {
    body.layout-auth.layout-me .page-layout.page-layout--single {
        padding-left: 16px;
        padding-right: 16px;
    }
    body.layout-auth .page-layout.page-layout--single {
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 16px;
        padding-bottom: 24px;
        gap: 10px;
    }
    body.layout-auth .auth-title {
        font-size: 1.55rem;
        line-height: 1.18;
    }
    body.layout-auth .auth-title::after {
        margin-top: 12px;
        width: 44px;
    }
    body.layout-auth .auth-subtitle {
        font-size: 13px;
    }
    body.layout-auth .auth-card {
        padding: 22px 18px 20px;
        border-radius: 9px;
    }
}

/* Share page (/m/{id}) */
body.layout-share .page-layout.page-layout--single.share-page {
    max-width: min(900px, calc(100vw - 40px));
    width: 100%;
    padding: 28px 32px 48px;
}
body.layout-share .share-page .auth-subtitle {
    max-width: none;
}
.share-card{
    position: relative;
    overflow: hidden;
    background: linear-gradient(152deg, #fffefb 0%, #faf8f4 100%);
    border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: 0 8px 28px rgba(184, 140, 30, 0.08);
}
.share-card--has-illustration {
    --illus-slot-w: 80px;
    --illus-slot-h: 108px;
    min-height: 120px;
}
.share-card .rank-badge {
    margin-bottom: 8px;
}
.share-text{
    font-family: var(--font-display);
    font-style: italic;
    font-size: 18px;
    line-height: 1.6;
    margin: 8px 0 10px 0;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.share-author{
    font-size: 13px;
    color: var(--muted);
    font-style: italic;
    margin-bottom: 10px;
    word-break: break-word;
}
.share-meta{
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-bottom: 14px;
}
.share-dot{ opacity: .6; }
.share-actions{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
body.layout-share .auth-header {
    margin-bottom: 14px;
}
body.layout-share .auth-title {
    font-size: 28px;
}
@media (min-width: 641px) {
    body.layout-share .share-card {
        padding: 24px 28px;
    }
    body.layout-share .share-card--has-illustration {
        --illus-slot-w: 88px;
        --illus-slot-h: 118px;
    }
    body.layout-share .share-text {
        font-size: 20px;
        line-height: 1.65;
    }
}
@media (max-width: 640px) {
    body.layout-share .page-layout.page-layout--single.share-page {
        max-width: none;
        padding: 20px 16px 32px;
    }
    body.layout-share .auth-title {
        font-size: 24px;
    }
    body.layout-share .share-card {
        padding: 14px;
    }
    body.layout-share .share-text {
        font-size: 17px;
    }
}
.auth-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.auth-link:hover {
    color: var(--accent);
    border-bottom-color: color-mix(in srgb, var(--accent) 55%, transparent);
}
.auth-link--emphasis {
    color: var(--text);
    font-weight: 700;
}
.auth-link--emphasis:hover {
    color: var(--accent2);
    border-bottom-color: color-mix(in srgb, var(--accent2) 50%, transparent);
}
@media (max-width: 780px) {
    .page-layout { grid-template-columns: 1fr; }
    .rankings-column { order: -1; }
    body.layout-home-compact:not(.layout-home-alt) .rankings-column {
        order: 0;
    }
}

/* ── Feed: konum filtresi ───────────────────────────────────────────────── */
.feed-toolbar {
    margin-bottom: 28px;
    padding: 16px 18px;
    background: var(--glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
}
.feed-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.feed-tab {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    transition: background .2s, border-color .2s, color .2s;
}
.feed-tab:hover {
    border-color: var(--border);
    color: var(--text);
}
.feed-tab.is-active {
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    border-color: var(--accent);
    color: var(--text);
    font-weight: 600;
}
.feed-loc-form { margin-top: 4px; }
.feed-loc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    align-items: center;
}
.feed-loc-district-field {
    min-width: 0;
}
.feed-loc-district-select:disabled {
    opacity: 0.55;
    cursor: default;
}
.feed-loc-input,
.feed-loc-select {
    font-family: var(--font-body);
    font-size: 14px;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--input-bg);
    color: var(--text);
    width: 100%;
}
.feed-loc-btn {
    font-family: var(--font-body);
    font-size: 13px;
    padding: 9px 16px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
}
.feed-loc-btn:hover { filter: brightness(1.05); }
.feed-loc-hint {
    font-size: 12px;
    color: var(--muted);
    margin-top: 10px;
    line-height: 1.45;
}
.feed-toolbar--sidebar {
    margin-bottom: 16px;
}
.feed-toolbar--sidebar .feed-tabs {
    margin-bottom: 12px;
}
.feed-toolbar--sidebar .feed-loc-grid {
    grid-template-columns: 1fr;
}
.feed-toolbar--tabs .feed-tabs {
    margin-bottom: 0;
}
.feed-toolbar--loc-search {
    margin-bottom: 16px;
}
.rankings-drawer-feed-tools {
    margin-bottom: 16px;
}
.rankings-drawer-feed-tools .feed-tabs {
    margin-bottom: 0;
}
.rankings-drawer-feed-tools .feed-loc-form--drawer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
}
.rankings-drawer-feed-tools .feed-loc-hint {
    margin-top: 8px;
    margin-bottom: 0;
}
.rankings-mobile-bar {
    display: none;
}
.rankings-mobile-bar__btn {
    font-family: var(--font-body);
}
.rankings-fab {
    display: none;
    position: fixed;
    right: max(10px, env(safe-area-inset-right, 0px));
    top: 50%;
    z-index: 115;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--border) 35%, transparent);
    background: color-mix(in srgb, var(--surface) 28%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text);
    box-shadow: none;
    opacity: 0.55;
    cursor: pointer;
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        opacity 0.28s ease,
        visibility 0.28s ease,
        transform 0.28s ease;
}
.rankings-fab:hover {
    opacity: 0.88;
    background: color-mix(in srgb, var(--surface) 48%, transparent);
    border-color: color-mix(in srgb, var(--border) 55%, transparent);
}
.rankings-fab:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
    outline-offset: 2px;
}
.rankings-fab__icon {
    display: block;
    color: var(--muted);
    opacity: 0.75;
}
.rankings-fab:hover .rankings-fab__icon {
    color: var(--text);
    opacity: 1;
}
.rankings-fab.is-scroll-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-50%) translateX(6px);
}
.btn-rankings-drawer {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1;
}
.btn-rankings-drawer:hover {
    border-color: var(--border);
}
.btn-rankings-drawer__label {
    white-space: nowrap;
}
.rankings-drawer-head {
    display: none;
}
.rankings-drawer-backdrop {
    display: none;
}

.compose-geo-panel {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed var(--border);
}
.compose-geo-panel.hidden { display: none !important; }
.compose-geo-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.btn-geo {
    font-family: var(--font-body);
    font-size: 13px;
    padding: 8px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.btn-geo:hover:not(:disabled) {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.btn-geo:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.compose-geo-status {
    font-size: 12px;
    color: var(--muted);
}

.message-geo {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
    letter-spacing: 0.02em;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.rank-scope {
    font-weight: 500;
    opacity: 0.85;
}

/* Giriş — e-posta ve OTP (Günün Sesi altında) */
.composer-login-card {
    padding: 18px 18px 20px;
    background: linear-gradient(165deg, #fffefb 0%, #faf8f4 100%);
    border-color: #e8e3da;
}
.composer-login-card .composer-login-card__row.compose-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}
.composer-login-card .btn-send-otp,
.composer-login-card .btn-verify-otp {
    width: 100%;
}
.composer-login-card .otp-field {
    width: 100%;
}
.composer-login-card .composer-login-card__hint {
    margin-top: 6px;
}

/* Oturum + boşta özet — Günün Sesi altında (sade) */
.composer-session-card {
    padding: 18px 18px 20px;
    background: linear-gradient(165deg, #fffefb 0%, #faf7f2 100%);
    border-color: #e8e3da;
}
.composer-session-card .composer-session-card__bar.compose-session-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    font-size: 13px;
}
.composer-session-card__identity {
    min-width: 0;
    flex: 1;
}
.composer-session-card__label.compose-session-label {
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    letter-spacing: 0.14em;
}
.composer-session-card__email.compose-session-email {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.35;
    word-break: break-word;
    color: var(--text);
}
.composer-session-card__logout.btn-composer-logout {
    flex-shrink: 0;
    margin-left: 0;
    align-self: flex-start;
    padding: 7px 14px;
    font-size: 11px;
    border-radius: 999px;
}
.composer-session-card__idle#step-composer-idle:not(.hidden) {
    padding-top: 16px;
    margin-top: 14px;
    border-top: 1px solid rgba(224, 219, 210, 0.95);
}
.composer-session-card__hint.compose-idle-hint {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 0;
    color: var(--text);
    opacity: 0.94;
}
.composer-session-card__hint strong {
    font-weight: 600;
    color: #937521;
}
.composer-session-card__timer {
    margin-top: 14px;
    padding: 13px 12px 14px;
    background: color-mix(in srgb, var(--accent) 6%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
    border-radius: 6px;
    text-align: center;
}
.composer-session-card__timer-caption {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--muted);
    margin-bottom: 8px;
}
.composer-session-card__clock.countdown--compact {
    font-size: 22px;
    font-family: var(--font-display);
    margin: 0;
    letter-spacing: 0.05em;
    color: #9e7e26;
    font-variant-numeric: tabular-nums;
}
.composer-session-card__footer.wait-session-hint {
    margin-top: 14px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    text-align: left !important;
    font-size: 12px !important;
    line-height: 1.45;
    color: var(--muted);
}
.countdown--compact {
    font-size: 26px;
    letter-spacing: 1px;
    margin: 10px 0 12px;
}

/* ── Compose Box ─────────────────────────────────────────────────────────── */
.compose-open-bar {
    margin-bottom: 16px;
}
.btn-compose-open {
    width: 100%;
    max-width: 360px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}
.btn-compose-open:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}
.btn-compose-open--action {
    width: auto;
    max-width: none;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    gap: 6px;
    margin: 0;
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 22%, transparent) 0%, color-mix(in srgb, var(--accent) 12%, transparent) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(122, 85, 6, 0.12);
    cursor: pointer;
}
.btn-compose-open--action:hover {
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 32%, transparent) 0%, color-mix(in srgb, var(--accent) 18%, transparent) 100%);
    color: #fff;
    border-color: var(--accent);
    cursor: pointer;
}
.mobile-compose-lock {
    display: none;
}
@media (max-width: 640px) {
    .mobile-compose-lock {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 100%;
        max-width: 360px;
        padding: 9px 10px;
        border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--border));
        border-radius: 10px;
        background: color-mix(in srgb, var(--surface) 92%, var(--bg));
        box-shadow: 0 4px 14px rgba(122, 85, 6, 0.08);
    }
    .mobile-compose-lock__head {
        display: flex;
        align-items: flex-start;
        gap: 6px;
    }
    .mobile-compose-lock.hidden {
        display: none !important;
    }
    .mobile-compose-lock__title {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        flex: 1 1 auto;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.3;
        color: var(--text);
        margin: 0;
    }
    .mobile-compose-lock__title strong {
        color: var(--accent);
        letter-spacing: 0.03em;
        font-variant-numeric: tabular-nums;
        font-weight: 700;
        flex-shrink: 0;
    }
    .mobile-compose-lock__close {
        border: 0;
        background: transparent;
        color: var(--muted);
        font-size: 16px;
        line-height: 1;
        width: 18px;
        height: 18px;
        cursor: pointer;
        padding: 0;
        flex: 0 0 auto;
    }
    .mobile-compose-lock__close:hover {
        color: var(--text);
    }
    .mobile-compose-lock__edits,
    .mobile-compose-lock__session,
    .mobile-compose-lock__countdown {
        font-size: 11px;
        line-height: 1.3;
        color: var(--muted);
        margin: 0;
    }
    .mobile-compose-lock__tasks {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 10px;
        margin-top: 2px;
    }
    .mobile-compose-lock__tasks a {
        font-size: 11px;
        color: var(--accent);
        text-decoration: none;
        border-bottom: 1px dashed color-mix(in srgb, var(--accent) 45%, transparent);
    }
    .mobile-compose-lock__tasks a:hover {
        border-bottom-color: var(--accent);
    }
    .mobile-compose-lock__countdown {
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .mobile-compose-lock__countdown strong {
        color: var(--accent);
        letter-spacing: 0.03em;
        font-variant-numeric: tabular-nums;
        font-weight: 700;
    }
}
@media (min-width: 641px) {
    .mobile-compose-lock {
        display: none !important;
    }
}
.compose-open-bar.hidden {
    display: none !important;
}
.compose-awaiting-admin {
    text-align: center;
    padding: 2px 4px 4px;
}
.compose-awaiting-icon {
    font-size: 26px;
    line-height: 1;
    margin-bottom: 6px;
    color: var(--accent);
}
.compose-awaiting-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--text);
}
.compose-awaiting-hint {
    margin-bottom: 8px !important;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
}
.compose-box--collapsed {
    display: none !important;
}
.compose-box:has(#step-composer-idle:not(.hidden)),
.compose-box:has(#compose-awaiting-admin:not(.hidden)) {
    padding: 14px 18px 12px;
}
#step-composer-idle {
    text-align: center;
    padding-top: 0;
    position: static;
}
.compose-box:has(#step-composer-idle:not(.hidden)) .compose-step-close {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 4;
}
#step-composer-idle .wait-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 30px 0 6px;
    line-height: 1.3;
}
#step-composer-idle .compose-wait-user {
    max-width: 100%;
    margin-top: 30px;
    padding-right: 4px;
    padding-left: 4px;
    box-sizing: border-box;
}
#step-composer-idle .compose-wait-hint {
    max-width: 22rem;
    margin: 0 auto 8px;
    font-size: 0.8125rem;
    line-height: 1.45;
}
.compose-wait-countdown {
    margin: 6px auto 8px;
    justify-content: center;
}
.compose-wait-countdown--inline {
    margin: 8px 0 6px;
    justify-content: flex-start;
}
.compose-wait-session-hint {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    max-width: 22rem;
}
.compose-step--wait .compose-step-close {
    width: 28px;
    height: 28px;
    font-size: 19px;
}
.compose-step--wait.compose-step--closable {
    padding-top: 0;
}
@media (max-width: 640px) {
    .compose-box:has(#step-composer-idle:not(.hidden)) .compose-step-close {
        top: 4px;
        right: 6px;
        width: 26px;
        height: 26px;
        font-size: 17px;
    }
    #step-composer-idle .compose-wait-user {
        margin-top: 34px;
    }
    #step-composer-idle .wait-title {
        margin-top: 28px;
    }
}
#step-composer-idle .compose-hint-spaced {
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
}
.compose-idle-tasks {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px dashed color-mix(in srgb, var(--accent) 40%, var(--border));
    border-radius: 10px;
    background: color-mix(in srgb, var(--surface) 92%, var(--bg));
}
.compose-idle-tasks__title {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
}
.compose-idle-tasks__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
}
.compose-idle-tasks__links a {
    font-size: 12px;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px dashed color-mix(in srgb, var(--accent) 45%, transparent);
}
.compose-idle-tasks__links a:hover {
    border-bottom-color: var(--accent);
}
.compose-next-actions {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid color-mix(in srgb, var(--border) 72%, var(--accent) 28%);
    border-radius: 10px;
    background: color-mix(in srgb, var(--surface) 94%, var(--bg));
}
.compose-next-actions__title {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
}
.compose-next-actions__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
}
.compose-next-actions__links a {
    font-size: 12px;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px dashed color-mix(in srgb, var(--accent) 45%, transparent);
}
.compose-next-actions__links a:hover {
    border-bottom-color: var(--accent);
}
.compose-onboard-tip {
    margin-top: 4px;
}
.compose-quality-hint {
    margin-top: 8px;
    margin-bottom: 2px;
    color: color-mix(in srgb, var(--text) 82%, var(--accent) 18%);
    font-style: normal;
}

.compose-step--closable {
    position: relative;
    padding-top: 8px;
}
.compose-step-close,
.compose-box-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 88%, var(--border));
    color: var(--muted);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    z-index: 2;
}
.compose-step-close:hover,
.compose-box-close:hover {
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
    color: var(--accent);
}
.compose-step-close:focus-visible,
.compose-box-close:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.compose-box {
    position: relative;
    z-index: 0;
    background: var(--glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    padding: 28px 28px 24px;
    margin-bottom: 36px;
    overflow: visible;
}
/* scrollIntoView(block:start): sticky üst çubuğun altında kalmaması için */
body.layout-home-compact #compose-box {
    scroll-margin-top: calc(max(4.25rem, var(--home-sticky-top, 0px)) + 0.5rem);
}
/* Üye girişi gerektiren adım: daha dar, sıkı düzen */
.compose-box:has(#step-login:not(.hidden)),
.compose-box:has(#step-daily-lock:not(.hidden)) {
    padding: 22px 26px 24px;
    background: var(--compose-gate-bg);
    border-color: var(--compose-gate-border);
}
.compose-box:has(#step-login:not(.hidden))::before,
.compose-box:has(#step-daily-lock:not(.hidden))::before {
    height: 3px;
    background: var(--compose-gate-topbar);
}
.compose-step--login-gate {
    text-align: center;
    max-width: 22rem;
    margin: 0 auto;
    padding-top: 2px;
}
.compose-step--login-gate .wait-icon {
    font-size: 1.35rem;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--accent);
}
.compose-step--login-gate .wait-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
    color: var(--text);
}
.compose-step--login-gate .compose-hint.compose-login-gate__hint {
    margin-top: 0;
    margin-bottom: 4px;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--compose-gate-muted);
}
.compose-step--login-gate .compose-login-gate__actions {
    margin-top: 16px;
    margin-bottom: 0;
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 15rem;
    margin-left: auto;
    margin-right: auto;
    gap: 10px;
}
.compose-step--login-gate .compose-login-gate__cta {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 6px;
    background: var(--compose-gate-cta);
    color: #fff;
    border: none;
    box-shadow: none;
    transition: background 0.15s ease, transform 0.1s ease;
}
.compose-step--login-gate .compose-login-gate__cta:hover {
    background: var(--compose-gate-cta-hover);
    opacity: 1;
    transform: translateY(-1px);
}
.compose-step--login-gate .compose-login-gate__register {
    margin-top: 14px;
    margin-bottom: 0;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--compose-gate-muted);
}
.compose-step--login-gate .compose-login-gate__register-link {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.compose-step--login-gate .compose-login-gate__register-link:hover {
    color: var(--accent);
}
/* Günlük kilit: geri sayım, “Giriş yap” butonuyla aynı boyut ve renk */
.compose-step--login-gate .countdown.countdown--login-gate {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.06em;
    color: #fff;
    line-height: 1.25;
    padding: 12px 20px;
    margin: 0;
    width: 100%;
    max-width: 15rem;
    margin-left: auto;
    margin-right: auto;
    border-radius: 6px;
    border: none;
    background: var(--compose-gate-cta);
    box-sizing: border-box;
    box-shadow: none;
}
.compose-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.compose-session-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}
.compose-session-bar.hidden { display: none; }
.compose-session-label { color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-size: 10px; }
.compose-session-email { color: var(--text); font-weight: 500; }
.btn-composer-logout {
    margin-left: auto;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--muted);
    padding: 6px 14px;
    font-family: var(--font-body);
    font-size: 12px;
    cursor: pointer;
    transition: border-color .2s, color .2s;
}
.btn-composer-logout:hover {
    border-color: #e8634a;
    color: #e8634a;
}
.compose-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--muted);
    margin-bottom: 12px;
}
.compose-theme{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    font-weight: 800;
    color: var(--accent);
    border: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent);
    background: rgba(255, 255, 255, 0.55);
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.compose-prompt{
    font-size: 13px;
    color: var(--text);
    opacity: .78;
    margin: -6px 0 12px 0;
    font-style: italic;
}
.compose-label-spaced { margin-top: 18px; }
.compose-input-block {
    display: block;
    width: 100%;
    margin-bottom: 4px;
}
.compose-otp-recap {
    font-size: 13px;
    color: var(--muted);
    margin-top: 12px;
    line-height: 1.45;
}
.compose-row {
    display: flex;
    gap: 10px;
}
.compose-input {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: border-color .2s;
}
.compose-input:focus { border-color: var(--accent); }
.otp-field { letter-spacing: 6px; font-size: 20px; text-align: center; }
.compose-hint {
    font-size: 12px;
    color: var(--muted);
    margin-top: 10px;
}
.compose-textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 16px;
    resize: none;
    height: 120px;
    outline: none;
    transition: border-color .2s;
    line-height: 1.6;
}
.compose-textarea:focus { border-color: var(--accent); }
.compose-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    gap: 12px;
}
.compose-footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.char-counter { font-size: 12px; color: var(--muted); }

.btn-emoji {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 12px;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.btn-emoji:hover:not(:disabled) {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.btn-emoji:disabled {
    cursor: not-allowed;
}

.emoji-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 -8px 32px rgba(42, 40, 36, 0.12);
    max-height: 220px;
    display: flex;
    flex-direction: column;
}
.emoji-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}
.emoji-panel-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--muted);
}
.emoji-panel-close {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}
.emoji-panel-close:hover { color: var(--text); }
.emoji-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 4px;
    padding: 10px 12px 12px;
    overflow-y: auto;
    max-height: 170px;
}
.emoji-choice {
    background: var(--bg);
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 6px 4px;
    font-size: 1.4rem;
    line-height: 1.2;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.emoji-choice:hover {
    border-color: var(--border);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
}

/* Buttons */
.btn-send-otp, .btn-verify-otp, .btn-publish {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 12px 20px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .15s, transform .1s;
}
.btn-send-otp:hover, .btn-verify-otp:hover, .btn-publish:hover {
    opacity: .85;
    transform: translateY(-1px);
}
.btn-publish { padding: 10px 24px; background: var(--accent2); color: #fff; }

.compose-my-status {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
    line-height: 1.45;
}
.compose-my-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    margin-bottom: 8px;
    align-items: center;
}
.compose-hint-spaced { margin-top: 18px; }
.btn-delete-my-message {
    padding: 10px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: transparent;
    color: var(--accent2);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s, opacity .15s;
}
.btn-delete-my-message:hover {
    background: rgba(217, 79, 56, 0.08);
}
.btn-delete-my-message:disabled { opacity: 0.5; cursor: not-allowed; }

.hidden { display: none !important; }
.error-msg {
    margin-top: 8px;
    font-size: 13px;
    color: var(--accent2);
}

/* Wait screen */
.wait-icon { font-size: 36px; text-align: center; margin-bottom: 12px; }
.wait-title {
    font-family: var(--font-display);
    font-size: 20px;
    text-align: center;
    margin-bottom: 6px;
}
.wait-subtitle { font-size: 13px; color: var(--muted); text-align: center; margin-bottom: 16px; }
.wait-session-hint {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    margin-top: 20px;
    line-height: 1.5;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}
.countdown {
    font-family: var(--font-display);
    font-size: 42px;
    font-variant-numeric: tabular-nums;
    color: var(--accent);
    text-align: center;
    letter-spacing: 2px;
}
.success-icon { font-size: 40px; text-align: center; margin-bottom: 12px; color: var(--accent); }

/* ── Feed ─────────────────────────────────────────────────────────────── */
.messages-header {
    margin-bottom: 20px;
    text-align: center;
}
.messages-header__title {
    margin: 0 0 14px;
    text-align: center;
    letter-spacing: 0.02em;
}
.messages-header__title.section-title::after {
    content: '';
    display: block;
    width: 52px;
    height: 2px;
    margin: 10px auto 0;
    border-radius: 1px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 85%, var(--border)), transparent);
}
.feed-toolbar-panel {
    margin-bottom: 12px;
}
.feed-toolbar-panel__toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px 40px 11px;
    border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
    border-radius: var(--radius);
    background: linear-gradient(
        165deg,
        color-mix(in srgb, var(--accent) 7%, var(--card, var(--surface))) 0%,
        var(--card, var(--surface)) 55%
    );
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.feed-toolbar-panel__toggle:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
    background: linear-gradient(
        165deg,
        color-mix(in srgb, var(--accent) 11%, var(--card, var(--surface))) 0%,
        var(--card, var(--surface)) 55%
    );
    box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 12%, transparent);
}
.feed-toolbar-panel__toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.feed-toolbar-panel__toggle-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
}
.feed-toolbar-panel__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.03em;
    color: var(--text);
    line-height: 1.25;
}
.feed-toolbar-panel__summary {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.4;
    text-align: center;
}
.feed-toolbar-panel__chevron {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
    font-size: 14px;
    color: var(--muted);
    transition: transform 0.2s ease;
}
.feed-toolbar-panel--open .feed-toolbar-panel__chevron {
    transform: translateY(-50%) rotate(180deg);
}
.feed-toolbar-panel__body {
    margin-top: 8px;
}
.feed-toolbar-panel__body[hidden] {
    display: none !important;
}
.feed-toolbar-panel .feed-toolbar {
    margin: 0;
}
.feed-toolbar-panel .feed-toolbar__row {
    justify-content: center;
}
.feed-toolbar-panel .feed-toolbar__group {
    align-items: center;
}
.feed-toolbar-panel .feed-toolbar__label {
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.08em;
}
.feed-toolbar-panel .feed-toolbar__segment {
    justify-content: center;
}
.feed-toolbar {
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card, var(--surface));
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.feed-toolbar__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 20px;
}
.feed-toolbar__row--discover {
    padding-top: 10px;
    border-top: 1px solid var(--border);
}
.feed-toolbar__row--location {
    padding-top: 10px;
    border-top: 1px solid var(--border);
}
.feed-loc-form--toolbar {
    width: 100%;
    margin-top: 0;
}
.feed-loc-form--toolbar .feed-loc-hint {
    margin-top: 8px;
    margin-bottom: 0;
}
.feed-toolbar__group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}
.feed-toolbar__group--grow {
    flex: 1 1 auto;
    min-width: min(100%, 240px);
}
.feed-toolbar__label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    line-height: 1;
}
.feed-toolbar__segment {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 3px;
    gap: 2px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg) 88%, var(--surface));
}
.feed-toolbar__segment--wrap {
    flex-wrap: wrap;
    border-radius: 12px;
}
.feed-toolbar__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 999px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-body);
    text-decoration: none;
    color: var(--muted);
    background: transparent;
    white-space: nowrap;
    transition: color 0.12s ease, background 0.12s ease;
}
button.feed-toolbar__tab {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
.feed-toolbar__tab:hover {
    color: var(--text);
    background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.feed-toolbar__tab.is-active {
    color: var(--text);
    background: var(--surface);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.feed-toolbar__tab--muted {
    font-weight: 500;
    color: var(--muted);
}
.feed-toolbar__tab--voice {
    border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--border));
    color: var(--text);
}
.feed-toolbar__tab--voice span[aria-hidden="true"] {
    color: var(--accent);
}
.messages-header-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.feed-sort-tabs {
    display: inline-flex;
    gap: 6px;
    flex-shrink: 0;
}
.feed-sort-tab {
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--muted);
    background: transparent;
    font-weight: 600;
    font-family: var(--font-body);
}
button.feed-sort-tab,
.profile-me-tabs .feed-sort-tab {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
.feed-sort-tab:hover {
    border-color: var(--border);
    color: var(--text);
}
.feed-sort-tab.is-active {
    border-color: var(--accent);
    color: var(--text);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
}
button.feed-sort-tab.feed-voice-of-day-restore {
    cursor: pointer;
    border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
    color: var(--text);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    gap: 4px;
}
button.feed-sort-tab.feed-voice-of-day-restore:hover {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 18%, transparent);
}
button.feed-sort-tab.feed-voice-of-day-restore span[aria-hidden="true"] {
    color: var(--accent);
    font-size: 12px;
}
.section-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    font-style: italic;
}
.message-count { font-size: 12px; color: var(--muted); }

.message-card {
    position: relative;
    z-index: 1;
    background: var(--glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 22px 24px 18px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-glass);
    transition: border-color .2s, box-shadow .25s ease, transform .25s ease;
}

body.feed-sort-likes #feed-messages-list .message-card {
    transition: border-color .2s, box-shadow .35s ease, padding .35s ease, margin .35s ease;
}

body.feed-sort-likes #feed-messages-list .message-card.message-card--likes-leader {
    padding: 26px 26px 20px;
    margin-bottom: 18px;
    border-width: 2px;
    border-color: color-mix(in srgb, var(--accent, var(--accent)) 45%, var(--border));
    box-shadow: 0 10px 32px color-mix(in srgb, var(--accent, var(--accent)) 18%, transparent);
    z-index: 3;
}

body.feed-sort-likes #feed-messages-list .message-card.message-card--likes-flip {
    z-index: 4;
    will-change: transform;
}
.message-card--has-illustration {
    --illus-slot-w: 80px;
    --illus-slot-h: 108px;
}
.message-card__row,
.share-card__row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
}
.message-card__main,
.share-card__main {
    flex: 1 1 auto;
    min-width: 0;
}
.message-card--has-illustration .message-card-illustration-wrap,
.share-card--has-illustration .message-card-illustration-wrap {
    flex: 0 0 auto;
    align-self: flex-start;
    width: calc(var(--illus-slot-w) * var(--illus-scale, 1));
    min-width: var(--illus-slot-w);
    max-width: calc(var(--illus-slot-w) * 1.45);
    height: calc(var(--illus-slot-h) * var(--illus-scale, 1));
    min-height: var(--illus-slot-h);
    margin: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    pointer-events: none;
    transform: translate(var(--illus-x, 0px), var(--illus-y, 0px));
}
.message-card-illustration {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: top center;
    opacity: 0.96;
    transform: scale(var(--illus-scale, 1));
    transform-origin: top center;
}
.message-card-illustration--blend {
    mix-blend-mode: screen;
}
@media (min-width: 641px) {
    .message-card--has-illustration {
        --illus-slot-w: 92px;
        --illus-slot-h: 120px;
    }
}
.message-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-float);
    transform: translateY(-1px);
}
.message-card.message-card--from-spotlight {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 28%, transparent);
    animation: feed-spotlight-flash 1.1s ease-out;
}
@keyframes feed-spotlight-flash {
    0%, 100% { box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 28%, transparent); }
    40% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent); }
}
@media (max-width: 640px) {
    .message-card {
        padding: 14px 14px 12px;
    }
}
.message-text {
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 10px;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.message-author {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 14px;
    font-style: italic;
    text-transform: uppercase;
}
.message-author__link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.message-author__link:hover {
    color: var(--accent);
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
.message-author__link:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
    outline-offset: 2px;
    border-radius: 2px;
}
.share-card .message-author {
    margin-bottom: 6px;
}
.message-card-footer {
    position: relative;
    z-index: 2;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(224, 219, 210, 0.9);
    min-width: 0;
}
.btn-compose-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color .15s, background .15s, color .15s;
}
.btn-compose-tool:hover,
.btn-compose-tool.is-active {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, var(--surface));
}
.btn-compose-tool__icon {
    font-size: 17px;
    line-height: 1;
}
.illustration-panel {
    margin-top: 10px;
    padding: 12px 14px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}
.illustration-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}
.illustration-panel-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.illustration-panel-close {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.illustration-panel-hint {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 10px;
    line-height: 1.45;
}
.illustration-upload-block {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.illustration-upload-hint {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 10px;
    line-height: 1.45;
}
.btn-illustration-upload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, var(--surface));
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s, background .15s;
}
.btn-illustration-upload:hover {
    background: color-mix(in srgb, var(--accent) 16%, var(--surface));
}
.btn-illustration-upload.is-busy {
    opacity: 0.65;
    pointer-events: none;
}
.illustration-upload-status {
    font-size: 12px;
    color: var(--muted);
    margin: 8px 0 0;
    min-height: 1.2em;
}
.illustration-upload-status.is-error {
    color: var(--accent2);
    font-weight: 600;
}
.illustration-panel-divider {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    margin: 4px 0 10px;
}
.illustration-panel-upload {
    font-size: 12px;
    color: var(--muted);
    margin: -4px 0 10px;
    line-height: 1.45;
}
.illustration-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
@media (min-width: 520px) {
    .illustration-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.illustration-pick {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #12100e;
    padding: 6px;
    cursor: pointer;
    min-height: 76px;
    display: flex;
    align-items: stretch;
    justify-content: center;
}
.illustration-pick__frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 72px;
}
.illustration-pick:hover,
.illustration-pick.is-selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent);
}
.illustration-pick__preview {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
}
.illustration-pick__preview--blend {
    mix-blend-mode: screen;
}
.illustration-clear {
    margin-top: 10px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}
.illustration-clear:hover {
    color: var(--text);
}
.compose-hint--warn {
    color: var(--accent2);
    font-weight: 600;
}
.compose-illustration-preview {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin: 10px 0 4px;
    padding: 10px 12px;
    border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--border));
    border-radius: 8px;
    background: color-mix(in srgb, var(--accent) 5%, var(--surface));
}
.compose-illustration-preview.hidden {
    display: none;
}
.compose-illustration-preview__label {
    font-size: 12px;
    color: var(--muted);
    flex: 1;
    min-width: 0;
}
.compose-illustration-preview__frame {
    flex-shrink: 0;
    width: 56px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.compose-illustration-preview__img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
}
.compose-illustration-preview__img.message-card-illustration--blend {
    mix-blend-mode: screen;
}
.illustration-editor {
    margin-top: 10px;
    padding: 12px 14px 14px;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.illustration-editor.hidden {
    display: none;
}
.illustration-editor-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.illustration-editor-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.illustration-editor-close {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.illustration-editor-hint {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 10px;
    line-height: 1.45;
}
.illustration-editor-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 560px) {
    .illustration-editor-layout {
        grid-template-columns: 1fr minmax(120px, 34%);
    }
}
.illustration-editor-canvas-wrap {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: auto;
    max-height: min(52vh, 360px);
    background-color: #e8e4dc;
    background-image:
        linear-gradient(45deg, #d4cfc6 25%, transparent 25%),
        linear-gradient(-45deg, #d4cfc6 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #d4cfc6 75%),
        linear-gradient(-45deg, transparent 75%, #d4cfc6 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0;
    touch-action: none;
}
.illustration-editor-canvas-wrap canvas {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    cursor: crosshair;
}
.illustration-editor-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
    margin-top: 10px;
}
.illustration-editor-tool {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font-size: 12px;
    padding: 6px 10px;
    cursor: pointer;
}
.illustration-editor-tool.is-active {
    border-color: var(--accent);
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, var(--surface));
}
.illustration-editor-tool:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.illustration-editor-position {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}
.illustration-editor-position__label {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
}
.illustration-editor-position-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 16px;
    margin-bottom: 8px;
}
.illustration-editor-pad {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 4px;
}
.illustration-editor-pad-mid {
    display: flex;
    gap: 4px;
}
.illustration-editor-pad-btn {
    min-width: 36px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}
.illustration-editor-pad-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.illustration-editor-size-btns {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.illustration-editor-tools--sliders {
    margin-top: 8px;
}
.compose-illustration-stack {
    margin: 12px 0 8px;
}
.compose-illustration-stack .compose-illustration-preview__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}
.compose-illustration-stack .illustration-card-position {
    margin-top: 10px;
    padding-top: 0;
    border-top: none;
}
.illustration-card-position {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.illustration-card-position__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.illustration-card-position__hint {
    font-size: 11px;
    color: var(--muted);
    margin: 0 0 10px;
    line-height: 1.4;
}
.illustration-card-position-reset {
    margin-top: 8px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}
.compose-illustration-preview__card {
    margin-top: 8px;
    padding: 12px 14px 10px;
    min-height: 72px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}
.compose-illustration-preview__card.message-card--has-illustration {
    --illus-slot-w: 56px;
    --illus-slot-h: 72px;
}
.compose-illustration-preview__sample {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
}
.illustration-editor-slider {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--muted);
}
.illustration-editor-slider input {
    width: 88px;
}
.illustration-editor-slider--scale {
    flex: 1 1 100%;
    min-width: min(100%, 220px);
}
.illustration-editor-scale-label {
    min-width: 3.2em;
    font-weight: 600;
    color: var(--text);
    text-align: right;
}
.illustration-editor-slider.is-hidden {
    display: none;
}
.illustration-editor-canvas-wrap canvas[style*="cursor: cell"] {
    cursor: cell;
}
.illustration-editor-preview-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 12px 14px 10px;
    min-height: 100px;
}
.illustration-editor-preview-card__label {
    font-size: 11px;
    color: var(--muted);
    margin: 0 0 8px;
}
.illustration-editor-preview-card__illus {
    position: absolute;
    top: 8px;
    right: 6px;
    width: 52px;
    height: 68px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}
.illustration-editor-preview-card__illus img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center bottom;
}
.illustration-editor-preview-card__text {
    font-size: 13px;
    line-height: 1.45;
    color: var(--muted);
    margin: 0;
    padding-right: 58px;
}
.illustration-editor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 12px;
}
.illustration-editor-actions .btn-publish {
    min-width: 120px;
}
.illustration-editor-cancel {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    padding: 8px 14px;
    cursor: pointer;
}
.message-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 12px;
    min-width: 0;
}
.message-time {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.4;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
}
.message-meta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 10px;
    flex: 1 1 200px;
    min-width: 0;
}
.msg-action-share{
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    font-size: 12px;
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    margin: 0;
    flex-shrink: 0;
}
.msg-action-share:hover{ color: var(--text); }
@media (max-width: 520px) {
    .message-meta {
        flex-direction: column;
        align-items: stretch;
    }
    .message-meta-actions {
        flex-basis: auto;
        justify-content: flex-start;
    }
}

.toast{
    position: fixed;
    left: 50%;
    top: 14px;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.92);
    color: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    z-index: 9999;
    box-shadow: 0 10px 22px rgba(0,0,0,.22);
}

/* Onay sonrası kutlama (yönetici onayı) */
.approval-celebration {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.approval-celebration.hidden {
    display: none !important;
}
.approval-celebration__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
}
.approval-celebration__card {
    position: relative;
    max-width: 380px;
    width: 100%;
    padding: 28px 24px 22px;
    border-radius: var(--radius, 16px);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    text-align: center;
    animation: approval-pop 0.45s cubic-bezier(0.34, 1.3, 0.64, 1);
}
@keyframes approval-pop {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
.approval-celebration__glow {
    position: absolute;
    top: -40%;
    left: 50%;
    width: 140%;
    height: 80%;
    transform: translateX(-50%);
    background: radial-gradient(
        ellipse at center,
        color-mix(in srgb, var(--accent) 35%, transparent),
        transparent 70%
    );
    pointer-events: none;
    opacity: 0.9;
}
.approval-celebration__icon {
    position: relative;
    font-size: 42px;
    line-height: 1;
    margin-bottom: 12px;
    filter: drop-shadow(0 6px 14px color-mix(in srgb, var(--accent) 40%, transparent));
}
.approval-celebration__title {
    position: relative;
    font-family: var(--font-display, serif);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--text);
    letter-spacing: -0.02em;
}
.approval-celebration__lead {
    position: relative;
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
}
.approval-celebration__actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
.approval-celebration__primary {
    min-width: 140px;
}
.approval-celebration__secondary {
    background: transparent !important;
    border: 1px solid var(--border) !important;
    box-shadow: none !important;
    color: var(--text) !important;
}
.approval-celebration__secondary:hover {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}
.approval-celebration__share-lead {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--muted);
    text-align: center;
}
.approval-celebration__card .share-shortcuts {
    justify-content: center;
    margin-bottom: 14px;
}

/* Misafir CTA */
.guest-cta-banner {
    position: relative;
    margin: 0 0 14px;
    padding: 16px 44px 16px 18px;
    border-radius: var(--radius);
    border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, var(--bg)) 0%, var(--bg) 70%);
}
.guest-cta-banner.is-dismissed,
html.guest-cta-dismissed #guest-cta-banner { display: none !important; }
.guest-cta-banner__title {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}
.guest-cta-banner__lead {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}
.guest-cta-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.guest-cta-banner__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.guest-cta-banner__close:hover { color: var(--text); }

/* Misafir üyelik modalı */
.guest-membership-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.guest-membership-modal.hidden {
    display: none !important;
}
body.guest-membership-modal-open {
    overflow: hidden;
}
.guest-membership-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(2px);
}
.guest-membership-modal__card {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    padding: 28px 24px 24px;
    border-radius: var(--radius);
    border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--border));
    background: var(--bg);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
    text-align: center;
}
.guest-membership-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.guest-membership-modal__close:hover { color: var(--text); }
.guest-membership-modal__title {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: clamp(20px, 4.5vw, 24px);
    font-weight: 700;
    color: var(--text);
}
.guest-membership-modal__lead {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}
.guest-membership-modal__oauth {
    margin-bottom: 14px;
}
.guest-membership-modal__oauth .btn-google {
    width: 100%;
    justify-content: center;
}
.guest-membership-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
.guest-membership-modal__actions .btn-header-login {
    text-decoration: none;
}

/* Kayıt: değer özeti */
.auth-register-benefits {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
    background: color-mix(in srgb, var(--accent) 8%, var(--bg));
}
.auth-register-benefits__title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}
.auth-register-benefits__list {
    margin: 0;
    padding: 0 0 0 18px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
}
.auth-register-benefits__list li + li {
    margin-top: 4px;
}

/* Misafir feed: kalan ses sayacı */
.feed-guest-more-strip {
    margin: 0 0 12px;
    padding: 10px 14px;
    border-radius: var(--radius);
    border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--border));
    background: color-mix(in srgb, var(--accent) 10%, var(--bg));
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    color: var(--text);
}
.feed-guest-gate__more {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
}
.feed-guest-gate__oauth {
    margin: 0 auto 14px;
    max-width: 280px;
}
.btn-google--compact {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 13px;
}

/* Onay kutlaması: sıradaki adımlar */
.member-welcome-checklist {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--accent) 6%, var(--bg));
    text-align: left;
}
.member-welcome-checklist__title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}
.member-welcome-checklist__list {
    margin: 0;
    padding: 0 0 0 18px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
}
.member-welcome-checklist__list a {
    color: var(--accent);
    text-decoration: none;
}
.member-welcome-checklist__list a:hover {
    text-decoration: underline;
}

/* Misafir davet promosu */
.home-invite-guest-promo {
    cursor: default;
}
.home-invite-guest-promo__cta {
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

/* Akış: haftanın teması + günlük ipucu */
.feed-engagement-banner,
.weekly-theme-card {
    margin: 0 0 14px;
    padding: 18px 18px 16px;
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--border));
    background: linear-gradient(
        165deg,
        color-mix(in srgb, var(--accent) 10%, var(--surface)) 0%,
        color-mix(in srgb, var(--accent) 4%, var(--bg)) 55%,
        var(--bg) 100%
    );
    box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 10%, transparent);
}
.weekly-theme-card__figure--photo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto 8px;
    padding: 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    text-decoration: none;
    transition: opacity 0.15s ease;
}
.weekly-theme-card__figure--photo:hover {
    opacity: 0.88;
}
.weekly-theme-card__photo {
    display: block;
    width: auto;
    height: auto;
    max-width: min(5.25rem, 30vw);
    max-height: 5.25rem;
    object-fit: contain;
    object-position: center;
}
.weekly-theme-card__figure:not(.weekly-theme-card__figure--photo) {
    display: flex;
    justify-content: center;
    margin: 0 0 8px;
    color: var(--accent);
    opacity: 0.92;
}
.weekly-theme-card__art {
    width: min(5.25rem, 30vw);
    height: auto;
    display: block;
}
.weekly-theme-card__head {
    text-align: center;
    margin: 0 0 14px;
}
.feed-engagement-banner__prompt-row,
.feed-engagement-banner__guest-vod-row,
.weekly-theme-card__prompt-row {
    margin-top: 0;
}
.feed-engagement-banner--guest {
    padding: 14px 16px;
    min-width: 0;
    overflow: hidden;
}
.feed-engagement-banner--guest-showcase {
    margin-top: 0;
    padding: clamp(16px, 3vw, 20px);
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
    background: linear-gradient(
        155deg,
        color-mix(in srgb, var(--surface) 96%, var(--accent) 4%) 0%,
        color-mix(in srgb, var(--bg) 92%, var(--accent) 8%) 100%
    );
    box-shadow:
        0 4px 24px color-mix(in srgb, var(--accent) 12%, transparent),
        inset 0 1px 0 color-mix(in srgb, #fff 40%, transparent);
}
.feed-engagement-banner--guest-showcase .weekly-theme-card__head {
    margin-bottom: 10px;
}
.feed-engagement-banner--guest-showcase .feed-engagement-banner__guest-vod {
    padding: clamp(14px, 3vw, 18px);
    border-radius: var(--radius);
    border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
    background: color-mix(in srgb, var(--surface) 88%, var(--bg));
    box-shadow: 0 2px 12px color-mix(in srgb, var(--accent) 8%, transparent);
}
.feed-engagement-banner--guest-showcase .feed-engagement-banner__guest-vod-quote {
    font-size: clamp(1rem, 3.2vw, 1.12rem);
    line-height: 1.5;
}
.feed-engagement-banner--guest-showcase .feed-engagement-banner__guest-vod-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
}

/* Misafir landing — hero + özellikler */
.guest-home-stack--landing {
    gap: clamp(12px, 2.5vh, 18px);
}
.guest-home-hero {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 14px var(--guest-card-pad-x, 16px) 16px;
    border-radius: var(--radius);
    border: 1px solid color-mix(in srgb, var(--border) 88%, var(--accent) 12%);
    background: color-mix(in srgb, var(--surface) 96%, var(--bg));
    box-shadow: 0 2px 10px color-mix(in srgb, var(--text) 4%, transparent);
    text-align: center;
}
.guest-home-hero__glow {
    position: absolute;
    top: -30%;
    right: -15%;
    width: min(160px, 45vw);
    height: min(160px, 45vw);
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 12%, transparent) 0%, transparent 72%);
    pointer-events: none;
    opacity: 0.6;
}
.guest-home-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 24rem;
    margin: 0 auto;
}
.guest-home-hero__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 0 8px;
    text-decoration: none;
    color: var(--text);
}
.guest-home-hero__brand-icon {
    font-size: 1.1rem;
    color: color-mix(in srgb, var(--accent) 75%, var(--muted));
    line-height: 1;
}
.guest-home-hero__brand-text {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 3.8vw, 1.32rem);
    font-weight: 700;
    letter-spacing: -0.25px;
    color: var(--text);
}
.guest-home-hero__title {
    margin: 0 0 4px;
    font-family: var(--font-body);
    font-size: clamp(0.82rem, 2.4vw, 0.9rem);
    font-weight: 600;
    font-style: normal;
    line-height: 1.35;
    color: color-mix(in srgb, var(--text) 90%, var(--muted));
}
.guest-home-hero__lead {
    margin: 0 auto 12px;
    max-width: 20rem;
    font-size: clamp(0.78rem, 2.2vw, 0.84rem);
    line-height: 1.45;
    color: var(--muted);
}
.guest-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}
.guest-home-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 9px 16px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.guest-home-hero__btn:hover {
    transform: none;
}
.guest-home-hero__btn--primary {
    color: var(--text);
    border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
    box-shadow: none;
}
.guest-home-hero__btn--primary:hover {
    background: color-mix(in srgb, var(--accent) 22%, var(--surface));
    border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
}
.guest-home-hero__btn--secondary {
    color: var(--muted);
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg) 70%, var(--surface));
}
.guest-home-hero__btn--secondary:hover {
    color: var(--text);
    border-color: color-mix(in srgb, var(--border) 60%, var(--accent) 40%);
    background: var(--surface);
}

.guest-home-features {
    margin: 0;
    padding: clamp(14px, 3vw, 18px) var(--guest-card-pad-x, 16px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface) 94%, var(--bg));
}
.guest-home-features__title {
    margin: 0 0 12px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    color: color-mix(in srgb, var(--accent) 80%, var(--muted));
}
.guest-home-features__grid {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.guest-home-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 14px 10px;
    border-radius: var(--radius);
    border: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
    background: color-mix(in srgb, var(--bg) 60%, var(--surface));
    text-align: center;
}
.guest-home-feature__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
}
.guest-home-feature__text {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: color-mix(in srgb, var(--text) 88%, var(--muted));
}
.guest-home-stack--landing .feed-guest-more-strip--prominent {
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
}

@media (max-width: 720px) {
    .guest-home-features__grid {
        grid-template-columns: 1fr;
    }
    .guest-home-feature {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 12px 14px;
    }
    .guest-home-feature__icon {
        flex-shrink: 0;
    }
}

.guest-home-feed__intro {
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
    text-align: center;
    min-width: 0;
}
.guest-home-feed__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 8px;
    text-decoration: none;
    color: var(--text);
}
.guest-home-feed__brand-icon {
    font-size: 20px;
    color: var(--accent);
    line-height: 1;
}
.guest-home-feed__brand-text {
    font-family: var(--font-display);
    font-size: clamp(1.28rem, 4.2vw, 1.55rem);
    font-weight: 700;
    letter-spacing: -0.3px;
}
.guest-home-feed__pitch {
    margin: 0 auto;
    max-width: 36em;
}
.guest-home-feed__pitch-line {
    margin: 0;
    font-size: clamp(0.84rem, 2.5vw, 0.94rem);
    line-height: 1.45;
    color: color-mix(in srgb, var(--text) 86%, var(--muted));
}
.guest-home-feed__pitch-line strong {
    font-weight: 700;
    color: var(--text);
}
.guest-home-feed__pitch-sep {
    opacity: 0.5;
}
.feed-engagement-banner--guest .weekly-theme-card__head {
    margin-bottom: 8px;
}
.weekly-theme-card__label {
    margin: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--accent) 88%, var(--text));
}
.weekly-theme-card__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 3.2vw, 1.45rem);
    line-height: 1.35;
    font-style: italic;
    color: var(--text);
}
.weekly-theme-card__prefix {
    font-weight: 400;
    color: color-mix(in srgb, var(--accent) 75%, var(--muted));
}
.weekly-theme-card__name {
    font-weight: 700;
    color: color-mix(in srgb, var(--accent) 92%, var(--text));
}
.weekly-theme-card__prompt {
    border-style: dashed;
    border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
    background: color-mix(in srgb, var(--surface) 88%, var(--bg));
}
.weekly-theme-card__shuffle {
    border-color: color-mix(in srgb, var(--accent) 38%, var(--border));
    background: color-mix(in srgb, var(--accent) 8%, var(--surface));
    color: color-mix(in srgb, var(--accent) 85%, var(--text));
    font-weight: 700;
}
.weekly-theme-card__shuffle:hover {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
}
.home-feed-promos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 10px;
}
.home-feed-promos .home-city-voices-promo {
    margin: 0;
    min-height: 0;
}
.home-city-voices-promo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    padding: 7px 10px;
    min-height: 34px;
    border-radius: calc(var(--radius) - 2px);
    border: 1px solid var(--border);
    background: var(--surface);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.12s ease, background 0.12s ease;
}
.home-city-voices-promo:hover {
    border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
    background: color-mix(in srgb, var(--accent) 5%, var(--surface));
}
.home-city-voices-promo__icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    line-height: 1;
    color: var(--muted);
    opacity: 0.9;
}
.home-city-voices-promo__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.home-city-voices-promo__title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.home-city-voices-promo__hint {
    display: none;
}
.home-city-voices-promo__cta {
    flex-shrink: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    opacity: 0.75;
}
.home-city-voices-promo:hover .home-city-voices-promo__cta {
    color: var(--accent);
    opacity: 1;
}
.feed-engagement-banner__prompt-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.feed-engagement-banner__prompt {
    flex: 1 1 200px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border-radius: calc(var(--radius) - 4px);
    border: 1px dashed color-mix(in srgb, var(--accent) 50%, var(--border));
    background: var(--bg);
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: var(--text);
}
.feed-engagement-banner__prompt:hover {
    border-color: var(--accent);
}
.feed-engagement-banner__prompt-icon {
    color: var(--accent);
    flex-shrink: 0;
}
.feed-engagement-banner__prompt-text {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 15px;
    line-height: 1.45;
}
.feed-engagement-banner__shuffle {
    flex-shrink: 0;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg);
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
}
.feed-engagement-banner__shuffle:hover {
    color: var(--text);
    border-color: var(--accent);
}
.feed-engagement-banner__guest-vod-row {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    box-sizing: border-box;
}
.feed-engagement-banner__guest-vod {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
    padding: 10px 12px;
    border-radius: calc(var(--radius) - 4px);
    border: 1px dashed color-mix(in srgb, var(--accent) 50%, var(--border));
    background: var(--bg);
}
.feed-engagement-banner__guest-vod-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
}
.feed-engagement-banner__guest-vod-icon {
    flex-shrink: 0;
}
.feed-engagement-banner__guest-vod-scope {
    margin: 0 0 8px;
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.feed-engagement-banner__guest-vod-quote {
    margin: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 15px;
    line-height: 1.45;
    color: var(--text);
    overflow-wrap: anywhere;
    word-break: break-word;
}
.feed-engagement-banner__guest-vod-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 10px 0 0;
    font-size: 0.82rem;
    color: var(--muted);
}
.feed-engagement-banner__guest-vod-author {
    font-weight: 600;
    color: var(--text);
}
.feed-engagement-banner__guest-vod-likes {
    color: var(--accent);
}

@media (max-width: 640px) {
    .feed-engagement-banner {
        max-width: 100%;
        padding: 12px 14px;
        margin-left: 0;
        margin-right: 0;
    }
    .feed-engagement-banner__prompt-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .feed-engagement-banner__prompt {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
    .feed-engagement-banner__prompt-text {
        font-size: 14px;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .feed-engagement-banner__shuffle {
        width: 100%;
        text-align: center;
    }
    .feed-engagement-banner__guest-vod-quote {
        font-size: 14px;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
}

/* Header streak */
.header-streak-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
    background: color-mix(in srgb, var(--accent) 10%, var(--bg));
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}
.header-streak-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.header-streak-pill--guest {
    margin-left: 0;
    cursor: pointer;
    font: inherit;
}
.header-streak-pill--guest:hover {
    background: color-mix(in srgb, var(--accent) 16%, var(--bg));
}
.like-static--guest-gate {
    cursor: pointer;
}
.like-static--guest-gate:hover .like-icon {
    color: var(--accent);
}
.msg-action-comment--guest-gate {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--muted);
    cursor: pointer;
}
.msg-action-comment--guest-gate:hover {
    color: var(--accent);
}

/* Paylaşım kısayolları */
.share-shortcuts {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.share-shortcut {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.share-shortcut__icon {
    display: block;
    flex-shrink: 0;
}
.share-shortcut:hover {
    color: var(--text);
    border-color: var(--border);
    transform: translateY(-1px);
}
.share-shortcut--wa:hover { color: #25d366; border-color: #25d366; }
.share-shortcut--x:hover { color: var(--text); border-color: var(--text); }
.share-shortcut--copy:hover,
.share-shortcut--page:hover { color: var(--accent); border-color: var(--accent); }
.rank-card .share-shortcuts {
    margin: 8px 12px 12px;
    padding: 0;
}
.message-meta-actions .share-shortcuts--compact {
    margin-right: 2px;
}
.message-meta-actions .share-shortcuts {
    order: -1;
}

/* Eski feed-period / feed-discover satırları → feed-toolbar (şehir sesleri sekmeleri hariç) */
.feed-period-tabs:not(.city-voices-period-tabs):not(.city-voices-sort-tabs),
.feed-discover-tabs {
    display: none;
}
.feed-geo-leader-badge {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
    background: color-mix(in srgb, var(--accent) 14%, var(--bg));
    color: var(--accent);
}
.feed-geo-leader-badge--intercity { border-color: rgba(90, 120, 180, 0.5); color: #4a6a9a; }
.feed-geo-leader-badge--city { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.feed-geo-leader-badge--district { border-color: rgba(120, 150, 90, 0.55); color: #5a7848; }
.feed-geo-leader-badge--voice { border-color: color-mix(in srgb, var(--accent) 70%, transparent); background: color-mix(in srgb, var(--accent) 22%, var(--bg)); }
.home-inbox-preview {
    margin: 0 0 16px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: color-mix(in srgb, var(--accent) 6%, var(--bg));
}
.home-inbox-preview-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.home-inbox-preview-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    flex: 1 1 auto;
}
.home-inbox-preview-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
}
.home-inbox-preview-empty {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--muted);
}
.home-inbox-preview-more {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}
.home-inbox-preview-item {
    display: block;
    text-decoration: none;
    color: var(--text);
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 6px;
}
.home-inbox-preview-item:last-child { margin-bottom: 0; }
.home-inbox-preview-item:hover {
    border-color: var(--border);
    background: color-mix(in srgb, var(--accent) 6%, transparent);
}
.home-inbox-preview-item.is-unread { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.home-inbox-preview-item-top {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
}
.home-inbox-preview-item-name { font-weight: 700; color: var(--text); font-size: 13px; }
.home-inbox-preview-item-body {
    font-size: 13px;
    margin-top: 4px;
    color: var(--muted);
    word-break: break-word;
}
.header-notif-more {
    display: block;
    text-align: center;
    padding: 10px 8px 6px;
    color: var(--accent);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}
.notifications-list { display: flex; flex-direction: column; gap: 8px; }
.notifications-list-item {
    display: block;
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
}
.notifications-list-item.is-unread {
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
    background: color-mix(in srgb, var(--accent) 8%, var(--bg));
}
.notifications-list-item-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
}
.notifications-list-item-line { font-weight: 700; color: var(--text); font-size: 14px; flex: 1; }
.notifications-list-item-body { margin-top: 8px; font-size: 13px; color: var(--muted); }
.notifications-list-empty { color: var(--muted); padding: 20px 0; }
.notifications-back { margin-top: 20px; }
.notifications-back a { color: var(--accent); font-weight: 600; }
.notifications-pagination { margin-top: 16px; }
.feed-live-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0 0 14px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--accent) 5%, var(--bg));
    font-size: 13px;
    color: var(--muted);
}
.feed-live-stats-item strong { color: var(--text); font-weight: 700; }
.feed-live-stats-online { display: inline-flex; align-items: center; gap: 6px; }
.feed-live-stats-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2d9d5f;
    box-shadow: 0 0 0 0 color-mix(in srgb, #2d9d5f 50%, transparent);
    animation: feed-live-pulse 1.8s ease-out infinite;
}
@keyframes feed-live-pulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, #2d9d5f 55%, transparent); }
    70% { box-shadow: 0 0 0 8px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}
.feed-live-stats-sep { opacity: 0.5; }
.feed-live-stats-guest-cta {
    margin-left: auto;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    cursor: pointer;
    white-space: nowrap;
}
.feed-live-stats-guest-cta:hover {
    text-decoration: underline;
}
.feed-live-stats--guest-only {
    justify-content: space-between;
    gap: 10px;
}
.guest-saves-teaser {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 0 0 14px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px dashed color-mix(in srgb, var(--accent) 42%, var(--border));
    background: color-mix(in srgb, var(--accent) 7%, var(--bg));
    font-size: 13px;
    color: var(--muted);
}
.guest-saves-teaser__icon {
    color: var(--accent);
    font-size: 14px;
}
.guest-saves-teaser__text {
    flex: 1 1 auto;
    min-width: 0;
}
.guest-saves-teaser__btn {
    flex-shrink: 0;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
    background: color-mix(in srgb, var(--accent) 12%, var(--bg));
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
}
.guest-saves-teaser__btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.guest-vod-teaser {
    margin: 0 0 14px;
    padding: 16px 18px;
    border-radius: var(--radius);
    border: 1px solid color-mix(in srgb, var(--accent) 50%, var(--border));
    background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 14%, var(--bg)) 0%, var(--bg) 75%);
}
.guest-vod-teaser__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.guest-vod-teaser__badge {
    color: var(--accent);
    font-size: 16px;
}
.guest-vod-teaser__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}
.guest-vod-teaser__quote {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text);
    font-style: italic;
}
.guest-vod-teaser__meta {
    margin: 0 0 12px;
    font-size: 12px;
    color: var(--muted);
}
.guest-vod-teaser__btn {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
    background: color-mix(in srgb, var(--accent) 12%, var(--bg));
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
}
.guest-vod-teaser__btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.feed-live-stats-recent-joins {
    font-weight: 600;
    color: var(--text);
}
.profile-invite-stat { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--accent); }
.invite-leaders-page { max-width: 520px; margin: 0 auto; padding: 24px 16px 48px; }
.invite-leaders-hero { margin-bottom: 20px; }
.invite-leaders-stats {
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--muted);
}
.invite-leaders-you {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
    font-size: 14px;
}
.invite-leaders-you-badge {
    font-weight: 700;
    color: var(--accent);
}
.invite-leaders-cta-hint {
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45;
}
.invite-leaders-cta { margin-bottom: 20px; }
.invite-leaders-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.invite-leaders-row {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--card, #fff);
    border: 1px solid var(--border, #e8e2d8);
}
.invite-leaders-row.is-top-1 { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.invite-leaders-rank {
    font-weight: 700;
    font-size: 15px;
    text-align: center;
}
.invite-leaders-name {
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.invite-leaders-count {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
}
.invite-leaders-empty {
    margin: 16px 0;
    color: var(--muted);
    font-style: italic;
}
.invite-leaders-back { margin-top: 28px; }
.profile-invite-leaderboard { margin: 0 0 12px; font-size: 13px; }

.feed-search-bar {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card, #fff);
}
.feed-search-bar__label {
    display: block;
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}
.feed-search-bar__row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.feed-search-bar__icon {
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    line-height: 0;
}
.feed-search-bar__input {
    flex: 1;
    min-width: 140px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
}
.feed-search-bar__input:focus {
    outline: none;
    border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.feed-search-bar__btn {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: opacity 0.15s ease, transform 0.1s ease;
}
.feed-search-bar__btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}
.btn-save {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 15px;
    color: var(--muted);
}
.btn-save.is-saved, .btn-save:hover { color: var(--accent); }

/* Ara / Favorilerim / üye profili — ana akış ile aynı genişlik */
body.layout-search .page-layout.page-layout--single.search-page,
body.layout-saves .page-layout.page-layout--single.saves-page,
body.layout-user-profile .page-layout.page-layout--single.user-profile-page {
    max-width: min(1100px, calc(100vw - 40px));
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 28px 32px 48px;
    gap: 16px;
}
body.layout-search .search-page .auth-subtitle,
body.layout-saves .saves-page .auth-subtitle,
body.layout-user-profile .user-profile-page .auth-subtitle {
    max-width: none;
}
@media (max-width: 640px) {
    body.layout-search .page-layout.page-layout--single.search-page,
    body.layout-saves .page-layout.page-layout--single.saves-page,
    body.layout-user-profile .page-layout.page-layout--single.user-profile-page {
        max-width: none;
        padding: 16px 14px 28px;
        gap: 12px;
    }
}

.saves-page__empty { margin: 16px 0; color: var(--muted); }

/* ── Ara sayfası ─────────────────────────────────────────────────────── */
body.layout-search .search-page .auth-title {
    margin: 0;
}
.search-hero {
    margin-bottom: 24px;
    padding: 24px 22px 20px;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--accent) 18%, var(--bg)) 0%,
        color-mix(in srgb, var(--accent) 6%, var(--bg)) 55%,
        var(--bg) 100%
    );
    position: relative;
    overflow: hidden;
}
.search-hero::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 55%;
    height: 120%;
    background: radial-gradient(ellipse, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 70%);
    pointer-events: none;
}
.search-hero > * {
    position: relative;
    z-index: 1;
}
.search-hero__eyebrow {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}
.search-hero__title {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
}
.search-hero__lead {
    margin: 0 0 18px;
    max-width: 36rem;
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted);
}
.search-hero .feed-search-bar--hero {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}
.search-hero .feed-search-bar--hero .feed-search-bar__row {
    flex-wrap: nowrap;
    gap: 10px;
    padding: 8px 10px 8px 14px;
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.45) inset,
        0 10px 28px rgba(0, 0, 0, 0.06);
}
.search-hero .feed-search-bar--hero .feed-search-bar__icon {
    display: inline-flex;
}
.search-hero .feed-search-bar--hero .feed-search-bar__input {
    min-width: 0;
    padding: 10px 4px;
    border: none;
    background: transparent;
    font-size: 15px;
    box-shadow: none;
}
.search-hero .feed-search-bar--hero .feed-search-bar__input:focus {
    box-shadow: none;
}
.search-hero .feed-search-bar--hero .feed-search-bar__btn {
    padding: 10px 20px;
    border-radius: 999px;
    flex-shrink: 0;
}
.search-query-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed color-mix(in srgb, var(--accent) 35%, var(--border));
}
.search-query-bar__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}
.search-query-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    background: color-mix(in srgb, var(--accent) 14%, var(--bg));
    border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
}
.search-query-clear {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}
.search-query-clear:hover {
    text-decoration: underline;
}
.search-page__main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}
.search-section {
    padding: 18px 18px 16px;
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset;
}
.search-section__head {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.search-section__title {
    margin: 0 0 4px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}
.search-section__meta {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}
.search-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 20px;
    border-radius: calc(var(--radius) + 2px);
    border: 1px dashed color-mix(in srgb, var(--accent) 30%, var(--border));
    background: color-mix(in srgb, var(--accent) 5%, var(--bg));
}
.search-state__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 16%, var(--bg));
    border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
}
.search-state__text {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    max-width: 28rem;
}
.search-state__sub {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--muted);
    max-width: 26rem;
}
.search-tips {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.search-tips__item {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
}
.search-users {
    margin: 0;
}
.search-users__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}
.search-users__card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    height: 100%;
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}
.search-users__card:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}
.search-users__avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 700;
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--accent) 28%, var(--bg)),
        color-mix(in srgb, var(--accent) 10%, var(--bg))
    );
    color: var(--accent);
    border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
}
.search-users__body {
    flex: 1;
    min-width: 0;
}
.search-users__name {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    margin-bottom: 10px;
    line-height: 1.3;
}
.search-users__name:hover {
    color: var(--accent);
}
.search-users__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.search-users__btn {
    font-size: 12px;
    padding: 6px 12px;
}
.search-users__pagination {
    margin-top: 14px;
}
.search-messages {
    margin: 0;
}
.search-messages .feed-list {
    gap: 12px;
}
.search-page__foot {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.search-page__back-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}
.search-page__back-link:hover {
    text-decoration: underline;
}
@media (max-width: 640px) {
    .search-hero {
        padding: 18px 16px 16px;
    }
    .search-hero .feed-search-bar--hero .feed-search-bar__row {
        flex-wrap: wrap;
        padding: 10px 12px;
    }
    .search-hero .feed-search-bar--hero .feed-search-bar__btn {
        width: 100%;
    }
    .search-section {
        padding: 14px 14px 12px;
    }
    .search-users__list {
        grid-template-columns: 1fr;
    }
}
html[data-theme="dark"] .search-hero .feed-search-bar--hero .feed-search-bar__row {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
html[data-theme="dark"] .search-section {
    box-shadow: none;
}

/* İpucuna cevap — yazma ve akış kartı */
.compose-prompt-reply {
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
    background: color-mix(in srgb, var(--accent) 10%, var(--surface));
}
.compose-prompt-reply__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}
.compose-prompt-reply__label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
}
.compose-prompt-reply__clear {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.compose-prompt-reply__clear:hover {
    border-color: var(--accent);
    color: var(--text);
}
.compose-prompt-reply__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--text);
    font-style: italic;
}
.message-prompt-reply {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    margin: 0 0 10px;
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
    background: color-mix(in srgb, var(--accent) 8%, var(--bg));
    font-size: 13px;
    line-height: 1.4;
}
.message-prompt-reply__label {
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}
.message-prompt-reply__text {
    color: var(--muted);
    font-style: italic;
    flex: 1 1 auto;
    min-width: 0;
}

/* Favorilerim sayfası */
body.layout-saves .saves-page .auth-subtitle {
    max-width: none;
}
.saves-hero {
    margin-bottom: 24px;
    padding: 24px 22px 20px;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--accent) 14%, var(--bg)) 0%,
        color-mix(in srgb, var(--accent) 5%, var(--bg)) 55%,
        var(--bg) 100%
    );
    position: relative;
    overflow: hidden;
}
.saves-hero::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -8%;
    width: 50%;
    height: 120%;
    background: radial-gradient(ellipse, color-mix(in srgb, var(--accent) 20%, transparent) 0%, transparent 70%);
    pointer-events: none;
}
.saves-hero > * {
    position: relative;
    z-index: 1;
}
.saves-hero__eyebrow {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}
.saves-hero__title {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
}
.saves-hero__lead {
    margin: 0;
    max-width: 36rem;
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted);
}
.saves-page__main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}
.saves-page__list-section {
    margin: 0;
}
.saves-page__list .feed-list {
    gap: 12px;
}
.saves-page__empty-state {
    margin: 0;
}
.saves-page__empty-actions {
    margin: 16px 0 0;
}
.saves-page__foot {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
@media (max-width: 640px) {
    .saves-hero {
        padding: 18px 16px 16px;
    }
}

.user-profile-page .user-profile-hero {
    margin-bottom: 20px;
}
.user-profile-back {
    display: inline-block;
    margin-bottom: 12px;
}
.user-profile-hero__main {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.user-profile-hero__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    background: color-mix(in srgb, var(--accent) 18%, var(--bg));
    color: var(--accent);
}
.user-profile-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.user-profile-voices__title {
    font-family: var(--font-display);
    font-size: 20px;
    margin: 0 0 6px;
}
.user-profile-voices__count {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
}
.user-profile-voices__empty {
    color: var(--muted);
    margin: 12px 0;
}
.user-profile-foot {
    margin-top: 20px;
}

.member-achievements { margin: 20px 0; }
.member-achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}
.member-achievement {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    opacity: 0.55;
}
.member-achievement.is-unlocked {
    opacity: 1;
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
    background: color-mix(in srgb, var(--accent) 10%, var(--bg));
}
.member-achievement-label { display: block; font-weight: 700; font-size: 13px; }
.member-achievement-hint { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.profile-invite-card { margin: 20px 0; }
.profile-invite-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.profile-invite-input { flex: 1 1 200px; min-width: 0; }
.profile-invite-notice {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--accent) 12%, var(--bg));
}
/* ── Şehir sesleri sayfaları ─────────────────────────────────────────── */
body.layout-city-voices .page-layout.page-layout--single.city-voices-page {
    max-width: min(1160px, calc(100vw - 40px));
    width: 100%;
    padding: 28px 32px 48px;
}
body.layout-city-voices .city-voices-hero__lead {
    max-width: none;
}
.city-voices-hero {
    margin-bottom: 24px;
    padding: 24px 22px 20px;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--accent) 18%, var(--bg)) 0%,
        color-mix(in srgb, var(--accent) 6%, var(--bg)) 55%,
        var(--bg) 100%
    );
    position: relative;
    overflow: hidden;
}
.city-voices-hero::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 55%;
    height: 120%;
    background: radial-gradient(ellipse, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 70%);
    pointer-events: none;
}
.city-voices-hero__eyebrow {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}
.city-voices-hero__title {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
}
.city-voices-hero__lead {
    margin: 0 0 16px;
    max-width: 36rem;
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted);
}
.city-voices-hero--show {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px 20px;
    align-items: start;
}
.city-voices-hero--show .city-voices-period-tabs {
    grid-column: 1 / -1;
}
.city-voices-hero__city-badge {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 20%, var(--bg));
    border: 2px solid color-mix(in srgb, var(--accent) 40%, transparent);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 15%, transparent);
}
.city-voices-hero__main { min-width: 0; }
.city-voices-hero__count {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: color-mix(in srgb, var(--accent) 75%, var(--muted));
}
.city-voices-period-tabs,
.city-voices-sort-tabs {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.city-voices-period-tabs {
    margin-top: 4px;
    position: relative;
    z-index: 1;
}
.city-voices-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}
.city-voices-stat {
    flex: 1 1 140px;
    padding: 14px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg);
    box-shadow: 0 1px 0 color-mix(in srgb, var(--text) 4%, transparent);
}
.city-voices-stat__num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--accent);
}
.city-voices-stat__label {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}
.city-voices-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-bottom: 8px;
}
.city-voices-toolbar .city-voices-sort-tabs {
    margin: 0;
}
.city-voices-toolbar__hint {
    margin: 0 0 16px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.45;
}
.city-voices-search {
    flex: 1 1 220px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg);
}
.city-voices-search:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.city-voices-search__icon {
    font-size: 16px;
    color: var(--muted);
    line-height: 1;
}
.city-voices-search__input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-size: 15px;
    color: var(--text);
    outline: none;
}
.city-voices-city-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}
.city-voices-city-grid__item.is-hidden {
    display: none;
}
.city-voices-city-card {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.city-voices-city-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 12%, transparent);
}
.city-voices-city-card__avatar {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1rem;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 16%, var(--bg));
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.city-voices-city-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.city-voices-city-card__name {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.city-voices-city-card__meta {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.35;
}
.city-voices-city-card__arrow {
    flex-shrink: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.7;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.city-voices-city-card:hover .city-voices-city-card__arrow {
    opacity: 1;
    transform: translateX(3px);
}
.city-voices-search-empty {
    margin: 8px 0 0;
    font-size: 14px;
    color: var(--muted);
    text-align: center;
}
.city-voices-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--muted);
}
.city-voices-breadcrumb a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.city-voices-breadcrumb a:hover { text-decoration: underline; }
.city-voices-spotlight {
    margin-bottom: 22px;
    padding: 20px 22px;
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
    background: linear-gradient(
        120deg,
        color-mix(in srgb, var(--accent) 14%, var(--bg)),
        var(--bg)
    );
}
.city-voices-spotlight__label {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}
.city-voices-spotlight__quote {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-style: italic;
    line-height: 1.55;
    color: var(--text);
}
.city-voices-spotlight__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    font-size: 13px;
}
.city-voices-spotlight__author { font-weight: 700; }
.city-voices-spotlight__likes { color: var(--muted); }
.city-voices-spotlight__link {
    margin-left: auto;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}
.city-voices-spotlight__link:hover { text-decoration: underline; }
.city-voices-message-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.city-voices-voice-card {
    margin-bottom: 0;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
}
.city-voices-voice-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.city-voices-voice-card__avatar {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, var(--bg));
}
.city-voices-voice-card__who {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.city-voices-voice-card__author {
    font-size: 13px;
    font-weight: 700;
}
.city-voices-voice-card__time {
    font-size: 11px;
    color: var(--muted);
}
.city-voices-voice-card__likes {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
}
.city-voices-voice-card .message-text {
    margin-bottom: 12px;
}
.city-voices-voice-card__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-size: 13px;
}
.city-voices-voice-card__read {
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}
.city-voices-voice-card__feed-link {
    color: var(--muted);
    text-decoration: none;
}
.city-voices-voice-card__feed-link:hover { color: var(--accent); }
.city-voices-empty-state {
    text-align: center;
    padding: 40px 24px;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--accent) 4%, var(--bg));
}
.city-voices-empty-state__icon {
    display: block;
    margin: 0 auto 12px;
    font-size: 2rem;
    opacity: 0.5;
}
.city-voices-empty-state__title {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}
.city-voices-empty-state__hint {
    margin: 0 0 18px;
    font-size: 14px;
    color: var(--muted);
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}
.city-voices-pagination {
    margin-top: 24px;
}
.city-voices-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 14px;
}
.city-voices-footer-nav--split {
    justify-content: space-between;
}
.city-voices-footer-nav a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.city-voices-footer-nav a:hover { text-decoration: underline; }
@media (max-width: 640px) {
    body.layout-city-voices .page-layout.page-layout--single.city-voices-page {
        max-width: none;
        padding: 20px 16px 32px;
    }
    .city-voices-city-grid {
        grid-template-columns: 1fr;
    }
    .city-voices-hero--show {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .city-voices-hero__city-badge {
        margin: 0 auto;
    }
    .city-voices-spotlight__link { margin-left: 0; }
    .city-voices-footer-nav--split {
        flex-direction: column;
        align-items: flex-start;
    }
}
.auth-card--oauth-first .auth-oauth { order: -2; margin-bottom: 4px; }
.auth-card--oauth-first .auth-oauth-divider { order: -1; }
.onboarding-tour {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.onboarding-tour-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 14, 12, 0.55);
}
.onboarding-tour-card {
    position: relative;
    z-index: 1;
    max-width: 400px;
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px 20px 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.onboarding-tour-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    color: var(--muted);
}
.onboarding-tour-step-label {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 6px;
}
.onboarding-tour-title {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
}
.onboarding-tour-body {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}
.onboarding-tour-dont-show {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--muted);
    cursor: pointer;
}
.onboarding-tour-dont-show input {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--accent);
    cursor: pointer;
}
.onboarding-tour-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.site-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: center;
    margin-top: 10px;
    font-size: 13px;
}
.site-footer-trust {
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted);
}
.site-footer-nav a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.site-footer-nav a:hover { text-decoration: underline; }
.msg-report-form {
    display: inline;
    margin: 0;
    padding: 0;
}
.msg-action-report {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 2px 4px;
    color: var(--muted);
    opacity: 0.75;
}
.msg-action-report:hover {
    color: var(--accent2);
    opacity: 1;
}
.feed-status-flash {
    margin: 0 0 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    background: rgba(61, 155, 122, 0.12);
    border: 1px solid rgba(61, 155, 122, 0.35);
    color: #145a45;
}
.feed-similar-link {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 6px;
    border: 1px solid var(--border);
}
.feed-similar-link:hover {
    color: var(--accent);
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
.feed-period-tab.is-active {
    border-color: var(--accent);
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, var(--bg));
}
.feed-load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 18px 0 8px;
}
.feed-load-more {
    min-width: 200px;
}
.feed-load-more:disabled {
    opacity: 0.65;
    cursor: wait;
}
.feed-message-skeleton {
    pointer-events: none;
    user-select: none;
    margin-bottom: 12px;
}
.feed-message-skeleton__line {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--border) 80%, transparent) 0%, color-mix(in srgb, var(--surface) 84%, var(--border)) 45%, color-mix(in srgb, var(--border) 80%, transparent) 100%);
    background-size: 220% 100%;
    animation: feedSkeletonPulse 1.15s linear infinite;
    margin-bottom: 10px;
}
.feed-message-skeleton__line--lg { width: 92%; height: 12px; }
.feed-message-skeleton__line--sm { width: 44%; margin-bottom: 0; }
@keyframes feedSkeletonPulse {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.feed-guest-sentinel {
    height: 1px;
    width: 100%;
    pointer-events: none;
    visibility: hidden;
}
.feed-guest-gate {
    margin: 20px 0 28px;
    padding: 22px 20px;
    border-radius: var(--radius);
    border: 1px solid color-mix(in srgb, var(--accent) 48%, var(--border));
    background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 14%, var(--bg)) 0%, var(--bg) 72%);
    text-align: center;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}
.feed-guest-gate.hidden {
    display: none !important;
}
.feed-guest-gate__title {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: clamp(18px, 4vw, 22px);
    font-weight: 700;
    color: var(--text);
}
.feed-guest-gate__lead {
    margin: 0 auto 16px;
    max-width: 36em;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}
.feed-guest-gate__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
.feed-guest-gate__actions .btn-header-login {
    text-decoration: none;
}
.feed-guest-gate--about,
.guest-home-about {
    margin: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: visible;
}
.guest-home-about.feed-guest-gate {
    padding: 14px 16px;
    text-align: left;
}
.guest-home-about .feed-guest-gate__title {
    text-align: left;
    margin-bottom: 10px;
}
.guest-home-auth {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: clamp(18px, 3vw, 22px) 16px;
    box-sizing: border-box;
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--border));
    background: color-mix(in srgb, var(--accent) 8%, var(--surface));
    text-align: center;
}
.guest-home-auth__lead {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: clamp(1.08rem, 3.2vw, 1.22rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
}
.guest-home-auth__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.guest-home-auth__btn {
    text-decoration: none;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 600;
}
.guest-home-auth__btn--primary {
    border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
    background: color-mix(in srgb, var(--accent) 18%, var(--surface));
}
body.header-guest-home .header-guest-cluster--pitch-only {
    justify-content: stretch;
    width: 100%;
}
body.header-guest-home .header-guest-cluster--pitch-only .header-guest-pitch {
    flex: 1 1 100%;
    max-width: 100%;
}
.guest-home-about .feed-guest-gate__lead {
    margin: 0 0 12px;
    max-width: none;
    width: 100%;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.guest-home-about__lead {
    margin-bottom: 12px;
}
.guest-home-about__list {
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: 100%;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text);
    box-sizing: border-box;
}
.guest-home-about__list li {
    position: relative;
    margin: 0;
    padding: 0 0 0 1.2em;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}
.guest-home-about__list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.75em;
    top: 0.2em;
}
body.layout-viewport-shell.layout-guest-home .guest-home-about {
    flex-shrink: 1;
    min-height: 0;
}

@keyframes like-pulse {
    0% { transform: scale(1); }
    40% { transform: scale(1.35); }
    100% { transform: scale(1); }
}
.btn-like.btn-like--pulse .like-icon {
    animation: like-pulse 0.45s ease;
}
@media (prefers-reduced-motion: reduce) {
    .btn-like.btn-like--pulse .like-icon {
        animation: none;
    }
}

/* Akış: özel mesaj önizleme */
.message-comments {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
}
.message-comments__toggle {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    color: var(--accent);
    cursor: pointer;
    text-align: left;
}
.message-comments__toggle:hover {
    color: var(--text);
}
.message-comments__toggle[aria-expanded="true"] .message-comments__chevron {
    transform: rotate(180deg);
}
.message-comments__label {
    font-size: 12px;
    font-weight: 700;
}
.message-comments__badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 18%, var(--bg));
    color: var(--accent);
}
.message-comments__chevron {
    margin-left: auto;
    font-size: 11px;
    transition: transform 0.15s ease;
}
.message-comments__panel {
    margin-top: 8px;
}
.message-comments__panel.hidden {
    display: none !important;
}
.message-comments__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.message-comments__item {
    padding: 8px 10px;
    border-radius: calc(var(--radius) - 4px);
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--accent) 4%, var(--bg));
}
.message-comments__item.is-unread {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
    background: color-mix(in srgb, var(--accent) 10%, var(--bg));
}
.message-comments__item-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}
.message-comments__from {
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
}
.message-comments__at {
    font-size: 10px;
    color: var(--muted);
    white-space: nowrap;
}
.message-comments__snippet {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text);
    word-break: break-word;
}
.message-comments__more {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}
.message-comments__more:hover {
    text-decoration: underline;
}

.message-own-actions {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(224, 219, 210, 0.9);
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
}
.message-own-actions button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--accent);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.message-own-actions button:hover { color: var(--text); }
.msg-action-delete { color: var(--accent2) !important; }
.msg-action-delete:hover { color: var(--text) !important; }
.message-own-sep {
    color: var(--muted);
    user-select: none;
    padding: 0 2px;
}

.compose-idle-hint {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text);
    margin-bottom: 8px;
}

.btn-like {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--muted);
    padding: 4px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: all .2s;
}
.btn-like:hover { border-color: #e87070; color: #e87070; }
.btn-like.liked { border-color: #e87070; color: #e87070; background: rgba(232,100,74,.08); }

.like-static {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--muted);
    padding: 4px 12px;
    font-size: 13px;
    cursor: default;
    user-select: none;
    opacity: 0.92;
}
.like-static.liked {
    border-color: #e87070;
    color: #e87070;
    background: rgba(232,100,74,.08);
}

.empty-feed {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}
.empty-icon { font-size: 48px; margin-bottom: 16px; opacity: .3; }

/* ── Rankings ─────────────────────────────────────────────────────────── */
.rankings-sticky { position: sticky; top: 88px; }
.rank-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 20px 16px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}
.rank-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 100%;
}
.rank-daily::before   { background: var(--daily); }
.rank-weekly::before  { background: var(--weekly); }
.rank-monthly::before { background: var(--monthly); }
.rank-yearly::before  { background: var(--yearly); }
.rank-feed::before {
    background: linear-gradient(180deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 55%, transparent) 100%);
}
.rank-feed .rank-badge {
    color: var(--accent);
    font-weight: 700;
}
.rank-badge {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}
/* Spotlight kartı: Firefox blok <a> içinde UA alt çizgisini tamamen kapat */
a.rank-card-link,
a.rank-card-link:any-link,
a.rank-card-link:link,
a.rank-card-link:visited,
a.rank-card-link:hover,
a.rank-card-link:active,
a.rank-card-link:focus,
a.rank-card-link:focus-visible {
    display: block;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.15s;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-underline-offset: 0 !important;
    -moz-text-decoration-color: transparent;
}
a.rank-card-link:hover {
    opacity: 0.92;
}
a.rank-card-link * {
    text-decoration: none !important;
    text-decoration-line: none !important;
}
a.rank-card-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}
.rank-daily .rank-badge   { color: var(--daily); font-weight: 700; }
.rank-weekly .rank-badge  { color: var(--weekly); }
.rank-monthly .rank-badge { color: var(--monthly); }
.rank-yearly .rank-badge  { color: var(--yearly); }

/* Spotlight: tüm kartlar aynı yüzey; Günün Sesi sarı şerit/rozet yok */
.rank-spotlight .rank-card {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: none;
}
.rank-spotlight .rank-card::before {
    width: 3px;
    background: var(--border);
}
.rank-spotlight .rank-daily .rank-badge,
.rank-spotlight .rank-weekly .rank-badge,
.rank-spotlight .rank-monthly .rank-badge,
.rank-spotlight .rank-yearly .rank-badge,
.rank-spotlight .rank-feed .rank-badge {
    color: var(--muted);
    font-weight: 700;
}
.rank-spotlight .rank-text,
.rank-spotlight .rank-author,
.rank-spotlight .rank-likes {
    color: inherit;
}
.rank-spotlight .rank-author,
.rank-spotlight .rank-likes {
    color: var(--muted);
}
.rank-spotlight .rank-text {
    color: var(--text);
}
#sidebar-align-spacer,
.sidebar-align-spacer {
    display: none;
    flex-shrink: 0;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
    overflow: hidden;
    transition: none;
}
body.layout-home-compact #sidebar-align-spacer {
    display: block;
}
body.layout-home-compact.sidebar-align-ready .rankings-drawer-body {
    opacity: 1;
}
.rank-author {
    font-size: 12px;
    color: var(--muted);
    font-style: italic;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.rank-text {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rank-likes { font-size: 12px; color: var(--muted); }

.rank-empty-hint {
    opacity: 0.55;
}

.rank-spotlight-mobile-wrap {
    display: none;
}
@media (max-width: 780px) {
    body.layout-home-compact .rank-spotlight-mobile-wrap {
        display: block;
        margin: 0 0 12px;
    }
    body.layout-home-compact .rankings-drawer-body > .rank-spotlight {
        display: none;
    }
}

.rank-spotlight {
    position: relative;
    margin-bottom: 16px;
    display: grid;
    min-height: 12.5rem;
}
.rank-spotlight-slide .rank-card.rank-card--spotlight {
    margin-bottom: 0;
    height: 12.5rem;
    min-height: 12.5rem;
    max-height: 12.5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 14px 16px 12px;
    cursor: pointer;
    user-select: none;
}
.rank-spotlight .rank-card.rank-card--spotlight:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.rank-spotlight .rank-spotlight-head {
    flex: 0 0 auto;
    margin-bottom: 8px;
}
.rank-spotlight .rank-badge--spotlight {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 0;
    line-height: 1.25;
}
.rank-spotlight .rank-badge__text {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}
.rank-spotlight-stars {
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}
.rank-spotlight .rank-daily .rank-spotlight-stars { color: var(--daily); }
.rank-spotlight .rank-weekly .rank-spotlight-stars { color: var(--weekly); }
.rank-spotlight .rank-monthly .rank-spotlight-stars { color: var(--monthly); }
.rank-spotlight .rank-yearly .rank-spotlight-stars { color: var(--yearly); }
.rank-spotlight .rank-spotlight-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.rank-spotlight .rank-spotlight-meta {
    flex: 0 0 auto;
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    border-top: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
}
.rank-spotlight .rank-text {
    margin: 0;
    width: 100%;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    font-family: var(--font-display);
    font-style: italic;
    color: var(--text);
}
.rank-spotlight .rank-text-more {
    display: inline;
    margin-left: 0.1em;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    user-select: auto;
}
.rank-spotlight .rank-text-more:hover {
    text-decoration: underline;
}
.rank-spotlight .rank-author {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rank-spotlight .rank-likes {
    margin: 0;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}
.rank-spotlight .rank-card .share-shortcuts {
    display: none;
}
.rank-spotlight-slide {
    grid-area: 1 / 1;
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: relative;
    min-width: 0;
}
.rank-spotlight-slide.is-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
.rank-spotlight.is-animating .rank-spotlight-slide.is-active {
    animation: rank-spotlight-in 0.35s ease;
}
@keyframes rank-spotlight-in {
    from { opacity: 0.35; }
    to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .rank-spotlight.is-animating .rank-spotlight-slide.is-active {
        animation: none;
    }
}

/* Spotlight — Günün Sesi: ince dönen kırmızı neon çerçeve (layout kayması yok) */
@property --rank-daily-neon-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
.rank-spotlight-slide.is-active > .rank-card.rank-daily {
    box-shadow:
        0 0 5px rgba(255, 35, 75, 0.35),
        0 0 12px rgba(255, 35, 75, 0.18);
}
.rank-spotlight-slide.is-active > .rank-card.rank-daily::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(
        from var(--rank-daily-neon-angle, 0deg),
        transparent 0deg 300deg,
        rgba(255, 40, 70, 0.45) 312deg,
        #ff1744 324deg,
        rgba(255, 40, 70, 0.45) 336deg,
        transparent 348deg 360deg
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
    animation: rank-daily-neon-orbit 2.8s linear infinite;
}
@keyframes rank-daily-neon-orbit {
    to { --rank-daily-neon-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
    .rank-spotlight-slide.is-active > .rank-card.rank-daily::after {
        animation: none;
        --rank-daily-neon-angle: 42deg;
        opacity: 0.85;
    }
}

/* Yerel sesler: günün sesi öne çıkan kart */
.voice-of-day {
    position: relative;
    margin: 0 0 18px;
    padding: 2px;
    border-radius: calc(var(--radius) + 4px);
    background: linear-gradient(
        125deg,
        color-mix(in srgb, var(--accent) 70%, #fff6dc) 0%,
        color-mix(in srgb, var(--accent2) 55%, var(--accent) 45%) 45%,
        color-mix(in srgb, var(--accent) 65%, var(--text)) 100%
    );
    background-size: 200% 200%;
    animation: voice-of-day-border 6s ease infinite;
    overflow: hidden;
}
@keyframes voice-of-day-border {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.voice-of-day__glow {
    position: absolute;
    inset: -40% -20%;
    background: radial-gradient(
        ellipse at 30% 20%,
        color-mix(in srgb, var(--accent) 35%, transparent) 0%,
        transparent 55%
    );
    pointer-events: none;
    animation: voice-of-day-glow 4s ease-in-out infinite alternate;
}
@keyframes voice-of-day-glow {
    from { opacity: 0.45; transform: translateY(0); }
    to { opacity: 0.85; transform: translateY(-6px); }
}
body.layout-home-compact .feed-voice-of-day-pin {
    margin: 0 0 14px;
    min-width: 0;
    max-width: 100%;
}
@media (min-width: 781px) {
    body.layout-home-compact .feed-voice-of-day-pin:not(.is-dismissed) {
        position: sticky;
        top: calc(var(--home-sticky-top, 52px) + 4px);
        z-index: 30;
        background: var(--bg);
        isolation: isolate;
    }
    html.voice-of-day-was-dismissed body.layout-home-compact .feed-voice-of-day-pin {
        position: static;
        z-index: auto;
    }
    body.layout-home-compact .feed-voice-of-day-pin:not(.is-dismissed) ~ .message-card,
    body.layout-home-compact .feed-voice-of-day-pin:not(.is-dismissed) ~ .empty-feed {
        scroll-margin-top: calc(var(--home-sticky-top, 52px) + var(--voice-of-day-sticky-h, 12rem) + 10px);
    }
}
body.layout-home-compact .feed-voice-of-day-pin .voice-of-day {
    margin-bottom: 0;
}
body.layout-home-compact .feed-voice-of-day-pin .voice-of-day__inner {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.5) inset,
        0 8px 28px rgba(0, 0, 0, 0.08);
}
.feed-voice-of-day-pin.is-dismissed {
    display: none;
}

/* Ana sayfa: Günün Sesi açılış örtüsü */
html.voice-of-day-splash-active {
    overflow: hidden;
}
html.voice-of-day-splash-active .page-layout {
    visibility: hidden;
}
.voice-of-day-splash {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding:
        max(16px, env(safe-area-inset-top, 0px))
        max(16px, env(safe-area-inset-right, 0px))
        max(20px, env(safe-area-inset-bottom, 0px))
        max(16px, env(safe-area-inset-left, 0px));
    box-sizing: border-box;
}
.voice-of-day-splash.is-leaving {
    pointer-events: none;
}
.voice-of-day-splash__backdrop {
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--bg, #f7f4ee) 72%, #0c0a08 28%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.voice-of-day-splash__sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.55;
    background:
        radial-gradient(circle at 18% 22%, color-mix(in srgb, var(--accent) 28%, transparent) 0%, transparent 42%),
        radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--accent2, var(--accent)) 22%, transparent) 0%, transparent 38%),
        radial-gradient(circle at 50% 88%, color-mix(in srgb, var(--accent) 18%, transparent) 0%, transparent 45%);
}
.voice-of-day-splash__stage {
    position: relative;
    z-index: 1;
    width: min(100%, 440px);
    margin: 0 auto;
}
.voice-of-day--splash {
    margin: 0;
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent),
        0 24px 64px color-mix(in srgb, var(--accent) 18%, transparent),
        0 12px 36px rgba(0, 0, 0, 0.12);
}
.voice-of-day--splash .voice-of-day__inner {
    padding: 28px 24px 26px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55) inset,
        0 10px 32px rgba(0, 0, 0, 0.1);
}
.voice-of-day--splash .voice-of-day__badge {
    font-size: clamp(1.15rem, 4.5vw, 1.45rem);
    letter-spacing: 0.04em;
}
.voice-of-day--splash .voice-of-day__badge-icon {
    font-size: 1.15em;
}
.voice-of-day--splash .voice-of-day__quote--splash,
.voice-of-day--splash .voice-of-day__quote {
    font-size: clamp(1.05rem, 4.2vw, 1.22rem);
    line-height: 1.55;
    margin: 0 0 14px;
    padding: 0;
    border: none;
    border-left: none;
    font-style: normal;
}
.voice-of-day--splash .voice-of-day__meta--splash {
    margin-bottom: 10px;
}
.voice-of-day__body--splash-static {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: default;
}
.voice-of-day__body--splash-static:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}
.voice-of-day__cta--splash-link {
    display: inline-block;
    margin-top: 4px;
    cursor: pointer;
    text-decoration: none;
}
.voice-of-day__cta--splash-link:hover {
    text-decoration: underline;
}
.voice-of-day-splash__skip {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 10px 20px;
    border: 1px solid color-mix(in srgb, var(--border, #e5e0d5) 80%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg, #f7f4ee) 88%, transparent);
    color: var(--text-muted, #6b6560);
    font: inherit;
    font-size: 0.88rem;
    cursor: pointer;
    opacity: 1;
    transform: none;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.voice-of-day-splash__skip:hover {
    color: var(--text, #1a1816);
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border, #e5e0d5));
}
.voice-of-day-splash__skip:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
@keyframes vod-splash-backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes vod-splash-card-in {
    from {
        opacity: 0;
        transform: scale(0.88) translateY(22px);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}
@keyframes vod-splash-skip-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes vod-splash-backdrop-out {
    from { opacity: 1; }
    to { opacity: 0; }
}
@keyframes vod-splash-card-out {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
    to {
        opacity: 0;
        transform: scale(1.04) translateY(-12px);
        filter: blur(4px);
    }
}
.voice-of-day-splash__backdrop {
    animation: vod-splash-backdrop-in 0.55s ease forwards;
}
.voice-of-day-splash__stage .voice-of-day {
    animation: vod-splash-card-in 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.voice-of-day-splash__skip {
    animation: vod-splash-skip-in 0.45s ease 0.35s both;
}
.voice-of-day-splash.is-leaving .voice-of-day-splash__backdrop {
    animation: vod-splash-backdrop-out 0.68s ease forwards;
}
.voice-of-day-splash.is-leaving .voice-of-day-splash__stage .voice-of-day {
    animation: vod-splash-card-out 0.68s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.voice-of-day-splash.is-leaving .voice-of-day-splash__skip {
    opacity: 0;
    transition: opacity 0.2s ease;
}
@media (prefers-reduced-motion: reduce) {
    .voice-of-day-splash__backdrop,
    .voice-of-day-splash__stage .voice-of-day,
    .voice-of-day-splash__skip,
    .voice-of-day-splash.is-leaving .voice-of-day-splash__backdrop,
    .voice-of-day-splash.is-leaving .voice-of-day-splash__stage .voice-of-day {
        animation-duration: 0.01ms;
        animation-delay: 0ms;
        filter: none;
    }
}

/* Akış: yukarı çık + ana sayfa (sabit alt çubuk) */
.feed-floating-actions {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    z-index: 125;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(12px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}
.feed-floating-actions.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.feed-floating-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border: 1px solid color-mix(in srgb, var(--border) 70%, var(--accent) 30%);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 78%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.feed-floating-action:hover {
    background: color-mix(in srgb, var(--surface) 92%, var(--accent) 8%);
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border) 55%);
}
.feed-floating-action:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
    outline-offset: 2px;
}
.feed-floating-action__icon {
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    flex-shrink: 0;
}
.feed-floating-action--home .feed-floating-action__icon {
    color: var(--accent);
}

/* Yukarı çık · Aşağı in — aynı görünüm ve renk */
.feed-floating-action--top,
.feed-floating-action--down {
    border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
    background: color-mix(in srgb, var(--surface) 72%, transparent);
    color: var(--text);
}

.feed-floating-action--top:hover,
.feed-floating-action--down:hover {
    background: color-mix(in srgb, var(--surface) 92%, var(--accent) 8%);
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border) 55%);
}

.feed-floating-action--top .feed-floating-action__icon,
.feed-floating-action--down .feed-floating-action__icon {
    color: var(--accent);
}

.feed-floating-actions--dual .feed-floating-action {
    min-width: 9.5rem;
    justify-content: center;
}

.feed-floating-actions--dual .feed-floating-action[hidden] {
    display: none !important;
}

.feed-floating-actions--dual.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
@media (max-width: 780px) {
    body.rankings-drawer-open .feed-floating-actions {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    .feed-floating-actions {
        bottom: max(14px, env(safe-area-inset-bottom, 0px));
        gap: 6px;
    }
    .feed-floating-action {
        padding: 9px 14px;
        font-size: 12px;
    }
    .feed-floating-action__label {
        max-width: 7.5rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
.voice-of-day__inner {
    position: relative;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    padding: 16px 40px 18px 18px;
    border-radius: calc(var(--radius) + 2px);
    background: var(--surface);
    border: 1px solid color-mix(in srgb, var(--border) 88%, var(--accent) 12%);
}
.voice-of-day__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--border) 90%, var(--muted));
    border-radius: 50%;
    background: color-mix(in srgb, var(--surface) 92%, var(--bg));
    color: var(--muted);
    font-size: 20px;
    line-height: 1;
    font-family: var(--font-body);
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.voice-of-day__close:hover {
    color: var(--text);
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
    background: var(--surface);
}
.voice-of-day__close:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--accent) 70%, var(--text));
    outline-offset: 2px;
}
.voice-of-day__head {
    margin-bottom: 12px;
    padding-right: 4px;
    min-width: 0;
    max-width: 100%;
}
.voice-of-day__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--text);
    line-height: 1.2;
}
.voice-of-day__badge-icon {
    display: inline-flex;
    font-size: 1rem;
    color: var(--accent);
    animation: voice-of-day-sparkle 2.2s ease-in-out infinite;
}
@keyframes voice-of-day-sparkle {
    0%, 100% { opacity: 0.65; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.15) rotate(12deg); }
}
.voice-of-day__sub {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.4;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.voice-of-day__body {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border-radius: calc(var(--radius) + 1px);
    padding: 14px 14px 12px;
    background: color-mix(in srgb, var(--bg) 92%, var(--accent) 8%);
    border: 1px solid color-mix(in srgb, var(--border) 90%, var(--accent) 10%);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.voice-of-day__body:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
    box-shadow: 0 8px 28px color-mix(in srgb, var(--accent) 14%, transparent);
    transform: translateY(-1px);
}
.voice-of-day__body:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--accent) 70%, var(--text));
    outline-offset: 3px;
}
.voice-of-day__quote {
    margin: 0 0 14px;
    padding: 0 0 0 14px;
    border: none;
    border-left: 3px solid color-mix(in srgb, var(--accent) 75%, var(--accent2));
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-style: italic;
    line-height: 1.55;
    color: var(--text);
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.voice-of-day__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-bottom: 10px;
    min-width: 0;
    max-width: 100%;
}
.voice-of-day__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(145deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #fff6dc));
    box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 35%, transparent);
    flex-shrink: 0;
}
.voice-of-day__author {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    min-width: 0;
    flex: 1 1 auto;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.voice-of-day__likes {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
}
.voice-of-day__cta {
    display: block;
    max-width: 100%;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--accent) 85%, var(--text));
    overflow-wrap: anywhere;
    word-break: break-word;
}
.voice-of-day--empty .voice-of-day__inner {
    background: color-mix(in srgb, var(--surface) 96%, var(--muted));
}
.voice-of-day--empty .voice-of-day__badge-icon {
    animation: none;
    opacity: 0.5;
}
.voice-of-day__empty {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}
@media (prefers-reduced-motion: reduce) {
    .voice-of-day,
    .voice-of-day__glow,
    .voice-of-day__badge-icon {
        animation: none;
    }
}
@media (max-width: 780px) {
    .voice-of-day__quote {
        font-size: 1.05rem;
    }
    .voice-of-day__likes {
        margin-left: 0;
        width: 100%;
    }
}
html[data-theme="dark"] body.layout-home-compact .feed-voice-of-day-pin .voice-of-day__inner {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 10px 32px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .voice-of-day__inner {
    background: color-mix(in srgb, var(--surface) 94%, #1a1814);
}
html[data-theme="dark"] .voice-of-day__body {
    background: rgba(28, 27, 23, 0.65);
    border-color: rgba(120, 112, 96, 0.45);
}
html[data-theme="dark"] .voice-of-day__body:hover {
    border-color: rgba(201, 168, 76, 0.45);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

/* Sağ sütun: il / ilçe özeti — ana akış kartlarıyla uyumlu, sakin yüzey */
.rank-geo-buzz {
    position: relative;
    margin-bottom: 14px;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: none;
    overflow: hidden;
}
.rank-geo-buzz::before {
    display: none;
}
.rank-geo-buzz-head {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    padding-left: 2px;
}
.rank-geo-buzz-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text);
    margin: 0 0 4px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}
.rank-geo-buzz-kicker {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0;
    line-height: 1.35;
    opacity: 0.92;
}
.rank-geo-buzz-hero {
    text-align: left;
    margin-bottom: 0;
    padding: 12px 12px 14px;
    border-radius: calc(var(--radius) + 1px);
    background: color-mix(in srgb, var(--bg) 94%, var(--accent) 6%);
    border: 1px solid color-mix(in srgb, var(--border) 92%, var(--accent) 8%);
}
.rank-geo-buzz-hero-caption {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    margin: 0 0 6px;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.rank-geo-buzz-hero-name {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 12px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.rank-geo-buzz-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: stretch;
}
.rank-geo-buzz-metric {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 10px 10px 9px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    min-width: 0;
}
a.rank-geo-buzz-metric {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
a.rank-geo-buzz-metric:hover {
    border-color: color-mix(in srgb, var(--border) 65%, var(--accent) 35%);
    background: color-mix(in srgb, var(--surface) 90%, var(--accent) 10%);
}
a.rank-geo-buzz-metric.is-active {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border) 55%);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent);
}
.rank-geo-buzz-metric-value {
    font-size: 1.05rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--text);
    line-height: 1.1;
}
.rank-geo-buzz-metric-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.02em;
}
.rank-geo-buzz-metric-dot {
    display: none;
}
.rank-geo-buzz-weekly {
    font-size: 12px;
    color: var(--muted);
    margin: 12px 0 0;
    line-height: 1.45;
    padding: 8px 0 0;
    text-align: left;
    border: none;
    border-top: 1px dashed color-mix(in srgb, var(--border) 88%, var(--muted) 12%);
    border-radius: 0;
    background: transparent;
}
.rank-geo-buzz-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 9px 14px;
    margin-top: 12px;
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: none;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.rank-geo-buzz-cta:hover {
    color: var(--text);
    border-color: color-mix(in srgb, var(--border) 55%, var(--accent) 45%);
    background: color-mix(in srgb, var(--bg) 88%, var(--accent) 12%);
    filter: none;
    transform: none;
    box-shadow: none;
}
.rank-geo-buzz .rank-card.rank-geo-buzz-card {
    margin-top: 14px;
    margin-bottom: 0;
    padding: 16px 16px 14px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: none;
    text-align: start;
}
.rank-geo-buzz .rank-card.rank-geo-buzz-card--featured {
    margin-top: 0;
    margin-bottom: 14px;
}
.rank-geo-leaders .rank-card::before {
    display: none;
}
.rank-geo-buzz .rank-card.rank-geo-buzz-card .rank-badge {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.12em;
}
.rank-geo-buzz .rank-card.rank-geo-buzz-card .rank-text {
    color: var(--text);
}
.rank-geo-buzz .rank-card.rank-geo-buzz-card .rank-author {
    color: var(--muted);
}
.rank-geo-buzz .rank-card.rank-geo-buzz-card .rank-likes {
    color: var(--accent2);
    font-weight: 600;
}
.rank-geo-buzz .rank-card.rank-geo-buzz-card:last-child {
    margin-bottom: 0;
}
.rank-geo-buzz-empty {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.45;
    margin: 0;
    padding-top: 6px;
    text-align: center;
}

.msg-action-comment {
    font-size: 13px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    border-radius: 999px;
    padding: 6px 9px;
    cursor: pointer;
    line-height: 1;
    flex-shrink: 0;
}
.msg-action-comment:hover {
    border-color: var(--border);
    transform: translateY(-1px);
}
.msg-action-comment--link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.header-notif { position: relative; }
.header-notif-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    cursor: pointer;
}
.header-notif-btn:hover { border-color: var(--border); }
.header-notif-icon,
.header-inbox-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
.header-action-icon-svg {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.header-notif-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}
.header-notif-dropdown,
.header-inbox-dropdown,
.header-alert-dropdown {
    position: fixed;
    left: 0;
    right: auto;
    top: 0;
    width: min(360px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    box-sizing: border-box;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
    padding: 10px;
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
    visibility: hidden;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 450;
}
.header-notif-dropdown.is-open,
.header-inbox-dropdown.is-open,
.header-alert-dropdown.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}
.header-notif-dd-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 6px 6px 10px;
}
.header-notif-empty { padding: 10px 6px 12px; color: var(--muted); font-size: 13px; }
.header-notif-item {
    display: block;
    text-decoration: none;
    color: var(--text);
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 10px 10px 9px;
}
.header-notif-item:hover {
    border-color: var(--border);
    background: color-mix(in srgb, var(--accent) 6%, transparent);
}
.header-notif-item.is-unread { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.header-notif-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
}
.header-notif-item-line {
    font-weight: 700;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    flex: 1 1 auto;
}
.header-notif-item-body {
    font-size: 13px;
    margin-top: 6px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    color: var(--muted);
}

.header-inbox { position: relative; }
.header-inbox-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}
.header-inbox-btn:hover {
    border-color: var(--border);
    color: var(--text);
    background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.header-inbox-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.header-notif-btn:hover {
    cursor: pointer;
}
.header-notif-icon .header-action-icon-svg,
.header-inbox-icon .header-action-icon-svg {
    pointer-events: none;
}
.header-inbox-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--accent2);
    color: #fff;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}
.header-inbox-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}
.header-inbox-dd-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 6px 6px 10px;
}
.header-inbox-empty { padding: 10px 6px 12px; color: var(--muted); font-size: 13px; }
.header-inbox-item {
    display: block;
    text-decoration: none;
    color: var(--text);
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 10px 10px 9px;
}
.header-inbox-item:hover {
    border-color: var(--border);
    background: color-mix(in srgb, var(--accent) 6%, transparent);
}
.header-inbox-item.is-unread { border-color: rgba(217, 79, 56, 0.35); }
.header-inbox-item-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
}
.header-inbox-item-name { font-weight: 700; color: var(--text); }
.header-inbox-item-body {
    font-size: 13px;
    margin-top: 6px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.header-inbox-more {
    display: block;
    text-align: center;
    padding: 10px 8px 6px;
    color: var(--accent);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

/* Gelen kutusu (/inbox, /inbox/...) */
body.layout-inbox .page-layout.page-layout--single.inbox-page {
    max-width: min(960px, calc(100vw - 40px));
    width: 100%;
    padding: 28px 32px 48px;
}
body.layout-inbox .inbox-page .auth-subtitle {
    max-width: none;
}
body.layout-inbox-thread .page-layout.page-layout--single.thread-page {
    max-width: min(960px, calc(100vw - 40px)) !important;
    width: 100%;
    gap: 16px;
    padding-top: 20px;
    padding-bottom: 32px;
}
body.layout-inbox-thread .thread-page {
    width: 100%;
    min-width: 0;
}
body.layout-inbox-thread .thread-page .auth-header {
    display: none;
}
@media (max-width: 640px) {
    body.layout-inbox .page-layout.page-layout--single.inbox-page,
    body.layout-inbox-thread .page-layout.page-layout--single.thread-page {
        max-width: none !important;
        padding: 16px 14px 28px;
    }
}

.inbox-list { display: flex; flex-direction: column; gap: 10px; }
.inbox-item {
    display: block;
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    background: var(--surface);
}
.inbox-item.is-unread { border-color: rgba(217, 79, 56, 0.35); }
.inbox-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}
.inbox-item-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.inbox-item-name { font-weight: 800; }
.inbox-item-meta { font-size: 12px; color: var(--muted); }
.inbox-item-badge {
    font-size: 11px;
    background: rgba(217, 79, 56, 0.12);
    color: var(--accent2);
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 800;
}
.inbox-item-time { font-size: 12px; color: var(--muted); white-space: nowrap; }
.inbox-item-context { margin-top: 8px; font-size: 12px; color: var(--muted); }
.inbox-item-ctx-label { font-weight: 700; }
.inbox-item-body {
    margin-top: 8px;
    font-size: 14px;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.inbox-row {
    position: relative;
}
.inbox-row-check {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.inbox-row-check input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent);
}
.inbox-list--bulk-mode .inbox-item {
    pointer-events: none;
    padding-right: 42px;
    user-select: none;
}
.inbox-bulk-toolbar {
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.inbox-bulk-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    flex: 1;
}
.inbox-bulk-panel.hidden {
    display: none !important;
}
.inbox-bulk-hint {
    font-size: 13px;
    color: var(--muted);
    flex: 1 1 200px;
    line-height: 1.4;
}
.inbox-bulk-form-hidden {
    display: none;
}
.thread-tool-btn.inbox-bulk-enter {
    font-weight: 700;
}

/* Konuşma (/inbox/thread) */
.thread-page {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.thread-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 2px 12px color-mix(in srgb, var(--text) 4%, transparent);
}
.thread-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    flex: 1 1 100%;
}
.thread-back:hover {
    text-decoration: underline;
}
.thread-back__icon {
    font-size: 15px;
    line-height: 1;
}
.thread-header__main {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
}
.thread-avatar {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 18%, var(--bg));
    border: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.thread-header__text {
    min-width: 0;
}
.thread-header__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
}
.thread-header__meta {
    margin: 4px 0 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}
.thread-header__block-form {
    margin: 0;
    flex-shrink: 0;
}
.thread-header__block-btn {
    border: 1px solid color-mix(in srgb, var(--accent2) 40%, var(--border));
    background: color-mix(in srgb, var(--accent2) 8%, var(--surface));
    color: var(--accent2);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-body);
}
.thread-header__block-btn:hover {
    border-color: var(--accent2);
    background: color-mix(in srgb, var(--accent2) 14%, var(--surface));
}
.thread-flash {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.45;
}
.thread-flash--error {
    border: 1px solid color-mix(in srgb, var(--accent2) 45%, var(--border));
    background: color-mix(in srgb, var(--accent2) 10%, var(--surface));
    color: var(--text);
}
.thread-flash--success {
    border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
    background: color-mix(in srgb, var(--accent) 10%, var(--surface));
}
.thread-context-card {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
    background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}
.thread-context-card__label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}
.thread-context-card__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
}
.thread-context-hint {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--muted);
    padding: 0 4px;
}
.thread-chat {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: min(52vh, 480px);
    max-height: min(72vh, 640px);
    border: 1px solid var(--border);
    border-radius: 18px;
    background: color-mix(in srgb, var(--bg) 92%, var(--surface));
    box-shadow: 0 4px 24px color-mix(in srgb, var(--text) 6%, transparent);
    overflow: hidden;
}
.thread-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    flex: 1 1 auto;
    min-height: 240px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 20px 18px 16px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    background:
        radial-gradient(ellipse 120% 80% at 50% 0%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 55%),
        color-mix(in srgb, var(--bg) 96%, var(--surface));
}
.thread-list > .thread-bubble {
    flex: 0 0 auto;
    flex-shrink: 0;
    position: relative;
    isolation: isolate;
}
.thread-empty {
    margin: auto;
    text-align: center;
    padding: 32px 20px;
    color: var(--muted);
}
.thread-empty__icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.55;
}
.thread-empty p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}
.thread-bubble {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: none;
    border-radius: 16px;
    padding: 11px 14px 10px;
    box-sizing: border-box;
    width: auto;
    max-width: min(82%, 28rem);
    min-width: min(100%, 3.5rem);
    overflow: visible;
    box-shadow: 0 1px 4px color-mix(in srgb, var(--text) 8%, transparent);
}
.thread-bubble.is-mine {
    align-self: flex-end;
    margin-left: auto;
    margin-right: 0;
    background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 22%, var(--surface)), color-mix(in srgb, var(--accent) 12%, var(--surface)));
    border-bottom-right-radius: 4px;
}
.thread-bubble.is-theirs {
    align-self: flex-start;
    margin-left: 0;
    margin-right: auto;
    background: var(--surface);
    border: 1px solid color-mix(in srgb, var(--border) 90%, var(--accent) 10%);
    border-bottom-left-radius: 4px;
}
.thread-bubble__sender {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: color-mix(in srgb, var(--accent) 70%, var(--muted));
    padding: 0 2px;
}
.thread-bubble-meta {
    font-size: 11px;
    color: var(--muted);
    display: flex;
    gap: 6px 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.thread-bubble-time {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.thread-bubble-actions {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.thread-bubble-delete-wrap {
    display: inline;
    margin-left: auto;
}
.thread-bubble-delete {
    border: none;
    background: transparent;
    color: var(--accent2);
    cursor: pointer;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 2px;
    padding: 0;
    font-weight: 700;
}
.thread-bubble-delete:hover { color: var(--text); }
.thread-dot { opacity: 0.6; }
.thread-bubble-body {
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: anywhere;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.thread-bubble-text {
    white-space: pre-wrap;
}
.thread-bubble-media {
    display: block;
    margin-top: 8px;
    max-width: 100%;
    min-width: 0;
    line-height: 0;
}
.thread-bubble-body .thread-bubble-text + .thread-bubble-media {
    margin-top: 10px;
}
.thread-bubble-image-link {
    display: block;
    max-width: 100%;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
}
.thread-bubble-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: min(220px, 40vh);
    object-fit: scale-down;
    object-position: center;
    background: color-mix(in srgb, var(--surface) 92%, var(--text) 8%);
}
.thread-list .thread-bubble:has(.thread-bubble-media) {
    width: auto;
    max-width: min(82%, 20rem);
}
@media (max-width: 640px) {
    .thread-bubble {
        max-width: min(88%, 100%);
    }
    .thread-list .thread-bubble:has(.thread-bubble-media) {
        max-width: min(88%, 18rem);
    }
    .thread-bubble-image {
        max-height: min(180px, 34vh);
    }
}
.thread-image-compose {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0 4px;
}
.thread-image-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.thread-image-pick {
    cursor: pointer;
    margin: 0;
    font-size: 13px;
}
.thread-image-preview {
    position: relative;
    max-width: 160px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.thread-image-preview.hidden {
    display: none;
}
.thread-image-preview img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: cover;
}
.thread-image-preview-clear {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.thread-bubble-reply-ref {
    margin: 0 0 8px;
    padding: 7px 9px 8px;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--border) 85%, var(--accent) 15%);
    background: color-mix(in srgb, var(--surface) 88%, var(--accent) 12%);
}
.thread-bubble-reply-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}
.thread-bubble-reply-snippet {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    color: var(--text);
    font-style: italic;
    margin: 0;
    padding: 0;
    quotes: none;
}
.thread-bubble-reply-btn {
    border: 1px solid color-mix(in srgb, var(--border) 70%, var(--accent) 30%);
    background: color-mix(in srgb, var(--surface) 92%, var(--accent) 8%);
    color: var(--accent);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    margin-left: 4px;
}
.thread-bubble-reply-btn:hover {
    border-color: var(--accent);
    color: var(--text);
}
.thread-bubble-edit-btn {
    border: 1px solid color-mix(in srgb, var(--border) 72%, var(--accent2) 28%);
    background: color-mix(in srgb, var(--surface) 92%, var(--accent2) 8%);
    color: var(--accent2);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    margin-left: 4px;
}
.thread-bubble-edit-btn:hover {
    border-color: var(--accent2);
    color: var(--text);
}
.thread-bubble.is-editing .thread-bubble-edit-btn {
    opacity: 0.6;
    pointer-events: none;
}
.thread-bubble-inline-edit {
    margin-top: 8px;
    display: grid;
    gap: 8px;
}
.thread-bubble-inline-textarea {
    width: 100%;
    min-height: 74px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    padding: 8px 10px;
    font: inherit;
    line-height: 1.45;
    resize: vertical;
}
.thread-bubble-inline-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}
.thread-bubble-inline-save,
.thread-bubble-inline-cancel {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 12px;
    background: var(--surface);
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.thread-bubble-inline-save {
    border-color: color-mix(in srgb, var(--accent) 55%, var(--border) 45%);
    color: var(--accent);
}
.thread-bubble-inline-save:hover {
    border-color: var(--accent);
}
.thread-bubble-inline-cancel:hover {
    border-color: var(--muted);
}
.thread-bubble-like {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
    border: none;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 6px;
}
.thread-bubble-like:hover {
    color: var(--accent2);
    background: color-mix(in srgb, var(--accent2) 8%, transparent);
}
.thread-bubble-like.is-liked {
    color: var(--accent2);
}
.thread-bubble-like.is-liked .thread-like-icon {
    transform: scale(1.05);
}
.thread-like-icon {
    font-size: 13px;
    line-height: 1;
}
.thread-like-count {
    min-width: 1rem;
    text-align: left;
    font-variant-numeric: tabular-nums;
}
.thread-reply-context {
    margin: 0 0 10px;
    padding: 10px 10px 10px 12px;
    border-radius: var(--radius);
    border: 1px solid color-mix(in srgb, var(--border) 75%, var(--accent) 25%);
    background: color-mix(in srgb, var(--surface) 90%, var(--accent) 10%);
}
.thread-reply-context.hidden {
    display: none;
}
.thread-reply-context-inner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.thread-reply-context-text {
    flex: 1 1 auto;
    min-width: 0;
}
.thread-reply-context-banner {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}
.thread-reply-context-quote {
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text);
    font-style: italic;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.thread-reply-context-clear {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0;
}
.thread-reply-context-clear:hover {
    color: var(--text);
    border-color: var(--accent);
}
.thread-composer {
    flex-shrink: 0;
    padding: 12px 14px 14px;
    border-top: 1px solid var(--border);
    background: var(--surface);
}
.thread-reply {
    margin: 0;
    position: relative;
    overflow: visible;
    border: none;
    background: transparent;
    padding: 0;
    box-shadow: none;
}
.thread-textarea,
.thread-compose-input {
    resize: none;
    min-height: 44px;
    max-height: 120px;
    overflow-y: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg);
    line-height: 1.45;
    padding: 10px 12px;
}
.thread-textarea:focus,
.thread-compose-input:focus {
    border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
    outline: none;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 18%, transparent);
}
.thread-compose-hint {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    flex: 1 1 auto;
    min-width: 0;
}
.thread-reply-footer.compose-footer {
    margin-top: 10px;
    flex-wrap: wrap;
    gap: 8px 12px;
}
.thread-reply .thread-send { margin-top: 0; }
.thread-emoji-btn {
    border-radius: 999px;
}
.thread-image-pick {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px dashed color-mix(in srgb, var(--border) 80%, var(--accent) 20%);
    background: color-mix(in srgb, var(--bg) 90%, var(--surface));
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.thread-image-pick:hover {
    border-color: var(--accent);
    color: var(--text);
}
.thread-image-pick__icon {
    font-size: 14px;
    line-height: 1;
}
@media (max-width: 640px) {
    .thread-chat {
        min-height: min(50vh, 400px);
        max-height: min(65vh, 520px);
    }
    .thread-list {
        padding: 16px 12px 12px;
        gap: 12px;
    }
    .thread-header__block-form {
        flex: 1 1 100%;
    }
    .thread-header__block-btn {
        width: 100%;
        text-align: center;
    }
}

.thread-blocked-card {
    margin: 16px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--accent2) 35%, var(--border));
    background: color-mix(in srgb, var(--accent2) 8%, var(--surface));
}
.thread-blocked-card p {
    margin: 0 0 12px;
    line-height: 1.45;
}
.thread-unblock-form {
    margin: 0;
}
.thread-unblock-form .thread-tool-btn {
    margin-top: 0;
}

.thread-tools { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.thread-delete-form { display: inline; }
.thread-tool-btn {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 700;
}
.thread-tool-btn.is-danger {
    border-color: rgba(217, 79, 56, 0.35);
    background: rgba(217, 79, 56, 0.08);
    color: var(--accent2);
}

.comment-modal.hidden { display: none; }
.comment-modal {
    position: fixed;
    inset: 0;
    z-index: 400;
    box-sizing: border-box;
    padding: max(12px, env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.comment-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.comment-modal__panel {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: min(520px, 100%);
    margin-left: auto;
    margin-right: auto;
    margin-top: max(24px, 8vh);
    margin-bottom: max(24px, 8vh);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - max(24px, env(safe-area-inset-top, 0px)) - max(24px, env(safe-area-inset-bottom, 0px)));
    overflow-y: auto;
}
.comment-modal__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.comment-modal__title { font-weight: 900; }
.comment-modal__close { border: none; background: transparent; font-size: 22px; cursor: pointer; color: var(--muted); }
.comment-modal__preview { font-size: 12px; color: var(--muted); margin-top: 8px; }
.comment-modal__textarea {
    width: 100%;
    margin-top: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 12px;
    font-family: var(--font-body);
    font-size: 14px;
    background: var(--input-bg);
    color: var(--text);
}
.comment-modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.comment-modal__btn {
    border: none;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 800;
    cursor: pointer;
    background: var(--accent);
    color: #fff;
}
.comment-modal__btn--secondary { background: transparent; border: 1px solid var(--border); color: var(--text); }
.comment-modal__error { margin-top: 10px; color: #b91c1c; font-size: 13px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
    border-top: 1px solid var(--border);
    width: 100%;
    max-width: none;
    font-size: 12px;
    color: var(--muted);
    font-style: italic;
    box-sizing: border-box;
}
.site-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
    text-align: center;
    box-sizing: border-box;
}
body.layout-home-compact .site-footer,
body.layout-home-compact.layout-home-alt .site-footer {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}
body.layout-home-compact .site-footer__inner {
    max-width: var(--home-content-max);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: var(--home-content-pad-x);
    padding-right: var(--home-content-pad-x);
    box-sizing: border-box;
}
body.layout-guest-home .site-footer__inner,
body.layout-viewport-shell.layout-guest-home .site-footer__inner,
body.layout-auth-guest-footer.layout-viewport-shell .site-footer__inner,
.site-footer--guest-home .site-footer__inner {
    max-width: var(--home-content-max, 840px);
    padding-left: var(--home-content-pad-x, 16px);
    padding-right: var(--home-content-pad-x, 16px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.site-footer--guest-home .site-footer__inner > p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 100%;
    max-width: 100%;
}
.site-footer--guest-home .site-footer-nav {
    justify-content: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Üst/alt çubuk: ana sayfa ölçüsü — panel, profil, gelen kutusu vb. (layout-auth) ile aynı */
body.layout-home-compact .site-header,
body.layout-auth .site-header {
    padding: 10px 0;
}
body.layout-home-compact .logo-text,
body.layout-auth .logo-text {
    font-size: 19px;
}
body.layout-home-compact .logo-icon,
body.layout-auth .logo-icon {
    font-size: 18px;
}
body.layout-home-compact .header-tagline,
body.layout-auth .header-tagline {
    font-size: 11px;
    line-height: 1.35;
}

/* ── Ana sayfa (giriş): ayrı üst çubuk ───────────────────────────────── */
.site-header--home-auth {
    padding: 12px 0;
}
.header-inner--home-auth {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}
.header-home-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}
.header-home-top .logo {
    min-width: 0;
    flex: 1 1 auto;
}
.header-home-top .logo-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header-home-quick {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.header-home-greet {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    min-width: 0;
}
.header-home-greet .header-welcome {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    text-align: left;
    max-width: 100%;
}
.header-home-greet .header-welcome__greet::after {
    content: " ·";
}
.header-home-greet .header-welcome__name {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    max-width: min(100%, 14rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header-home-compose:empty {
    display: none;
}
.header-home-compose .btn-compose-open--action {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 600;
}
.header-home-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 10px;
    margin-top: 2px;
    border-top: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
    width: 100%;
    background: transparent;
}
.header-home-menu .header-nav-icons {
    justify-content: center;
    width: 100%;
    gap: 10px;
}
.header-home-menu-logout {
    display: inline-flex;
    margin: 0;
    width: auto;
}
.header-home-menu-logout .btn-header-login {
    width: auto;
    box-sizing: border-box;
    justify-content: center;
    padding: 6px 14px;
    font-size: 12px;
}

/* Ana sayfa (üye): Ara · Favoriler · Hesabım · Çıkış — dikdörtgen, metinli (diğer sayfalar gibi) */
body.header-home-auth .header-nav-icons .header-action-link,
body.header-home-auth .header-home-menu-logout .btn-header-login.header-action-link {
    position: static;
    width: auto;
    height: auto;
    min-width: 0;
    padding: 6px 14px;
    border-radius: var(--radius);
    gap: 6px;
}

body.header-home-auth .header-action-link__icon {
    display: none;
}

body.header-home-auth .header-action-link__label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
    border: 0;
}

/* Inbox / bildirimler: Ara · Favorilerim · Hesabım ana sayfa gibi dikdörtgen */
body.layout-inbox .header-nav-icons .header-action-link,
body.layout-inbox-thread .header-nav-icons .header-action-link,
body.layout-notifications .header-nav-icons .header-action-link {
    position: static;
    width: auto;
    height: auto;
    min-width: 0;
    padding: 6px 14px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
    border-radius: var(--radius);
    gap: 6px;
}

body.layout-inbox .header-action-link__icon,
body.layout-inbox-thread .header-action-link__icon,
body.layout-notifications .header-action-link__icon {
    display: none;
}

body.layout-inbox .header-action-link__label,
body.layout-inbox-thread .header-action-link__label,
body.layout-notifications .header-action-link__label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
    border: 0;
}

body.layout-inbox .header-account-logout,
body.layout-inbox-thread .header-account-logout,
body.layout-notifications .header-account-logout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

body.layout-inbox .header-nav-icons,
body.layout-inbox-thread .header-nav-icons,
body.layout-notifications .header-nav-icons {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    gap: 8px;
}

body.layout-inbox .header-account-logout > .header-logout-form,
body.layout-inbox-thread .header-account-logout > .header-logout-form,
body.layout-notifications .header-account-logout > .header-logout-form {
    display: inline-flex;
    margin: 0;
    width: auto;
}

body.layout-inbox .header-account-logout > .header-logout-form .btn-header-login,
body.layout-inbox-thread .header-account-logout > .header-logout-form .btn-header-login,
body.layout-notifications .header-account-logout > .header-logout-form .btn-header-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    height: auto;
    padding: 6px 14px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface) 94%, var(--bg));
    color: var(--text);
}

body.layout-inbox .header-account-logout > .header-logout-form .btn-header-login:hover,
body.layout-inbox-thread .header-account-logout > .header-logout-form .btn-header-login:hover,
body.layout-notifications .header-account-logout > .header-logout-form .btn-header-login:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
    background: color-mix(in srgb, var(--accent) 10%, var(--surface));
}

@media (max-width: 640px) {
    body.layout-auth.layout-inbox:not(.header-home-auth) .header-account-logout,
    body.layout-auth.layout-inbox-thread:not(.header-home-auth) .header-account-logout,
    body.layout-auth.layout-notifications:not(.header-home-auth) .header-account-logout {
        grid-area: menu;
        grid-column: 1 / -1;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 4px 0 0;
        padding-top: 10px;
        border-top: 1px solid var(--border);
        gap: 8px;
    }
    body.layout-auth.layout-inbox:not(.header-home-auth) .header-nav-icons,
    body.layout-auth.layout-inbox-thread:not(.header-home-auth) .header-nav-icons,
    body.layout-auth.layout-notifications:not(.header-home-auth) .header-nav-icons {
        justify-content: center;
        width: auto;
        gap: 8px;
    }
    body.layout-auth.layout-inbox:not(.header-home-auth) .header-account-logout > .header-logout-form,
    body.layout-auth.layout-inbox-thread:not(.header-home-auth) .header-account-logout > .header-logout-form,
    body.layout-auth.layout-notifications:not(.header-home-auth) .header-account-logout > .header-logout-form {
        display: inline-flex;
        width: auto;
        margin: 0;
    }
}

body.header-home-auth .header-home-menu {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    overflow: visible;
    min-width: 0;
    width: 100%;
}

body.header-home-auth .header-home-menu .header-nav-icons {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
    min-width: 0;
}

body.header-home-auth .header-nav-icons__start,
body.header-home-auth .header-nav-icons__center {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.header-home-auth .header-home-menu-logout {
    display: inline-flex;
    margin: 0;
}

body.header-home-auth {
    --header-home-nav-gap: 8px;
    --header-home-nav-btn-min-h: 2.5rem;
}

body.header-home-auth.layout-home-compact {
    --home-sticky-top: 64px;
    --home-vp-chrome: 118px;
}
@media (max-width: 640px) {
    body.header-home-auth.layout-home-compact {
        --home-sticky-top: 58px;
        --home-vp-chrome: 168px;
    }

    body.header-home-auth .header-home-compose.is-compose-scroll-hidden {
        display: none !important;
    }

    body.header-home-auth .header-home-compose.is-compose-scroll-hidden + .header-home-menu {
        padding-top: 8px;
        margin-top: 0;
    }

    body.header-home-auth .header-home-menu {
        justify-content: stretch;
        padding-bottom: 2px;
    }

    body.header-home-auth .header-home-menu .header-nav-icons {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        width: 100%;
        flex: 1 1 auto;
        min-width: 0;
        gap: var(--header-home-nav-gap);
        overflow: visible;
    }

    body.header-home-auth .header-nav-icons__start,
    body.header-home-auth .header-nav-icons__center,
    body.header-home-auth .header-home-menu-logout.header-logout-form {
        display: contents;
    }

    body.header-home-auth .header-nav-icons .header-action-link,
    body.header-home-auth .header-home-menu-logout .btn-header-login.header-action-link {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        max-width: none;
        align-self: stretch;
        min-height: var(--header-home-nav-btn-min-h);
        padding: 8px 6px;
        font-size: 11px;
        font-weight: 600;
        line-height: 1.2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
        white-space: nowrap;
    }

    body.header-home-auth .header-nav-icons .header-action-link__label {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    body.header-home-auth .header-action-link--logout {
        flex-shrink: 1;
    }
}

/* Inbox / bildirimler mobil: ana sayfadaki menü buton ölçü/hiza ile birebir */
@media (max-width: 640px) {
    body.layout-auth.layout-inbox:not(.header-home-auth) .header-account-logout,
    body.layout-auth.layout-inbox-thread:not(.header-home-auth) .header-account-logout,
    body.layout-auth.layout-notifications:not(.header-home-auth) .header-account-logout {
        grid-area: menu;
        grid-column: 1 / -1;
        display: flex;
        align-items: stretch;
        width: 100%;
        gap: 8px;
        margin: 4px 0 0;
        padding-top: 10px;
        border-top: 1px solid var(--border);
    }

    body.layout-auth.layout-inbox:not(.header-home-auth) .header-nav-icons,
    body.layout-auth.layout-inbox-thread:not(.header-home-auth) .header-nav-icons,
    body.layout-auth.layout-notifications:not(.header-home-auth) .header-nav-icons {
        display: flex;
        align-items: stretch;
        width: auto;
        flex: 1 1 auto;
        min-width: 0;
        gap: 8px;
        justify-content: stretch;
    }

    body.layout-auth.layout-inbox:not(.header-home-auth) .header-nav-icons .header-site-nav,
    body.layout-auth.layout-inbox-thread:not(.header-home-auth) .header-nav-icons .header-site-nav,
    body.layout-auth.layout-notifications:not(.header-home-auth) .header-nav-icons .header-site-nav {
        display: contents;
    }

    body.layout-auth.layout-inbox:not(.header-home-auth) .header-nav-icons .header-action-link,
    body.layout-auth.layout-inbox-thread:not(.header-home-auth) .header-nav-icons .header-action-link,
    body.layout-auth.layout-notifications:not(.header-home-auth) .header-nav-icons .header-action-link,
    body.layout-auth.layout-inbox:not(.header-home-auth) .header-account-logout > .header-logout-form .btn-header-login,
    body.layout-auth.layout-inbox-thread:not(.header-home-auth) .header-account-logout > .header-logout-form .btn-header-login,
    body.layout-auth.layout-notifications:not(.header-home-auth) .header-account-logout > .header-logout-form .btn-header-login {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        max-width: none;
        align-self: stretch;
        min-height: 2.5rem;
        padding: 8px 6px;
        font-size: 11px;
        font-weight: 600;
        line-height: 1.2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
        white-space: nowrap;
        border-radius: var(--radius);
        gap: 6px;
    }

    body.layout-auth.layout-inbox:not(.header-home-auth) .header-account-logout > .header-logout-form,
    body.layout-auth.layout-inbox-thread:not(.header-home-auth) .header-account-logout > .header-logout-form,
    body.layout-auth.layout-notifications:not(.header-home-auth) .header-account-logout > .header-logout-form {
        display: flex;
        flex: 1 1 0;
        width: auto;
        margin: 0;
        min-width: 0;
    }

    body.layout-auth.layout-inbox:not(.header-home-auth) .header-action-link__icon,
    body.layout-auth.layout-inbox-thread:not(.header-home-auth) .header-action-link__icon,
    body.layout-auth.layout-notifications:not(.header-home-auth) .header-action-link__icon {
        display: none;
    }

    body.layout-auth.layout-inbox:not(.header-home-auth) .header-action-link__label,
    body.layout-auth.layout-inbox-thread:not(.header-home-auth) .header-action-link__label,
    body.layout-auth.layout-notifications:not(.header-home-auth) .header-action-link__label {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        clip: auto;
        white-space: nowrap;
        border: 0;
        max-width: 100%;
    }
}

/* Çıkış: boyut diğer menü ile aynı, renk dolu altın (saydam değil) */
body.header-home-auth .header-action-link--logout.btn-header-login {
    background: var(--accent);
    color: #1f1c14;
    border: 1px solid color-mix(in srgb, var(--accent) 70%, #8a7330);
    box-shadow: none;
}

body.header-home-auth .header-action-link--logout.btn-header-login:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    background: var(--accent);
    color: #1f1c14;
    border-color: color-mix(in srgb, var(--accent) 70%, #8a7330);
}

html[data-theme="dark2"] body.header-home-auth .header-action-link--logout.btn-header-login {
    color: #0a0a0a;
}

html[data-theme="forest"] body.header-home-auth .header-action-link--logout.btn-header-login {
    color: #ffffff;
}

html[data-theme="dark"] body.header-home-auth .header-action-link--logout.btn-header-login {
    color: #fff;
}
@media (min-width: 641px) {
    .site-header--home-auth {
        padding: 10px 0;
    }
    .header-inner--home-auth {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 10px 14px;
        padding: 0 24px;
    }
    .header-home-top {
        flex: 0 0 auto;
        gap: 10px;
    }
    .header-home-top .logo-text {
        white-space: nowrap;
    }
    .header-home-greet {
        flex: 1 1 auto;
        justify-content: center;
        min-width: 5rem;
    }
    .header-home-greet .header-welcome {
        justify-content: center;
        text-align: center;
    }
    .header-home-greet .header-welcome__name {
        max-width: min(14rem, 42vw);
    }

    body.header-home-auth .header-home-greet .header-welcome {
        display: flex;
    }

    body.header-home-auth .header-home-greet .header-welcome__name {
        overflow: visible;
        text-overflow: clip;
    }
    .header-home-compose {
        flex: 0 0 auto;
    }
    .header-home-compose .btn-compose-open--action {
        width: auto;
        display: inline-block;
        padding: 8px 16px;
        font-size: 13px;
    }
    body.header-home-auth .header-home-menu {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
        margin-left: auto;
        padding-top: 0;
        border-top: none;
    }

    body.header-home-auth .header-home-menu .header-nav-icons {
        display: flex;
        flex: 0 0 auto;
        overflow: visible;
        justify-content: flex-end;
        gap: 8px;
        width: auto;
        grid-template-columns: unset;
    }

    body.header-home-auth .header-nav-icons__start,
    body.header-home-auth .header-nav-icons__center {
        display: inline-flex;
        justify-self: auto;
    }

    body.header-home-auth .header-home-menu-logout.header-logout-form {
        display: inline-flex;
    }

    .header-home-menu {
        flex: 0 0 auto;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
        padding-top: 0;
        border-top: none;
        width: auto;
        grid-template-columns: unset;
    }
    body.layout-auth .header-nav-icons .header-action-link {
        width: auto;
        height: auto;
        min-width: 0;
        padding: 6px 14px;
        border-radius: var(--radius);
        gap: 6px;
    }
    body.layout-auth .header-action-link__icon {
        display: none;
    }
    body.layout-auth .header-action-link__label {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        clip: auto;
        white-space: nowrap;
    }
    .header-home-menu .header-nav-icons {
        width: auto;
        justify-content: flex-end;
    }
    .header-home-menu-logout {
        width: auto;
    }
    .header-home-menu-logout .btn-header-login {
        width: auto;
        padding: 6px 14px;
    }
    body.header-home-auth.layout-home-compact {
        --home-sticky-top: 52px;
        --home-vp-chrome: 86px;
    }
}

/* Diğer sayfalar (giriş): tagline gizli ana sayfa hariç */
body.layout-home-compact:not(.header-home-auth) .header-right-primary {
    display: none;
}
@media (min-width: 641px) {
    body.layout-home-compact:not(.header-home-auth):not(.header-guest-home) .header-inner {
        flex-wrap: nowrap;
        gap: 10px 14px;
    }
    body.layout-home-compact:not(.header-home-auth):not(.header-guest-home) .header-mid {
        flex: 1 1 auto;
        justify-content: center;
        padding: 0 8px;
    }
}

body.layout-home-compact .btn-header-login:not(.header-action-link),
body.layout-auth .btn-header-login:not(.header-action-link) {
    padding: 6px 14px;
    font-size: 12px;
}
body.layout-auth .site-footer__inner {
    padding: 10px 18px;
    font-size: 11px;
}
body.layout-home-compact {
    --home-sticky-top: 52px;
    --home-vp-chrome: 86px;
    --home-content-max: 1100px;
    --home-content-pad-x: 18px;
}
body.layout-home-compact.layout-home-alt,
body.layout-guest-home.layout-home-compact {
    --home-content-max: 840px;
    --home-content-pad-x: 16px;
}
@media (min-width: 781px) {
    body.layout-home-compact.layout-home-alt {
        --home-content-max: 960px;
        --home-content-pad-x: 20px;
    }
}
@media (min-width: 681px) and (max-width: 780px) {
    body.layout-home-compact .page-layout {
        grid-template-columns: minmax(0, 1fr) minmax(232px, 280px);
        gap: 14px;
    }
}
body.layout-home-compact .page-layout {
    max-width: var(--home-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 8px var(--home-content-pad-x) 8px;
    gap: 18px;
    align-items: stretch;
    min-height: calc(100svh - var(--home-vp-chrome));
    box-sizing: border-box;
    width: 100%;
}
body.layout-home-compact .feed-column {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body.layout-home-compact .home-feed-switch--desktop-only {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
body.layout-home-compact .rankings-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}
body.layout-home-compact .rankings-sticky {
    position: sticky;
    top: var(--home-sticky-top);
    align-self: flex-start;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    max-height: calc(100dvh - var(--home-sticky-top) - 12px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 8px;
    background: var(--bg);
    z-index: 20;
}
body.layout-home-compact .rankings-sticky::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
@media (min-width: 781px) {
    body.layout-home-compact .rankings-drawer-body {
        flex: 0 0 auto;
        overflow: visible;
    }
}
body.layout-home-compact .rankings-sidebar-fill {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
}
body.layout-home-compact .rankings-sidebar-fill > .feed-toolbar--sidebar {
    flex: 0 0 auto;
    overflow: visible;
    margin-bottom: 0;
    margin-top: 0;
}
.rank-geo-leaders {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rank-geo-leader-head {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
}
.rank-geo-leader-scope {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    margin: 0;
    line-height: 1.35;
}
.rank-geo-leader-feed-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}
.rank-geo-leader-feed-link:hover {
    text-decoration: underline;
}
.rank-geo-leader-card--intercity .rank-badge {
    color: #8b6914;
}
.rank-geo-leader-card--city .rank-badge {
    color: #2d6a4f;
}
.rank-geo-leader-card--district .rank-badge {
    color: #5c4f8a;
}
body.layout-home-compact .compose-box {
    margin-bottom: 18px;
}
body.layout-home-compact .compose-box:has(#step-composer-idle:not(.hidden)),
body.layout-home-compact .compose-box:has(#compose-awaiting-admin:not(.hidden)) {
    padding: 12px 16px 10px;
}
body.layout-home-compact .compose-box:has(#step-login:not(.hidden)),
body.layout-home-compact .compose-box:has(#step-daily-lock:not(.hidden)) {
    padding: 18px 20px 20px;
}
body.layout-home-compact .compose-step--login-gate .wait-title {
    font-size: 1rem;
}
body.layout-home-compact .compose-step--login-gate .compose-hint.compose-login-gate__hint {
    font-size: 0.78rem;
}
body.layout-home-compact .compose-step--login-gate .compose-login-gate__cta {
    padding: 11px 16px;
    font-size: 0.84rem;
}
body.layout-home-compact .compose-step--login-gate .countdown.countdown--login-gate {
    font-size: 0.84rem;
    padding: 11px 16px;
}
body.layout-home-compact .messages-header {
    margin-bottom: 14px;
}
body.layout-home-compact .section-title {
    font-size: 19px;
}
body.layout-home-compact .rank-card {
    padding: 10px 12px 8px;
    margin-bottom: 8px;
}
body.layout-home-compact .rank-badge {
    margin-bottom: 5px;
    font-size: 9px;
    letter-spacing: 1.2px;
}
body.layout-home-compact .rank-text {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 6px;
    -webkit-line-clamp: 3;
}
body.layout-home-compact .rank-author {
    margin-bottom: 4px;
    font-size: 11px;
}
body.layout-home-compact .rank-likes {
    font-size: 11px;
}
body.layout-home-compact .rank-spotlight {
    min-height: 11.25rem;
}
body.layout-home-compact .rank-spotlight .rank-card.rank-card--spotlight {
    height: 11.25rem;
    min-height: 11.25rem;
    max-height: 11.25rem;
    padding: 12px 14px 10px;
}
body.layout-home-compact .rank-spotlight .rank-spotlight-meta {
    padding-top: 8px;
}
body.layout-home-compact .rank-spotlight .rank-author,
body.layout-home-compact .rank-spotlight .rank-likes {
    font-size: 11px;
}
body.layout-home-compact .rank-daily {
    margin-bottom: 0;
    flex-shrink: 0;
}
body.layout-home-compact .feed-toolbar {
    margin-bottom: 8px;
    padding: 8px 10px;
}
body.layout-home-compact .feed-toolbar--sidebar {
    padding: 8px 10px;
}
body.layout-home-compact .feed-toolbar--sidebar .feed-tabs {
    margin-bottom: 6px;
}
body.layout-home-compact .feed-tab {
    padding: 5px 11px;
    font-size: 12px;
}
body.layout-home-compact .feed-loc-grid {
    gap: 6px;
}
body.layout-home-compact .feed-loc-input,
body.layout-home-compact .feed-loc-select {
    padding: 6px 9px;
    font-size: 12px;
}
body.layout-home-compact .feed-loc-btn {
    padding: 7px 12px;
    font-size: 12px;
}
body.layout-home-compact .feed-loc-hint {
    margin-top: 5px;
    font-size: 10px;
    line-height: 1.35;
}
body.layout-home-compact .composer-login-card {
    padding: 10px 11px 12px;
}
body.layout-home-compact .composer-login-card .compose-label {
    margin-bottom: 6px;
    font-size: 10px;
}
body.layout-home-compact .composer-login-card .compose-label-spaced {
    margin-top: 10px;
}
body.layout-home-compact .composer-login-card .compose-input {
    padding: 9px 11px;
    font-size: 13px;
}
body.layout-home-compact .composer-login-card .composer-login-card__hint {
    margin-top: 4px;
    font-size: 10px;
}
body.layout-home-compact .composer-session-card {
    padding: 10px 11px 12px;
}
body.layout-home-compact .composer-session-card__timer {
    margin-top: 10px;
    padding: 10px 10px 11px;
}
body.layout-home-compact .composer-session-card__clock.countdown--compact {
    font-size: 18px;
}
body.layout-home-compact .composer-session-card__footer.wait-session-hint {
    margin-top: 10px !important;
    font-size: 11px !important;
}
body.layout-home-compact .compose-geo-panel {
    margin-top: 12px;
    padding-top: 12px;
}
body.layout-home-compact #compose-geo-panel .compose-input-block {
    margin-bottom: 6px;
}
@media (max-width: 780px) {
    body.layout-home-compact,
    body.layout-auth {
        min-height: 0;
    }
    body.layout-home-compact {
        --home-sticky-top: 0px;
        --home-vp-chrome: 72px;
    }
    body.layout-home-compact .page-layout {
        min-height: 0;
        gap: 8px;
    }
    body.layout-home-compact .rankings-sticky {
        min-height: 0;
        gap: 6px;
    }
    body.layout-home-compact .feed-toolbar--sidebar .feed-tabs {
        margin-bottom: 4px;
    }
    body.layout-home-compact .messages-header {
        margin-bottom: 10px;
    }
    body.layout-home-compact .rankings-column .rank-card:last-child {
        margin-bottom: 4px;
    }
    body.layout-home-compact .rank-spotlight {
        margin-bottom: 8px;
        min-height: 11.25rem;
    }
    body.layout-home-compact .rank-spotlight .rank-card.rank-card--spotlight {
        height: 11.25rem;
        min-height: 11.25rem;
        max-height: 11.25rem;
    }
    body.layout-home-compact .rank-geo-buzz {
        margin-bottom: 8px;
    }
    body.layout-home-compact #sidebar-align-spacer {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
    }
    body.layout-home-compact .rankings-mobile-bar {
        display: none;
    }
    body.layout-home-compact .rankings-fab {
        display: flex;
    }
    body.layout-home-compact.rankings-drawer-open .rankings-fab {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    body.layout-home-compact:not(.layout-home-alt) .rankings-column {
        position: fixed;
        inset: 0;
        z-index: 1200;
        width: auto;
        max-width: none;
        min-width: 0;
        margin: 0;
        padding: 0;
        pointer-events: none;
        visibility: hidden;
        order: unset !important;
    }
    body.layout-home-compact:not(.layout-home-alt) .rankings-column.is-open {
        pointer-events: auto;
        visibility: visible;
    }
    body.layout-home-compact:not(.layout-home-alt) .rankings-drawer-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(12, 10, 8, 0.28);
        opacity: 0;
        transition: opacity 0.25s ease;
    }
    body.layout-home-compact .rankings-column.is-open .rankings-drawer-backdrop {
        opacity: 1;
    }
    body.layout-home-compact .rankings-drawer-panel.rankings-sticky {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(340px, 92vw);
        height: 100dvh;
        max-height: 100dvh;
        min-height: 0;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        flex: none;
        align-self: auto;
        background: color-mix(in srgb, var(--bg) 82%, transparent);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-left: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
        box-shadow: -6px 0 28px rgba(0, 0, 0, 0.08);
        transform: translateX(100%);
        transition: transform 0.28s ease;
    }
    body.layout-home-compact .rankings-drawer-head {
        flex-shrink: 0;
        margin: 0;
        padding: 12px 14px 10px;
        background: color-mix(in srgb, var(--bg) 75%, transparent);
    }
    body.layout-home-compact .rankings-drawer-body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        touch-action: pan-y;
        padding: 0 14px 24px;
    }
    body.layout-home-compact .rankings-column.is-open .rankings-drawer-panel {
        transform: translateX(0);
    }
    body.layout-home-compact .rankings-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        border-bottom: 1px solid color-mix(in srgb, var(--border) 65%, transparent);
    }
    body.layout-home-compact .rankings-drawer-title {
        font-family: var(--font-display);
        font-size: 1.05rem;
        font-weight: 700;
        margin: 0;
        line-height: 1.25;
    }
    body.layout-home-compact .rankings-drawer-close {
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        border: 1px solid var(--border);
        border-radius: 50%;
        background: var(--surface);
        color: var(--text);
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
    }
    body.layout-home-compact.rankings-drawer-open {
        overflow: hidden;
    }
    body.layout-home-compact .rankings-drawer-panel .rank-spotlight {
        margin-bottom: 10px;
    }
    body.layout-home-compact .feed-toolbar--sidebar {
        margin-bottom: 10px;
    }
    body.layout-home-compact .rank-geo-buzz {
        margin-bottom: 10px;
    }
    body.layout-home-compact .rankings-drawer-feed-tools {
        margin-bottom: 10px;
    }
}

/* Profil: dil + tema (/me) */
.profile-preferences {
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.profile-pref-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}
.profile-pref-label {
    margin: 0 !important;
    flex-shrink: 0;
}
/* Aynı satır düzeni: Dil / Görünüm pill dış çerçevesi aynı genişlik */
.profile-preferences .theme-switch-bar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}
.profile-preferences .theme-switch-bar-label {
    flex: 0 0 11rem;
    width: 11rem;
    box-sizing: border-box;
}
.profile-preferences .theme-switch-form {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
}
.profile-preferences .theme-switch-btn {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
}
@media (max-width: 780px) {
    .profile-preferences .theme-switch-bar,
    .profile-preferences .lang-locale-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .profile-preferences .theme-switch-bar-label {
        flex: none;
        width: auto;
        max-width: none;
    }
    .profile-preferences .theme-switch-form {
        flex: none;
        width: 100%;
        min-width: 0;
        display: grid;
        overflow: hidden;
        border-radius: var(--radius);
    }
    .profile-preferences .lang-locale-bar .theme-switch-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .profile-preferences .theme-switch-bar:not(.lang-locale-bar) .theme-switch-form {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .profile-preferences .theme-switch-btn {
        flex: none;
        width: 100%;
        min-width: 0;
        padding: 10px 6px;
        font-size: 12px;
        line-height: 1.25;
    }
}

.profile-display-username {
    margin-bottom: 16px;
}
.profile-display-username-hint,
.profile-display-username-warn {
    margin: 0 0 10px;
}
.profile-display-username-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    max-width: 22rem;
}
.profile-display-username-label {
    font-size: 14px;
    font-weight: 600;
}
.profile-display-username-btn {
    margin-top: 4px;
}

.profile-notify-email-form {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.profile-notify-email-label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    cursor: pointer;
    line-height: 1.45;
}
.profile-notify-email-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}
.profile-notify-email-hint {
    margin: 0 0 0 26px;
    font-size: 12px;
    max-width: 36rem;
}
.profile-notify-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 10px 0 0 26px;
    width: 100%;
    max-width: 36rem;
}
.profile-notify-email-btn,
.profile-push-enable-btn {
    margin: 0;
}
.profile-me-tabs {
    margin: 14px 0 12px;
}
.profile-me-tab-panel[hidden] {
    display: none !important;
}
.profile-me-tab-panel .member-achievements {
    margin-top: 0;
}
.notifications-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 16px;
}
.notifications-clear-form {
    margin: 0;
    flex-shrink: 0;
}
.notifications-page-flash {
    margin: 0 0 12px;
}

.theme-switch-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 4px;
}
.theme-switch-bar-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.theme-switch-form {
    display: inline-flex;
    flex-wrap: wrap;
    border-radius: 999px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--surface);
}
.theme-switch-btn {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border: none;
    cursor: pointer;
    background: transparent;
    color: var(--muted);
    transition: background 0.15s, color 0.15s;
}
.theme-switch-btn:hover {
    color: var(--text);
    background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.theme-switch-btn.is-active {
    background: color-mix(in srgb, var(--accent) 22%, transparent);
    color: var(--text);
}
.theme-switch-hint {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 6px 0;
    line-height: 1.35;
}

/* Üçüncü tema (Koyu 2): siyah zemin, altın vurgu */
html[data-theme="dark2"] {
    color-scheme: dark;
    --bg-base: #0a0a0a;
    --bg: #0a0a0a;
    --bg-muted: #111111;
    --surface: #141414;
    --card: #1a1a1a;
    --glass: #141414;
    --glass-strong: #1c1c1c;
    --glass-border: #3d3528;
    --border: #3d3528;
    --border-strong: #c5a059;
    --text: #f5f0e6;
    --muted: #9a9080;
    --accent: #c5a059;
    --accent2: #d4af37;
    --daily: #c5a059;
    --weekly: #8fa88a;
    --monthly: #b8942e;
    --spotlight: #d4af37;
    --warm: #c9a227;
    --rose: #c97070;
    --header-bg: #0a0a0a;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --input-bg: #1a1a1a;
    --compose-gate-bg: #141414;
    --compose-gate-border: #3d3528;
    --compose-gate-topbar: #c5a059;
    --compose-gate-muted: #9a9080;
    --compose-gate-cta: #c5a059;
    --compose-gate-cta-hover: #d4af37;
    --shadow-glass: 0 4px 24px rgba(0, 0, 0, 0.55);
    --shadow-float: 0 12px 40px rgba(0, 0, 0, 0.6);
}
html[data-theme="dark2"] .header-welcome__greet {
    color: var(--muted);
}
html[data-theme="dark2"] .header-welcome__name {
    color: var(--text);
}
html[data-theme="dark2"] .theme-switch-btn:hover {
    background: color-mix(in srgb, var(--accent) 14%, transparent);
}
html[data-theme="dark2"] .theme-switch-btn.is-active {
    background: color-mix(in srgb, var(--accent) 24%, transparent);
    color: var(--text);
}
html[data-theme="dark2"] .btn-compose-open--action {
    border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
    background: transparent;
    color: var(--accent);
}
html[data-theme="dark2"] .btn-compose-open--action:hover {
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    border-color: var(--accent);
    color: var(--accent2);
}
html[data-theme="dark2"] .btn-header-login:not(.btn-header-secondary) {
    background: var(--accent);
    color: #0a0a0a;
    border: 1px solid color-mix(in srgb, var(--accent) 80%, #8a7330);
    box-shadow: none;
}
html[data-theme="dark2"] .btn-header-login.btn-header-secondary {
    background: transparent;
    color: var(--text);
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}
html[data-theme="dark2"] .btn-header-login.btn-header-secondary:hover {
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    border-color: var(--accent);
    color: var(--accent);
}
html[data-theme="dark2"] .section-title {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--accent);
}
html[data-theme="dark2"] .weekly-theme-card__label {
    color: color-mix(in srgb, var(--accent) 88%, var(--muted));
}
html[data-theme="dark2"] .message-card,
html[data-theme="dark2"] .compose-box,
html[data-theme="dark2"] .home-feed-switch {
    background: var(--surface);
    border-color: var(--border);
}
html[data-theme="dark2"] .voice-of-day {
    background: linear-gradient(
        125deg,
        color-mix(in srgb, var(--accent) 12%, var(--surface)) 0%,
        var(--surface) 48%,
        color-mix(in srgb, var(--accent) 8%, var(--bg)) 100%
    );
}
html[data-theme="dark2"] .compose-wait-timer__label,
html[data-theme="dark2"] .header-countdown-label {
    color: var(--accent);
}
html[data-theme="dark2"] .compose-wait-timer__time,
html[data-theme="dark2"] .header-countdown-time {
    border-color: color-mix(in srgb, var(--accent) 30%, var(--border) 70%);
    background: color-mix(in srgb, var(--accent) 11%, var(--surface) 89%);
    color: var(--text);
}
html[data-theme="dark2"] .header-countdown {
    border-color: color-mix(in srgb, var(--accent) 24%, var(--border) 76%);
    background: color-mix(in srgb, var(--surface) 90%, var(--bg) 10%);
}
html[data-theme="dark2"] .feed-tab.is-active {
    background: color-mix(in srgb, var(--accent) 16%, var(--surface) 84%);
    border-color: color-mix(in srgb, var(--accent) 42%, var(--border) 58%);
    color: var(--text);
}
html[data-theme="dark2"] .feed-sort-tab.is-active {
    background: color-mix(in srgb, var(--accent) 16%, var(--surface) 84%);
    border-color: color-mix(in srgb, var(--accent) 42%, var(--border) 58%);
    color: var(--text);
}
html[data-theme="dark2"] .feed-sort-tab.is-active[href*="sort=likes"] {
    background: color-mix(in srgb, var(--accent2) 14%, var(--surface) 86%);
    border-color: color-mix(in srgb, var(--accent2) 40%, var(--border) 60%);
    color: color-mix(in srgb, var(--accent2) 80%, var(--text) 20%);
}
html[data-theme="dark2"] .feed-sort-tab.feed-voice-of-day-restore {
    border-color: color-mix(in srgb, var(--warm) 48%, var(--border) 52%);
    background: color-mix(in srgb, var(--warm) 16%, var(--surface) 84%);
    color: var(--warm);
}
html[data-theme="dark2"] .feed-sort-tab.feed-voice-of-day-restore:hover {
    background: color-mix(in srgb, var(--warm) 26%, var(--surface) 74%);
    border-color: var(--warm);
}
html[data-theme="dark2"] .btn-like.liked,
html[data-theme="dark2"] .like-static.liked {
    border-color: var(--rose);
    color: var(--rose);
    background: color-mix(in srgb, var(--rose) 10%, transparent);
}
html[data-theme="dark2"] .btn-like:hover {
    border-color: var(--rose);
    color: var(--rose);
}
html[data-theme="dark2"] .message-card:hover {
    border-color: color-mix(in srgb, var(--accent) 36%, var(--border) 64%);
}
html[data-theme="dark2"] .rank-geo-buzz {
    border-color: color-mix(in srgb, var(--accent) 22%, var(--border) 78%);
    background: color-mix(in srgb, var(--surface) 82%, var(--bg) 18%);
}
html[data-theme="dark2"] .rank-geo-buzz .rank-card.rank-geo-buzz-card .rank-badge {
    color: var(--accent);
}
html[data-theme="dark2"] .rank-geo-buzz .rank-card.rank-geo-buzz-card .rank-likes {
    color: var(--accent2);
}
html[data-theme="dark2"] .rank-geo-leader-feed-link {
    color: var(--spotlight);
}
html[data-theme="dark2"] .rank-geo-leader-card--intercity .rank-badge {
    color: var(--warm);
}
html[data-theme="dark2"] .rank-geo-leader-card--city .rank-badge {
    color: var(--accent);
}
html[data-theme="dark2"] .rank-geo-leader-card--district .rank-badge {
    color: var(--monthly);
}
html[data-theme="dark2"] .rank-geo-leader-card--intercity .rank-likes {
    color: var(--accent2);
}
html[data-theme="dark2"] .rank-geo-leader-card--city .rank-likes {
    color: var(--weekly);
}
html[data-theme="dark2"] .rank-geo-leader-card--district .rank-likes {
    color: var(--monthly);
}
html[data-theme="dark2"] .rank-geo-buzz-cta {
    color: var(--accent2);
    border-color: color-mix(in srgb, var(--accent2) 42%, var(--border) 58%);
}
html[data-theme="dark2"] .rank-geo-buzz-cta:hover {
    border-color: var(--accent2);
    background: color-mix(in srgb, var(--accent2) 12%, var(--surface) 88%);
}
html[data-theme="dark2"] .rank-spotlight .rank-card::before {
    background: var(--border);
}
html[data-theme="dark2"] .rank-spotlight .rank-daily .rank-badge,
html[data-theme="dark2"] .rank-spotlight .rank-weekly .rank-badge,
html[data-theme="dark2"] .rank-spotlight .rank-monthly .rank-badge,
html[data-theme="dark2"] .rank-spotlight .rank-yearly .rank-badge,
html[data-theme="dark2"] .rank-spotlight .rank-feed .rank-badge {
    color: var(--muted);
}
html[data-theme="dark2"] .voice-of-day__badge-icon {
    color: var(--warm);
}
html[data-theme="dark2"] .voice-of-day__likes {
    color: var(--rose);
}
html[data-theme="dark2"] .voice-of-day__cta {
    color: var(--spotlight);
}
html[data-theme="dark2"] body.layout-home-compact .feed-voice-of-day-pin .voice-of-day__inner {
    border-color: color-mix(in srgb, var(--border) 68%, var(--accent) 32%);
    box-shadow: 0 8px 26px color-mix(in srgb, var(--accent) 14%, transparent);
}
html[data-theme="dark2"] .auth-gesture-card {
    border-color: color-mix(in srgb, var(--accent) 26%, var(--border) 74%);
    background: linear-gradient(160deg, color-mix(in srgb, var(--bg) 75%, var(--surface) 25%), var(--surface));
}
html[data-theme="dark2"] .share-card {
    border-color: color-mix(in srgb, var(--accent) 24%, var(--border) 76%);
    background: linear-gradient(160deg, color-mix(in srgb, var(--bg) 80%, var(--surface) 20%), var(--surface));
    box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 10%, transparent);
}

/* Orman: açık adaçayı zemin, canlı yeşil vurgu (krem temaya benzer yapı) */
html[data-theme="forest"] {
    color-scheme: light;
    --bg-base: #f0f6f2;
    --bg: #f0f6f2;
    --bg-muted: #e4efe8;
    --surface: #fafdfa;
    --card: #ffffff;
    --glass: #fafdfa;
    --glass-strong: #ffffff;
    --glass-border: #d0e4d8;
    --border: #c8ddd2;
    --border-strong: #7eb896;
    --text: #1e2d25;
    --muted: #5c7266;
    --accent: #3d9468;
    --accent2: #5cb884;
    --daily: #3d9468;
    --weekly: #2f7d58;
    --monthly: #4a9b6e;
    --yearly: #b86a4a;
    --spotlight: #5cb884;
    --warm: #7eb896;
    --rose: #c75d48;
    --header-bg: rgba(240, 246, 242, 0.94);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --input-bg: #ffffff;
    --compose-gate-bg: #f6fbf8;
    --compose-gate-border: #d0e4d8;
    --compose-gate-topbar: #3d9468;
    --compose-gate-muted: #5c7266;
    --compose-gate-cta: #3d9468;
    --compose-gate-cta-hover: #2f7d58;
    --shadow-glass: 0 2px 12px rgba(30, 60, 45, 0.06), 0 1px 0 rgba(255, 255, 255, 0.85) inset;
    --shadow-float: 0 10px 32px rgba(30, 60, 45, 0.1);
}
html[data-theme="forest"] body {
    background-color: var(--bg);
    background-image: radial-gradient(
        ellipse 110% 70% at 50% -12%,
        color-mix(in srgb, var(--accent) 14%, #ffffff),
        transparent 58%
    );
}
html[data-theme="forest"] .header-welcome__greet {
    color: var(--muted);
}
html[data-theme="forest"] .header-welcome__name {
    color: var(--text);
}
html[data-theme="forest"] .theme-switch-btn:hover {
    background: color-mix(in srgb, var(--accent) 14%, transparent);
}
html[data-theme="forest"] .theme-switch-btn.is-active {
    background: color-mix(in srgb, var(--accent) 24%, transparent);
    color: var(--text);
}
html[data-theme="forest"] .btn-compose-open--action {
    border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
    background: transparent;
    color: var(--accent);
}
html[data-theme="forest"] .btn-compose-open--action:hover {
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    border-color: var(--accent);
    color: var(--accent2);
}
html[data-theme="forest"] .btn-header-login:not(.btn-header-secondary) {
    background: var(--accent);
    color: #ffffff;
    border: 1px solid color-mix(in srgb, var(--accent) 85%, #2f7d58);
    box-shadow: none;
}
html[data-theme="forest"] .btn-header-login.btn-header-secondary {
    background: transparent;
    color: var(--text);
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}
html[data-theme="forest"] .btn-header-login.btn-header-secondary:hover {
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    border-color: var(--accent);
    color: var(--accent);
}
html[data-theme="forest"] .section-title {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--accent);
}
html[data-theme="forest"] .weekly-theme-card__label {
    color: color-mix(in srgb, var(--accent) 88%, var(--muted));
}
html[data-theme="forest"] .message-card,
html[data-theme="forest"] .compose-box,
html[data-theme="forest"] .home-feed-switch,
html[data-theme="forest"] .weekly-theme-card,
html[data-theme="forest"] .feed-engagement-banner {
    background: var(--surface);
    border-color: var(--border);
}
html[data-theme="forest"] .voice-of-day {
    background: linear-gradient(
        125deg,
        color-mix(in srgb, var(--accent) 8%, var(--surface)) 0%,
        var(--surface) 100%
    );
}
html[data-theme="forest"] .compose-wait-timer__label,
html[data-theme="forest"] .header-countdown-label {
    color: var(--accent);
}
html[data-theme="forest"] .compose-wait-timer__time,
html[data-theme="forest"] .header-countdown-time {
    border-color: color-mix(in srgb, var(--accent) 30%, var(--border) 70%);
    background: color-mix(in srgb, var(--accent) 11%, var(--surface) 89%);
    color: var(--text);
}
html[data-theme="forest"] .header-countdown {
    border-color: color-mix(in srgb, var(--accent) 24%, var(--border) 76%);
    background: color-mix(in srgb, var(--surface) 90%, var(--bg) 10%);
}
html[data-theme="forest"] .feed-tab.is-active {
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
    color: color-mix(in srgb, var(--accent) 92%, var(--text));
}
html[data-theme="forest"] .feed-sort-tab.is-active {
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
    color: color-mix(in srgb, var(--accent) 92%, var(--text));
}
html[data-theme="forest"] .btn-like.liked,
html[data-theme="forest"] .like-static.liked {
    background: color-mix(in srgb, var(--rose) 14%, var(--surface));
    border-color: color-mix(in srgb, var(--rose) 35%, var(--border));
    color: var(--rose);
}
html[data-theme="forest"] .message-card:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}
html[data-theme="forest"] .rank-geo-buzz {
    border-color: color-mix(in srgb, var(--accent) 22%, var(--border) 78%);
    background: color-mix(in srgb, var(--surface) 82%, var(--bg) 18%);
}
html[data-theme="forest"] body.layout-home-compact .feed-voice-of-day-pin .voice-of-day__inner {
    border-color: color-mix(in srgb, var(--border) 68%, var(--accent) 32%);
    box-shadow: 0 8px 26px color-mix(in srgb, var(--accent) 14%, transparent);
}

html[data-theme="dark"] {
    color-scheme: dark;
    --bg-base: #18181b;
    --bg: #18181b;
    --bg-muted: #27272a;
    --surface: #27272a;
    --card: #3f3f46;
    --glass: #27272a;
    --glass-strong: #3f3f46;
    --glass-border: #52525b;
    --border: #3f3f46;
    --border-strong: #52525b;
    --text: #fafafa;
    --muted: #a1a1aa;
    --accent: #d4d4d8;
    --accent2: #a1a1aa;
    --daily: #d4d4d8;
    --weekly: #a1a1aa;
    --monthly: #e4e4e7;
    --spotlight: #d4d4d8;
    --warm: #a8a29e;
    --rose: #a1a1aa;
    --header-bg: #18181b;
    --input-bg: #27272a;
    --shadow-glass: 0 4px 20px rgba(0, 0, 0, 0.35);
    --shadow-float: 0 12px 36px rgba(0, 0, 0, 0.4);
    --compose-gate-bg: #27272a;
    --compose-gate-border: var(--border);
    --compose-gate-topbar: #71717a;
    --compose-gate-muted: var(--muted);
    --compose-gate-cta: #52525b;
    --compose-gate-cta-hover: #71717a;
}
html[data-theme="dark"] .theme-switch-btn:hover {
    background: color-mix(in srgb, var(--accent) 14%, transparent);
}
html[data-theme="dark"] .theme-switch-btn.is-active {
    background: color-mix(in srgb, var(--accent) 28%, transparent);
}
html[data-theme="dark"] .header-welcome__greet {
    color: var(--muted);
}
html[data-theme="dark"] .header-welcome__name {
    color: var(--text);
}
html[data-theme="dark"] .compose-wait-timer__label { color: var(--accent); }
html[data-theme="dark"] .compose-wait-timer__time {
    border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
    color: var(--text);
}
html[data-theme="dark"] .btn-compose-open--action {
    border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--accent) 20%, var(--surface)) 0%,
        color-mix(in srgb, var(--accent) 8%, var(--surface)) 100%
    );
    color: var(--text);
}
html[data-theme="dark"] .btn-compose-open--action:hover {
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--accent) 30%, var(--surface)) 0%,
        color-mix(in srgb, var(--accent) 14%, var(--surface)) 100%
    );
    color: #fff;
}
html[data-theme="dark"] .header-countdown {
    border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
    background: color-mix(in srgb, var(--surface) 88%, var(--bg));
    color: var(--text);
}
html[data-theme="dark"] .header-countdown-label { color: var(--accent); }
html[data-theme="dark"] .header-countdown-time {
    border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
    color: var(--text);
}
html[data-theme="dark"] .btn-header-login.btn-header-secondary:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}
html[data-theme="dark"] .auth-gesture-card {
    border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
    background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 8%, var(--surface)), var(--surface));
}
html[data-theme="dark"] .header-guest-pitch {
    border-color: color-mix(in srgb, var(--accent) 32%, var(--border));
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, transparent) 0%, color-mix(in srgb, var(--surface) 60%, var(--bg)) 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
html[data-theme="dark"] .auth-gesture-text { color: var(--text); }
html[data-theme="dark"] .auth-gesture-author { color: var(--muted); }
html[data-theme="dark"] .auth-gesture-meta { color: var(--accent); }
html[data-theme="dark"] .auth-card {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 16px 48px rgba(0, 0, 0, 0.45),
        0 4px 14px rgba(0, 0, 0, 0.3);
}
html[data-theme="dark"] .auth-status {
    background: rgba(107, 196, 154, 0.12);
    border-color: rgba(107, 196, 154, 0.32);
    color: #a8e0c4;
}
html[data-theme="dark"] .auth-input:focus {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent);
}
html[data-theme="dark"] .btn-google {
    background: rgba(36, 34, 30, 0.95);
    border-color: rgba(120, 112, 96, 0.45);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .btn-google:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
    background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}
html[data-theme="dark"] .auth-oauth-divider::before,
html[data-theme="dark"] .auth-oauth-divider::after {
    background: rgba(120, 112, 96, 0.4);
}
html[data-theme="dark"] .message-card:hover { border-color: color-mix(in srgb, var(--accent) 42%, var(--border)); }
html[data-theme="dark"] .message-card-footer {
    border-top-color: rgba(80, 74, 64, 0.65);
}
html[data-theme="dark"] .message-own-actions {
    border-top-color: rgba(80, 74, 64, 0.55);
}
html[data-theme="dark"] .rank-geo-buzz {
    background: var(--surface);
    border-color: var(--border);
    box-shadow: none;
}
html[data-theme="dark"] .rank-geo-buzz-head {
    border-bottom-color: rgba(80, 74, 64, 0.55);
}
html[data-theme="dark"] .rank-geo-buzz-hero {
    background: rgba(28, 27, 23, 0.55);
    border-color: rgba(80, 74, 64, 0.55);
}
html[data-theme="dark"] .rank-geo-buzz-metric {
    background: var(--surface);
    border-color: rgba(80, 74, 64, 0.55);
}
html[data-theme="dark"] a.rank-geo-buzz-metric:hover {
    border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
    background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}
html[data-theme="dark"] a.rank-geo-buzz-metric.is-active {
    border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent);
}
html[data-theme="dark"] .rank-geo-buzz-weekly {
    color: var(--muted);
    border-top-color: rgba(80, 74, 64, 0.45);
}
html[data-theme="dark"] .rank-geo-buzz-cta {
    color: var(--text);
    background: var(--surface);
    border-color: rgba(80, 74, 64, 0.55);
    box-shadow: none;
}
html[data-theme="dark"] .rank-geo-buzz-cta:hover {
    color: var(--text);
    border-color: color-mix(in srgb, var(--accent) 38%, var(--border));
    background: color-mix(in srgb, var(--accent) 8%, var(--surface));
    filter: none;
    box-shadow: none;
}
html[data-theme="dark"] .rank-geo-buzz .rank-card.rank-geo-buzz-card {
    background: var(--surface);
    border-color: rgba(80, 74, 64, 0.55);
}
html[data-theme="dark"] .share-card {
    border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
    background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 6%, var(--surface)), var(--surface));
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.dashboard-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
@media (max-width: 560px) {
    .dashboard-mini-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }
    .dashboard-mini-stat {
        padding: 8px 6px;
    }
    .dashboard-mini-stat-label {
        font-size: 10px;
        line-height: 1.2;
    }
    .dashboard-mini-stat-num {
        font-size: 17px;
        margin-top: 2px;
    }
}
.dashboard-mini-stat-label {
    font-size: 13px;
    color: var(--muted);
}
.dashboard-mini-stat-num {
    font-weight: 900;
    font-size: 22px;
    color: var(--text);
    margin-top: 4px;
}
.dashboard-mini-stat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
}
.dashboard-mini-stats--member {
    margin-top: 0;
    margin-bottom: 8px;
}
.dashboard-mini-stats.dashboard-mini-stats--member {
    gap: 5px;
}
.dashboard-mini-stats--member .dashboard-mini-stat {
    padding: 5px 6px;
}
.dashboard-mini-stats--member .dashboard-mini-stat-label {
    font-size: 11px;
    line-height: 1.15;
}
.dashboard-mini-stats--member .dashboard-mini-stat-num {
    font-size: 19px;
    margin-top: 1px;
    line-height: 1.05;
}
.auth-links--member-footer {
    margin-top: 22px;
    padding-top: 0;
    border-top: none;
    justify-content: center;
}

.profile-msg-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    background: var(--surface);
    word-break: break-word;
    overflow-wrap: anywhere;
}
.profile-msg-card-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.profile-msg-card-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    flex-shrink: 0;
}
.profile-msg-card-actions .share-shortcuts {
    display: inline-flex;
}
.profile-msg-delete-form {
    display: inline;
    margin: 0;
}
.profile-msg-delete-btn {
    border: 0;
    padding: 0;
    margin: 0;
    background: none;
    font: inherit;
    cursor: pointer;
    text-align: inherit;
}
.composer-unlimited-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 14px;
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--border));
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--accent) 18%, var(--bg)) 0%,
        var(--bg) 70%
    );
}
.composer-unlimited-notice--compact {
    padding: 10px 12px;
    margin-bottom: 10px;
}
.composer-unlimited-notice--compact .composer-unlimited-notice__icon {
    width: 30px;
    height: 30px;
    font-size: 16px;
}
.composer-unlimited-notice--compact .composer-unlimited-notice__title {
    font-size: 14px;
    margin-bottom: 2px;
}
.composer-unlimited-notice--compact .composer-unlimited-notice__lead {
    font-size: 12px;
}
.composer-unlimited-notice__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 22%, transparent);
}
.composer-unlimited-notice__title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}
.composer-unlimited-notice__lead {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}
.compose-unlimited-hint {
    color: var(--accent);
    font-weight: 600;
}
.header-composer-unlimited-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--accent) 50%, var(--border));
    background: color-mix(in srgb, var(--accent) 14%, var(--bg));
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--accent);
    white-space: nowrap;
}
.header-composer-unlimited-pill__icon {
    font-size: 14px;
    line-height: 1;
}

.profile-me-flash {
    margin: 0 0 6px;
    color: var(--accent);
}

/* PWA — ana ekrana ekle (A8) */
.pwa-install-hint {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    z-index: 11000;
}
.pwa-install-hint.hidden {
    display: none !important;
}
.pwa-install-hint__inner {
    display: flex;
    align-items: center;
    gap: 10px 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
    background: color-mix(in srgb, var(--surface) 96%, var(--bg));
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
}
.pwa-install-hint__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(42, 40, 36, 0.12);
}
.pwa-install-hint__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pwa-install-hint__title {
    font-size: 13px;
    font-weight: 700;
}
.pwa-install-hint__sub {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.35;
}
.pwa-install-hint__actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.pwa-install-hint__btn {
    padding: 7px 12px;
    font-size: 12px;
}
.pwa-install-hint__close {
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
}
@media (min-width: 781px) {
    .pwa-install-hint {
        left: auto;
        right: 20px;
        bottom: 20px;
        max-width: 360px;
    }
}

/* Mobil: ana sayfa ve genel sade görünüm */
@media (max-width: 640px) {
    body.layout-home-compact .page-layout {
        padding: 14px 12px 20px;
        gap: 10px;
    }
    body.layout-home-compact .feed-engagement-banner,
    body.layout-home-compact .weekly-theme-card {
        padding: 14px 14px 12px;
        margin-bottom: 10px;
    }
    body.layout-home-compact .weekly-theme-card__title {
        font-size: 1.1rem;
    }
    body.layout-home-compact .feed-engagement-banner__prompt-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    body.layout-home-compact .feed-engagement-banner__prompt {
        width: 100%;
        justify-content: flex-start;
    }
    body.layout-home-compact .home-feed-promos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        margin-bottom: 8px;
    }
    body.layout-home-compact .home-feed-promos .home-city-voices-promo {
        padding: 6px 8px;
        gap: 6px;
        min-height: 30px;
    }
    body.layout-home-compact .home-city-voices-promo__title {
        font-size: 11px;
    }
    body.layout-home-compact .home-city-voices-promo__icon {
        width: 1.1rem;
        height: 1.1rem;
        font-size: 0.72rem;
    }
    body.layout-home-compact .home-city-voices-promo__cta {
        font-size: 0.8rem;
    }
    body.layout-home-compact .home-inbox-preview {
        padding: 12px 14px;
        margin-bottom: 10px;
    }
    body.layout-home-compact .home-inbox-preview-item-body {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    body.layout-home-compact .feed-live-stats {
        padding: 8px 12px;
        margin-bottom: 10px;
        font-size: 12px;
        flex-wrap: wrap;
        gap: 6px 10px;
    }
    body.layout-home-compact .guest-cta-banner {
        padding: 12px 14px;
        margin-bottom: 10px;
    }
    body.layout-home-compact .guest-cta-banner__lead {
        font-size: 13px;
    }
    body.layout-home-compact .messages-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    body.layout-home-compact .feed-toolbar {
        padding: 10px 12px;
    }
    body.layout-home-compact .feed-toolbar__row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    body.layout-home-compact .feed-toolbar__group {
        width: 100%;
    }
    body.layout-home-compact .feed-toolbar__segment {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    body.layout-home-compact .feed-toolbar__segment::-webkit-scrollbar {
        display: none;
    }
    body.layout-home-compact .feed-toolbar__tab {
        flex-shrink: 0;
        font-size: 12px;
        padding: 5px 10px;
    }
    body.layout-home-compact .feed-similar-link {
        display: none;
    }
    body.layout-home-compact .message-card-footer .share-shortcuts {
        gap: 6px;
    }
    body.layout-home-compact .compose-box {
        padding: 16px 14px 14px;
        margin-bottom: 20px;
    }
    body.layout-home-compact .compose-box--collapsed {
        margin-bottom: 14px;
    }
    body.layout-auth.layout-me .page-layout.page-layout--single.profile-me-layout {
        padding: 14px 12px 20px;
    }
    body.layout-auth.layout-me .profile-me-tabs {
        width: 100%;
    }
    body.layout-auth.layout-me .profile-me-tabs .feed-sort-tab {
        flex: 1;
        text-align: center;
        justify-content: center;
    }
    body.layout-auth.layout-me .dashboard-mini-stats--member {
        gap: 8px;
    }
    body.layout-auth.layout-me .dashboard-mini-stat {
        padding: 10px 8px;
    }
    .onboarding-tour-card {
        padding: 18px 16px 14px;
    }
}

/* ══ Krem tema — son katman (tüm sayfalar) ═══════════════════════════════ */
html.theme-glass .rank-card,
html.theme-glass .rank-geo-buzz,
html.theme-glass .share-card,
html.theme-glass .auth-gesture-card,
html.theme-glass .guest-cta-banner,
html.theme-glass .guest-membership-modal__card,
html.theme-glass .profile-msg-card,
html.theme-glass .profile-preferences,
html.theme-glass .profile-me-history-card,
html.theme-glass .comment-modal__dialog,
html.theme-glass .search-result-card,
html.theme-glass .voice-of-day__inner,
html.theme-glass .dashboard-mini-stat,
html.theme-glass .onboarding-tour-card {
    background: var(--glass) !important;
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--shadow-glass) !important;
}

html.theme-glass .logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 18px;
    line-height: 1;
    color: var(--accent);
    background: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: 10px;
}

html.theme-glass .logo-text {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

html.theme-glass .btn-header-login {
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    border: 1px solid color-mix(in srgb, var(--accent) 65%, var(--border));
    box-shadow: none;
}

html.theme-glass .header-home-menu-logout .btn-header-login,
html.theme-glass .header-account-logout > .header-logout-form .btn-header-login {
    background: var(--accent);
    color: #1f1c14;
    border: 1px solid color-mix(in srgb, var(--accent) 70%, #8a7330);
    box-shadow: none;
}

html.theme-glass .btn-header-login.btn-header-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border));
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    box-shadow: none;
}

html.theme-glass .btn-header-login.btn-header-secondary:hover {
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
    opacity: 1;
}

html.theme-glass .header-nav-icons .header-action-link.btn-header-secondary {
    background: transparent;
    color: var(--text);
}

html.theme-glass .header-nav-icons .header-action-link.btn-header-secondary .header-action-link__svg {
    color: color-mix(in srgb, var(--accent) 88%, var(--text));
}

html.theme-glass .header-nav-icons .header-action-link.btn-header-secondary.is-active {
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
    color: var(--text);
}

html.theme-glass .feed-tab.is-active,
html.theme-glass .feed-toolbar__tab.is-active,
html.theme-glass .feed-sort-tab.is-active {
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
    border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
    color: color-mix(in srgb, var(--accent) 88%, var(--text));
}

html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) .btn-compose-open--action {
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 28%, var(--surface)) 0%, color-mix(in srgb, var(--accent) 14%, var(--surface)) 100%);
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
    color: #4a3a0c;
}

html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) .btn-compose-open--action:hover {
    border-color: var(--accent);
    color: var(--text);
}

html.theme-glass .site-footer {
    margin: 0;
    border-top: 1px solid var(--border);
    width: 100%;
}
html.theme-glass .site-footer__inner {
    margin: 32px auto 20px;
    max-width: 1100px;
    padding: 18px 24px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    background: var(--glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    font-style: normal;
    box-shadow: var(--shadow-glass);
}
html.theme-glass body.layout-home-compact .site-footer,
html.theme-glass body.layout-home-compact.layout-home-alt .site-footer {
    border-top: 1px solid var(--border);
}
html.theme-glass body.layout-home-compact .site-footer__inner,
html.theme-glass body.layout-home-compact.layout-home-alt .site-footer__inner {
    max-width: none;
    width: 100%;
    margin: 0;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: var(--home-content-pad-x);
    padding-right: var(--home-content-pad-x);
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    box-shadow: none;
}
html.theme-glass body.layout-home-compact .site-footer__inner > *,
html.theme-glass body.layout-home-compact.layout-home-alt .site-footer__inner > * {
    max-width: var(--home-content-max);
    margin-left: auto;
    margin-right: auto;
}
html.theme-glass body.layout-guest-home .site-footer__inner,
html.theme-glass body.layout-viewport-shell.layout-guest-home .site-footer__inner,
html.theme-glass body.layout-auth-guest-footer.layout-viewport-shell .site-footer__inner {
    max-width: none;
    padding-left: var(--home-content-pad-x, 16px);
    padding-right: var(--home-content-pad-x, 16px);
}
html.theme-glass body.layout-guest-home .site-footer__inner > *,
html.theme-glass body.layout-viewport-shell.layout-guest-home .site-footer__inner > *,
html.theme-glass body.layout-auth-guest-footer.layout-viewport-shell .site-footer__inner > *,
html.theme-glass .site-footer--guest-home .site-footer__inner > * {
    max-width: var(--home-content-max, 840px);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
body.layout-viewport-shell .site-footer__inner {
    margin-top: 0;
    margin-bottom: 0;
}
html.theme-glass body.layout-viewport-shell .site-footer__inner {
    margin-top: 8px;
    margin-bottom: 8px;
}

html.theme-glass .header-notif-dd,
html.theme-glass .header-inbox-dd {
    background: var(--glass-strong) !important;
    backdrop-filter: var(--blur) !important;
    -webkit-backdrop-filter: var(--blur) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--shadow-float) !important;
    border-radius: var(--radius-lg) !important;
}

html.theme-glass body.layout-home-compact .feed-voice-of-day-pin:not(.is-dismissed),
html.theme-glass body.layout-home-compact .feed-column,
html.theme-glass body.layout-home-compact .rankings-column,
html.theme-glass .rankings-drawer-panel,
html.theme-glass .compose-step,
html.theme-glass .illustration-panel {
    background: transparent;
}

html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) .voice-of-day {
    background: linear-gradient(
        125deg,
        color-mix(in srgb, var(--accent) 18%, var(--surface)) 0%,
        color-mix(in srgb, var(--accent) 8%, var(--bg)) 100%
    ) !important;
    animation: none;
}

html.theme-glass[data-theme="dark"] {
    --bg-base: #18181b;
    --bg: #18181b;
    --bg-muted: #27272a;
    --glass: #27272a;
    --glass-strong: #3f3f46;
    --glass-border: #52525b;
    --border: #3f3f46;
    --border-strong: #52525b;
    --text: #fafafa;
    --muted: #a1a1aa;
    --header-bg: #18181b;
    --accent: #d4d4d8;
    --accent2: #a1a1aa;
    --input-bg: #27272a;
    --shadow-glass: 0 4px 20px rgba(0, 0, 0, 0.35);
}

html.theme-glass[data-theme="dark"] body {
    background: #18181b !important;
    background-image: none !important;
}

html.theme-glass[data-theme="dark"] .btn-compose-open--action {
    background: linear-gradient(135deg, #52525b, #3f3f46);
    border-color: var(--border-strong);
}

html.theme-glass[data-theme="dark2"] {
    --bg-base: #0a0a0a;
    --bg: #0a0a0a;
    --bg-muted: #111111;
    --surface: #141414;
    --glass: #141414;
    --glass-strong: #1c1c1c;
    --glass-border: #3d3528;
    --border: #3d3528;
    --border-strong: #c5a059;
    --text: #f5f0e6;
    --muted: #9a9080;
    --header-bg: #0a0a0a;
    --accent: #c5a059;
    --accent2: #d4af37;
    --input-bg: #1a1a1a;
    --shadow-glass: 0 4px 24px rgba(0, 0, 0, 0.55);
}

html.theme-glass[data-theme="dark2"] body {
    background: #0a0a0a !important;
    background-image: none !important;
}

html.theme-glass[data-theme="dark2"] .site-header {
    background: var(--header-bg);
    border-bottom-color: var(--border);
}

html.theme-glass[data-theme="dark2"] .message-card,
html.theme-glass[data-theme="dark2"] .compose-box,
html.theme-glass[data-theme="dark2"] .feed-toolbar,
html.theme-glass[data-theme="dark2"] .auth-card,
html.theme-glass[data-theme="dark2"] .home-feed-switch,
html.theme-glass[data-theme="dark2"] .rank-card,
html.theme-glass[data-theme="dark2"] .weekly-theme-card {
    background: var(--surface) !important;
    border-color: var(--border) !important;
    box-shadow: var(--shadow-glass) !important;
}

html.theme-glass[data-theme="dark2"] .btn-compose-open--action {
    background: transparent;
    border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
    color: var(--accent);
}

html.theme-glass[data-theme="dark2"] .btn-compose-open--action:hover {
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    border-color: var(--accent);
    color: var(--accent2);
}

html.theme-glass[data-theme="dark2"] .btn-header-login:not(.btn-header-secondary) {
    background: var(--accent);
    color: #0a0a0a;
    border: 1px solid color-mix(in srgb, var(--accent) 75%, #8a7330);
    box-shadow: none;
}

html.theme-glass[data-theme="dark2"] .btn-header-login.btn-header-secondary,
html.theme-glass[data-theme="dark2"] .header-nav-icons .header-action-link.btn-header-secondary {
    background: transparent;
    color: var(--text);
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

html.theme-glass[data-theme="dark2"] .header-nav-icons .header-action-link.btn-header-secondary .header-action-link__svg {
    color: var(--accent);
}

html.theme-glass[data-theme="dark2"] .feed-tab.is-active,
html.theme-glass[data-theme="dark2"] .feed-toolbar__tab.is-active,
html.theme-glass[data-theme="dark2"] .feed-sort-tab.is-active {
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
    border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
    color: var(--accent);
}

html.theme-glass[data-theme="dark2"] .btn-publish,
html.theme-glass[data-theme="dark2"] .btn-send-otp,
html.theme-glass[data-theme="dark2"] .btn-verify-otp {
    background: var(--accent2) !important;
    color: #0a0a0a !important;
}

html.theme-glass[data-theme="dark2"] .logo-icon {
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, var(--surface));
    border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}

html.theme-glass[data-theme="dark2"] .section-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

html.theme-glass[data-theme="dark2"] .message-card:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

html.theme-glass[data-theme="dark2"] .voice-of-day {
    background: linear-gradient(
        125deg,
        color-mix(in srgb, var(--accent) 14%, var(--surface)) 0%,
        var(--surface) 100%
    ) !important;
}

html.theme-glass[data-theme="dark2"] .header-home-menu {
    border-top-color: color-mix(in srgb, var(--accent) 28%, var(--border));
}

html.theme-glass[data-theme="forest"] {
    --bg-base: #f0f6f2;
    --bg: #f0f6f2;
    --bg-muted: #e4efe8;
    --surface: #fafdfa;
    --glass: #fafdfa;
    --glass-strong: #ffffff;
    --glass-border: #d0e4d8;
    --border: #c8ddd2;
    --border-strong: #7eb896;
    --text: #1e2d25;
    --muted: #5c7266;
    --header-bg: rgba(240, 246, 242, 0.94);
    --accent: #3d9468;
    --accent2: #5cb884;
    --input-bg: #ffffff;
    --shadow-glass: 0 2px 12px rgba(30, 60, 45, 0.06), 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

html.theme-glass[data-theme="forest"] body {
    background-color: var(--bg) !important;
    background-image: radial-gradient(
        ellipse 110% 70% at 50% -12%,
        color-mix(in srgb, var(--accent) 14%, #ffffff),
        transparent 58%
    ) !important;
}

html.theme-glass[data-theme="forest"] .site-header {
    background: var(--header-bg);
    border-bottom-color: var(--border);
}

html.theme-glass[data-theme="forest"] .message-card,
html.theme-glass[data-theme="forest"] .compose-box,
html.theme-glass[data-theme="forest"] .feed-toolbar,
html.theme-glass[data-theme="forest"] .auth-card,
html.theme-glass[data-theme="forest"] .home-feed-switch,
html.theme-glass[data-theme="forest"] .rank-card,
html.theme-glass[data-theme="forest"] .weekly-theme-card {
    background: var(--surface) !important;
    border-color: var(--border) !important;
    box-shadow: var(--shadow-glass) !important;
}

html.theme-glass[data-theme="forest"] .btn-compose-open--action {
    background: transparent;
    border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
    color: var(--accent);
}

html.theme-glass[data-theme="forest"] .btn-compose-open--action:hover {
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    border-color: var(--accent);
    color: var(--accent2);
}

html.theme-glass[data-theme="forest"] .btn-header-login:not(.btn-header-secondary) {
    background: var(--accent);
    color: #ffffff;
    border: 1px solid color-mix(in srgb, var(--accent) 85%, #2f7d58);
    box-shadow: none;
}

html.theme-glass[data-theme="forest"] .btn-header-login.btn-header-secondary,
html.theme-glass[data-theme="forest"] .header-nav-icons .header-action-link.btn-header-secondary {
    background: transparent;
    color: var(--text);
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

html.theme-glass[data-theme="forest"] .header-nav-icons .header-action-link.btn-header-secondary .header-action-link__svg {
    color: var(--accent);
}

html.theme-glass[data-theme="forest"] .feed-tab.is-active,
html.theme-glass[data-theme="forest"] .feed-toolbar__tab.is-active,
html.theme-glass[data-theme="forest"] .feed-sort-tab.is-active {
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
    color: color-mix(in srgb, var(--accent) 92%, var(--text));
}

html.theme-glass[data-theme="forest"] .btn-publish,
html.theme-glass[data-theme="forest"] .btn-send-otp,
html.theme-glass[data-theme="forest"] .btn-verify-otp {
    background: var(--accent) !important;
    color: #ffffff !important;
}

html.theme-glass[data-theme="forest"] .logo-icon {
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, var(--surface));
    border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}

html.theme-glass[data-theme="forest"] .section-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

html.theme-glass[data-theme="forest"] .message-card:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

html.theme-glass[data-theme="forest"] .voice-of-day {
    background: linear-gradient(
        125deg,
        color-mix(in srgb, var(--accent) 8%, var(--surface)) 0%,
        var(--surface) 100%
    ) !important;
}

html.theme-glass[data-theme="forest"] .header-home-menu {
    border-top-color: color-mix(in srgb, var(--accent) 28%, var(--border));
}

/* Açık tema (krem): zemin ve kartlar */
html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) body,
html:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) body {
    background: var(--bg) !important;
    background-image: none !important;
}

html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) .site-header {
    background: var(--header-bg);
    border-bottom-color: var(--border);
}

html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) .message-card,
html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) .compose-box,
html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) .feed-toolbar,
html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) .auth-card {
    background: var(--surface) !important;
    border-color: var(--border) !important;
    box-shadow: var(--shadow-glass) !important;
}

html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) .compose-box:has(#step-write:not(.hidden)),
html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) #compose-box.compose-box {
    border-style: dashed;
    border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
}

html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) .feed-tab,
html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) .feed-sort-tab {
    background: var(--surface);
    border-color: var(--border);
}

html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) .btn-like.liked,
html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) .like-static.liked {
    background: color-mix(in srgb, var(--rose) 12%, var(--surface));
    border-color: color-mix(in srgb, var(--rose) 35%, var(--border));
    color: var(--rose);
}

html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) .btn-publish,
html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) .btn-send-otp,
html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) .btn-verify-otp {
    background: var(--accent2) !important;
    color: #fff !important;
}

html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) .btn-header-login:not(.btn-header-secondary) {
    background: var(--accent);
    color: #1f1c14;
    border: 1px solid color-mix(in srgb, var(--accent) 70%, #8a7330);
    box-shadow: none;
}

html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) .header-home-menu {
    border-top-color: color-mix(in srgb, var(--accent) 28%, var(--border));
}

html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) .logo-icon {
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, var(--surface));
    border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}

html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) .section-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
}

html.theme-glass:not([data-theme="dark"]):not([data-theme="dark2"]):not([data-theme="forest"]) .message-card:hover {
    border-color: #c9c3b8;
}

/* Ana sayfa ↔ akış görünümü geçişi (linkler) */
.home-feed-switch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    padding: 8px 12px;
    margin-bottom: 4px;
    background: var(--glass, #fafafa);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: var(--radius-lg, 16px);
    font-size: 13px;
    grid-column: 1 / -1;
}
.home-feed-switch__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    flex: 1 1 auto;
    min-width: 0;
}
.home-feed-switch__link {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}
.home-feed-switch__link:hover {
    color: var(--accent2);
}
.home-feed-switch__current {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
    white-space: nowrap;
}
.home-feed-switch__sep {
    color: var(--muted);
    font-weight: 600;
    user-select: none;
}
.header-streak-pill--feed-switch {
    margin-left: auto;
    flex-shrink: 0;
}
@media (max-width: 640px) {
    body.layout-home-compact .home-feed-switch {
        flex-shrink: 0;
    }
}
@media (max-width: 780px) {
    body.layout-home-compact .home-feed-switch--desktop-only {
        display: none !important;
    }
}

/* Misafir ana sayfa — akış düzeni (tek sütun, mesaj yok) */
body.layout-guest-home.layout-home-compact .page-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: var(--home-content-max);
    margin: 0 auto;
    padding: 16px var(--home-content-pad-x) 40px;
    width: 100%;
    box-sizing: border-box;
}
body.layout-guest-home.layout-home-compact .rankings-column,
body.layout-guest-home.layout-home-compact .rankings-fab,
body.layout-guest-home.layout-home-compact .rankings-mobile-bar {
    display: none !important;
}
body.layout-guest-home.layout-home-compact .compose-box,
body.layout-guest-home.layout-home-compact .messages-header,
body.layout-guest-home.layout-home-compact #feed-messages-list,
body.layout-guest-home.layout-home-compact .feed-live-stats,
body.layout-guest-home.layout-home-compact .rank-spotlight-mobile-wrap,
body.layout-guest-home.layout-home-compact .home-feed-promos,
body.layout-guest-home.layout-home-compact .feed-voice-of-day-pin,
body.layout-guest-home.layout-home-compact .feed-load-more-wrap,
body.layout-guest-home.layout-home-compact .feed-guest-sentinel,
body.layout-guest-home .feed-floating-actions,
body.layout-guest-home .rankings-floating-toggle {
    display: none !important;
}
body.layout-guest-home.layout-home-compact .feed-column {
    width: 100%;
    min-width: 0;
}
.guest-home-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    --guest-card-pad-x: 16px;
    --guest-card-pad-y: 14px;
}
.guest-home-stack .feed-engagement-banner--guest,
.guest-home-stack .guest-home-hero,
.guest-home-stack .guest-home-features,
.guest-home-stack .guest-home-about,
.guest-home-stack .guest-home-auth,
.guest-home-stack .feed-guest-more-strip--prominent {
    padding-left: var(--guest-card-pad-x);
    padding-right: var(--guest-card-pad-x);
}
.guest-home-stack > * {
    min-width: 0;
    max-width: 100%;
}
.guest-home-stack .feed-engagement-banner {
    margin-bottom: 0;
}
.guest-home-vod {
    margin: 0;
}
.guest-home-vod .voice-of-day--guest-home {
    margin: 0;
}
.voice-of-day__body--guest-static {
    display: block;
    cursor: default;
    text-decoration: none;
    color: inherit;
}
.feed-guest-more-strip--prominent {
    margin: 0;
    padding: 14px 16px;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
    border-radius: var(--radius-lg);
}
.feed-guest-gate--visible {
    display: block !important;
    visibility: visible !important;
    margin: 0;
}
.feed-guest-gate--visible.hidden {
    display: block !important;
}
@media (min-width: 781px) {
    body.layout-guest-home.layout-home-compact:not(.layout-viewport-shell) .page-layout {
        max-width: 960px;
        padding: 20px 20px 48px;
    }
}

/* Tek ekran: üst + alt çubuk sabit, orta alan esner; belge kaydırması yok */
html:has(body.layout-viewport-shell) {
    height: 100%;
    overflow: hidden;
}
body.layout-viewport-shell {
    height: 100dvh;
    max-height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    overscroll-behavior: none;
}
body.layout-viewport-shell .site-header {
    flex-shrink: 0;
    position: relative;
    top: auto;
}
body.layout-viewport-shell.layout-guest-home .site-header {
    display: none;
}
body.layout-viewport-shell > main {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
body.layout-viewport-shell .site-footer {
    flex-shrink: 0;
}
body.layout-viewport-shell .site-footer p {
    margin-bottom: 6px;
}
body.layout-viewport-shell .site-footer-nav {
    gap: 8px 14px;
}

/* Giriş / kayıt formları */
body.layout-viewport-shell.layout-auth > main {
    align-items: stretch;
    justify-content: center;
}
body.layout-viewport-shell.layout-auth .page-layout.page-layout--single {
    flex: 0 1 auto;
    min-height: 0;
    max-height: 100%;
    width: 100%;
    margin: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
body.layout-viewport-shell.layout-auth .auth-header {
    margin-top: 0;
    margin-bottom: 14px;
}

/* Üye ol: yalnızca başlık biraz küçük */
body.layout-auth-register .auth-title {
    font-size: clamp(1.45rem, 3.6vw, 1.75rem);
}
body.layout-auth-register .auth-title::after {
    margin-top: 10px;
    width: 44px;
}
@media (max-width: 640px) {
    body.layout-auth-register .auth-title {
        font-size: 1.4rem;
    }
}

/* Giriş: tagline gizle, header-alt boşluğu azalt */
body.layout-auth-login .header-mid {
    display: none;
}
body.layout-viewport-shell.layout-auth-login .page-layout.page-layout--single {
    padding-top: 4px;
}
body.layout-viewport-shell.layout-auth-login .auth-header {
    margin-bottom: 8px;
}

/* Misafir ana sayfa */
body.layout-viewport-shell.layout-guest-home.layout-home-compact .page-layout {
    flex: 1 1 auto;
    min-height: 0 !important;
    max-height: 100%;
    width: 100%;
    max-width: var(--home-content-max);
    margin: 0 auto;
    padding: clamp(8px, 1.5vh, 16px) var(--home-content-pad-x);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
body.layout-viewport-shell.layout-guest-home .feed-column {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
body.layout-viewport-shell.layout-guest-home .guest-home-stack {
    flex: 1 1 auto;
    min-height: 0;
    justify-content: flex-start;
    gap: clamp(8px, 1.4vh, 14px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
body.layout-viewport-shell.layout-guest-home .guest-home-stack::-webkit-scrollbar {
    display: none;
}
body.layout-viewport-shell.layout-guest-home .feed-engagement-banner {
    flex-shrink: 0;
    min-height: 0;
    max-width: 100%;
}
body.layout-viewport-shell.layout-guest-home .feed-guest-more-strip {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    max-width: 100%;
}
body.layout-viewport-shell.layout-guest-home .guest-home-hero {
    flex-shrink: 0;
}
body.layout-viewport-shell.layout-guest-home .feed-engagement-banner--guest-showcase {
    flex-shrink: 0;
}
body.layout-viewport-shell.layout-guest-home .guest-home-features {
    flex-shrink: 1;
    min-height: 0;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
body.layout-viewport-shell.layout-guest-home .guest-home-about {
    flex-shrink: 1;
    min-height: 0;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
body.layout-viewport-shell.layout-guest-home .guest-home-auth {
    flex-shrink: 0;
}
body.layout-viewport-shell.layout-guest-home .weekly-theme-card__figure--photo {
    max-height: min(22vh, 140px);
}
body.layout-viewport-shell.layout-guest-home .weekly-theme-card__figure:not(.weekly-theme-card__figure--photo) {
    max-height: 64px;
}
body.layout-viewport-shell.layout-guest-home .weekly-theme-card__figure:not(.weekly-theme-card__figure--photo) .weekly-theme-card__art {
    max-height: 56px;
}
body.layout-viewport-shell.layout-guest-home .feed-engagement-banner__guest-vod-quote {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}
body.layout-viewport-shell.layout-guest-home .feed-engagement-banner__guest-vod-label {
    min-width: 0;
    overflow-wrap: anywhere;
}
body.layout-viewport-shell.layout-guest-home .feed-engagement-banner__guest-vod-meta {
    min-width: 0;
    overflow-wrap: anywhere;
}
body.layout-viewport-shell.header-guest-home .header-guest-pitch__lead {
    display: none;
}
@media (min-width: 781px) {
    body.layout-viewport-shell.header-guest-home .header-guest-pitch__lead {
        display: inline;
    }
}
@media (max-height: 720px) {
    body.layout-viewport-shell.header-guest-home .header-guest-pitch__lead {
        display: none;
    }
    body.layout-viewport-shell.layout-guest-home .feed-engagement-banner__guest-vod-scope {
        display: none;
    }
    body.layout-viewport-shell.layout-guest-home .guest-home-about__lead {
        font-size: 0.88rem;
        line-height: 1.35;
    }
    body.layout-viewport-shell.layout-guest-home .guest-home-about__list {
        font-size: 12px;
        gap: 6px;
    }
}
@media (max-width: 780px) {
    body.layout-viewport-shell.layout-guest-home.layout-home-compact .page-layout {
        max-width: 100%;
    }
}
