@property --pg-list-search-border-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

body.page-template-page-list,
body.category,
body.search {
    background: #faf9fe;
    color: #1a1b1f;
    font-family: "Plus Jakarta Sans", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body.page-template-page-list .pg-topbar,
body.category .pg-topbar,
body.search .pg-topbar {
    display: none;
}

body.page-template-page-list .pg-app-shell,
body.category .pg-app-shell,
body.search .pg-app-shell {
    width: min(640px, 100%);
    min-height: 100vh;
    margin: 0 auto;
    padding: 48px 20px 96px;
    background: #faf9fe;
}

.pg-list-page,
.pg-list-page * {
    box-sizing: border-box;
}

.pg-list-desktop-nav,
.pg-list-hot-searches,
.pg-list-desktop-filterbar,
.pg-list-card__rating,
.pg-list-year-grid,
.pg-list-filter-actions,
.pg-list-desktop-footer,
.pg-list-search-hero__desktop-bg {
    display: none;
}

.pg-list-search-hero {
    margin-bottom: 24px;
}

.pg-list-search-hero__card {
    position: relative;
    --pg-list-hero-shift-x: 0px;
    --pg-list-hero-shift-y: 0px;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.28), transparent 36%),
        linear-gradient(135deg, #1e6df0 0%, #6b46d9 46%, #101827 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
    transition: transform 300ms ease;
}

.pg-list-search-hero__card:active {
    transform: scale(0.98);
}

.pg-list-search-hero__card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    color: transparent;
    font-size: 0;
}

.pg-list-search-hero__video {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.pg-list-search-hero--gamefield .pg-list-search-hero__desktop-bg,
.pg-list-search-hero--gamefield .pg-list-search-hero__video,
.pg-list-search-hero--gamefield .pg-list-search-hero__card > img {
    filter: saturate(0.95) brightness(0.72);
    opacity: 0.68;
}

.pg-list-banner-html {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.pg-list-banner-html > img,
.pg-list-banner-html > video,
.pg-list-banner-html > canvas {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pg-list-gamefield {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(circle at 25% 24%, rgba(60, 145, 255, 0.18), transparent 28%),
        radial-gradient(circle at 76% 34%, rgba(190, 78, 255, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(6, 5, 18, 0.1), rgba(8, 4, 19, 0.28));
    transform: translate3d(var(--pg-list-hero-shift-x), var(--pg-list-hero-shift-y), 0);
    transition: transform 500ms ease;
}

.pg-list-gamefield::before,
.pg-list-gamefield::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.pg-list-gamefield::before {
    opacity: 0.58;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 1px, transparent 1.7px),
        radial-gradient(circle, rgba(111, 214, 255, 0.55) 0 1.2px, transparent 2px),
        radial-gradient(circle, rgba(255, 255, 255, 0.28) 0 1px, transparent 1.8px);
    background-size: 88px 88px, 132px 132px, 52px 52px;
    background-position: 0 0, 22px 28px, 13px 17px;
    animation: pgListGameStars 26s linear infinite;
}

.pg-list-gamefield::after {
    background:
        linear-gradient(to bottom, rgba(8, 5, 22, 0.08), transparent 36%, rgba(9, 6, 18, 0.22)),
        radial-gradient(ellipse at 50% 78%, rgba(108, 61, 255, 0.2), transparent 46%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.32), transparent 22%, transparent 76%, rgba(0, 0, 0, 0.36));
}

.pg-list-gamefield__covers {
    position: absolute;
    inset: -10% -5%;
}

.pg-list-gamefield__cover {
    position: absolute;
    left: calc(var(--x) * 1%);
    top: calc(var(--y) * 1%);
    width: clamp(58px, calc(var(--w) * 1vw), 138px);
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    background-image: var(--cover);
    background-position: center;
    background-size: cover;
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.36),
        0 0 34px rgba(69, 167, 255, 0.24);
    opacity: 0.52;
    filter: saturate(1.05) brightness(0.95);
    transform: translate3d(-50%, -50%, 0) rotate(var(--r)) scale(1);
    animation: pgListGameCoverDrift var(--t) ease-in-out var(--d) infinite alternate;
    will-change: transform;
}

.pg-list-search-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.16);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.pg-list-search-hero__overlay h2 {
    margin: 0 0 32px;
    color: #ffffff;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0;
    text-align: center;
}

.pg-list-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.pg-list-search .material-symbols-outlined {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    line-height: 1;
    transform: translateY(-50%);
    transition: color 180ms ease;
}

.pg-list-search:focus-within .material-symbols-outlined {
    color: #0058bc;
}

.pg-list-search input {
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 48px;
    padding: 0 52px 0 48px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    outline: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
}

.pg-list-search__clear {
    position: absolute;
    top: 50%;
    right: 12px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.14);
    cursor: pointer;
    transform: translateY(-50%);
    -webkit-appearance: none;
    appearance: none;
    transition: color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.pg-list-search__clear[hidden] {
    display: none !important;
}

.pg-list-search__clear .material-symbols-outlined {
    display: none !important;
}

.pg-list-search__clear::before,
.pg-list-search__clear::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
}

.pg-list-search__clear::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.pg-list-search__clear::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.pg-list-search__clear:hover,
.pg-list-search__clear:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
    outline: none;
}

.pg-list-search input::-webkit-search-decoration,
.pg-list-search input::-webkit-search-cancel-button,
.pg-list-search input::-webkit-search-results-button,
.pg-list-search input::-webkit-search-results-decoration {
    display: none;
}

.pg-list-search input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.pg-list-search input:focus {
    border-color: rgba(255, 255, 255, 0.5);
}

