html{
    color-scheme: light dark;
    font-family: system-ui;
}
body{
    margin: 0;
    padding-bottom: 5.5rem;
}
mdui-navigation-bar{
    background-color: rgb(var(--mdui-color-surface-container-high));
}
mdui-top-app-bar{
    display: flex;
    background-color: rgb(var(--mdui-color-surface-container));
    height: fit-content;
    align-items: center;
}
#searchbar{
    flex-grow: 1;
    width: unset;
}
#account-button{
    width: 2.6rem;
    height: 2.6rem;
}
.logged-out{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.dialog-actions{
    display: flex;
    justify-content: flex-end;
    padding-top: 1.5rem;
    gap: 0.5rem;
}
.hidden{
    display: none !important;
}
.feed-loading{
    display: flex;
    justify-content: center;
    padding: 1rem;
}
.timeline-screen{
    padding: 1rem;
}
.timeline-controls{
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.instance-controls{
    display: flex;
    gap: 0.5rem;
    align-items: end;
}
.instance-controls mdui-text-field{
    flex: 1;
}
.chip-row{
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.feed{
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.feed-bottom-loading{
    position: sticky;
    bottom: 4.9rem;
    margin-top: 0.75rem;
}
.post-card{
    background: rgb(var(--mdui-color-surface-container));
    border-radius: 14px;
    padding: 0.9rem;
}
.post-header{
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.5rem;
}
.post-meta{
    display: flex;
    flex-direction: column;
}
.post-author{
    font-weight: 700;
}
.post-instance{
    opacity: 0.75;
    font-size: 0.9rem;
}
.post-content{
    line-height: 1.4;
    word-break: break-word;
}
.feed-empty{
    opacity: 0.75;
}
.post-card.reblog-card{
    border-left: 4px solid rgb(var(--mdui-color-primary));
}
.reblog-label{
    opacity: 0.75;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.post-actions{
    display: flex;
    gap: 0.7rem;
    align-items: center;
    margin-top: 0.7rem;
    flex-wrap: wrap;
}

.post-action-section{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}
.reply-composer{
    display: flex;
    align-items: end;
    gap: 0.6rem;
    margin: 0.8rem 0;
}
.reply-composer mdui-text-field{
    flex: 1;
}
.fullscreen-view{
    position: fixed;
    inset: 0;
    background: rgb(var(--mdui-color-background));
    z-index: 100;
    overflow-y: auto;
    padding: 1rem 1rem 6rem;
}
.fullscreen-header{
    margin-bottom: 0.75rem;
}
.profile-header{
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 0.8rem;
}
.profile-header-meta{
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.profile-note{
    opacity: 0.9;
    line-height: 1.4;
}
.profile-actions{
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}
mdui-avatar{
    border-radius: 5px;
}
.avatar-img{
    height: 2.5rem;
    width: 2.5rem;
}
.post-media{
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.post-media *{
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}
.sensitive {
    filter: blur(50px);
}
.single-media-container {
    overflow: hidden;
}
.clickable{
    cursor: pointer;
}
#trending-content-tabs{
    margin-top: 0.5rem;
}
#trending-tags-feed{
    gap: 0.5rem;
}
.new-post-fab{
    position: fixed;
    right: 1rem;
    bottom: 6rem;
    z-index: 120;
}