
/* =====================================================
   NEWS SHOW PAGE
===================================================== */

.news-show-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 16px 60px;
}

.news-show-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* --- Breadcrumb --- */

.news-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
    flex-wrap: wrap;
}

.news-breadcrumb a {
    color: #49b120;
    text-decoration: none;
    transition: color .15s;
}

.news-breadcrumb a:hover {
    color: #6dd840;
}

.news-breadcrumb-sep {
    color: #3a3f47;
}

/* --- Header --- */

.news-show-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-show-date {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.news-show-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin: 0;
}

/* --- Cover --- */

.news-show-cover {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.35);
}

.news-show-cover img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Article --- */

.news-show-article {
    background: rgba(15,21,28,.7);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
    padding: 24px;
}

.news-show-content {
    line-height: 1.7;
    color: #d1d5db;
}

.news-show-content h1,
.news-show-content h2,
.news-show-content h3 {
    color: #fff;
    margin: 16px 0 8px;
}

.news-show-content ul,
.news-show-content ol {
    padding-left: 24px;
}

.news-show-content li {
    margin-bottom: 4px;
}

.news-show-content blockquote {
    border-left: 3px solid #49b120;
    padding: 8px 16px;
    margin: 12px 0;
    background: rgba(73,177,32,.06);
    border-radius: 0 8px 8px 0;
    color: #9ca3af;
}

.news-show-content code {
    background: rgba(0,0,0,.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    color: #6dd840;
}

.news-show-content pre {
    background: rgba(0,0,0,.35);
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 12px 0;
}

.news-show-content pre code {
    background: none;
    padding: 0;
}

.news-show-content hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,.08);
    margin: 20px 0;
}

.news-show-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 8px 0;
}

/* --- Back --- */

.news-show-back {
    padding: 8px 0;
}

.news-show-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #49b120;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color .15s;
}

.news-show-back-link:hover {
    color: #6dd840;
}

/* =====================================================
   COMMENTS (forum-style)
===================================================== */

.bug-comments {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.bug-comments__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bug-comments__title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.bug-comments__count {
    background: rgba(73,177,32,.12);
    color: #49b120;
    font-size: 13px;
    font-weight: 600;
    padding: 2px 12px;
    border-radius: 12px;
}

/* --- Thread --- */

.forum-thread {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.forum-thread__empty {
    color: #6b7280;
    font-size: 14px;
    text-align: center;
    padding: 24px 0;
}

/* --- Post --- */

.forum-post {
    display: flex;
    flex-direction: row;
    border-top: 1px solid rgba(255,255,255,.06);
    background: rgba(15,21,28,.7);
}

.forum-post:first-child {
    border-top: none;
}

/* Avatar column (aside) */

.forum-post__avatar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    min-width: 120px;
    border-right: 1px solid rgba(255,255,255,.04);
    background: rgba(0,0,0,.1);
}

.forum-post__avatar-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
}

.char-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(73,177,32,.25);
    background: rgba(0,0,0,.3);
    position: relative;
}

.char-avatar__frame {
    width: 100%;
    height: 100%;
}

.char-avatar__portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.forum-post__name {
    font-size: 13px;
    font-weight: 700;
    color: #69CCF0;
    text-align: center;
    line-height: 1.3;
}

.forum-post__name--blizzard {
    color: #69CCF0;
}

.forum-post__role-pill {
    font-size: 11px;
    color: #6b7280;
    background: rgba(255,255,255,.05);
    padding: 2px 8px;
    border-radius: 8px;
    text-align: center;
    margin-top: 4px;
}

/* Body column */

.forum-post__body-col {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.forum-post__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,.04);
    background: rgba(0,0,0,.1);
}

.forum-post__time {
    font-size: 12px;
    color: #6b7280;
}

.forum-post__num {
    font-size: 12px;
    color: #49b120;
    text-decoration: none;
    font-weight: 600;
    transition: color .15s;
}

.forum-post__num:hover {
    color: #6dd840;
}

/* Content */

.forum-post__content-col {
    flex: 1;
}

.forum-post__content-wrap {
    padding: 16px 20px;
}

.forum-post__content {
    font-size: 14px;
    line-height: 1.65;
    color: #d1d5db;
}

