.pgh-watch-page {
    background: #111;
}

.pghw,
.pghw * {
    box-sizing: border-box;
}

.pghw [hidden] {
    display: none !important;
}

.pgh-watch-later-toggle {
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    cursor: pointer;
    font: inherit;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.pgh-watch-later-toggle .pgh-watch-later-icon {
    display: block;
    flex: 0 0 auto;
}

.pgh-watch-later-toggle .pgh-watch-later-icon path {
    fill: transparent;
    stroke: currentColor;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: fill .18s ease;
}

.pgh-watch-later-toggle--card {
    position: absolute;
    z-index: 7;
    top: 7px;
    right: 7px;
    display: grid;
    width: 32px;
    height: 32px;
    padding: 0;
    place-items: center;
    border-radius: 9px;
    background: rgba(8, 8, 10, .42);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
    backdrop-filter: blur(4px);
}

.pgh-watch-later-toggle--card [data-pgh-watch-later-label] {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pgh-watch-later-toggle--card:hover,
.pgh-watch-later-toggle--card:focus-visible {
    border-color: rgba(255, 255, 255, .45);
    background: rgba(28, 28, 32, .72);
    transform: translateY(-1px);
}

.pgh-watch-later-toggle--current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 10px;
    background: rgba(32, 32, 38, .82);
    font-size: 14px;
    font-weight: 750;
    line-height: 1;
}

.pgh-watch-later-toggle--current:hover {
    border-color: rgba(255, 255, 255, .34);
    background: #292930;
    transform: translateY(-1px);
}

.pgh-watch-later-toggle[aria-pressed="true"] {
    border-color: rgba(255, 47, 115, .68);
    background: rgba(255, 47, 115, .18);
    color: #ff6c9d;
}

.pgh-watch-later-toggle[aria-pressed="true"] .pgh-watch-later-icon path {
    fill: currentColor;
}

.pgh-watch-later-toggle:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .75);
    outline-offset: 3px;
}

.pgh-library-action {
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(8, 8, 10, .42);
    color: #fff;
    cursor: pointer;
    font: inherit;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.pgh-library-action svg {
    display: block;
    flex: 0 0 auto;
}

.pgh-library-action svg path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.pgh-card-actions {
    position: absolute;
    z-index: 8;
    top: 6px;
    right: 6px;
    display: flex;
    gap: 3px;
}

.pgh-card-actions .pgh-watch-later-toggle--card,
.pgh-card-actions .pgh-library-action {
    position: static;
    display: grid;
    width: 30px;
    height: 30px;
    padding: 0;
    place-items: center;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
    backdrop-filter: blur(4px);
}

.pgh-card-actions svg,
.pgh-card-actions .pgh-watch-later-icon {
    width: 15px;
    height: 15px;
}

.pgh-card-actions :where([data-pgh-watch-later-label], [data-pgh-queue-label], [data-pgh-hide-label]) {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pgh-card-actions button:hover,
.pgh-card-actions button:focus-visible {
    border-color: rgba(255, 255, 255, .48);
    background: rgba(28, 28, 32, .72);
    transform: translateY(-1px);
}

.pgh-library-action:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .75);
    outline-offset: 3px;
}

.pgh-queue-toggle--current,
.pgh-hide-toggle--current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 10px;
    background: rgba(32, 32, 38, .82);
    font-size: 14px;
    font-weight: 750;
    line-height: 1;
}

.pgh-queue-toggle[aria-pressed="true"] {
    border-color: rgba(51, 190, 255, .62);
    background: rgba(51, 190, 255, .17);
    color: #68d0ff;
}

.pgh-hide-toggle[aria-pressed="true"] {
    border-color: rgba(255, 190, 67, .58);
    background: rgba(255, 190, 67, .16);
    color: #ffd078;
}

article[data-pgh-hidden-managed="1"] {
    display: none !important;
}

.pgh-library-menu-item > a {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}

.pgh-library-menu-icon {
    color: #ff2f73;
    font-size: 10px;
}

