@media (max-width: 899px) {
    .pg-home-pc {
        display: none;
    }
}

@media (min-width: 900px) {
    body.playground-home {
        background:
            radial-gradient(rgba(2, 102, 255, 0.03) 2px, transparent 2px) 0 0 / 30px 30px,
            #f7fafc;
        color: #181c1e;
        font-family: "Plus Jakarta Sans", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
        overflow-x: clip;
    }

    .pg-home-mobile,
    body.playground-home .pg-topbar,
    body.playground-home .pg-mobile-header,
    body.playground-home .pg-bottom-nav {
        display: none !important;
    }

    body.playground-home .pg-app-shell {
        width: 100%;
        max-width: none;
        min-height: 100vh;
        margin: 0;
        padding: 0;
    }

    .pg-home-pc {
        display: block;
        min-height: 100vh;
        background:
            radial-gradient(rgba(2, 102, 255, 0.035) 2px, transparent 2px) 0 0 / 30px 30px,
            #f7fafc;
    }

    .pg-home-pc,
    .pg-home-pc * {
        box-sizing: border-box;
    }

    .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(1440px, 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;
        text-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
        transition: color 260ms ease, text-shadow 260ms ease;
        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-home-hero {
        position: relative;
        width: 100%;
        height: 500px;
        overflow: hidden;
        background: #e6e8eb;
    }

    .pg-home-hero__slides,
    .pg-home-hero__slide {
        position: absolute;
        inset: 0;
    }

    .pg-home-hero__slide {
        z-index: 0;
        opacity: 0;
        transition: opacity 900ms ease;
    }

    .pg-home-hero__slide.is-active {
        z-index: 1;
        opacity: 1;
    }

    .pg-home-hero__slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .pg-home-chip,
    .pg-home-game-card__genre {
        display: inline-flex;
        align-items: center;
        max-width: calc(100% - 24px);
        min-height: 26px;
        padding: 5px 10px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        color: #ffffff;
        background: rgba(2, 102, 255, 0.72);
        font-size: 11px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: 0.02em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pg-home-hero__dots {
        position: absolute;
        right: 50%;
        bottom: 28px;
        z-index: 5;
        display: flex;
        gap: 10px;
        transform: translateX(50%);
    }

    .pg-home-hero__dots button {
        width: 12px;
        height: 12px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.56);
        cursor: pointer;
        transition: width 220ms ease, background-color 220ms ease;
    }

    .pg-home-hero__dots button.is-active {
        width: 26px;
        background: #0266ff;
    }

    .pg-home-live {
        padding: 16px 24px;
        background: #ffffff;
        border-bottom: 1px solid rgba(226, 232, 240, 0.72);
    }

    .pg-home-live__inner {
        display: flex;
        align-items: center;
        gap: 16px;
        width: min(1440px, 100%);
        height: 48px;
        margin: 0 auto;
        padding: 0 16px;
        border-radius: 8px;
        background: #f7fafc;
        box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    }

    .pg-home-live__badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        height: 24px;
        padding: 0 12px;
        border-radius: 999px;
        color: #ffffff;
        background: #ef4444;
        font-size: 12px;
        font-weight: 900;
    }

    .pg-home-live__badge i {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #ffffff;
    }

    .pg-home-live__line {
        width: 1px;
        height: 18px;
        background: #d7dadc;
    }

    .pg-home-live__ticker {
        flex: 1;
        height: 22px;
        overflow: hidden;
    }

    .pg-home-live__ticker > div {
        animation: pgHomeTicker 10s infinite;
    }

    .pg-home-live__ticker p {
        height: 22px;
        margin: 0;
        color: #4b5563;
        font-size: 14px;
        line-height: 22px;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pg-home-live__meta {
        color: #6b7280;
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
    }

    @keyframes pgHomeTicker {
        0%, 20% { transform: translateY(0); }
        25%, 45% { transform: translateY(-22px); }
        50%, 70% { transform: translateY(-44px); }
        75%, 95% { transform: translateY(-66px); }
        100% { transform: translateY(-88px); }
    }

    .pg-home-section,
    .pg-home-rank {
        width: min(1440px, calc(100% - 80px));
        margin: 0 auto;
        padding: 56px 0;
    }

    .pg-home-section--white {
        width: 100%;
        padding: 56px max(40px, calc((100vw - 1440px) / 2)) 52px;
        background: #ffffff;
    }

    .pg-home-section__head {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 24px;
        margin-bottom: 34px;
    }

    .pg-home-section__head h2 {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0;
        color: #111827;
        font-size: 30px;
        line-height: 1.15;
        font-weight: 900;
        letter-spacing: 0;
    }

    .pg-home-section__head h2 .material-symbols-outlined {
        color: #0266ff;
        font-size: 32px;
        font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
    }

    .pg-home-section__head p {
        margin: 7px 0 0;
        color: #8a94a6;
        font-size: 14px;
        font-weight: 600;
    }

    .pg-home-slider {
        margin-top: -6px;
        padding-top: 6px;
        overflow: hidden;
    }

    .pg-home-slider__track {
        display: flex;
        gap: 24px;
        transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .pg-home-slider__track .pg-home-game-card {
        flex: 0 0 calc((100% - 96px) / 5);
        min-width: calc((100% - 96px) / 5);
    }

    .pg-home-slider__controls {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .pg-home-slider__controls button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid #e5e7eb;
        border-radius: 999px;
        color: #4b5563;
        background: #ffffff;
        cursor: pointer;
        transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, opacity 180ms ease;
    }

    .pg-home-slider__controls button:hover:not(:disabled) {
        color: #ffffff;
        border-color: #0266ff;
        background: #0266ff;
    }

    .pg-home-slider__controls button:disabled {
        cursor: default;
        opacity: 0.3;
    }

    .pg-home-game-card {
        min-width: 0;
    }

    .pg-home-game-card__media {
        position: relative;
        display: block;
        aspect-ratio: 3 / 4;
        margin-bottom: 12px;
        overflow: hidden;
        border: 0;
        border-radius: 20px;
        background: #d7dadd;
        box-shadow: none;
    }

    .pg-home-game-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-home-game-card__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .pg-home-game-card__rank,
    .pg-home-game-card__rating,
    .pg-home-game-card__genre {
        position: absolute;
        z-index: 2;
    }

    .pg-home-game-card__rank {
        top: 12px;
        left: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 32px;
        height: 28px;
        padding: 0 8px;
        border-radius: 8px;
        color: #ffffff;
        background: rgba(0, 0, 0, 0.42);
        font-size: 12px;
        font-weight: 900;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .pg-home-game-card__rating {
        top: 12px;
        right: 12px;
        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-home-game-card__rating .material-symbols-outlined {
        color: #ffd700;
        font-size: 14px;
        font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
    }

    .pg-home-game-card__genre {
        bottom: 12px;
        left: 12px;
    }

    .pg-home-game-card h3 {
        margin: 0 0 4px;
        color: #181c1e;
        font-size: 18px;
        line-height: 1.18;
        font-weight: 700;
        letter-spacing: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pg-home-game-card h3 a {
        color: inherit;
        text-decoration: none;
    }

    .pg-home-game-card h3 a:hover {
        color: #0266ff;
    }

    .pg-home-game-card p {
        margin: 0;
        color: #3e4944;
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pg-home-rank {
        width: 100%;
        padding: 44px max(40px, calc((100vw - 1440px) / 2));
        background: #f4f3f8;
    }

    .pg-home-rank > .pg-home-section__head {
        width: min(1440px, 100%);
        margin-right: auto;
        margin-left: auto;
    }

    .pg-home-rank__tabs {
        display: inline-flex;
        align-items: center;
        gap: 2px;
        padding: 4px;
        border: 1px solid #f1f4f6;
        border-radius: 999px;
        background: #ffffff;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    }

    .pg-home-rank__tabs button {
        min-width: 86px;
        height: 34px;
        padding: 0 18px;
        border: 0;
        border-radius: 999px;
        color: #5f6878;
        background: transparent;
        font-size: 14px;
        font-weight: 800;
        cursor: pointer;
        transition: background-color 180ms ease, color 180ms ease;
    }

    .pg-home-rank__tabs button.is-active {
        color: #ffffff;
        background: #0266ff;
    }

    .pg-home-rank__panel {
        display: none;
        grid-template-columns: 62fr 38fr;
        gap: 24px;
        width: min(1440px, 100%);
        margin: 0 auto;
    }

    .pg-home-rank__panel.is-active {
        display: grid !important;
    }

    .pg-home-rank__panel.is-active > .pg-home-rank__main {
        display: block !important;
        min-width: 0;
    }

    .pg-home-rank__panel.is-active > .pg-home-rank__list {
        min-width: 0;
    }

    .pg-home-rank__main {
        position: relative;
        height: 448px;
        overflow: hidden;
        border-radius: 12px;
        color: #ffffff;
        text-decoration: none;
        box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
    }

    .pg-home-rank__main::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background:
            linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.34) 42%, rgba(0, 0, 0, 0.08) 100%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.72) 100%);
    }

    .pg-home-rank__main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 500ms ease, filter 500ms ease;
    }

    .pg-home-rank__main:hover img {
        transform: scale(1.05);
        filter: brightness(1.08) contrast(1.04);
    }

    .pg-home-rank__number,
    .pg-home-rank__score,
    .pg-home-rank__copy {
        position: absolute;
        z-index: 2;
    }

    .pg-home-rank__number {
        display: none;
        top: 24px;
        left: 24px;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 10px;
        color: #ffffff;
        background: #0266ff;
        font-size: 22px;
        font-weight: 900;
    }

    .pg-home-rank__score {
        display: none;
        top: 18px;
        right: 18px;
        align-items: center;
        gap: 6px;
        padding: 8px 14px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.48);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        font-size: 18px;
        font-weight: 900;
    }

    .pg-home-rank__score .material-symbols-outlined {
        color: #ffd700;
        font-size: 18px;
        font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
    }

    .pg-home-rank__copy {
        right: 28px;
        bottom: 26px;
        left: 28px;
    }

    .pg-home-rank__tags {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 14px;
    }

    .pg-home-rank__tags span {
        max-width: min(320px, 100%);
        height: 28px;
        display: inline-flex;
        align-items: center;
        padding: 0 14px;
        border-radius: 999px;
        color: #ffffff;
        background: rgba(2, 102, 255, 0.8);
        font-size: 12px;
        font-weight: 900;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pg-home-rank__copy h3 {
        max-width: 620px;
        margin: 0 0 12px;
        font-size: 42px;
        line-height: 1.04;
        font-weight: 900;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pg-home-rank__copy p {
        display: -webkit-box;
        max-width: min(760px, 86%);
        margin: 0;
        color: rgba(255, 255, 255, 0.88);
        font-size: 15px;
        line-height: 1.72;
        font-weight: 700;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pg-home-rank__meta {
        display: flex;
        align-items: center;
        gap: 5px;
        margin-top: 18px;
        color: rgba(255, 255, 255, 0.9);
        font-size: 12px;
        font-weight: 900;
    }

    .pg-home-rank__meta .material-symbols-outlined {
        width: 16px;
        height: 16px;
        font-size: 16px !important;
        line-height: 1;
        font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 24;
    }

    .pg-home-rank__meta strong {
        min-width: 0;
        overflow: hidden;
        font: inherit;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pg-home-rank__list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .pg-home-rank__row {
        display: flex;
        align-items: center;
        gap: 16px;
        height: 80px;
        padding: 0 18px;
        border-radius: 12px;
        color: inherit;
        background: #ffffff;
        text-decoration: none;
        transition: transform 240ms ease, background-color 240ms ease, box-shadow 240ms ease;
    }

    .pg-home-rank__row:hover {
        transform: translateY(-3px);
        background: #f8fafc;
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    }

    .pg-home-rank__row strong {
        width: 34px;
        color: #a0a6b4;
        font-size: 22px;
        font-weight: 500;
    }

    .pg-home-rank__row img {
        width: 60px;
        height: 60px;
        border-radius: 8px;
        object-fit: cover;
        flex: 0 0 auto;
    }

    .pg-home-rank__row span {
        min-width: 0;
        flex: 1;
    }

    .pg-home-rank__row b,
    .pg-home-rank__row em {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pg-home-rank__row b {
        color: #1a202c;
        font-size: 16px;
        line-height: 1.25;
        font-weight: 700;
    }

    .pg-home-rank__row em {
        margin-top: 5px;
        color: #60687a;
        font-size: 13px;
        font-style: normal;
        font-weight: 600;
    }

    .pg-home-rank__row i {
        color: #0266ff;
        font-size: 22px;
        font-style: normal;
    }

    .pg-home-section--grid {
        padding-top: 56px;
    }

    .pg-home-more-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        padding: 0 20px;
        border-radius: 999px;
        color: #ffffff;
        background: #0266ff;
        font-size: 14px;
        font-weight: 800;
        text-decoration: none;
        transition: transform 180ms ease, background-color 180ms ease;
    }

    .pg-home-more-link:hover {
        transform: translateY(-2px);
        background: #0059e6;
    }

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

    .pg-home-footer {
        margin-top: 24px;
        padding: 48px 40px;
        color: rgba(255, 255, 255, 0.6);
        background: #0a0a0a;
    }

    .pg-home-footer__inner {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 48px;
        width: min(1440px, 100%);
        margin: 0 auto;
        align-items: start;
    }

    .pg-home-footer strong {
        display: block;
        margin-bottom: 12px;
        color: #ffffff;
        font-size: 20px;
        font-weight: 900;
        letter-spacing: -0.02em;
    }

    .pg-home-footer__brand {
        display: inline-flex;
        align-items: center;
        margin-bottom: 12px;
    }

    .pg-home-footer__brand img {
        display: block;
        width: auto;
        height: 30px;
        object-fit: contain;
    }

    .pg-home-footer__brand .site-logo--dark {
        display: none;
    }

    .pg-home-footer p {
        max-width: 420px;
        margin: 0;
        color: rgba(255, 255, 255, 0.42);
        font-size: 13px;
        line-height: 1.8;
    }

    .pg-home-footer nav {
        display: flex;
        align-items: center;
        gap: 22px;
    }

    .pg-home-footer a {
        color: rgba(255, 255, 255, 0.62);
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
        transition: color 180ms ease;
    }

    .pg-home-footer a:hover {
        color: #0266ff;
    }
}
