/* NiteFadeOfficial — Article Newsroom V3 */
body.nf-newsroom-v3-active {
    --nf3-surface: rgba(12, 17, 28, 0.95);
    --nf3-line: rgba(148, 163, 184, 0.18);
    --nf3-muted: #9aa8bd;
    --nf3-accent: #7c5cff;
    --nf3-danger: #ff4d67;
    --nf3-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

#nf-v3-reading-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 9999;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

#nf-v3-reading-progress > span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #7c5cff, #b967ff, #5fd6ff);
    box-shadow: 0 0 18px rgba(124, 92, 255, 0.7);
}

body.nf-newsroom-v3-active .article-header {
    position: relative;
    overflow: hidden;
    max-width: 1280px;
    margin-top: 1.25rem;
    padding: clamp(2rem, 5vw, 4.6rem);
    border: 1px solid var(--nf3-line);
    border-radius: 28px;
    background:
        radial-gradient(circle at 85% 10%, rgba(124, 92, 255, 0.18), transparent 34%),
        linear-gradient(145deg, rgba(18, 24, 39, 0.98), rgba(7, 11, 19, 0.98));
    box-shadow: var(--nf3-shadow);
}

body.nf-newsroom-v3-active .article-header::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(#7c5cff, #5fd6ff);
}

body.nf-newsroom-v3-active .article-header h1 {
    max-width: 1100px;
    margin: 0;
    font-size: clamp(2.55rem, 6vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

body.nf-newsroom-v3-active .article-header .article-summary {
    max-width: 900px;
    margin-top: 1.6rem;
    color: #c8d2e2;
    font-size: clamp(1.08rem, 2vw, 1.42rem);
    line-height: 1.62;
}

body.nf-newsroom-v3-active .article-header .article-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.35rem 0.72rem;
    border: 1px solid var(--nf3-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: #c9d4e7;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nf-newsroom-v3-intro {
    margin-top: 1rem;
}

.nf-v3-alert-ribbon,
.nf-v3-update-ribbon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 77, 103, 0.34);
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(255, 77, 103, 0.14), rgba(255, 77, 103, 0.035));
    color: #ffd9df;
}

.nf-v3-update-ribbon {
    border-color: rgba(95, 214, 255, 0.26);
    background: linear-gradient(90deg, rgba(95, 214, 255, 0.12), rgba(95, 214, 255, 0.025));
    color: #d9f6ff;
}

.nf-v3-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--nf3-danger);
    box-shadow: 0 0 0 7px rgba(255, 77, 103, 0.12);
}

.nf-v3-command-row,
.nf-v3-story-state,
.nf-v3-story-actions {
    display: flex;
    align-items: center;
}

.nf-v3-command-row {
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.nf-v3-story-state,
.nf-v3-story-actions {
    flex-wrap: wrap;
    gap: 0.55rem;
}

.nf-v3-story-state span {
    color: var(--nf3-muted);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nf-v3-story-state span + span::before {
    content: "•";
    margin-right: 0.55rem;
    color: rgba(148, 163, 184, 0.5);
}

.nf-v3-story-actions button,
.nf-v3-story-actions a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 38px;
    padding: 0.55rem 0.78rem;
    border: 1px solid var(--nf3-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: #dde6f4;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 750;
    cursor: pointer;
    text-decoration: none;
}

.nf-v3-story-actions button:hover,
.nf-v3-story-actions a:hover {
    border-color: rgba(124, 92, 255, 0.55);
    background: rgba(124, 92, 255, 0.14);
    color: #fff;
}

.nf-v3-briefing {
    padding: clamp(1.25rem, 2.5vw, 2rem);
    border: 1px solid rgba(124, 92, 255, 0.32);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(124, 92, 255, 0.14), transparent 56%),
        var(--nf3-surface);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.nf-v3-briefing-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.nf-v3-kicker {
    display: block;
    margin-bottom: 0.35rem;
    color: #a996ff;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.nf-v3-briefing h2,
.nf-v3-review-copy h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.18;
}

.nf-v3-briefing-heading small {
    color: var(--nf3-muted);
    white-space: nowrap;
}

.nf-v3-briefing ul {
    display: grid;
    gap: 0.72rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nf-v3-briefing li {
    position: relative;
    padding-left: 1.4rem;
    color: #d7dfeb;
    line-height: 1.58;
}

.nf-v3-briefing li::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c5cff, #5fd6ff);
}

.nf-v3-review-verdict {
    display: grid;
    grid-template-columns: minmax(130px, 180px) 1fr;
    gap: 1.4rem;
    margin-top: 1rem;
    padding: clamp(1.2rem, 2.5vw, 2rem);
    border: 1px solid rgba(56, 217, 150, 0.28);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(56, 217, 150, 0.1), transparent 48%),
        var(--nf3-surface);
}

.nf-v3-review-score {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(56, 217, 150, 0.35);
    border-radius: 18px;
    background: rgba(4, 12, 12, 0.45);
}

.nf-v3-review-score strong {
    color: #fff;
    font-size: clamp(3rem, 7vw, 5.4rem);
    line-height: 0.9;
}

.nf-v3-review-score span {
    margin-top: 0.6rem;
    color: #8debc3;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.nf-v3-review-balance {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.1rem;
}

.nf-v3-review-balance > div {
    padding: 1rem;
    border: 1px solid var(--nf3-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}

body.nf-newsroom-v3-active .standard-article-cover {
    max-width: 1280px;
    overflow: hidden;
    border: 1px solid var(--nf3-line);
    border-radius: 26px;
    box-shadow: var(--nf3-shadow);
}

body.nf-newsroom-v3-active .standard-article-cover img {
    width: 100%;
    max-height: 760px;
    object-fit: cover;
}

body.nf-newsroom-v3-active .article-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 340px);
    align-items: start;
    gap: clamp(2rem, 4vw, 4rem);
    max-width: 1280px;
}