.pg-list-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.pg-list-section__head h3 {
    margin: 0;
    color: #1a1b1f;
    font-size: 22px;
    line-height: 28px;
    font-weight: 700;
    letter-spacing: 0;
}

.pg-list-filter-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    color: #0058bc;
    background: #f4f3f8;
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 160ms ease;
}

.pg-list-filter-button:active {
    transform: scale(0.95);
}

.pg-list-filter-button .material-symbols-outlined {
    font-size: 18px;
}

.pg-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 28px;
}

.pg-list-card {
    position: relative;
    min-width: 0;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.pg-list-card[hidden] {
    display: none;
}

.pg-list-load-more {
    display: flex;
    justify-content: center;
    margin: 28px 0 0;
}

.pg-list-load-more[hidden] {
    display: none;
}

.pg-list-load-more__button {
    min-width: 128px;
    min-height: 42px;
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: #0066d9;
    box-shadow: 0 10px 24px rgba(0, 102, 217, 0.18);
    font-size: 14px;
    line-height: 20px;
    font-weight: 800;
    cursor: pointer;
}

.pg-list-load-more__button:active {
    transform: scale(0.96);
}

.pg-list-load-more__text {
    color: #7d8594;
    font-size: 13px;
    font-weight: 700;
}

.pg-list-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(180deg, #f6f7f9 0%, #eef1f4 100%);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}

.pg-list-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.pg-list-card__picture {
    display: block;
    width: 100%;
    height: 100%;
}

.pg-list-card__badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 16px);
    min-height: 32px;
    padding: 0 11px;
    overflow: hidden;
    border-radius: 4px;
    color: #ffffff;
    background: rgba(55, 65, 81, 0.84);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pg-list-card__badge--genre {
    top: 8px;
    right: auto;
    left: 8px;
}

.pg-list-card:nth-child(1) .pg-list-card__badge--genre {
    left: 8px;
}

.pg-list-card__badge--size {
    bottom: 8px;
    left: 8px;
}

.pg-list-card__language {
    display: none;
}

@media (max-width: 899px) {
    body.page-template-page-list,
    body.category,
    body.search {
        overflow-x: hidden;
    }

    body.page-template-page-list .pg-list-search-hero,
    body.category .pg-list-search-hero,
    body.search .pg-list-search-hero {
        position: relative;
        left: 50%;
        width: 100vw;
        margin-right: 0;
        margin-left: 0;
        transform: translateX(-50%);
        overflow: hidden;
    }

    body.page-template-page-list .pg-list-search-hero__card,
    body.category .pg-list-search-hero__card,
    body.search .pg-list-search-hero__card {
        border-radius: 0;
    }

    body.page-template-page-list .pg-list-search-hero__overlay,
    body.category .pg-list-search-hero__overlay,
    body.search .pg-list-search-hero__overlay {
        padding-right: 44px;
        padding-left: 44px;
    }

    body.page-template-page-list .pg-list-search,
    body.category .pg-list-search,
    body.search .pg-list-search {
        align-items: center;
        max-width: 464px;
    }

    body.page-template-page-list .pg-list-search input,
    body.category .pg-list-search input,
    body.search .pg-list-search input,
    body.page-template-page-list .pg-list-search input::placeholder,
    body.category .pg-list-search input::placeholder,
    body.search .pg-list-search input::placeholder {
        line-height: 48px;
    }

    body.page-template-page-list .pg-list-grid,
    body.category .pg-list-grid,
    body.search .pg-list-grid {
        gap: 16px;
    }

    body.page-template-page-list .pg-list-card,
    body.category .pg-list-card,
    body.search .pg-list-card {
        container-type: inline-size;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border-radius: 12px;
        background: #faf9fe;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    body.page-template-page-list .pg-list-card__media,
    body.category .pg-list-card__media,
    body.search .pg-list-card__media {
        aspect-ratio: auto;
        height: 135px;
        border-radius: 0;
        box-shadow: none;
    }

    body.page-template-page-list .pg-list-card__language,
    body.category .pg-list-card__language,
    body.search .pg-list-card__language {
        top: 8px;
        left: 8px;
    }

    body.page-template-page-list .pg-list-card__badge,
    body.category .pg-list-card__badge,
    body.search .pg-list-card__badge {
        z-index: 10;
        min-height: 21px;
        height: auto;
        padding: 4px 8px;
        border: 0;
        border-radius: 4px;
        color: #ffffff;
        background: rgba(0, 0, 0, 0.4);
        font-size: 11px;
        line-height: 13px;
        font-weight: 500;
    }

    body.page-template-page-list .pg-list-card__badge--genre,
    body.page-template-page-list .pg-list-card:nth-child(1) .pg-list-card__badge--genre,
    body.category .pg-list-card__badge--genre,
    body.category .pg-list-card:nth-child(1) .pg-list-card__badge--genre,
    body.search .pg-list-card__badge--genre,
    body.search .pg-list-card:nth-child(1) .pg-list-card__badge--genre {
        top: 8px;
        right: 8px;
        bottom: auto;
        left: auto;
        min-height: 28px;
        height: 28px;
        padding: 4px 10px;
        box-sizing: border-box;
        border: 0;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.4);
        box-shadow: none;
        outline: 0;
        font-size: 12px;
        line-height: 1.2;
        font-weight: 600;
        text-shadow: none;
    }

    body.page-template-page-list .pg-list-card__badge--size,
    body.category .pg-list-card__badge--size,
    body.search .pg-list-card__badge--size {
        bottom: 10px;
        left: 10px;
        display: inline-flex;
        width: auto;
        height: 28px;
        min-height: 28px;
        align-items: center;
        justify-content: center;
        padding: 4px 10px;
        box-sizing: border-box;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.28);
        font-size: 12px;
        line-height: 1.2;
        font-weight: 900;
        letter-spacing: 0;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.32);
    }

    body.page-template-page-list .pg-list-card__body,
    body.category .pg-list-card__body,
    body.search .pg-list-card__body {
        display: flex;
        flex: 1;
        flex-direction: column;
        justify-content: space-between;
        padding: 12px;
    }

    body.page-template-page-list .pg-list-card__body h4,
    body.category .pg-list-card__body h4,
    body.search .pg-list-card__body h4 {
        margin: 0 0 8px;
        overflow: hidden;
        color: #101827;
        font-size: 18px;
        line-height: 1.24;
        font-weight: 900;
        letter-spacing: 0;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.page-template-page-list .pg-list-card__body h4 a,
    body.category .pg-list-card__body h4 a,
    body.search .pg-list-card__body h4 a {
        display: block;
        overflow: visible;
        color: inherit;
        text-decoration: none;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.page-template-page-list .pg-list-card__foot,
    body.category .pg-list-card__foot,
    body.search .pg-list-card__foot {
        align-items: flex-end;
        justify-content: space-between;
        min-height: 32px;
    }

    body.page-template-page-list .pg-list-views,
    body.page-template-page-list .pg-view-count,
    body.category .pg-list-views,
    body.category .pg-view-count,
    body.search .pg-list-views,
    body.search .pg-view-count {
        gap: 4px;
        color: #717786;
        font-size: 11px;
        line-height: 13px;
        font-weight: 500;
    }

    body.page-template-page-list .pg-list-views .material-symbols-outlined,
    body.page-template-page-list .pg-view-count .material-symbols-outlined,
    body.category .pg-list-views .material-symbols-outlined,
    body.category .pg-view-count .material-symbols-outlined,
    body.search .pg-list-views .material-symbols-outlined,
    body.search .pg-view-count .material-symbols-outlined {
        font-size: 14px;
    }

    body.page-template-page-list .pg-list-add-button,
    body.category .pg-list-add-button,
    body.search .pg-list-add-button {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        box-shadow: none;
    }

    body.page-template-page-list .pg-list-add-button .material-symbols-outlined,
    body.category .pg-list-add-button .material-symbols-outlined,
    body.search .pg-list-add-button .material-symbols-outlined {
        font-size: 18px;
    }
}

@media (max-width: 560px) {
    body.page-template-page-list .pg-list-card__body h4,
    body.category .pg-list-card__body h4,
    body.search .pg-list-card__body h4 {
        font-size: 16px;
    }
}

.pg-list-card__body {
    min-width: 0;
    padding: 0;
}

.pg-list-card__body h4 {
    min-width: 0;
    margin: 12px 0 16px;
    overflow: hidden;
    color: #101827;
    font-size: 18px;
    line-height: 1.24;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pg-list-card__body h4 a {
    display: block;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pg-list-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
}

.pg-list-views,
.pg-view-count {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 6px;
    overflow: hidden;
    color: #7c8596;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pg-list-views .material-symbols-outlined,
.pg-view-count .material-symbols-outlined {
    flex: 0 0 auto;
    font-size: 18px;
}

.pg-list-add-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 0;
    border-radius: 999px;
    color: #fefcff;
    background: #1068ea;
    box-shadow: 0 10px 20px rgba(16, 104, 234, 0.24);
    cursor: pointer;
    transition: transform 160ms ease;
}

.pg-list-add-button.is-unlocked,
.pg-list-add-button.is-in-cart {
    opacity: 0.55;
    background: #1068ea;
    box-shadow: 0 6px 14px rgba(16, 104, 234, 0.12);
    filter: saturate(0.75);
}

.pg-list-add-button:active {
    transform: scale(0.9);
}

.pg-list-add-button .material-symbols-outlined {
    font-size: 24px;
}

.pg-list-filter-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity 500ms ease;
}

.pg-list-filter-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.pg-list-filter-modal {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 70;
    width: 100%;
    transform: translateY(100%);
    transition: transform 500ms cubic-bezier(0.32, 0.72, 0, 1);
}

.pg-list-filter-modal.is-open {
    transform: translateY(0);
}

.pg-list-filter-sheet {
    width: min(640px, 100%);
    margin: 0 auto;
    padding: 20px 20px 48px;
    overflow-x: hidden;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 32px 32px 0 0;
    background: rgba(250, 249, 254, 0.85);
    box-shadow: 0 -24px 48px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

.pg-list-filter-handle {
    width: 40px;
    height: 6px;
    margin: 0 auto 24px;
    border-radius: 999px;
    background: rgba(26, 27, 31, 0.1);
}

.pg-list-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.pg-list-filter-head h2 {
    margin: 0;
    color: #1a1b1f;
    font-size: 28px;
    line-height: 34px;
    font-weight: 700;
}

.pg-list-filter-head button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    color: #414755;
    background: #e9e7ed;
    cursor: pointer;
}

.pg-list-filter-head .material-symbols-outlined {
    font-size: 22px;
}

.pg-list-filter-group {
    margin-top: 40px;
}

.pg-list-filter-group:first-of-type {
    margin-top: 0;
}

.pg-list-filter-group--types {
    margin-top: 0;
}

.pg-list-filter-group--types {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: center;
    column-gap: 8px;
}

.pg-list-filter-group--types h3 {
    margin: 0;
}

.pg-list-filter-group--types .pg-list-filter-grid {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 12px;
}

.pg-list-filter-group--types .pg-list-filter-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: auto;
    min-height: 20px;
    margin: 0;
    padding: 0;
    border-radius: 0;
    color: #0266ff;
    background: transparent;
    font-size: 12px;
}