.pgh-library-count,
[data-pgh-library-count],
[data-pgh-queue-count],
[data-pgh-liked-count],
[data-pgh-history-count],
[data-pgh-hidden-count] {
    display: inline-grid;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    place-items: center;
    border-radius: 999px;
    background: #e50914;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.pgh-library-fallback {
    position: fixed;
    z-index: 9998;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(20, 20, 24, .94);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
    backdrop-filter: blur(10px);
}

.pgh-library-fallback > span:first-child {
    color: #ff2f73;
}

.pgh-library-count[hidden],
[data-pgh-library-count][hidden],
[data-pgh-queue-count][hidden],
[data-pgh-liked-count][hidden],
[data-pgh-history-count][hidden],
[data-pgh-hidden-count][hidden],
.pgh-library-fallback[hidden] {
    display: none !important;
}

.pghw {
    background: #111;
    color: #fff;
    min-height: 70vh;
}

.pghw-wrap {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    padding: 24px 0 48px;
}

.pghw-hero {
    margin: 18px 0 30px;
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 20px;
    background:
        radial-gradient(circle at top left, rgba(229, 9, 20, .28), transparent 38%),
        linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
}

.pghw-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 10px;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.pghw-eyebrow::before {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e50914;
    content: "";
}

.pghw-hero h1 {
    max-width: 850px;
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.04;
    letter-spacing: -.035em;
}

.pghw-intro {
    max-width: 800px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: clamp(14px, 2vw, 17px);
    line-height: 1.55;
}

.pghw-search {
    display: flex;
    max-width: 800px;
    gap: 10px;
    margin-top: 20px;
}

.pghw-search-box {
    position: relative;
    flex: 1;
    min-width: 0;
}

.pghw-search-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 17px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 999px;
    outline: 0;
    background: rgba(0, 0, 0, .38);
    color: #fff;
    font: inherit;
}

.pghw-search-input::placeholder {
    color: rgba(255, 255, 255, .54);
}

.pghw-search-submit,
.pghw-more,
.pghw-clear-history {
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 850;
}

.pghw-search-submit {
    padding: 0 24px;
    background: #e50914;
    color: #fff;
}

.pghw-suggestions {
    position: absolute;
    z-index: 100;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    max-height: 330px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 14px;
    background: #1b1b1b;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .42);
}

.pghw-suggestions.is-open {
    display: block;
}

.pghw-suggestions button {
    display: block;
    width: 100%;
    padding: 10px 11px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    text-align: left;
}

.pghw-suggestions button:hover,
.pghw-suggestions button[aria-selected="true"] {
    background: rgba(255, 255, 255, .1);
}

.pghw-quick,
.pghw-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pghw-quick {
    margin-top: 16px;
}

.pghw-quick a,
.pghw-chips a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .065);
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
}

.pghw-section {
    margin: 32px 0;
    scroll-margin-top: 20px;
}

.pghw-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 15px;
}

.pghw-section h2,
.pghw-archive h2,
.pghw-about h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(20px, 3vw, 24px);
    line-height: 1.2;
}

.pghw-section-head p,
.pghw-archive p,
.pghw-about p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .66);
    font-size: 14px;
    line-height: 1.55;
}

.pghw-leaderboard {
    position: relative;
    overflow: hidden;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid rgba(229, 9, 20, .24);
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0, rgba(229, 9, 20, .16), transparent 34%),
        linear-gradient(145deg, rgba(31, 31, 35, .96), rgba(18, 18, 21, .96));
    box-shadow: 0 20px 54px rgba(0, 0, 0, .22);
}

.pghw-leaderboard-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 22px;
    margin-bottom: 20px;
}

.pghw-leaderboard-head h2 {
    margin: 3px 0 0;
}

.pghw-leaderboard-head > div:first-child > p:last-child {
    max-width: 680px;
    margin: 7px 0 0;
    color: rgba(255, 255, 255, .66);
    font-size: 13px;
    line-height: 1.5;
}