body.nf-newsroom-v3-active .article-main-column {
    min-width: 0;
    max-width: 790px;
}

body.nf-newsroom-v3-active .article-rich-body {
    color: #dbe3ef;
    font-size: clamp(1.05rem, 1.3vw, 1.18rem);
    line-height: 1.86;
}

body.nf-newsroom-v3-active .article-rich-body > p:first-of-type {
    color: #f1f5fb;
    font-size: 1.12em;
}

body.nf-newsroom-v3-active .article-rich-body h2 {
    margin-top: 2.5em;
    padding-top: 0.55em;
    border-top: 1px solid var(--nf3-line);
    color: #fff;
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    line-height: 1.14;
    scroll-margin-top: 100px;
}

body.nf-newsroom-v3-active .article-rich-body h3 {
    margin-top: 2em;
    color: #f4f7fb;
    scroll-margin-top: 100px;
}

body.nf-newsroom-v3-active .article-rich-body blockquote {
    margin: 2rem 0;
    padding: 1.4rem 1.6rem;
    border: 0;
    border-left: 4px solid #7c5cff;
    border-radius: 0 16px 16px 0;
    background: linear-gradient(90deg, rgba(124, 92, 255, 0.14), rgba(124, 92, 255, 0.025));
    color: #eef2ff;
}

.nf-newsroom-v3-rail {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 1rem;
    max-height: calc(100vh - 110px);
    overflow: auto;
}

.nf-v3-rail-card {
    padding: 1rem;
    border: 1px solid var(--nf3-line);
    border-radius: 18px;
    background: var(--nf3-surface);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.nf-v3-rail-heading {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 850;
    text-transform: uppercase;
}

#nf-v3-toc {
    display: grid;
    gap: 0.25rem;
}

#nf-v3-toc a {
    display: block;
    padding: 0.55rem 0.65rem;
    border-left: 2px solid transparent;
    border-radius: 0 8px 8px 0;
    color: #aeb9c9;
    font-size: 0.84rem;
    line-height: 1.35;
    text-decoration: none;
}

#nf-v3-toc a[data-level="3"] {
    padding-left: 1.15rem;
    font-size: 0.79rem;
}

#nf-v3-toc a:hover,
#nf-v3-toc a.is-active {
    border-left-color: #7c5cff;
    background: rgba(124, 92, 255, 0.1);
    color: #fff;
}

.nf-v3-trust-card dl {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.nf-v3-trust-card dt {
    color: var(--nf3-muted);
    font-size: 0.68rem;
    font-weight: 850;
    text-transform: uppercase;
}

.nf-v3-trust-card dd {
    margin: 0.15rem 0 0;
    color: #e4ebf5;
    font-size: 0.84rem;
}

.nf-v3-game-card h3 {
    margin: 0;
    color: #fff;
}

.nf-v3-game-card p {
    color: #b7c2d2;
    font-size: 0.82rem;
    line-height: 1.5;
}

.nf-v3-game-card > a {
    color: #a996ff;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.nf-v3-story-list ol {
    display: grid;
    gap: 0.15rem;
    margin: 0.6rem 0 0;
    padding: 0;
    list-style: none;
}

.nf-v3-story-list li a {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 0.65rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    color: #e3e9f2;
    text-decoration: none;
}

.nf-v3-story-list li a > span {
    color: #7c5cff;
    font-size: 1.25rem;
    font-weight: 900;
}

.nf-v3-story-list li strong,
.nf-v3-latest-list strong {
    font-size: 0.82rem;
    line-height: 1.35;
}

.nf-v3-latest-list {
    display: grid;
}

.nf-v3-latest-list > a {
    display: grid;
    gap: 0.2rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    color: #e6ebf4;
    text-decoration: none;
}

.nf-v3-latest-list small {
    color: var(--nf3-muted);
    font-size: 0.65rem;
    font-weight: 850;
    text-transform: uppercase;
}

.nf-v3-inline-related {
    margin: 2rem 0;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(124, 92, 255, 0.28);
    border-radius: 14px;
    background: rgba(124, 92, 255, 0.08);
}

.nf-v3-inline-related span {
    display: block;
    margin-bottom: 0.25rem;
    color: #a996ff;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.nf-v3-inline-related a {
    color: #fff !important;
    font-weight: 850;
    text-decoration: none !important;
}

.nf-v3-resume-toast {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 5000;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 0.8rem;
    width: min(460px, calc(100vw - 2rem));
    padding: 1rem;
    border: 1px solid rgba(124, 92, 255, 0.4);
    border-radius: 16px;
    background: rgba(10, 14, 23, 0.96);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.46);
}

