/* NewMovies Watch Page — premium movie player */

.nm-watch-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 87% 8%, rgba(105, 15, 29, .12), transparent 30%),
        #05080c;
    color: #f4f6f8;
}

.watch-shell-section {
    padding: 24px 0 34px;
}

.watch-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    color: #6f7b85;
    font-size: 11px;
    font-weight: 750;
}

.watch-breadcrumb a {
    color: #9aa5ae;
    text-decoration: none;
}

.watch-breadcrumb a:hover {
    color: #fff;
}

.watch-breadcrumb strong {
    color: #d94a5d;
}

.watch-ad-slot {
    display: flex;
    justify-content: center;
    overflow: hidden;
    margin: 0 0 16px;
    text-align: center;
}

.watch-ad-slot:empty {
    display: none;
}

.watch-ad-slot iframe,
.watch-ad-slot img,
.watch-ad-slot > div {
    max-width: 100%;
}

.watch-ad-slot-bottom {
    margin: 0;
    padding: 0 0 26px;
}

.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 22px;
    align-items: start;
}

.watch-player-column {
    min-width: 0;
}

.watch-player-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgba(119, 134, 146, .24);
    border-radius: 15px;
    background:
        linear-gradient(rgba(3, 7, 10, .25), rgba(3, 7, 10, .62)),
        var(--watch-poster) center / cover no-repeat,
        #080d12;
    box-shadow: 0 24px 66px rgba(0, 0, 0, .34);
}

.watch-player-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

.watch-player-loader {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-content: center;
    gap: 12px;
    background: rgba(4, 8, 12, .78);
    transition: opacity .22s ease, visibility .22s ease;
}

.watch-player-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.watch-player-loader > span {
    width: 34px;
    height: 34px;
    margin: 0 auto;
    border: 3px solid rgba(255, 255, 255, .14);
    border-top-color: #de3d52;
    border-radius: 50%;
    animation: watch-spin .8s linear infinite;
}

.watch-player-loader strong {
    color: #c7cfd5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
}

@keyframes watch-spin {
    to { transform: rotate(360deg); }
}

.watch-no-source {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 7px;
    padding: 30px;
    background: rgba(4, 9, 13, .78);
    text-align: center;
}

.watch-no-source > span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin: 0 auto 3px;
    border: 1px solid rgba(227, 56, 77, .34);
    border-radius: 50%;
    color: #e14a5d;
    font-size: 18px;
    font-weight: 900;
}

.watch-no-source strong {
    font-size: 17px;
}

.watch-no-source p {
    margin: 0;
    color: #8c98a1;
    font-size: 12px;
}

.watch-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 12px;
}

.watch-actions a,
.watch-actions button {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    color: #a5afb7;
    font-size: 11px;
    font-weight: 800;
}

.watch-actions a {
    text-decoration: none;
}

.watch-actions a:hover {
    color: #fff;
}

.watch-actions button {
    padding: 0 13px;
    border: 1px solid rgba(123, 138, 149, .22);
    border-radius: 8px;
    background: rgba(255, 255, 255, .018);
    cursor: pointer;
}

.watch-actions button:hover {
    color: #e86878;
    border-color: rgba(215, 66, 85, .36);
}

.watch-report-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    padding: 0 18px;
    border: 0 solid rgba(112, 126, 137, .18);
    border-radius: 11px;
    background: #0a1015;
    transition: max-height .25s ease, opacity .2s ease, padding .25s ease, margin .25s ease, border-width .25s ease;
}

.watch-report-panel.is-open {
    max-height: 480px;
    opacity: 1;
    margin-top: 12px;
    padding: 17px 18px 18px;
    border-width: 1px;
}

.watch-report-copy {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 13px;
}

.watch-report-copy strong {
    font-size: 13px;
}

.watch-report-copy span {
    color: #7c8992;
    font-size: 10px;
}

.watch-report-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 12px;
}

.watch-report-grid label {
    display: grid;
    gap: 7px;
}

.watch-report-grid label > span {
    color: #9ca7af;
    font-size: 10px;
    font-weight: 800;
}