.pghw-leaderboard-kicker {
    margin: 0;
    color: #ff6f78;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.pghw-leaderboard-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.pghw-leaderboard-group > span {
    display: block;
    margin: 0 0 5px 7px;
    color: rgba(255, 255, 255, .5);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.pghw-leaderboard-group > div {
    display: inline-flex;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    background: rgba(0, 0, 0, .26);
}

.pghw-leaderboard-group button {
    min-height: 34px;
    padding: 7px 11px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, .65);
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease, opacity .18s ease;
}

.pghw-leaderboard-group button:hover {
    color: #fff;
}

.pghw-leaderboard-group button[aria-pressed="true"] {
    background: #e50914;
    color: #fff;
    box-shadow: 0 5px 14px rgba(229, 9, 20, .28);
}

.pghw-leaderboard-group button:disabled {
    cursor: wait;
    opacity: .58;
}

.pghw-leaderboard-grid {
    transition: opacity .18s ease, transform .18s ease;
}

.pghw-leaderboard.is-loading .pghw-leaderboard-grid {
    opacity: .4;
    transform: translateY(2px);
}

.pghw-leaderboard-empty {
    margin: 10px 0 0;
    padding: 24px;
    border: 1px dashed rgba(255, 255, 255, .13);
    border-radius: 13px;
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
    text-align: center;
}

.pghw-leaderboard-status {
    min-height: 1.4em;
    margin: 13px 0 0;
    color: rgba(255, 255, 255, .54);
    font-size: 11px;
    text-align: right;
}

.pghw-leaderboard-status:empty {
    min-height: 0;
    margin: 0;
}

.pghw-clear-history {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 7px 13px;
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.pghw-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 14px;
}

.pghw-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.pghw-card-link {
    display: block;
    flex: 1 1 auto;
    color: #fff;
    text-decoration: none;
}

.pghw-card > .pgh-card-actions {
    position: static;
    z-index: 1;
    align-self: flex-end;
    margin-top: auto;
    padding-top: 7px;
}

.pghw-card > .pgh-card-actions .pgh-watch-later-toggle--card,
.pghw-card > .pgh-card-actions .pgh-library-action {
    width: 30px;
    height: 30px;
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .055);
    box-shadow: none;
    backdrop-filter: none;
}

.pghw-card > .pgh-card-actions button:hover,
.pghw-card > .pgh-card-actions button:focus-visible {
    background: rgba(255, 255, 255, .13);
}

.pghw-card > .pgh-card-actions .pgh-watch-later-toggle[aria-pressed="true"] {
    border-color: rgba(255, 47, 115, .5);
    background: rgba(255, 47, 115, .14);
    color: #ff79a7;
}

.pghw-card > .pgh-card-actions .pgh-queue-toggle[aria-pressed="true"] {
    border-color: rgba(51, 190, 255, .45);
    background: rgba(51, 190, 255, .13);
    color: #75d4ff;
}

.pghw-card > .pgh-card-actions .pgh-hide-toggle[aria-pressed="true"] {
    border-color: rgba(255, 190, 67, .42);
    background: rgba(255, 190, 67, .12);
    color: #ffd37d;
}

@media (max-width: 768px), (hover: none) and (pointer: coarse) {
    .pghw-card > .pgh-card-actions {
        gap: 2px;
        padding-top: 6px;
    }

    .pghw-card > .pgh-card-actions .pgh-watch-later-toggle--card,
    .pghw-card > .pgh-card-actions .pgh-library-action {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        background: rgba(255, 255, 255, .045);
    }

    .pghw-card > .pgh-card-actions svg,
    .pghw-card > .pgh-card-actions .pgh-watch-later-icon {
        width: 15px;
        height: 15px;
    }
}

.pghw-thumb {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 11px;
    background: #22262a;
}

.pghw-thumb img,
.pghw-thumb-empty {
    display: block;
    width: 100%;
    height: 100%;
}

.pghw-thumb img {
    object-fit: cover;
    transition: transform .2s ease, opacity .2s ease;
}

