.home-container {
    /* Layout handled by app-shell */
}

.feed-header {
    margin-bottom: 2rem;
    text-align: center;
}

.feed-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feed-header p {
    color: var(--text-secondary);
}

.feed-item {
    /* Base styles handled by .glass-card */
}

.feed-item:hover {
    /* Hover handled by .glass-card */
}

.feed-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.feed-header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.loading-muted {
    text-align: center;
    color: var(--text-secondary);
    padding: 1rem;
}

.feed-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feed-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
}

.feed-user-details {
    display: flex;
    flex-direction: column;
}

.feed-name {
    font-weight: 600;
    color: #60a5fa;
    text-decoration: none;
}

.feed-name:hover {
    text-decoration: underline;
}

.feed-handle {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.feed-time {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.feed-context {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.feed-context a {
    color: var(--accent-primary);
    text-decoration: none;
}

.feed-context a:hover {
    text-decoration: underline;
}

.feed-body {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feed-body--clamp {
    max-height: var(--post-clamp-height, 320px);
    overflow: hidden;
    position: relative;
}

.feed-body--clamp.is-truncated {
    padding-bottom: 0;
}

.feed-body__more {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10.4rem 0.25rem 0.75rem;
    text-align: center;
    color: var(--text-tertiary);
    background: linear-gradient(to bottom, rgb(255 255 255 / 0%), rgb(20 20 22))
}

.feed-body--clamp.is-truncated .feed-body__more {
    display: block;
}

.feed-body__more a {
    color: var(--accent-primary);
    text-decoration: none;
}

.feed-body__more a:hover {
    text-decoration: underline;
}

.md {
    color: var(--text-secondary);
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.md p {
    margin: 0.65rem 0;
}

.md p:first-child {
    margin-top: 0;
}

.md p:last-child {
    margin-bottom: 0;
}

.md h1,
.md h2,
.md h3 {
    margin: 0.9rem 0 0.5rem;
    line-height: 1.25;
    color: var(--text-primary);
}

.md h1 {
    font-size: 1.25rem;
}

.md h2 {
    font-size: 1.1rem;
}

.md h3 {
    font-size: 1rem;
}

.md ul,
.md ol {
    margin: 0.65rem 0 0.65rem 1.25rem;
}

.md li+li {
    margin-top: 0.2rem;
}

.md a {
    color: var(--accent-primary);
    text-decoration: none;
}

.md a:hover {
    text-decoration: underline;
}

.md code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.92em;
    padding: 0.12em 0.35em;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.md pre {
    margin: 0.75rem 0;
    padding: 0.9rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: auto;
}

.md pre code {
    padding: 0;
    border: 0;
    background: transparent;
}

.md-omitted {
    color: var(--text-tertiary);
    font-style: italic;
}

.feed-actions {
    display: flex;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s;
}

button.action-btn {
    background: transparent;
    border: 0;
    padding: 0;
    font: inherit;
}

.action-btn:hover {
    color: var(--text-primary);
}

.action-btn.is-active {
    color: var(--text-primary);
    font-weight: 700;
}
