.admin-news-shell {
    padding: 105px 0 60px
}

.admin-news-form {
    padding: 1.25rem
}

.admin-news-form .form-control {
    background: #0b0c0e;
    border-color: #343941
}

.news-cover-preview {
    display: block;
    width: 100%;
    max-height: 330px;
    object-fit: cover;
    border: 1px solid var(--line)
}

.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    padding: .65rem;
    background: #090a0c;
    border: 1px solid var(--line);
    border-bottom: 0
}

.editor-toolbar button {
    border: 1px solid #3a3f48;
    background: #171a1f;
    color: #fff;
    padding: .4rem .7rem;
    font-size: .78rem
}

.editor-toolbar button:hover {
    border-color: var(--red);
    color: #ff7378
}

.news-editor {
    position: relative;
    min-height: 430px;
    padding: 1.25rem;
    background: #fff;
    color: #161616;
    border: 1px solid var(--line);
    outline: 0;
    line-height: 1.75
}

.news-editor:empty::before {
    content: attr(data-placeholder);
    color: #777;
    pointer-events: none
}

.news-editor h2,
.news-editor h3 {
    margin: 1.5rem 0 .75rem;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800
}

.news-editor img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto
}

.news-editor blockquote {
    padding: .8rem 1rem;
    border-left: 4px solid var(--red);
    background: #f1f1f1
}

.admin-news-list article {
    padding: 1rem;
    border-bottom: 1px solid var(--line)
}

.admin-news-list article:last-child {
    border-bottom: 0
}

.admin-news-list h3 {
    font: 800 1.15rem "Barlow Condensed", sans-serif;
    margin: 0
}

.admin-news-list small {
    color: var(--muted)
}

.news-page {
    padding: 130px 0 80px
}

.news-card {
    height: 100%;
    background: var(--panel);
    border: 1px solid var(--line);
    overflow: hidden
}

.news-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover
}

.news-card-body {
    padding: 1.25rem
}

.news-card h2,
.news-card h3 {
    font: 800 1.6rem "Barlow Condensed", sans-serif
}

.news-card p {
    color: var(--muted)
}

.news-meta {
    color: #f08b8f;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em
}

.article-shell {
    max-width: 900px
}

.article-admin-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .6rem;
    margin-bottom: 1rem
}

.article-admin-actions .btn {
    min-width: 110px
}

.news-delete-modal .modal-content {
    border: 1px solid #3b414b;
    background: linear-gradient(145deg, #171a20, #0b0c0f)
}

.news-delete-modal .modal-header {
    border-bottom-color: #30343c
}

.news-delete-modal .modal-footer {
    border-top-color: #30343c
}

.article-cover {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border: 1px solid var(--line)
}

.article-content {
    position: relative;
    margin-top: 2rem;
    padding: clamp(1.25rem, 4vw, 3rem);
    padding-top: clamp(3.75rem, 7vw, 5rem);
    background: #fff;
    color: #171717;
    font-size: 1.05rem;
    line-height: 1.85;
    transition: background-color .25s ease, color .25s ease
}

.article-theme-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #c9c9c9;
    border-radius: 50%;
    background: #f4f4f4;
    color: #202020;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease
}

.article-theme-toggle:hover {
    transform: translateY(-1px);
    border-color: #a70d13
}

.article-theme-toggle:focus-visible {
    outline: 3px solid rgba(200, 20, 28, .35);
    outline-offset: 3px
}

.article-theme-icon-sun,
.article-content.is-dark .article-theme-icon-moon {
    display: none
}

.article-content.is-dark .article-theme-icon-sun {
    display: inline
}

.article-content.is-dark {
    background: #15171b;
    color: #f2f3f5
}

.article-content.is-dark .article-theme-toggle {
    border-color: #4a4e57;
    background: #24272d;
    color: #fff
}

.article-content h2,
.article-content h3 {
    margin: 2rem 0 1rem;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800
}

.article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto
}

.article-content blockquote {
    padding: 1rem 1.3rem;
    border-left: 5px solid var(--red);
    background: #f0f0f0;
    transition: background-color .25s ease
}

.article-content.is-dark blockquote {
    background: #24272d
}

.article-content a {
    color: #b20f16
}

.article-content.is-dark a {
    color: #ff777c
}

.news-prompt-generator { padding: 1.25rem }
.news-prompt-generator .panel-head { align-items: flex-end }
.news-prompt-generator .panel-head small { color: var(--red); font-size: .68rem; font-weight: 800; letter-spacing: .12em }
.news-prompt-generator .panel-head h3 { margin-top: .2rem; font-size: 1.65rem }
.news-prompt-generator textarea { margin-top: .75rem; background: #090a0c; border-color: #343941; color: #dce2e9; font-family: Consolas, monospace; font-size: .82rem; line-height: 1.55 }
.round-prompt-summary { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; color: #fff }
.round-prompt-summary span { color: var(--muted) }
@media (max-width: 700px) { .news-prompt-generator .panel-head,.round-prompt-summary { align-items: flex-start; flex-direction: column } }