.forum-post__content p {
    margin: 0;
}

/* Footer */

.forum-post__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
    border-top: 1px solid rgba(255,255,255,.04);
    background: rgba(0,0,0,.08);
}

.forum-post__actions {
    display: flex;
    gap: 8px;
}

.forum-post__action-btn {
    background: none;
    border: 1px solid rgba(255,255,255,.08);
    color: #6b7280;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all .15s;
}

.forum-post__action-btn:hover {
    border-color: rgba(255,255,255,.15);
    color: #9ca3af;
    background: rgba(255,255,255,.04);
}

/* Login notice */

.forum-topic-notice {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 20px;
    background: rgba(73,177,32,.06);
    border: 1px solid rgba(73,177,32,.15);
    border-radius: 10px;
    font-size: 14px;
    color: #9ca3af;
}

.forum-topic-notice__link {
    color: #49b120;
    font-weight: 600;
    text-decoration: none;
    transition: color .15s;
}

.forum-topic-notice__link:hover {
    color: #6dd840;
}

/* --- Comment form --- */

.forum-comment-form {
    background: rgba(15,21,28,.7) !important;
    border: 1px solid rgba(255,255,255,.06) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.forum-comment-form__head {
    padding: 16px 20px !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
}

.forum-comment-form__head h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #fff !important;
    margin: 0 !important;
}

.forum-comment-form__body {
    padding: 16px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.forum-comment-form__character-select {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.forum-comment-form__character-select label {
    font-size: 12px !important;
    color: #6b7280 !important;
    font-weight: 600 !important;
}

.forum-comment-form__character-select select {
    background: rgba(0,0,0,.25) !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 8px !important;
    color: #d1d5db !important;
    font-size: 14px !important;
    font-family: inherit !important;
    padding: 10px 12px !important;
    cursor: pointer !important;
    transition: border-color .15s !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 36px !important;
}

.forum-comment-form__character-select select:focus {
    outline: none !important;
    border-color: rgba(73,177,32,.4) !important;
}

.forum-comment-form__character-select select option {
    background: #0f151c !important;
    color: #d1d5db !important;
    padding: 8px !important;
}

.forum-comment-form__body textarea {
    width: 100% !important;
    min-height: 100px !important;
    background: rgba(0,0,0,.25) !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 8px !important;
    color: #d1d5db !important;
    font-size: 14px !important;
    font-family: inherit !important;
    padding: 12px !important;
    resize: vertical !important;
    transition: border-color .15s !important;
    box-sizing: border-box !important;
}

.forum-comment-form__body textarea:focus {
    outline: none !important;
    border-color: rgba(73,177,32,.4) !important;
}

.forum-comment-form__body textarea::placeholder {
    color: #4b5563 !important;
}

.forum-comment-form__foot {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 20px !important;
    border-top: 1px solid rgba(255,255,255,.06) !important;
}

.forum-comment-form__submit {
    background: rgba(73,177,32,.15) !important;
    border: 1px solid rgba(73,177,32,.3) !important;
    color: #49b120 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 8px 20px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all .15s !important;
}

.forum-comment-form__submit:hover {
    background: rgba(73,177,32,.25) !important;
    border-color: rgba(73,177,32,.5) !important;
}

.forum-comment-form__hint {
    font-size: 12px !important;
    color: #6b7280 !important;
}

/* No chars notice */

.forum-topic-notice--no-chars {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 16px 20px !important;
    background: rgba(255,165,0,.06) !important;
    border: 1px solid rgba(255,165,0,.15) !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #d97706 !important;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {
    .news-show-page {
        padding: 12px 8px 40px;
    }

    .news-show-title {
        font-size: 22px;
    }

    .news-show-article {
        padding: 16px;
    }

    .forum-post {
        grid-template-columns: 1fr;
    }

    .forum-post__avatar-col {
        flex-direction: row;
        gap: 12px;
        padding: 12px 16px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.04);
        background: rgba(0,0,0,.1);
    }

    .char-avatar {
        width: 48px;
        height: 48px;
        border-radius: 8px;
    }

    .forum-post__head,
    .forum-post__content-wrap,
    .forum-post__footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}