.pghw-thumb-empty {
    background: linear-gradient(135deg, #272b30, #1b1e21);
}

.pghw-card-link:hover .pghw-thumb img {
    opacity: .88;
    transform: scale(1.035);
}

.pghw-duration,
.pghw-views,
.pghw-new {
    position: absolute;
    z-index: 2;
    padding: 5px 7px;
    border-radius: 6px;
    background: rgba(0, 0, 0, .8);
    color: #fff;
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
}

.pghw-duration {
    right: 7px;
    bottom: 7px;
}

.pghw-views {
    bottom: 7px;
    left: 7px;
    border-radius: 999px;
}

.pghw-new {
    top: 7px;
    left: 7px;
    background: #e50914;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.pghw-card-title {
    display: -webkit-box;
    min-height: 2.6em;
    margin-top: 8px;
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pghw-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 7px;
    margin-top: 6px;
    color: #969ba2;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.25;
}

.pghw-card-stats > span + span::before {
    margin-right: 7px;
    color: #555b62;
    content: "\00b7";
}

.pghw-card--ranked {
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .085);
    border-radius: 14px;
    background: rgba(8, 8, 10, .36);
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.pghw-card--ranked:hover {
    border-color: rgba(229, 9, 20, .34);
    background: rgba(229, 9, 20, .045);
    transform: translateY(-2px);
}

.pghw-rank-number {
    position: absolute;
    z-index: 3;
    top: 7px;
    left: 7px;
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 9px;
    background: rgba(10, 10, 12, .88);
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .34);
    backdrop-filter: blur(8px);
}

.pghw-card--ranked .pghw-new {
    top: 45px;
}

.pghw-rank-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px 5px;
    margin-top: 7px;
    color: #d8d8dd;
    font-size: 11px;
    font-weight: 750;
}

.pghw-rank-summary strong {
    color: #ff616b;
    font-size: 14px;
    font-weight: 900;
}

.pghw-rank-summary small {
    margin-left: auto;
    padding: 3px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .6);
    font-size: 8.5px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pghw-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.pghw-more {
    padding: 9px 16px;
    border-color: rgba(255, 255, 255, .13);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.pghw-more[disabled] {
    cursor: wait;
    opacity: .62;
}

.pghw-continue,
.pghw-watch-later {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    background: rgba(255, 255, 255, .035);
}

.pghw-for-you {
    position: relative;
    padding: clamp(18px, 3vw, 26px);
    overflow: hidden;
    border: 1px solid rgba(51, 190, 255, .2);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(51, 190, 255, .12), transparent 32%),
        rgba(255, 255, 255, .025);
}

.pghw-library-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}

.pghw-personal-status {
    min-height: 1.3em;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .58);
    font-size: 11px;
}

.pghw-personal-status:empty {
    min-height: 0;
    margin: 0;
}

.pghw-watch-later {
    border-color: rgba(255, 47, 115, .2);
    background: linear-gradient(135deg, rgba(255, 47, 115, .07), rgba(255, 255, 255, .025));
}

.pghw-archive {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 36px;
    padding: 22px;
    border: 1px solid rgba(229, 9, 20, .28);
    border-radius: 17px;
    background: rgba(229, 9, 20, .1);
}

.pghw-archive a {
    flex: 0 0 auto;
    padding: 11px 16px;
    border-radius: 999px;
    background: #e50914;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.pghw-about {
    max-width: 850px;
    margin: 38px auto 0;
    padding: 0 10px;
    text-align: center;
}