.watch-report-grid label small {
    color: #68747d;
    font-size: 9px;
    font-weight: 700;
}

.watch-report-grid select,
.watch-report-grid textarea {
    width: 100%;
    border: 1px solid rgba(115, 130, 142, .22);
    border-radius: 8px;
    outline: none;
    background: #080e13;
    color: #dce2e6;
    font: inherit;
    font-size: 11px;
}

.watch-report-grid select {
    min-height: 41px;
    padding: 0 11px;
}

.watch-report-grid textarea {
    min-height: 82px;
    resize: vertical;
    padding: 10px 11px;
}

.watch-report-grid select:focus,
.watch-report-grid textarea:focus {
    border-color: rgba(218, 61, 81, .52);
}

.watch-report-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.watch-report-actions button {
    min-height: 37px;
    padding: 0 15px;
    border: 1px solid rgba(219, 61, 81, .4);
    border-radius: 8px;
    background: rgba(195, 39, 59, .13);
    color: #ebc7cd;
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
}

.watch-report-actions button:disabled {
    opacity: .55;
    cursor: wait;
}

.watch-report-message {
    color: #8d99a2;
    font-size: 10px;
}

.watch-report-message.success { color: #85c59e; }
.watch-report-message.error { color: #e97783; }

.watch-synopsis {
    margin-top: 18px;
    padding: 22px 23px 23px;
    border: 1px solid rgba(111, 126, 138, .17);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(12, 18, 24, .82), rgba(8, 13, 18, .9));
}

.watch-synopsis > span,
.watch-section-heading > span {
    color: #d64a5b;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.watch-synopsis h2 {
    margin: 7px 0 9px;
    color: #edf1f4;
    font-size: 23px;
    line-height: 1.1;
    letter-spacing: -.025em;
}

.watch-synopsis p {
    max-width: 920px;
    margin: 0;
    color: #aab4bc;
    font-size: 14px;
    line-height: 1.72;
}

.watch-sidebar {
    position: sticky;
    top: 90px;
    display: grid;
    gap: 13px;
}

.watch-summary,
.watch-server-panel,
.watch-detail-promo {
    border: 1px solid rgba(111, 126, 138, .19);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(13, 19, 25, .91), rgba(8, 13, 18, .95));
}

.watch-summary {
    padding: 18px;
}

.watch-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.watch-title-play {
    position: relative;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    border: 1px solid rgba(217, 64, 83, .48);
    border-radius: 8px;
    background: rgba(186, 36, 55, .12);
}

.watch-title-play::after {
    content: "";
    position: absolute;
    left: 11px;
    top: 8px;
    border-left: 9px solid #dc5566;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.watch-title-row h1 {
    min-width: 0;
    margin: 0;
    color: #f0f3f5;
    font-size: 22px;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.watch-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: #b3bbc2;
    font-size: 12px;
    font-weight: 750;
}

.watch-meta i {
    width: 1px;
    height: 13px;
    background: rgba(255, 255, 255, .24);
}

.watch-rating {
    color: #e8c86d;
}

.watch-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.watch-genres span {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    padding: 0 9px;
    border: 1px solid rgba(109, 126, 139, .24);
    border-radius: 999px;
    color: #bac3ca;
    font-size: 9px;
    font-weight: 800;
}

.watch-summary-note {
    display: grid;
    grid-template-columns: 27px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    margin-top: 14px;
    padding: 10px 11px;
    border: 1px solid rgba(130, 145, 155, .14);
    border-radius: 9px;
    background: rgba(255, 255, 255, .018);
}

.watch-summary-note-icon {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(218, 63, 82, .28);
    border-radius: 50%;
    color: #dc5566;
    font-size: 11px;
    font-weight: 900;
}

.watch-summary-note strong {
    display: block;
    color: #d5dce1;
    font-size: 10px;
    font-weight: 850;
}

.watch-summary-note p {
    margin: 4px 0 0;
    color: #7f8b94;
    font-size: 9.5px;
    line-height: 1.48;
}

.watch-server-panel {
    padding: 15px;
}

.watch-server-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 11px;
}

