.news-admin {
    max-width: 1050px;
    width: 100%;
    margin: auto;
}

.news-feed {
    text-align: left;
}

.news-heading {
    font-size: 32px;
    letter-spacing: -1px;
    margin-bottom: 5px;
}

.news-card {
    background: #111827;
    border: 1px solid #263449;
    border-radius: 14px;
    padding: 25px;
    margin: 18px 0;
    overflow-wrap: anywhere;
}

.news-pinned {
    border-left: 4px solid #518fff;
}

.news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.news-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    background: #172e56;
    color: #80aaff;
    font-size: 12px;
    font-weight: 700;
}

.news-tag.news {
    background: #12392d;
    color: #4ade80;
}

.news-tag.update {
    background: #30234c;
    color: #c4b5fd;
}

.news-tag.maintenance {
    background: #493219;
    color: #fbbf24;
}

.news-tag.event {
    background: #49243b;
    color: #f9a8d4;
}

.news-pin,
.news-state {
    color: #94a3b8;
    font-size: 12px;
}

.news-message {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.8;
    color: #b5c3d8;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #263449;
    padding-top: 16px;
    margin-top: 20px;
    color: #8291a8;
    font-size: 13px;
}

.news-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.news-actions form {
    margin: 0;
}

.news-actions button {
    width: auto;
}

.news-button {
    display: inline-block;
    padding: 12px 18px;
    background: #3979ee;
    color: white;
    border-radius: 8px;
    text-decoration: none;
}

.news-secondary {
    background: #263449;
}

.news-danger {
    background: #991b1b;
    color: white;
}

.news-delete {
    margin-top: 20px;
    color: #f87171;
}

.news-delete summary {
    cursor: pointer;
}

.news-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-notice {
    background: #172e56;
    border: 1px solid #294b80;
    padding: 15px;
    border-radius: 8px;
}

#home .hero {
    padding: 45px 20px 30px;
}

#home .hero h1 {
    font-size: clamp(28px, 5vw, 48px);
}