.pghw :where(a, button, input):focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.pghw .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1024px) {
    .pghw-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pghw-leaderboard-head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .pghw-leaderboard-controls {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .pghw-wrap {
        width: min(100% - 22px, 720px);
        padding-top: 12px;
    }

    .pghw-hero {
        margin-top: 10px;
        border-radius: 16px;
    }

    .pghw-search {
        flex-direction: column;
    }

    .pghw-search-submit {
        width: 100%;
    }

    .pghw-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 11px;
    }

    .pghw-section-head {
        align-items: flex-start;
    }

    .pghw-leaderboard-controls {
        display: grid;
        grid-template-columns: 1fr;
    }

    .pghw-leaderboard-group > div {
        display: flex;
        overflow-x: auto;
    }

    .pghw-leaderboard-group button {
        flex: 1 0 auto;
    }

    .pghw-archive {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 380px) {
    .pghw-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pghw *,
    .pghw *::before,
    .pghw *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* /watch discovery hub ---------------------------------------------------- */
.pgh-watch-page {
    background: #0b0b0e;
}

.pgh-watch-page .site-main {
    min-width: 0;
}

.pghw-watch {
    --pghw-watch-accent: #ff2f73;
    --pghw-watch-border: rgba(255, 255, 255, .105);
    --pghw-watch-muted: rgba(255, 255, 255, .64);
    padding-bottom: clamp(36px, 7vw, 76px);
    background:
        radial-gradient(circle at 50% -8%, rgba(255, 47, 115, .14), transparent 30%),
        #0b0b0e;
}

.pghw-watch .pghw-wrap {
    width: min(1240px, calc(100% - 40px));
    padding-top: 30px;
}

.pghw-watch-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(320px, .72fr);
    gap: clamp(28px, 5vw, 62px);
    align-items: center;
    margin: 0 0 20px;
    padding: clamp(28px, 5vw, 54px);
    overflow: hidden;
    border-radius: 26px;
    background:
        radial-gradient(circle at 6% 0, rgba(255, 47, 115, .31), transparent 36%),
        radial-gradient(circle at 100% 100%, rgba(75, 75, 255, .13), transparent 38%),
        linear-gradient(145deg, #1c1c22, #111114 66%);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
}

.pghw-watch-hero::after {
    position: absolute;
    right: -105px;
    bottom: -120px;
    width: 310px;
    height: 310px;
    border: 58px solid rgba(255, 47, 115, .075);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.pghw-watch-hero__copy,
.pghw-watch-map {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.pghw-watch .pghw-hero h1 {
    max-width: 760px;
    margin-bottom: 15px;
    font-size: clamp(37px, 5.5vw, 64px);
    line-height: .99;
    letter-spacing: -.045em;
}

.pghw-watch .pghw-intro {
    max-width: 700px;
    font-size: clamp(15px, 1.7vw, 18px);
    line-height: 1.65;
}

.pghw-watch .pghw-search {
    max-width: 720px;
    margin-top: 25px;
}

.pghw-watch .pghw-search-input {
    min-height: 52px;
    padding-right: 19px;
    padding-left: 19px;
    border-radius: 14px;
    background: rgba(4, 4, 7, .53);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.pghw-watch .pghw-search-submit {
    min-height: 52px;
    padding: 0 25px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff2f73, #e5094f);
    box-shadow: 0 10px 26px rgba(229, 9, 79, .2);
}

.pghw-watch .pghw-quick {
    margin-top: 14px;
}

.pghw-watch .pghw-quick a {
    min-height: 34px;
    padding: 7px 11px;
    color: rgba(255, 255, 255, .79);
    font-size: 11px;
}

.pghw-watch-map {
    padding: 19px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 20px;
    background: rgba(7, 7, 10, .32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
    backdrop-filter: blur(12px);
}

.pghw-watch-map > p {
    margin: 0 0 5px;
    color: #ff6c9d;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pghw-watch-map > h2 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 20px;
    line-height: 1.18;
    letter-spacing: -.025em;
}

.pghw-watch-map__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.pghw-watch-map__links a {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 1px 8px;
    min-width: 0;
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, .085);
    border-radius: 12px;
    background: rgba(255, 255, 255, .035);
    color: #fff;
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.pghw-watch-map__links a:hover {
    border-color: rgba(255, 47, 115, .38);
    background: rgba(255, 47, 115, .08);
    transform: translateY(-1px);
}

.pghw-watch-map__links span {
    grid-row: span 2;
    color: #ff6498;
    font-size: 10px;
    font-weight: 900;
}

.pghw-watch-map__links strong,
.pghw-watch-map__links small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pghw-watch-map__links strong {
    font-size: 11px;
    line-height: 1.2;
}

.pghw-watch-map__links small {
    color: rgba(255, 255, 255, .5);
    font-size: 8.5px;
}

.pghw-watch-library-card {
    display: block;
    margin-top: 9px;
    padding: 13px 14px;
    border: 1px solid rgba(255, 47, 115, .22);
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(255, 47, 115, .12), rgba(255, 255, 255, .025));
    color: #fff;
    text-decoration: none;
}

.pghw-watch-library-card > span {
    display: block;
    color: rgba(255, 255, 255, .48);
    font-size: 8.5px;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.pghw-watch-library-card > strong {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3px;
    font-size: 13px;
}

.pghw-watch-library-card > strong b {
    color: #ff73a3;
    font-size: 16px;
}

.pghw-watch-library-card > small {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    color: rgba(255, 255, 255, .58);
    font-size: 9px;
}

.pghw-watch-library-card > small em {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    font-style: normal;
}

.pghw-watch-library-card > small b[data-pgh-library-count],
.pghw-watch-library-card > small b[data-pgh-queue-count] {
    display: inline;
    min-width: 0;
    height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #ff80ac;
    font-size: inherit;
}

.pghw-watch-nav {
    position: sticky;
    top: var(--pgh-watch-nav-top, 8px);
    z-index: 30;
    display: flex;
    gap: 7px;
    margin: 18px 0;
    padding: 8px;
    overflow-x: auto;
    border: 1px solid var(--pghw-watch-border);
    border-radius: 15px;
    background: rgba(14, 14, 17, .89);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
    scrollbar-width: none;
    backdrop-filter: blur(18px);
}

.pghw-watch-nav::-webkit-scrollbar {
    display: none;
}

.pghw-watch-nav.is-menu-open {
    position: relative;
    top: auto;
    z-index: 0;
}

.pghw-watch-nav a {
    display: inline-flex;
    min-height: 38px;
    padding: 8px 13px;
    flex: 1 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 10px;
    color: rgba(255, 255, 255, .64);
    font-size: 11px;
    font-weight: 850;
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.pghw-watch-nav a:hover,
.pghw-watch-nav a[aria-current="true"] {
    border-color: rgba(255, 47, 115, .27);
    background: rgba(255, 47, 115, .12);
    color: #fff;
}

.pghw-watch-nav .pghw-watch-nav__library {
    margin-left: auto;
    border-color: rgba(255, 47, 115, .24);
    color: #ff8db4;
}

.pghw-watch .pghw-section {
    margin: 18px 0;
    padding: clamp(19px, 2.7vw, 28px);
    border: 1px solid var(--pghw-watch-border);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .018));
    box-shadow: 0 18px 48px rgba(0, 0, 0, .13);
    scroll-margin-top: calc(var(--pgh-watch-nav-top, 8px) + 72px);
}

.pghw-watch .pghw-section[data-pghw-section="trending"] {
    border-color: rgba(255, 47, 115, .2);
    background: linear-gradient(145deg, rgba(255, 47, 115, .07), rgba(255, 255, 255, .018));
}

.pghw-watch .pghw-section[data-pghw-section="worth"] {
    border-color: rgba(255, 190, 67, .18);
    background: linear-gradient(145deg, rgba(255, 190, 67, .05), rgba(255, 255, 255, .018));
}

.pghw-watch .pghw-section[data-pghw-section="latest"] {
    border-color: rgba(51, 190, 255, .18);
    background: linear-gradient(145deg, rgba(51, 190, 255, .05), rgba(255, 255, 255, .018));
}

.pghw-watch .pghw-leaderboard {
    border-color: rgba(229, 9, 79, .23);
    background:
        radial-gradient(circle at 100% 0, rgba(255, 47, 115, .13), transparent 34%),
        linear-gradient(145deg, rgba(31, 31, 36, .96), rgba(17, 17, 20, .96));
}

.pghw-watch .pghw-section-head {
    align-items: center;
    margin-bottom: 20px;
}

.pghw-watch .pghw-section-head > div:first-child {
    min-width: 0;
}

.pghw-watch .pghw-section h2,
.pghw-watch .pghw-archive h2,
.pghw-watch .pghw-about h2 {
    font-size: clamp(21px, 2.5vw, 28px);
    letter-spacing: -.025em;
}

.pghw-watch .pghw-section-head p {
    max-width: 760px;
    color: var(--pghw-watch-muted);
    font-size: 12px;
}

.pghw-section-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    align-items: center;
}

.pghw-watch .pghw-library-link,
.pghw-watch .pghw-clear-history {
    min-height: 39px;
    border-radius: 10px;
}

.pghw-watch .pghw-clear-history[data-pghw-confirm-ready="1"] {
    border-color: rgba(255, 82, 82, .58);
    background: rgba(229, 9, 20, .18);
    color: #ffafb5;
}

.pghw-watch .pghw-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 15px;
}

.pghw-watch .pghw-card {
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 14px;
    background: rgba(7, 7, 10, .29);
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.pghw-watch .pghw-card:hover,
.pghw-watch .pghw-card:focus-within {
    border-color: rgba(255, 47, 115, .25);
    background: rgba(255, 255, 255, .045);
    transform: translateY(-2px);
}

.pghw-watch .pghw-card--ranked {
    border-color: rgba(255, 255, 255, .09);
}

.pghw-watch .pghw-thumb {
    border-radius: 10px;
}

.pghw-watch .pghw-card-title {
    margin-top: 9px;
    font-size: 13px;
}

.pghw-watch .pghw-personal-shelf {
    box-shadow: none;
}

.pghw-watch .pghw-popular-searches .pghw-chips {
    gap: 9px;
}

.pghw-watch .pghw-popular-searches .pghw-chips a {
    min-height: 37px;
    padding: 8px 13px;
    background: rgba(255, 255, 255, .045);
    font-size: 11px;
}

.pghw-watch .pghw-archive {
    margin-top: 18px;
    padding: 24px 26px;
    border-color: rgba(255, 47, 115, .2);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 47, 115, .09), rgba(255, 255, 255, .025));
}

.pghw-watch .pghw-archive a {
    border-radius: 11px;
    background: linear-gradient(135deg, #ff2f73, #e5094f);
}

.pghw-watch .pghw-about {
    margin-top: 30px;
    padding: 24px 18px 0;
}

@media (max-width: 1040px) {
    .pghw-watch-hero {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 760px) {
    .pghw-watch .pghw-wrap {
        width: min(100% - 22px, 740px);
        padding-top: 12px;
    }

    .pghw-watch-hero {
        gap: 24px;
        padding: 25px 18px 19px;
        border-radius: 18px;
    }

    .pghw-watch .pghw-hero h1 {
        font-size: clamp(35px, 12vw, 50px);
    }

    .pghw-watch .pghw-search {
        gap: 8px;
    }

    .pghw-watch .pghw-search-submit {
        width: 100%;
    }

    .pghw-watch-map {
        padding: 15px;
    }

    .pghw-watch-map__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pghw-watch-nav {
        width: calc(100% + 22px);
        margin-left: -11px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .pghw-watch-nav a {
        flex: 0 0 auto;
    }

    .pghw-watch .pghw-section {
        padding: 18px 13px;
        border-radius: 16px;
    }

    .pghw-watch .pghw-section-head,
    .pghw-watch .pghw-leaderboard-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .pghw-section-actions {
        width: 100%;
    }

    .pghw-section-actions > * {
        flex: 1 1 auto;
        justify-content: center;
    }

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

    .pghw-watch .pghw-card {
        padding: 6px;
        border-radius: 12px;
    }

    .pghw-watch .pghw-card-title {
        font-size: 11.5px;
    }

    .pghw-watch .pghw-card-stats {
        font-size: 9px;
    }

    .pghw-watch .pghw-archive {
        padding: 20px;
    }
}

@media (max-width: 350px) {
    .pghw-watch .pghw-grid {
        grid-template-columns: 1fr;
    }
}