.watch-server-stack {
    position: relative;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
}

.watch-server-stack::before,
.watch-server-stack::after {
    content: "";
    position: absolute;
    left: 4px;
    width: 18px;
    height: 6px;
    border: 1.5px solid #cf4053;
    border-radius: 3px;
}

.watch-server-stack::before { top: 4px; }
.watch-server-stack::after { bottom: 4px; }

.watch-server-heading > div {
    display: flex;
    flex-direction: column;
}

.watch-server-heading strong {
    color: #e0e5e9;
    font-size: 13px;
}

.watch-server-heading small {
    margin-top: 2px;
    color: #6f7b84;
    font-size: 8.5px;
}

.watch-desktop-servers {
    display: grid;
    gap: 7px;
}

.watch-server-button {
    width: 100%;
    min-height: 51px;
    display: grid;
    grid-template-columns: 27px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    padding: 7px 9px;
    border: 1px solid rgba(105, 121, 133, .19);
    border-radius: 9px;
    background: #0a1116;
    color: #9ba6ae;
    text-align: left;
    cursor: pointer;
}

.watch-server-button:hover {
    border-color: rgba(199, 65, 82, .33);
    background: #0e161c;
    color: #fff;
}

.watch-server-button.is-active {
    border-color: rgba(214, 67, 85, .56);
    background: linear-gradient(90deg, rgba(133, 30, 44, .18), rgba(14, 20, 26, .96));
    color: #fff;
    box-shadow: inset 2px 0 0 #d8485a;
}

.watch-server-play {
    position: relative;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(126, 139, 149, .16);
}

.watch-server-play::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 8px;
    border-left: 7px solid #aeb8c0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.watch-server-button.is-active .watch-server-play {
    background: rgba(193, 47, 65, .22);
}

.watch-server-button.is-active .watch-server-play::after {
    border-left-color: #e76575;
}

.watch-server-copy {
    display: flex;
    flex-direction: column;
}

.watch-server-copy strong {
    font-size: 11px;
}

.watch-server-copy small {
    margin-top: 2px;
    color: #69757e;
    font-size: 8.5px;
    text-transform: capitalize;
}

.watch-quality {
    min-width: 30px;
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(116, 132, 144, .24);
    border-radius: 5px;
    color: #79858e;
    font-size: 7.5px;
    font-weight: 900;
}

.watch-server-button.is-active .watch-quality {
    border-color: rgba(215, 65, 84, .38);
    background: rgba(187, 42, 60, .13);
    color: #e7b8bf;
}

.watch-detail-promo {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 11px;
    padding: 10px;
    color: inherit;
    text-decoration: none;
}

.watch-detail-promo img {
    width: 66px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 7px;
}

.watch-detail-promo > span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.watch-detail-promo small {
    color: #cf4657;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.watch-detail-promo strong {
    margin-top: 4px;
    overflow: hidden;
    color: #eef1f4;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.watch-detail-promo em {
    margin-top: 5px;
    color: #75818a;
    font-size: 8.5px;
    font-style: normal;
}

.watch-mobile-server-wrap,
.watch-summary-mobile {
    display: none;
}

.watch-related-section {
    padding: 18px 0 54px;
}

.watch-section-heading {
    margin-bottom: 16px;
}

.watch-section-heading h2 {
    position: relative;
    display: inline-block;
    margin: 5px 0 0;
    padding-bottom: 11px;
    color: #eef1f3;
    background: linear-gradient(180deg, #fff 0%, #e6eaee 56%, #b6bec6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(25px, 2.7vw, 34px);
    line-height: 1.06;
    letter-spacing: -.035em;
}

.watch-section-heading h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(221, 65, 84, .86), rgba(221, 65, 84, 0));
}

.watch-related-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 13px;
}

.watch-related-grid .nm-card {
    min-width: 0;
}

