@charset "UTF-8";

.f-feed-layout {
    display: grid;
    grid-template-columns: minmax(0,600px) minmax(190px,240px);
    gap: 48px;
    align-items: start;
}

.f-timeline {
    min-width: 0;
}


.f-live-dot {
    display: block;
    height: 7px;
    width: 7px;
    border-radius: 50%;
    background: var(--theme-accent,#25282c);
    margin-right: 5px;
    box-shadow: 0 0 0 5px #f1f2f3;
}

.f-compose-prompt {
    display: flex;
    align-items: center;
    gap: 13px;
    background: var(--app-soft);
    border: 1px solid var(--theme-line,#f0f1f2);
    padding: 17px 19px;
    border-radius: 16px;
    margin-bottom: 12px;
    color: var(--app-muted);
    transition: background .18s;
}

.f-compose-prompt:hover {
    background: var(--theme-soft,#eef0f2);
}

.f-compose-prompt>span:nth-child(2) {
    flex: 1;
    font-size: calc(13px * var(--app-font-scale, 1));
}

.f-compose-prompt>.f-icon {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
    color: var(--theme-muted,#727881);
}

.f-avatar {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--theme-soft,#eeeff1);
    overflow: hidden;
    color: var(--theme-muted,#a0a5ab);
    font-size: calc(14px * var(--app-font-scale, 1));
    font-weight: 700;
}

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

.f-avatar--prompt {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    background: var(--theme-surface,#fff);
}

.f-avatar--prompt .f-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
}

.f-context-panel {
    position: sticky;
    top: 55px;
    padding-top: 8px;
}

.f-context-account, .f-suggestion-person {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.f-context-account { margin-bottom: 28px; }
.f-context-account > .f-avatar { width: 44px; height: 44px; flex-basis: 44px; }
.f-context-account-copy, .f-suggestion-copy { display: grid; gap: 3px; min-width: 0; }
.f-context-account-copy strong, .f-suggestion-copy strong {
    font-size: calc(13px * var(--app-font-scale, 1));
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.f-context-account-copy > span, .f-suggestion-copy > span {
    color: var(--theme-muted,#8b9098);
    font-size: calc(11px * var(--app-font-scale, 1));
    line-height: 1.45;
    word-break: keep-all;
    overflow-wrap: anywhere;
}
.f-suggestions h2 { margin: 0 0 18px; color: var(--theme-muted,#80858c); font-size: calc(13px * var(--app-font-scale, 1)); font-weight: 600; }
.f-suggestion-list { display: grid; gap: 18px; padding: 0; margin: 0; list-style: none; }
.f-suggestion { display: flex; align-items: center; gap: 10px; min-width: 0; }
.f-suggestion-person { flex: 1; }
.f-suggestion-person:hover strong, .f-context-account:hover strong { text-decoration: underline; }
.f-suggestion .f-avatar { width: 36px; height: 36px; flex-basis: 36px; }
.f-suggestion-follow {
    flex-shrink: 0;
    padding: 8px 0;
    border: 0;
    background: none;
    color: var(--app-accent);
    font-size: calc(11px * var(--app-font-scale, 1));
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer;
}
.f-suggestion-follow:hover { color: var(--app-accent-hover); }
.f-suggestion-follow[aria-pressed="true"] { color: var(--theme-muted,#838993); }
.f-suggestion-follow:disabled { opacity: .5; cursor: wait; }
.f-suggestion-status { margin: 0 0 8px; color: var(--theme-muted,#9298a1); font-size: calc(12px * var(--app-font-scale, 1)); line-height: 1.7; word-break: keep-all; }
.f-context-brand { margin: 30px 0 0; font-size: calc(10px * var(--app-font-scale, 1)); letter-spacing: .4px; color: var(--theme-subtle,#b4b7bd); }

.f-post {
    padding: 26px 0 28px;
    border-bottom: 0;
    position: relative;
}

.f-post:first-child {
    padding-top: 26px;
}

.f-post-header {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 2px 7px;
}

.f-author-meta {
    display: grid;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.f-author-name {
    font-size: calc(13px * var(--app-font-scale, 1));
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.f-author-name:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.f-author-vip-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    flex: 0 0 14px;
    margin-right: -2px;
    align-self: center;
    background: linear-gradient(135deg, #A8A0FE 0%, #BF8FFF 50%, #D474FF 100%) !important;
}

:root[data-theme="dark"] .f-author-vip-icon,
body.theme-dark .f-author-vip-icon {
    background: linear-gradient(135deg, #9C93FD 0%, #B580FE 50%, #CD64FE 100%) !important;
    filter: drop-shadow(0 0 4px rgba(181, 128, 254, 0.45));
}

.f-post-time {
    font-size: calc(10px * var(--app-font-scale, 1));
    color: var(--theme-muted,#989da4);
    line-height: 1.4;
    display: flex;
    gap: 6px;
    margin: 6px 2px 0;
}

.f-post-time .f-edited {
    color: var(--theme-muted,#a9adb3);
}

.f-post-options {
    position: relative;
    margin-left: auto;
}

.f-post-options>summary {
    list-style: none;
}

.f-post-options>summary::-webkit-details-marker {
    display: none;
}

.f-post-options[open]>summary {
    background: var(--theme-soft,#f3f4f5);
}

.f-option-menu {
    position: absolute;
    top: 40px;
    right: 0;
    z-index: 10;
    width: 170px;
    padding: 6px;
    border-radius: 12px;
    background: var(--theme-surface,#fff);
    border: 1px solid var(--app-line);
    box-shadow: 0 10px 40px #14182114;
}

.f-option-menu>a,
.f-option-menu>button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 11px;
    border-radius: 7px;
    background: transparent;
    text-align: left;
    font-size: calc(12px * var(--app-font-scale, 1));
}

.f-option-menu>a:hover,
.f-option-menu>button:hover {
    background: var(--app-soft);
}

.f-option-menu .f-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
}

.f-danger {
    color: var(--theme-danger,#a93b3b)!important;
}

.f-carousel {
    position: relative;
    background: #000000 !important;
    border-radius: 14px;
    overflow: hidden;
    isolation: isolate;
    box-sizing: border-box;
    aspect-ratio: var(--f-ratio, 4/5);
}

.f-carousel-track {
    display: flex;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background: #000000 !important;
}

.f-carousel:not(.swiper-initialized) > .f-carousel-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
}

.f-carousel-track::-webkit-scrollbar {
    display: none;
}

.f-slide {
    flex: 0 0 100%;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    box-sizing: border-box;
    margin: 0;
    aspect-ratio: var(--f-ratio, 4/5);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #000000 !important;
    position: relative;
    overflow: hidden;
}

.f-carousel:not(.swiper-initialized) .f-slide {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.f-slide img,
.f-carousel .f-slide > img,
.app-editorial .f-carousel .f-slide > img {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    background: #000000 !important;
    cursor: default !important;
    user-select: none;
    -webkit-user-select: none;
}

.f-carousel-arrow {
    display: none !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--theme-glass,#fffffff0);
    box-shadow: 0 2px 8px #0000000a;
    min-width: 30px;
    min-height: 30px;
    padding: 6px;
    z-index: 2;
}

.f-carousel-arrow:hover {
    background: var(--theme-surface,#fff);
}

.f-carousel-arrow .f-icon {
    height: 18px;
    width: 18px;
    flex-basis: 18px;
}

.f-carousel-arrow--prev {
    left: 12px;
}

.f-carousel-arrow--next {
    right: 12px;
}

.f-carousel-counter {
    position: absolute;
    top: 13px;
    right: 13px;
    background: #191b1eb3;
    color: #fff;
    border-radius: 999px;
    font-size: calc(13px * var(--app-font-scale, 1));
    font-weight: 700;
    padding: 6px 12px;
    pointer-events: none;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.f-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    z-index: 2;
}

.f-carousel-dots>span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all .2s ease;
}

.f-carousel-dots>span.is-active {
    background: #fff;
    width: 22px;
    height: 8px;
    border-radius: 999px;
}

.f-post-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 6px -6px 0;
}

.f-action {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 40px;
    padding: 8px;
    background: transparent;
    border-radius: 8px;
    color: var(--theme-ink,#3b4047);
}

.f-action:hover {
    background: var(--app-soft);
}

.f-action .f-icon {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
}

.f-action-count {
    font-size: calc(14px * var(--app-font-scale, 1));
    font-weight: 600;
    line-height: 1;
    min-width: 7px;
}

.f-action-count[hidden] {
    display: none !important;
}

.f-action--share {
    margin-left: auto;
}

.f-action.is-liked {
    color: var(--app-ink);
}

.f-action.is-bookmarked {
    color: var(--app-accent, #6366f1);
}


.f-post-caption {
    font-size: calc(13px * var(--app-font-scale, 1));
    line-height: 1.85;
    margin: 7px 2px 0;
    letter-spacing: -.12px;
    overflow-wrap: anywhere;
    min-width: 0;
}

.f-post-caption[hidden],
.f-post-more[hidden] {
    display: none !important;
}

.f-post-caption-author {
    font-weight: 700;
    color: var(--app-ink, var(--theme-ink, #20242a));
    text-decoration: none;
    margin-right: 6px;
}

.f-post-caption-author:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.f-post-content {
    font-size: calc(13px * var(--app-font-scale, 1));
    line-height: 1.85;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    margin: 7px 2px 0;
    letter-spacing: -.12px;
}

.f-post-caption .f-post-content,
.f-post--text .f-post-caption .f-post-content {
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    margin: 0;
}

.f-post-caption:not(.is-collapsed) {
    display: block;
}

.f-post-caption:not(.is-collapsed) .f-post-caption-author {
    display: inline;
    margin-right: 6px;
}

.f-post-caption:not(.is-collapsed) .f-post-content {
    display: inline;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.f-post-caption.is-collapsed {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
}

.f-post-caption.is-collapsed .f-post-caption-author {
    flex-shrink: 0;
    margin-right: 0;
}

.f-post-caption.is-collapsed .f-post-content {
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.f-post-caption.is-collapsed .f-post-content-rest {
    display: none;
}

.f-post-caption.is-collapsed.has-newline:not(.is-line-overflow) .f-post-content::after {
    content: "…";
}

.f-post-more {
    flex-shrink: 0;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: var(--app-muted, var(--theme-muted, #8b9098));
    font: inherit;
    font-size: inherit;
    font-weight: 500;
    line-height: inherit;
    cursor: pointer;
    white-space: nowrap;
}

.f-post-more:hover {
    color: var(--app-ink, var(--theme-ink, #20242a));
}

.f-post--text .f-post-content {
    font-size: calc(17px * var(--app-font-scale, 1));
    line-height: 1.9;
    margin: 6px 2px 14px;
    letter-spacing: -.35px;
}

.f-content-link {
    display: block;
}

.f-content-link:hover {
    color: var(--theme-ink,#4b5058);
}

.f-post--text .f-post-actions {
    margin-top: 12px;
}

.f-comments-toggle {
    display: inline-block;
    background: transparent;
    padding: 0;
    margin: 13px 2px 2px;
    color: var(--theme-muted,#9a9fa6);
    font-size: calc(11px * var(--app-font-scale, 1));
    line-height: 1.5;
}

.f-comments-toggle:hover {
    color: var(--theme-ink,#333);
}

.f-comments {
    margin: 18px 2px 0;
    padding-top: 18px;
    border-top: 1px solid var(--theme-line,#f0f1f2);
}

.f-comment-list {
    display: grid;
    gap: 18px;
}

.f-comment {
    display: flex;
    align-items: start;
    gap: 10px;
}

.f-comment .f-avatar {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
    font-size: calc(10px * var(--app-font-scale, 1));
}

.f-comment-main {
    min-width: 0;
    flex: 1;
}

.f-comment-heading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.f-comment-heading>a {
    font-size: calc(11px * var(--app-font-scale, 1));
    font-weight: 700;
}

.f-comment-heading>time {
    font-size: calc(9px * var(--app-font-scale, 1));
    color: var(--theme-muted,#a2a7ae);
}

.f-comment-content {
    font-size: calc(12px * var(--app-font-scale, 1));
    line-height: 1.75;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    margin: 4px 0 0;
}

.f-comment-tools {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 5px;
}

.f-comment-tools>button {
    background: none;
    padding: 3px 0;
    color: var(--theme-muted,#9b9fa6);
    font-size: calc(10px * var(--app-font-scale, 1));
}

.f-comment-tools>button:hover {
    color: var(--theme-ink,#222);
}

.f-comment--reply {
    margin-left: 37px;
    position: relative;
}

.f-comment--reply::before {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    left: -20px;
    top: 3px;
    border: solid var(--theme-border,#d8dce0);
    border-width: 0 0 1px 1px;
    border-bottom-left-radius: 4px;
}

.f-reply-context {
    font-size: calc(9px * var(--app-font-scale, 1));
    color: var(--theme-muted,#989da4);
    margin: 0 0 4px;
}

.f-comment-deleted {
    color: var(--theme-muted,#a5aab1);
    font-style: italic;
}

.f-comment-more {
    font-size: calc(10px * var(--app-font-scale, 1));
    margin: 12px 0 8px;
    min-height: 32px;
    color: var(--theme-muted,#828891);
    padding: 5px 0;
    background: none;
}

.f-comment-form {
    display: flex;
    align-items: flex-end;
    gap: 9px;
    margin-top: 20px;
    padding: 9px 10px 9px 13px;
    background: var(--app-soft);
    border: 1px solid var(--theme-line,#f0f1f3);
    border-radius: 12px;
}

.f-comment-form textarea {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 5px 0;
    font-size: calc(12px * var(--app-font-scale, 1));
    line-height: 1.6;
    resize: vertical;
    min-height: 29px;
    max-height: 140px;
    outline: none;
}

.f-comment-form textarea:focus-visible {
    outline: none;
}

.f-comment-form:focus-within {
    border-color: var(--theme-border,#9da3aa);
}

.f-comment-form .f-icon-button {
    min-width: 30px;
    min-height: 30px;
    padding: 5px;
    color: var(--theme-muted,#555d66);
}

.f-comment-form .f-icon {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
}

.f-reply-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--theme-raised,#f9fafb);
    border-radius: 9px;
    padding: 8px 9px 8px 12px;
    margin: 18px 0 -11px;
    font-size: calc(10px * var(--app-font-scale, 1));
    color: var(--theme-muted,#747b84);
}

.f-reply-banner .f-icon-button {
    min-width: 24px;
    min-height: 24px;
    padding: 5px;
}

.f-reply-banner .f-icon {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
}

.f-comment-login {
    display: block;
    margin-top: 16px;
    padding: 12px;
    background: var(--theme-soft,#f7f8f9);
    border-radius: 9px;
    font-size: calc(11px * var(--app-font-scale, 1));
    text-align: center;
    color: var(--theme-muted,#7b828a);
}

.f-comment-empty {
    color: var(--theme-muted,#a3a8af);
    font-size: calc(11px * var(--app-font-scale, 1));
    margin: 2px 0;
}

.f-post-mask {
    padding: 30px 20px;
    background: var(--theme-soft,#f7f8f9);
    border-radius: 12px;
    text-align: center;
    color: var(--theme-muted,#8a9098);
    font-size: calc(12px * var(--app-font-scale, 1));
}

.f-list-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 10px;
    color: var(--theme-muted,#9298a1);
    font-size: calc(12px * var(--app-font-scale, 1));
    text-align: center;
    line-height: 1.7;
}

.f-spinner {
    width: 15px;
    height: 15px;
    border: 1.5px solid var(--theme-border,#dde0e4);
    border-top-color: var(--theme-ink,#5b626d);
    border-radius: 50%;
    display: inline-block;
    animation: f-spin .7s linear infinite;
    flex-shrink: 0;
}

@keyframes f-spin {
    to {
        transform: rotate(360deg);
    }
}

.f-button--load {
    display: flex;
    min-width: 140px;
    margin: 20px auto 0;
    border-color: var(--theme-line,#e9ebee);
    font-size: calc(11px * var(--app-font-scale, 1));
    color: var(--theme-muted,#686f79);
}

.f-empty {
    padding: 70px 24px 60px;
    text-align: center;
}

.f-empty>.f-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 20px;
    color: var(--theme-subtle,#b5bac0);
}

.f-empty h2 {
    font-size: calc(19px * var(--app-font-scale, 1));
    letter-spacing: -.5px;
    line-height: 1.5;
    margin: 0 0 10px;
}

.f-empty p {
    font-size: calc(12px * var(--app-font-scale, 1));
    line-height: 1.8;
    color: var(--theme-muted,#969ca5);
    margin: 0 auto 24px;
    max-width: 270px;
}

.f-empty .f-button {
    font-size: calc(12px * var(--app-font-scale, 1));
}

.f-empty-note {
    font-size: calc(12px * var(--app-font-scale, 1));
    line-height: 1.7;
    text-align: center;
    color: var(--theme-muted,#969ca5);
}

#feed-sentinel {
    height: 1px;
    margin-top: 12px;
}

.f-report-form label {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 0;
    border-bottom: 1px solid var(--theme-line,#f0f1f2);
    font-size: calc(13px * var(--app-font-scale, 1));
}

.f-report-form input {
    accent-color: var(--theme-focus,#202328);
    width: 16px;
    height: 16px;
}

.f-form-error {
    font-size: calc(12px * var(--app-font-scale, 1));
    line-height: 1.7;
    color: var(--theme-danger,#a63c3c);
    background: var(--theme-raised,#fdf6f6);
    padding: 12px 15px;
    border-radius: 10px;
}

.f-report-form .f-form-error {
    margin-top: 14px;
}

.f-lightbox {
    border: 0;
    max-width: 100vw;
    max-height: 100dvh;
    width: 100vw;
    height: 100dvh;
    margin: 0;
    padding: 48px 60px;
    background: #15171bf5;
    color: #fff;
    border-radius: 0;
}

.f-lightbox::backdrop {
    background: #15171b;
}

.f-lightbox .f-dialog-header {
    position: absolute;
    top: 12px;
    right: 20px;
    left: 20px;
    margin: 0;
}

.f-lightbox .f-dialog-header h2 {
    font-size: calc(11px * var(--app-font-scale, 1));
    color: #c3c7ce;
    font-weight: 400;
}

.f-lightbox .f-icon-button:hover {
    background: #ffffff15;
}

.f-lightbox #feed-dialog-content {
    height: 100%;
}

.f-lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.f-lightbox-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 12px;
    right: 12px;
    pointer-events: none;
}

.f-lightbox-controls button {
    pointer-events: auto;
    background: #ffffff15;
    color: #fff;
}

.f-lightbox-counter {
    position: absolute;
    bottom: 17px;
    left: 50%;
    transform: translateX(-50%);
    font-size: calc(12px * var(--app-font-scale, 1));
    color: #c3c7ce;
}

@media(min-width:1600px) {
    .f-feed-layout {
        gap: 64px;
        grid-template-columns: minmax(0,600px) minmax(190px,240px);
    }
}

@media(max-width:1250px) {
    .f-feed-layout {
        gap: 30px;
        grid-template-columns: minmax(0,600px) minmax(170px,210px);
    }

}

@media(max-width:1060px) {
    .f-feed-layout {
        grid-template-columns: minmax(0,600px) 200px;
        gap: 34px;
    }
}

@media(max-width:850px) {
    .f-context-panel {
        display: none;
    }

    .f-feed-layout {
        display: block;
    }

    
}

@media(max-width:640px) {
    

    

    .f-live-dot {
        width: 6px;
        height: 6px;
        margin-right: 6px;
        box-shadow: 0 0 0 4px #f2f3f4;
    }

    .f-compose-prompt {
        border-radius: 13px;
        padding: 13px 14px;
        gap: 11px;
        margin-bottom: 7px;
    }

    .f-compose-prompt>span:nth-child(2) {
        font-size: calc(11px * var(--app-font-scale, 1));
    }

    .f-compose-prompt .f-avatar {
        height: 29px;
        width: 29px;
        flex-basis: 29px;
    }

    .f-post {
        padding: 23px 0 24px;
    }

    .f-post:first-child {
        padding-top: 24px;
    }

    .f-post-header {
        padding-bottom: 6px;
        gap: 10px;
    }

    .f-avatar {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .f-author-name {
        font-size: calc(12px * var(--app-font-scale, 1));
    }

    .f-post-time {
        font-size: calc(9px * var(--app-font-scale, 1));
    }

    .f-carousel {
        border-radius: 11px;
    }

    .f-post-caption,
    .f-post-content {
        font-size: calc(12px * var(--app-font-scale, 1));
        line-height: 1.85;
        margin-top: 4px;
    }

    .f-post--text .f-post-content {
        font-size: calc(16px * var(--app-font-scale, 1));
        line-height: 1.9;
    }

    .f-post-caption .f-post-content,
    .f-post--text .f-post-caption .f-post-content {
        font-size: inherit;
        line-height: inherit;
        margin: 0;
    }

    .f-post-actions {
        margin-top: 8px;
    }

    .f-action {
        min-height: 38px;
    }

    .f-action .f-icon {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
    }

    .f-action-count {
        font-size: calc(13px * var(--app-font-scale, 1));
    }

    .f-comments-toggle {
        font-size: calc(10px * var(--app-font-scale, 1));
        margin-top: 11px;
    }

    .f-comment-form textarea {
        font-size: max(16px, calc(16px * var(--app-font-scale, 1)));
    }

    .f-lightbox {
        width: 100vw;
        height: 100dvh;
        max-width: none;
        max-height: none;
        padding: 55px 8px;
        border-radius: 0;
    }

    .f-lightbox .f-dialog-header {
        left: 15px;
        right: 15px;
        top: 10px;
    }

    .f-lightbox-controls {
        left: 8px;
        right: 8px;
    }

    

    .f-empty {
        padding: 65px 15px 50px;
    }

    .f-empty h2 {
        font-size: calc(18px * var(--app-font-scale, 1));
    }

    .f-empty p {
        font-size: calc(11px * var(--app-font-scale, 1));
    }
}

/* Comment people tags keep selected identities separate from editable plain text. */

.f-comment-compose {
    position: relative;
    margin-top: 20px;
}

.f-comment-compose > .f-comment-form {
    margin-top: 0;
}

.f-comment-entry {
    display: flex;
    flex: 1;
    min-width: 0;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3px 7px;
}

.f-comment-form .f-comment-entry textarea {
    flex: 1 1 130px;
    width: 100%;
}

.f-reply-tag {
    display: inline-block;
    flex: 0 1 auto;
    max-width: 100%;
    padding: 5px 8px;
    margin-top: 1px;
    border: 1px solid var(--theme-line,#e3e6e9);
    border-radius: 7px;
    background: var(--theme-surface,#fff);
    color: var(--theme-ink,#2b3037);
    font-size: calc(11px * var(--app-font-scale, 1));
    font-weight: 700;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    user-select: none;
}

.f-mention-hint {
    margin: 7px 2px 0;
    color: var(--theme-muted,#a1a7af);
    font-size: calc(9px * var(--app-font-scale, 1));
    line-height: 1.6;
}

.f-comment-mention {
    color: var(--theme-ink,#242a31);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--theme-border,#d8dde3);
    text-underline-offset: 3px;
}

.f-comment-mention:hover {
    text-decoration-color: var(--theme-ink,#242a31);
}

.f-comment[id] {
    scroll-margin-top: 100px;
}

@media (max-width: 640px) {
    .f-mention-popover {
        max-height: 220px;
    }

    .f-reply-tag {
        font-size: calc(10px * var(--app-font-scale, 1));
    }

    .f-mention-option strong {
        font-size: calc(11px * var(--app-font-scale, 1));
    }
}

/* Feed Video Player */
.f-slide-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    cursor: pointer;
}

.f-video-mute-btn {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.f-video-mute-btn:hover {
    background: rgba(0, 0, 0, 0.82);
    transform: scale(1.06);
}

.f-video-mute-btn:active {
    transform: scale(0.95);
}