.nf-v3-resume-toast[hidden] {
    display: none;
}

.nf-v3-resume-toast div {
    display: grid;
    gap: 0.2rem;
}

.nf-v3-resume-toast strong {
    color: #fff;
    font-size: 0.88rem;
}

.nf-v3-resume-toast span {
    color: var(--nf3-muted);
    font-size: 0.76rem;
}

.nf-v3-resume-toast button {
    min-height: 36px;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--nf3-line);
    border-radius: 10px;
    background: rgba(124, 92, 255, 0.14);
    color: #fff;
    font: inherit;
    cursor: pointer;
}


@media (max-width: 1040px) {
    body.nf-newsroom-v3-active .article-content-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    body.nf-newsroom-v3-active .article-main-column {
        max-width: none;
    }

    .nf-newsroom-v3-rail {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: none;
        overflow: visible;
    }

    .nf-newsroom-v3-rail > :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    body.nf-newsroom-v3-active .article-header {
        margin-top: 0.65rem;
        padding: 1.35rem;
        border-radius: 20px;
    }

    body.nf-newsroom-v3-active .article-header h1 {
        font-size: clamp(2.15rem, 11vw, 3.5rem);
        line-height: 1.02;
    }

    .nf-v3-command-row,
    .nf-v3-briefing-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .nf-v3-story-actions {
        width: 100%;
    }

    .nf-v3-story-actions button,
    .nf-v3-story-actions a {
        flex: 1;
        justify-content: center;
    }

    .nf-v3-review-verdict,
    .nf-v3-review-balance,
    .nf-newsroom-v3-rail {
        grid-template-columns: 1fr;
    }

    body.nf-newsroom-v3-active .article-rich-body {
        font-size: 1rem;
        line-height: 1.78;
    }
}
#nf-newsroom-v3-rail[hidden] {
    display: none !important;
}\n\n/* NITEFADE ARTICLE NEWSROOM V3.4 CLEAN VIDEO CARDS */
/*
Remove the large centre play circle from public article
recommendation cards. The poster/card link remains clickable.
Actual watch-page and embedded-player controls are untouched.
*/
.watch-next-section .premium-video-center-play,
.watch-next-section .premium-video-poster button,
.watch-next-section .premium-video-poster [class*="play"],
.watch-next-section .video-card-play,
.watch-next-section .play-overlay,
.watch-next-section [class*="center-play"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.watch-next-section .premium-video-poster,
.watch-next-section .premium-video-card > a {
    cursor: pointer;
}\n

/* NITEFADE ARTICLE NEWSROOM V3.5 EXACT PLAY OVERLAY FIX */
/*
The rendered recommendation-card overlay uses:
    .premium-video-play

Hide it only inside the public article Watch Next section.
The entire poster link remains clickable.
*/
.watch-next-section .premium-video-card-image > .premium-video-play,
.watch-next-section .premium-video-play {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* NITEFADE ARTICLE NEWSROOM V3.6 COMPACT LEAD IMAGES */
/*
Keep news-article lead images consistent on desktop, split-screen,
tablet and mobile layouts. Captions, credits and share controls remain
outside the crop and are not modified.
*/
.nf-article-lead-media img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    object-position: 50% 32% !important;
}

@media (max-width: 900px) {
    .nf-article-lead-media img {
        aspect-ratio: 16 / 9 !important;
        object-position: 50% 30% !important;
    }
}

/* NITEFADE ARTICLE NEWSROOM V3.7 FULL LEAD IMAGES */
/*
Show the complete article lead image without cropping while keeping
the compact newsroom frame introduced in V3.6.
*/
.nf-article-lead-media img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #090f18 !important;
}

@media (max-width: 900px) {
    .nf-article-lead-media img {
        aspect-ratio: 16 / 9 !important;
        object-fit: contain !important;
        object-position: center center !important;
    }
}