@media (max-width: 1100px) {
    .watch-layout {
        grid-template-columns: minmax(0, 1fr) 290px;
        gap: 18px;
    }

    .watch-related-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .watch-shell-section {
        padding-top: 16px;
    }

    .watch-layout {
        display: block;
    }

    .watch-sidebar {
        display: none;
    }

    .watch-summary-mobile {
        display: block;
        margin-bottom: 13px;
    }

    .watch-mobile-server-wrap {
        display: block;
        margin-top: 10px;
        padding: 10px 0 4px;
        border-bottom: 1px solid rgba(111, 126, 138, .14);
    }

    .watch-mobile-server-head {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 8px;
    }

    .watch-mobile-server-head strong {
        color: #dce2e6;
        font-size: 12px;
    }

    .watch-mobile-server-head span {
        color: #6f7b84;
        font-size: 8.5px;
    }

    .watch-mobile-servers {
        display: flex;
        gap: 7px;
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: none;
    }

    .watch-mobile-servers::-webkit-scrollbar {
        display: none;
    }

    .watch-mobile-server {
        flex: 0 0 auto;
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 0 12px;
        border: 1px solid rgba(106, 122, 135, .2);
        border-radius: 8px;
        background: #0b1217;
        color: #96a1aa;
        font-size: 10px;
        font-weight: 850;
        white-space: nowrap;
        cursor: pointer;
    }

    .watch-mobile-server.is-active {
        border-color: rgba(210, 64, 82, .52);
        background: rgba(157, 34, 50, .17);
        color: #fff;
    }

    .watch-server-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #65717a;
    }

    .watch-mobile-server.is-active .watch-server-dot {
        background: #df6574;
    }

    .watch-report-grid {
        grid-template-columns: 1fr;
    }

    .watch-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 11px;
    }
}

@media (max-width: 560px) {
    .watch-breadcrumb {
        margin-bottom: 13px;
        font-size: 10px;
    }

    .watch-player-frame {
        border-radius: 9px;
    }

    .watch-summary-mobile {
        padding: 15px 16px;
    }

    .watch-summary-mobile .watch-title-row h1 {
        font-size: 20px;
    }

    .watch-mobile-server-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .watch-actions a {
        font-size: 10px;
    }

    .watch-actions button {
        min-height: 33px;
        padding: 0 10px;
        font-size: 9.5px;
    }

    .watch-report-copy {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .watch-synopsis {
        padding: 18px 17px 19px;
    }

    .watch-synopsis h2 {
        font-size: 20px;
    }

    .watch-synopsis p {
        font-size: 13px;
    }

    .watch-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}


/* =========================================================
   V2 — FINAL WATCH PAGE POLISH
   ========================================================= */

/* The movie-detail promo was redundant with the back link below the player. */
.watch-detail-promo {
    display: none !important;
}

/* Give the section eyebrow a little more breathing room. */
.watch-section-heading > span {
    display: inline-block;
    margin-bottom: 7px;
}

.watch-section-heading h2 {
    margin-top: 0;
}

/* Recommendations: calmer typography and cleaner multi-row rhythm. */
.watch-related-grid {
    column-gap: 13px;
    row-gap: 18px;
}

.watch-related-grid .nm-card__title,
.watch-related-grid .nm-card__fallback-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    max-height: 2.55em;
    font-size: 12px;
    line-height: 1.26;
}

/* Mobile server chooser stays directly below the player and slides horizontally. */
@media (max-width: 820px) {
    .watch-mobile-server-wrap {
        margin-top: 9px;
        padding-top: 8px;
    }

    .watch-mobile-servers {
        scroll-snap-type: x proximity;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }

    .watch-mobile-server {
        scroll-snap-align: start;
    }

    .watch-related-grid {
        row-gap: 16px;
    }
}

@media (max-width: 560px) {
    .watch-related-grid .nm-card__title,
    .watch-related-grid .nm-card__fallback-title {
        font-size: 11.5px;
    }
}


/* =========================================================
   V2.1 — RELATED SECTION HEADING ALIGNMENT
   Keep the red eyebrow clearly above the main title.
   ========================================================= */
.watch-section-heading > span {
    display: block;
    width: max-content;
    margin: 0 0 7px;
    line-height: 1.2;
}

.watch-section-heading h2 {
    display: inline-block;
    margin: 0;
}