.pg-list-filter-group--types .pg-list-filter-toggle .material-symbols-outlined {
    margin-left: 2px;
    font-size: 16px;
}

.pg-list-filter-group h3 {
    margin: 0 0 16px;
    color: rgba(65, 71, 85, 0.6);
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pg-list-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.pg-list-filter-grid [hidden] {
    display: none;
}

.pg-list-year-grid [hidden] {
    display: none;
}

.pg-list-filter-grid.is-animating,
.pg-list-year-grid.is-animating {
    overflow: hidden;
    transition: height 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pg-list-filter-grid.is-animating [data-filter-extra],
.pg-list-year-grid.is-animating [data-filter-extra-year] {
    transition: opacity 150ms ease, transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pg-list-filter-grid.is-expanding [data-filter-extra],
.pg-list-year-grid.is-expanding [data-filter-extra-year] {
    opacity: 0;
    transform: translateY(8px);
}

.pg-list-filter-grid.is-collapsing [data-filter-extra],
.pg-list-year-grid.is-collapsing [data-filter-extra-year] {
    opacity: 0;
    transform: translateY(-8px);
}

@media (max-width: 899px) {
    .pg-list-filter-group--years .pg-list-filter-toggle {
        display: none;
    }
}

.pg-list-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    margin-top: 12px;
    padding: 10px 16px;
    border: 0;
    border-radius: 12px;
    color: #0058bc;
    background: rgba(0, 88, 188, 0.08);
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    cursor: pointer;
}

.pg-list-filter-toggle .material-symbols-outlined {
    margin-left: 4px;
    font-size: 20px;
    transition: transform 160ms ease;
}

.pg-list-filter-toggle.is-expanded .material-symbols-outlined {
    transform: rotate(180deg);
}

.pg-list-filter-toggle:active {
    transform: scale(0.98);
}

.pg-list-sort-grid {
    display: flex;
    gap: 10px;
}

.filter-chip,
.sort-chip {
    border: 1px solid transparent;
    color: #414755;
    background: #e9e7ed;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.filter-chip {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 18px;
}

.sort-chip {
    flex: 1 1 0;
    padding: 12px 10px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 18px;
}

.filter-chip:active,
.sort-chip:active,
.pg-list-confirm:active {
    transform: scale(0.98);
}

.filter-chip.is-active,
.sort-chip.is-active {
    color: #ffffff;
    background: #0058bc;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.pg-list-select-wrap {
    position: relative;
}

.pg-list-select-wrap select {
    width: 100%;
    padding: 16px 48px 16px 20px;
    border: 0;
    border-radius: 16px;
    outline: 0;
    appearance: none;
    color: #1a1b1f;
    background: #e9e7ed;
    font-size: 15px;
    font-weight: 700;
}

.pg-list-select-wrap .material-symbols-outlined {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: rgba(65, 71, 85, 0.4);
    pointer-events: none;
}

.pg-list-confirm {
    width: 100%;
    margin-top: 40px;
    padding: 20px;
    border: 0;
    border-radius: 16px;
    color: #ffffff;
    background: #0058bc;
    box-shadow: 0 20px 34px rgba(0, 88, 188, 0.25);
    font-size: 20px;
    line-height: 25px;
    font-weight: 600;
    cursor: pointer;
}

body.pg-list-filter-open {
    overflow: hidden;
}

@media (max-width: 899px) {
    html:has(body.pg-list-filter-open) {
        overflow: hidden;
    }

    body.page-template-page-list.pg-list-filter-open,
    body.category.pg-list-filter-open,
    body.search.pg-list-filter-open {
        width: 100%;
        overflow: hidden;
    }

    body.page-template-page-list .pg-list-filter-modal,
    body.category .pg-list-filter-modal,
    body.search .pg-list-filter-modal {
        box-sizing: border-box;
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: 100vw;
        padding: 0;
        overflow: hidden;
        transform: translate3d(0, 100%, 0);
    }

    body.page-template-page-list .pg-list-filter-modal.is-open,
    body.category .pg-list-filter-modal.is-open,
    body.search .pg-list-filter-modal.is-open {
        transform: translate3d(0, 0, 0);
    }

    body.page-template-page-list .pg-list-filter-sheet,
    body.category .pg-list-filter-sheet,
    body.search .pg-list-filter-sheet {
        display: flex;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        max-height: min(88dvh, 720px);
        margin: 0;
        padding: 20px 20px calc(24px + env(safe-area-inset-bottom));
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    body.page-template-page-list .pg-list-filter-sheet *,
    body.category .pg-list-filter-sheet *,
    body.search .pg-list-filter-sheet * {
        box-sizing: border-box;
    }

    body.page-template-page-list .pg-list-filter-head,
    body.category .pg-list-filter-head,
    body.search .pg-list-filter-head {
        flex: 0 0 auto;
    }

    body.page-template-page-list .pg-list-filter-group,
    body.category .pg-list-filter-group,
    body.search .pg-list-filter-group {
        min-width: 0;
    }

    body.page-template-page-list .pg-list-filter-grid,
    body.category .pg-list-filter-grid,
    body.search .pg-list-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-template-page-list .filter-chip,
    body.page-template-page-list .sort-chip,
    body.category .filter-chip,
    body.category .sort-chip,
    body.search .filter-chip,
    body.search .sort-chip {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.page-template-page-list .pg-list-sort-grid,
    body.category .pg-list-sort-grid,
    body.search .pg-list-sort-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    body.page-template-page-list .pg-list-confirm,
    body.category .pg-list-confirm,
    body.search .pg-list-confirm {
        position: sticky;
        right: 0;
        bottom: env(safe-area-inset-bottom);
        left: 0;
        flex: 0 0 auto;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 0;
        border-radius: 16px;
        box-shadow: 0 -12px 30px rgba(250, 249, 254, 0.72), 0 16px 28px rgba(0, 88, 188, 0.18);
    }
}

@media (max-width: 360px) {
    body.page-template-page-list .pg-app-shell,
    body.category .pg-app-shell,
    body.search .pg-app-shell {
        padding-right: 14px;
        padding-left: 14px;
    }

    .pg-list-grid {
        gap: 12px;
    }
}

@media (min-width: 900px) {
    html {
        overflow-x: hidden;
    }

    body.page-template-page-list,
    body.category {
        width: 100%;
        min-height: 100vh;
        background: #f7fafc;
        color: #181c1e;
        overflow-x: hidden;
    }

    body.page-template-page-list .pg-topbar,
    body.category .pg-topbar,
    body.page-template-page-list .pg-bottom-nav,
    body.category .pg-bottom-nav {
        display: none;
    }

    body.page-template-page-list .pg-app-shell,
    body.category .pg-app-shell {
        width: 100%;
        max-width: none;
        min-height: 100vh;
        margin: 0;
        padding: 0;
        overflow-x: clip;
        background: #f7fafc;
    }

    .pg-list-page {
        position: relative;
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        overflow-x: clip;
        background:
            radial-gradient(rgba(2, 102, 255, 0.03) 2px, transparent 2px) 0 0 / 30px 30px,
            #f7fafc;
        font-family: "Plus Jakarta Sans", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    }

    .pg-list-desktop-nav {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 50;
        display: block;
        color: #ffffff;
        background: transparent;
        border-bottom: 1px solid transparent;
        transition: background-color 320ms ease, border-color 320ms ease, box-shadow 320ms ease, color 320ms ease, backdrop-filter 320ms ease;
    }

    .pg-list-desktop-nav__inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        width: min(1472px, 100%);
        height: 76px;
        margin: 0 auto;
        padding: 0 40px;
    }

    .pg-list-desktop-nav.is-scrolled {
        color: #111827;
        border-bottom-color: rgba(226, 232, 240, 0.72);
        background: rgba(255, 255, 255, 0.72);
        box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
        backdrop-filter: saturate(170%) blur(22px);
        -webkit-backdrop-filter: saturate(170%) blur(22px);
    }

    .pg-list-desktop-nav__brand {
        display: inline-flex;
        align-items: center;
        justify-self: start;
        position: relative;
        overflow: visible;
        color: inherit;
        font-size: 23px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: -0.035em;
        text-decoration: none;
        transition: color 260ms ease, text-shadow 260ms ease;
        text-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
        isolation: isolate;
    }

    .pg-list-desktop-nav__brand img {
        display: block;
        width: 220px;
        height: 50px;
        object-fit: contain;
        object-position: left center;
        filter: none;
        transition: filter 260ms ease, transform 260ms ease;
    }

    .pg-list-desktop-nav__brand::after {
        content: none;
        display: none;
    }

    .pg-list-desktop-nav__brand .site-logo--dark,
    .pg-list-desktop-nav.is-scrolled .pg-list-desktop-nav__brand .site-logo--light {
        display: none;
    }

    .pg-list-desktop-nav.is-scrolled .pg-list-desktop-nav__brand .site-logo--dark {
        display: block;
    }

    .pg-list-desktop-nav.is-scrolled .pg-list-desktop-nav__brand {
        color: #111827;
        text-shadow: none;
    }

    .pg-list-desktop-nav.is-scrolled .pg-list-desktop-nav__brand img {
        filter: none;
    }

    .pg-list-desktop-nav.is-scrolled .pg-list-desktop-nav__brand::after {
        content: none;
        display: none;
    }


    .pg-list-desktop-nav__links {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 38px;
        font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Segoe UI", sans-serif;
    }

    .pg-list-desktop-nav__links a {
        color: inherit;
        font-size: 14px;
        line-height: 1.45;
        font-weight: 500;
        letter-spacing: 0;
        text-decoration: none;
        opacity: 0.9;
        -webkit-font-smoothing: antialiased;
        text-rendering: geometricPrecision;
        transition: color 180ms ease, opacity 180ms ease;
    }

    .pg-list-desktop-nav.is-scrolled .pg-list-desktop-nav__links a {
        opacity: 0.78;
    }

    .pg-list-desktop-nav__links a:hover {
        color: #0266ff;
        opacity: 1;
    }

    .pg-list-desktop-nav__actions {
        display: flex;
        justify-self: end;
        align-items: center;
        gap: 16px;
    }

    .pg-list-desktop-nav__actions button {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 999px;
        color: inherit;
        background: transparent;
        cursor: pointer;
        transition: background-color 180ms ease, color 180ms ease;
    }

    .pg-list-desktop-nav__actions .material-symbols-outlined {
        font-size: 22px;
        font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
    }

    .pg-list-desktop-nav__actions button:hover {
        color: #0266ff;
        background: rgba(255, 255, 255, 0.12);
    }

    .pg-list-desktop-nav.is-scrolled .pg-list-desktop-nav__actions button:hover {
        background: rgba(2, 102, 255, 0.08);
    }

    .pg-list-desktop-nav__actions i {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 8px;
        height: 8px;
        border: 1px solid #000000;
        border-radius: 999px;
        background: #0266ff;
    }

    .pg-list-search-hero {
        position: relative;
        left: 50%;
        width: 100vw;
        margin: 0;
        transform: translateX(-50%);
        overflow: hidden;
    }

    .pg-list-search-hero__card {
        width: 100%;
        height: 480px;
        aspect-ratio: auto;
        border-radius: 0;
        box-shadow: none;
        background: #111827;
    }

    .pg-list-search-hero__card:active {
        transform: none;
    }

    .pg-list-search-hero__desktop-bg {
        position: absolute;
        inset: 0;
        z-index: 0;
        display: block;
        background-position: center;
        background-size: cover;
        transform-origin: center;
        animation: pgListKenBurns 30s ease-out alternate infinite;
    }

    .pg-list-search-hero__desktop-bg + img {
        display: none;
    }

    .pg-list-search-hero__overlay {
        justify-content: center;
        gap: 32px;
        padding: 120px 40px 64px;
        background: rgba(0, 0, 0, 0.18);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .pg-list-search-hero__overlay h2 {
        max-width: 960px;
        margin: 0;
        color: #ffffff;
        font-size: 48px;
        line-height: 1.1;
        font-weight: 900;
        letter-spacing: 0;
        text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    }

    .pg-list-search {
        width: min(768px, 100%);
        height: 56px;
        border-radius: 999px;
        isolation: isolate;
    }

    .pg-list-search .material-symbols-outlined {
        left: 20px;
        z-index: 3;
        color: rgba(255, 255, 255, 0.82);
    }

    .pg-list-search input {
        position: relative;
        z-index: 1;
        height: 56px;
        padding-left: 56px;
        padding-right: 60px;
        border-color: rgba(255, 255, 255, 0.14);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.1);
        box-shadow: 0 14px 28px rgba(15, 23, 42, 0.24);
        color: #ffffff;
        font-size: 16px;
    }

    @supports ((-webkit-mask: linear-gradient(#000 0 0)) or (mask: linear-gradient(#000 0 0))) {
        .pg-list-search::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: 2;
            padding: 1.5px;
            border-radius: inherit;
            pointer-events: none;
            background: conic-gradient(
                from var(--pg-list-search-border-angle),
                rgba(255, 255, 255, 0.1) 0deg,
                rgba(255, 255, 255, 0.1) 160deg,
                rgba(91, 226, 255, 0) 196deg,
                rgba(91, 226, 255, 0.14) 232deg,
                rgba(91, 226, 255, 0.42) 270deg,
                rgba(91, 226, 255, 0.82) 306deg,
                rgba(91, 226, 255, 0.42) 340deg,
                rgba(91, 226, 255, 0.12) 360deg
            );
            animation: pgListSearchBorderOrbit 3.2s linear infinite;
            -webkit-mask:
                linear-gradient(#000 0 0) content-box,
                linear-gradient(#000 0 0);
            -webkit-mask-composite: xor;
            mask:
                linear-gradient(#000 0 0) content-box,
                linear-gradient(#000 0 0);
            mask-composite: exclude;
        }

        .pg-list-search input,
        .pg-list-search input:focus {
            border-color: rgba(255, 255, 255, 0.08);
        }
    }

    .pg-list-search input::placeholder {
        color: rgba(255, 255, 255, 0.62);
    }

    .pg-list-hot-searches {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 12px;
        color: rgba(255, 255, 255, 0.9);
    }

    .pg-list-hot-searches span {
        margin-right: 4px;
        color: rgba(255, 255, 255, 0.7);
        font-size: 13px;
        font-weight: 800;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    }

    .pg-list-hot-searches button {
        min-height: 28px;
        padding: 6px 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 999px;
        color: rgba(255, 255, 255, 0.92);
        background: rgba(255, 255, 255, 0.1);
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
        font-size: 12px;
        font-weight: 800;
        cursor: pointer;
        transition: background-color 180ms ease, color 180ms ease;
    }

    .pg-list-hot-searches button:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.2);
    }

    .pg-list-section {
        position: relative;
        z-index: 2;
        width: min(1472px, 100%);
        margin: 0 auto;
        padding: 0 40px 80px;
    }

    .pg-list-section::before {
        content: "";
        position: fixed;
        inset: 430px 0 0;
        z-index: -1;
        pointer-events: none;
        background: linear-gradient(to bottom, transparent, rgba(247, 250, 252, 0.5), #f7fafc);
    }

    .pg-list-section__head {
        display: none;
    }

    .pg-list-desktop-filterbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        min-height: 96px;
        margin-bottom: 32px;
        padding: 0;
        border-bottom: 1px solid rgba(190, 201, 195, 0.2);
    }

    .pg-list-rank-tabs {
        display: flex;
        align-items: center;
        width: fit-content;
        height: 48px;
        padding: 4px;
        overflow-x: auto;
        border-radius: 999px;
        background: #f1f4f6;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    }

    .pg-list-rank-chip {
        min-height: 36px;
        padding: 8px 20px;
        border: 0;
        border-radius: 999px;
        color: #3e4944;
        background: transparent;
        font-size: 14px;
        font-weight: 800;
        cursor: pointer;
        white-space: nowrap;
        transition: background-color 180ms ease, color 180ms ease;
    }

    .pg-list-rank-chip:hover {
        background: #e6e8eb;
    }

    .pg-list-rank-chip.is-active {
        color: #ffffff;
        background: #0266ff;
    }

    .pg-list-desktop-filter-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 44px;
        padding: 8px 16px;
        border: 1px solid rgba(190, 201, 195, 0.3);
        border-radius: 8px;
        color: #181c1e;
        background: #e6e8eb;
        font-size: 14px;
        font-weight: 800;
        cursor: pointer;
        transition: background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    }

    .pg-list-desktop-filter-button:hover {
        border-color: rgba(2, 102, 255, 0.3);
        background: #f1f4f6;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    }

    .pg-list-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        column-gap: 24px;
        row-gap: 40px;
    }

    .pg-list-card {
        content-visibility: auto;
        contain-intrinsic-size: 300px 430px;
        animation: pgListFadeInUp 600ms ease-out backwards;
    }

    .pg-list-card:nth-child(1) { animation-delay: 0.1s; }
    .pg-list-card:nth-child(2) { animation-delay: 0.2s; }
    .pg-list-card:nth-child(3) { animation-delay: 0.3s; }
    .pg-list-card:nth-child(4) { animation-delay: 0.4s; }
    .pg-list-card:nth-child(5) { animation-delay: 0.5s; }
    .pg-list-card:nth-child(6) { animation-delay: 0.6s; }
    .pg-list-card:nth-child(7) { animation-delay: 0.7s; }
    .pg-list-card:nth-child(8) { animation-delay: 0.8s; }
    .pg-list-card:nth-child(9) { animation-delay: 0.9s; }
    .pg-list-card:nth-child(10) { animation-delay: 1s; }

    .pg-list-card__media {
        aspect-ratio: 3 / 4;
        margin-bottom: 12px;
        border: 0;
        border-radius: 20px;
        background: #d7dadd;
        box-shadow: none;
    }

    .pg-list-card__media::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.16) 30%, rgba(0, 0, 0, 0.04) 52%, transparent 74%);
        opacity: 0;
    }

    .pg-list-card__rating {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        min-height: 28px;
        padding: 4px 10px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 999px;
        color: #ffffff;
        background: rgba(0, 0, 0, 0.4);
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        font-size: 12px;
        font-weight: 800;
    }

    .pg-list-card__rating .material-symbols-outlined {
        color: #ffd700;
        font-size: 14px;
        font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
    }

    .pg-list-card__language {
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 42px;
        height: 28px;
        padding: 4px 10px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 999px;
        box-sizing: border-box;
        color: #ffffff;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        font-size: 12px;
        line-height: 1.2;
        font-weight: 900;
        letter-spacing: 0;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.32);
        pointer-events: none;
    }

    .pg-list-card__language--zh {
        color: #ff5c67;
        background: rgba(185, 28, 28, 0.18);
        border-color: rgba(248, 113, 113, 0.42);
    }

    .pg-list-card__language--en {
        color: #22c55e;
        background: rgba(22, 101, 52, 0.18);
        border-color: rgba(74, 222, 128, 0.42);
    }

    .pg-list-card__language--ja {
        color: #f59e0b;
        background: rgba(180, 83, 9, 0.18);
        border-color: rgba(251, 191, 36, 0.44);
    }

    .pg-list-card__language--zh-tw {
        color: #a78bfa;
        background: rgba(91, 33, 182, 0.18);
        border-color: rgba(167, 139, 250, 0.42);
    }

    .pg-list-card__language--cn-patch {
        color: #38bdf8;
        background: rgba(3, 105, 161, 0.18);
        border-color: rgba(56, 189, 248, 0.42);
    }

    .pg-list-card__badge {
        z-index: 2;
        min-height: 26px;
        max-width: calc(100% - 24px);
        padding: 5px 10px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        background: rgba(0, 0, 0, 0.5);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.02em;
    }

    .pg-list-card__badge--genre {
        top: auto;
        bottom: 12px;
        left: 12px;
    }

    .pg-list-card__badge--size {
        display: none;
    }

    .pg-list-card__body {
        padding: 0 4px;
    }

    .pg-list-card__body h4 {
        margin: 0 0 4px;
        color: #181c1e;
        font-size: 18px;
        line-height: 1.18;
        font-weight: 700;
        letter-spacing: 0;
    }

    .pg-list-card__body h4 a:hover {
        color: #0266ff;
    }

    .pg-list-card__foot {
        min-height: auto;
        justify-content: flex-start;
    }

    .pg-list-views {
        color: #3e4944;
        font-size: 13px;
        font-weight: 600;
    }

    .pg-list-add-button {
        display: none;
    }

    .pg-list-filter-overlay {
        z-index: 100;
        background: rgba(0, 0, 0, 0.6);
    }

    .pg-list-filter-modal {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 101;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px;
        pointer-events: none;
        transform: none;
        opacity: 0;
        transition: opacity 200ms ease;
    }

    .pg-list-filter-modal.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .pg-list-filter-sheet {
        width: min(600px, 100%);
        max-height: calc(100dvh - 48px);
        margin: 0;
        padding: 40px;
        overflow-x: hidden;
        overflow-y: auto;
        border: 1px solid rgba(190, 201, 195, 0.2);
        border-radius: 32px;
        background: #ffffff;
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .pg-list-filter-handle {
        display: none;
    }

    .pg-list-filter-head {
        margin-bottom: 40px;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(190, 201, 195, 0.2);
    }

    .pg-list-filter-head h2 {
        font-size: 32px;
        line-height: 1.2;
        font-weight: 900;
        letter-spacing: 0;
    }

    .pg-list-filter-head button {
        width: 40px;
        height: 40px;
        background: transparent;
    }

    .pg-list-filter-head button:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    .pg-list-filter-group {
        margin-top: 40px;
    }

    .pg-list-filter-group h3 {
        margin: 0 0 16px;
        color: #181c1e;
        font-size: 14px;
        font-weight: 800;
        letter-spacing: 0;
    }

    .pg-list-filter-group--types,
    .pg-list-filter-group--years {
        display: grid;
        grid-template-columns: minmax(0, 1fr) max-content;
        align-items: center;
        column-gap: 10px;
    }

    .pg-list-filter-group--types h3,
    .pg-list-filter-group--years h3 {
        margin: 0;
    }

    .pg-list-filter-group--types .pg-list-filter-grid,
    .pg-list-filter-group--years .pg-list-year-grid {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 16px;
    }

    .pg-list-filter-grid,
    .pg-list-sort-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .pg-list-filter-group--types .pg-list-filter-toggle,
    .pg-list-filter-group--years .pg-list-filter-toggle {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        width: auto;
        min-height: 20px;
        margin: 0;
        padding: 0;
        border-radius: 0;
        color: #0266ff;
        background: transparent;
        font-size: 12px;
    }

    .pg-list-filter-group--types .pg-list-filter-toggle .material-symbols-outlined,
    .pg-list-filter-group--years .pg-list-filter-toggle .material-symbols-outlined {
        margin-left: 2px;
        font-size: 16px;
    }

    .filter-chip,
    .sort-chip,
    .year-chip {
        width: 100%;
        min-height: 41px;
        padding: 10px 16px;
        border: 1px solid rgba(190, 201, 195, 0.2);
        border-radius: 999px;
        color: #3e4944;
        background: #f1f4f6;
        font-size: 14px;
        font-weight: 700;
    }

    .filter-chip:hover,
    .sort-chip:hover,
    .year-chip:hover {
        color: #181c1e;
        background: #e6e8eb;
    }

    .filter-chip.is-active,
    .sort-chip.is-active,
    .year-chip.is-active {
        border-color: rgba(2, 102, 255, 0.5);
        color: #ffffff;
        background: #0266ff;
        box-shadow: 0 0 20px rgba(2, 102, 255, 0.4);
    }

    .pg-list-select-wrap {
        display: none;
    }

    .pg-list-year-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .pg-list-year-grid .year-chip {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        min-height: 41px;
        height: 41px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .pg-list-confirm {
        display: none;
    }

    .pg-list-filter-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        margin-top: 32px;
        padding-top: 32px;
        border-top: 1px solid rgba(190, 201, 195, 0.2);
    }

    .pg-list-reset,
    .pg-list-apply {
        min-height: 56px;
        padding: 14px 24px;
        border-radius: 999px;
        font-size: 14px;
        font-weight: 900;
        cursor: pointer;
        transition: transform 160ms ease, box-shadow 180ms ease, background-color 180ms ease;
    }

    .pg-list-reset {
        border: 1px solid rgba(190, 201, 195, 0.35);
        color: #3e4944;
        background: transparent;
        letter-spacing: 0.12em;
    }

    .pg-list-reset:hover {
        color: #181c1e;
        background: rgba(0, 0, 0, 0.05);
    }

    .pg-list-apply {
        border: 0;
        color: #ffffff;
        background: linear-gradient(90deg, #0266ff, #0050cc);
        box-shadow: 0 12px 28px rgba(2, 102, 255, 0.28);
    }

    .pg-list-apply:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 40px rgba(2, 102, 255, 0.55);
    }

    .pg-list-desktop-footer {
        display: block;
        width: 100%;
        padding: 64px 40px;
        border-top: 1px solid rgba(190, 201, 195, 0.1);
        background: #ffffff;
    }

    .pg-list-desktop-footer__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: min(1472px, 100%);
        margin: 0 auto;
        color: #3e4944;
    }

    .pg-list-desktop-footer__inner strong {
        color: #181c1e;
        font-size: 28px;
        font-weight: 900;
        letter-spacing: -0.04em;
    }

    .pg-list-desktop-footer__inner a {
        color: #3e4944;
        text-decoration: none;
        opacity: 0.82;
    }

    .pg-list-desktop-footer__inner a:hover {
        color: #0266ff;
        opacity: 1;
    }

    body.pg-list-filter-open {
        overflow: hidden;
    }

    @keyframes pgListKenBurns {
        from { transform: scale(1); }
        to { transform: scale(1.05); }
    }

    @keyframes pgListGameStars {
        from { background-position: 0 0, 22px 28px, 13px 17px; }
        to { background-position: 220px 120px, -160px 180px, 90px -140px; }
    }

    @keyframes pgListGameCoverDrift {
        from {
            transform: translate3d(-50%, -50%, 0) rotate(var(--r)) scale(1);
        }
        to {
            transform: translate3d(calc(-50% + 18px), calc(-50% - 22px), 0) rotate(calc(var(--r) * -0.65)) scale(1.08);
        }
    }

    @keyframes pgListFadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes pgListSearchBorderOrbit {
        from {
            --pg-list-search-border-angle: 0deg;
            filter: hue-rotate(0deg) saturate(1.08);
        }
        50% {
            filter: hue-rotate(180deg) saturate(1.12);
        }
        to {
            --pg-list-search-border-angle: 360deg;
            filter: hue-rotate(360deg) saturate(1.08);
        }
    }
}

@media (min-width: 900px) and (max-width: 1180px) {
    .pg-list-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .pg-list-desktop-nav__links {
        gap: 22px;
    }
}

@media (min-width: 900px) and (prefers-reduced-motion: reduce) {
    .pg-list-gamefield::before,
    .pg-list-gamefield__cover {
        animation: none;
    }

    .pg-list-search::before {
        animation: none;
        --pg-list-search-border-angle: 300deg;
    }
}
