.sidebar-feed {
    color: #eee;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    padding: 10px 10px;
    font-family: 'Segoe UI', Arial, sans-serif;
    width: 100%;
    height: 740px; /* Container height */
    box-sizing: border-box;
    text-align: center;
    overflow: hidden; /* Keep container from expanding */
    display: flex;
    flex-direction: column;
}

.sidebar-feed ul {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto; /* Adds vertical scroll */
    overflow-x: hidden;
    flex-grow: 1;
    max-height: 100%;
}

.sidebar-feed ul::-webkit-scrollbar {
    width: 6px;
}

.sidebar-feed ul::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}

.sidebar-feed ul:hover::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.4);
}

.sidebar-feed h3 {
    margin-top: 0;
    font-size: 1.18em;
    letter-spacing: 0.05em;
    color: #7ec7ff;
}

.sidebar-feed li:last-child {
    border-bottom: none;
}

.sidebar-feed li {
    z-index: 1;
    cursor: default !important;
    margin-bottom: 10px;
    padding: 6px 8px;
    border-bottom: 1px solid #233;
    position: relative;
    overflow: visible;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 6px;
    transition:
        background 0.16s,
        box-shadow 0.16s,
        transform 0.16s;
    display: block;
    text-align: center;
}

.sidebar-feed li:hover {
    z-index: 1001;
    background: rgba(0, 0, 0, 0.55);
    box-shadow: 0 3px 12px #233a5c55;
    transform: scale(1.02);
    border-radius: 7px;
}

.feed-world {
    color: #ffe76e;
    font-weight: bold;
    margin-right: 6px;
    letter-spacing: 0.02em;
}

.feed-message {
    height: 34px;
    line-height: 17px;
    overflow: hidden;
    color: #e7e7e7;
    font-size: 1.05em;
    margin: 2px auto;
    word-break: break-word;
    display: block;
    max-width: calc(100% - 40px);
}

.feed-message img {
    height: 19px;
    vertical-align: text-bottom;
}

.feed-time {
    color: #b1badb;
    font-size: 0.93em;
    opacity: 0.85;
    font-family: monospace;
}

.feed-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.99em;
    margin-bottom: 2px;
}

/* Optional: Make icons a bit larger on hover for flair */
.sidebar-feed li:hover .feed-message img {
    filter: brightness(1.13);
    transform: scale(1.10);
    transition: filter 0.12s, transform 0.12s;
}
