@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/inter-variable.woff2") format("woff2");
}

:root {
    --ph-ink: #1c1c25;
    --ph-muted: #666570;
    --ph-violet: #6440d8;
    --ph-violet-hover: #4b28ba;
    --ph-soft: #f2eefc;
    --ph-border: #e3e2e9;
    --ph-paper: #ffffff;
    --ph-background: #f7f7f9;
    --ph-radius: 10px;
    --ph-width: 1360px;
}

html {
    scroll-padding-top: 28px;
}

body {
    margin: 0;
    background: var(--ph-background);
    color: var(--ph-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body button,
body input,
body select,
body textarea {
    font: inherit;
}

body a {
    color: var(--ph-violet);
    text-underline-offset: 0.18em;
}

body a:hover {
    color: var(--ph-violet-hover);
}

body :focus-visible {
    outline: 3px solid var(--ph-violet);
    outline-offset: 4px;
}

body ::selection {
    background: #ded3ff;
    color: #281554;
}

body .site {
    min-width: 0;
    padding-bottom: 0 !important;
}

body.ph-single .site {
    overflow: visible;
}

body.home .ph-header-search {
    display: none;
}

.ph-qa {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid var(--ph-border);
    border-radius: var(--ph-radius);
    background: var(--ph-paper);
}

body .entry-content .ph-qa-question {
    margin: 0 0 12px;
}

body .entry-content .ph-qa-answer {
    margin: 0;
}

.ph-answer-number {
    color: var(--ph-violet);
}

.ph-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 0 0 24px;
    color: var(--ph-muted);
    font-size: 14px;
    line-height: 1.6;
}

body .site-content {
    width: 100%;
    max-width: var(--ph-width);
    margin: 0 auto;
    padding: 42px 24px 72px;
    background: transparent;
}

body .site-content-inner {
    min-width: 0;
    gap: 0;
}

body .content-area,
body.sidebar-left .content-area,
body.sidebar-none .content-area {
    width: 100%;
    min-width: 0;
    max-width: none;
    flex: 1 1 100%;
    padding: 0;
}

body .site-main {
    min-width: 0;
}

body .skip-link:focus {
    top: 12px;
    left: 12px;
    z-index: 100000;
    padding: 12px 18px;
    background: var(--ph-paper);
    color: var(--ph-violet);
    border: 2px solid var(--ph-violet);
    border-radius: 8px;
}

/* The header keeps the navigation visible when JavaScript is unavailable. */
body .ph-header {
    position: relative;
    z-index: 40;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--ph-border);
    background: var(--ph-paper);
}

.ph-header-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    max-width: var(--ph-width);
    min-height: 82px;
    margin: 0 auto;
    padding: 12px 24px;
}

body .ph-brand {
    flex: 0 0 auto;
    color: var(--ph-ink);
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1.1px;
    line-height: 1.2;
    text-decoration: none;
}

body .ph-brand span {
    color: var(--ph-violet);
}

.ph-brand img {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 45px;
    object-fit: contain;
}

#ph-primary-nav {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    gap: 6px;
    min-width: 0;
    margin: 0;
}

#ph-primary-nav ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#ph-primary-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--ph-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

#ph-primary-nav a:hover,
#ph-primary-nav .current-menu-item > a,
#ph-primary-nav a[aria-current="page"] {
    background: var(--ph-soft);
    color: var(--ph-violet);
}

.ph-menu-toggle {
    display: none;
    min-height: 44px;
    padding: 8px 13px;
    border: 1px solid var(--ph-border);
    border-radius: 8px;
    background: var(--ph-paper);
    color: var(--ph-ink);
    cursor: pointer;
}

.ph-header-search {
    flex: 0 1 240px;
    min-width: 0;
}

.ph-header-search input[type="search"] {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    border: 1px solid var(--ph-border);
    border-radius: 8px;
    background: var(--ph-background);
    font-size: 15px;
}

.ph-nav-more {
    position: relative;
}

.ph-nav-more > summary {
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--ph-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
}

.ph-nav-more > summary:hover,
.ph-nav-more[open] > summary {
    background: var(--ph-soft);
    color: var(--ph-violet);
}

.ph-nav-more > div {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 45;
    width: 240px;
    padding: 8px;
    border: 1px solid var(--ph-border);
    border-radius: 12px;
    background: var(--ph-paper);
    box-shadow: 0 12px 40px rgb(39 25 61 / 12%);
}

.ph-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 350px);
    align-items: center;
    gap: 60px;
    margin-bottom: 48px;
    padding: 30px 0 40px;
    border-bottom: 1px solid var(--ph-border);
}

.ph-hero h1 {
    max-width: 840px;
    margin: 0 0 18px;
    color: var(--ph-ink);
    font-size: clamp(34px, 4.4vw, 54px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.13;
}

.ph-hero .ph-hero-description {
    max-width: 680px;
    margin: 0 0 26px;
    color: var(--ph-muted);
    font-size: 19px;
}

.ph-eyebrow {
    margin: 0 0 18px;
    color: var(--ph-violet);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.09em;
    line-height: 1.5;
    text-transform: uppercase;
}

.ph-hero-copy {
    min-width: 0;
}

.ph-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 16px;
}

.ph-quick-links a {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.ph-quick-links a:hover {
    text-decoration: underline;
}

body .ph-hero-feature {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    min-width: 0;
    min-height: 350px;
    padding: 32px;
    border: 1px solid #443275;
    border-radius: 18px;
    background: #31224f;
    color: #f5f1ff;
    text-decoration: none;
    transition: background-color 160ms ease;
}

body .ph-hero-feature:hover {
    background: #3e2c65;
    color: #fff;
}

.ph-hero-feature .ph-kicker {
    margin-bottom: 22px;
    color: #c8b4ff;
}

.ph-hero-feature > strong {
    display: block;
    margin-bottom: 18px;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.ph-hero-feature > span:not(.ph-kicker):not(.ph-feature-action) {
    max-width: 250px;
    color: #d9cdeb;
    font-size: 16px;
    line-height: 1.6;
}

.ph-hero-feature .ph-feature-action {
    display: inline-block;
    margin-top: auto;
    padding-top: 24px;
    color: #fff;
    font-size: 14px;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ph-search {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    max-width: 720px;
    margin: 24px 0 0;
}

.ph-search input[type="search"] {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 13px 18px;
    border: 1px solid #d5cce5;
    border-radius: 10px;
    background: var(--ph-paper);
    color: var(--ph-ink);
    box-shadow: 0 3px 12px rgb(37 22 65 / 3%);
}

.ph-search input::placeholder {
    color: var(--ph-muted);
    opacity: 1;
}

.ph-search button,
.ph-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid var(--ph-violet);
    border-radius: 10px;
    background: var(--ph-violet);
    color: #fff;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
}

.ph-search button:hover,
body .ph-button:hover {
    border-color: var(--ph-violet-hover);
    background: var(--ph-violet-hover);
    color: #fff;
}

.ph-header-search .ph-search {
    gap: 4px;
    margin: 0;
}

.ph-header-search .ph-search input[type="search"] {
    min-height: 42px;
    padding: 9px 10px;
    border-radius: 7px;
    box-shadow: none;
    font-size: 14px;
}

.ph-header-search .ph-search button {
    min-height: 42px;
    padding: 8px 11px;
    border-radius: 7px;
    font-size: 14px;
}

.ph-section,
.ph-related {
    width: 100%;
    min-width: 0;
    margin: 0 0 48px;
}

.ph-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 20px;
}

.ph-section-head h2,
.ph-related > h2 {
    margin: 0;
    color: var(--ph-ink);
    font-size: 26px;
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.3;
}

.ph-section-head > a {
    font-size: 15px;
    font-weight: 600;
}

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

body .ph-game-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--ph-border);
    border-radius: var(--ph-radius);
    background: var(--ph-paper);
    color: var(--ph-ink);
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ph-game-card:hover {
    border-color: #b6a1e5;
    box-shadow: 0 4px 16px rgb(44 28 73 / 5%);
}

.ph-game-card > img {
    display: block;
    flex: 0 0 64px;
    width: 64px;
    height: 76px;
    border-radius: 7px;
    object-fit: cover;
    background: var(--ph-soft);
}

.ph-game-card-body,
.ph-game-name {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.ph-game-card strong,
.ph-game-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.ph-game-card-body > span {
    color: var(--ph-muted);
    font-size: 13px;
    line-height: 1.4;
}

.ph-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ph-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    border: 1px solid var(--ph-border);
    border-radius: var(--ph-radius);
    background: var(--ph-paper);
}

body .ph-card-image {
    display: block;
    border-radius: var(--ph-radius) var(--ph-radius) 0 0;
    background: var(--ph-soft);
    color: var(--ph-violet);
    text-decoration: none;
}

.ph-card-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: inherit;
    object-fit: cover;
}

.ph-card-image > span {
    display: flex;
    align-items: center;
    min-height: 120px;
    padding: 24px;
    font-weight: 700;
}

.ph-card-body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 22px;
}

.ph-kicker {
    margin: 0 0 9px;
    color: var(--ph-violet);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.055em;
    line-height: 1.5;
    text-transform: uppercase;
}

.ph-kicker a {
    text-decoration: none;
}

.ph-card h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.ph-card h3 a {
    color: var(--ph-ink);
    text-decoration: none;
}

.ph-card h3 a:hover {
    color: var(--ph-violet);
    text-decoration: underline;
}

.ph-card-excerpt {
    margin: 12px 0 0;
    color: var(--ph-muted);
    font-size: 15px;
    line-height: 1.55;
}

.ph-card-meta,
.ph-card time {
    display: block;
    margin-top: 14px;
    color: var(--ph-muted);
    font-size: 13px;
}

.ph-cards--search {
    grid-template-columns: minmax(0, 1fr);
    max-width: 900px;
}

.ph-cards--search .ph-card {
    flex-direction: row;
}

.ph-cards--search .ph-card-image {
    flex: 0 0 220px;
    border-radius: var(--ph-radius) 0 0 var(--ph-radius);
}

.ph-cards--search .ph-card-image img {
    height: 100%;
    min-height: 150px;
    aspect-ratio: auto;
}

.ph-cards--search .ph-card-body {
    align-self: center;
}

.ph-hub-header {
    width: 100%;
    margin-bottom: 32px;
}

.ph-hub-header h1,
body .page-title {
    margin: 0 0 16px;
    color: var(--ph-ink);
    font-size: clamp(30px, 3.5vw, 42px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.ph-hub-header > p {
    max-width: 780px;
    margin: 0 0 20px;
    color: var(--ph-muted);
}

.ph-type-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.ph-type-links a {
    display: inline-block;
    padding: 9px 14px;
    border: 1px solid var(--ph-border);
    border-radius: 8px;
    background: var(--ph-paper);
    color: var(--ph-ink);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.ph-type-links a:hover,
.ph-type-links a[aria-current] {
    border-color: #c7b5eb;
    background: var(--ph-soft);
    color: var(--ph-violet);
}

body .taxonomy-description {
    max-width: 840px;
    margin: 24px 0 36px;
    font-size: 17px;
    overflow-wrap: anywhere;
}

body .taxonomy-description h2 {
    margin-top: 30px;
    font-size: 23px;
}

body .taxonomy-description ul {
    padding-left: 24px;
}

body .taxonomy-description li {
    margin-bottom: 6px;
}

.ph-hub-index {
    margin: 0 0 38px;
    padding: 24px;
    border: 1px solid var(--ph-border);
    border-radius: 14px;
    background: var(--ph-paper);
}

body .ph-hub-index.entry-content {
    font-size: 17px;
}

body .ph-hub-index.entry-content > :first-child {
    margin-top: 0;
}

body .ph-hub-index.entry-content h2 {
    margin: 26px 0 14px;
    font-size: 22px;
}

body .ph-hub-index.entry-content > figure {
    float: right;
    width: 240px;
    max-width: 38%;
    margin: 0 0 20px 30px;
}

.ph-hub-index::after {
    display: block;
    clear: both;
    content: "";
}

body .ph-hub-index.entry-content > ul {
    columns: 2;
    column-gap: 40px;
}

body .ph-hub-index.entry-content li {
    margin-bottom: 9px;
    break-inside: avoid;
}

.ph-about-game {
    margin: 0 0 30px;
}

.ph-about-game > summary {
    width: fit-content;
    padding: 10px 14px;
    border: 1px solid var(--ph-border);
    border-radius: 8px;
    background: var(--ph-paper);
    color: var(--ph-violet);
    font-weight: 600;
    cursor: pointer;
}

.ph-about-game[open] > summary {
    margin-bottom: 16px;
}

/* Article layout overrides the inherited fixed sidebar and column padding. */
body.single .site-content-inner {
    display: grid;
    grid-template-columns: minmax(0, 740px) minmax(0, 260px);
    justify-content: center;
    align-items: start;
    column-gap: 64px;
}

body.single.sidebar-none .site-content-inner {
    grid-template-columns: minmax(0, 780px);
}

body.single .content-area {
    order: 0;
}

body .article-card,
body .article-post {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

body .entry-title {
    margin: 0 0 26px;
    color: var(--ph-ink);
    font-size: clamp(30px, 3.15vw, 42px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

body .breadcrumbs {
    margin-bottom: 18px;
    color: var(--ph-muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}

body .entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0 0 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--ph-border);
    color: var(--ph-muted);
    font-size: 14px;
}

body .entry-content {
    max-width: 100%;
    color: var(--ph-ink);
    font-size: 18px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

body .entry-content p {
    margin: 0 0 1.25em;
}

body .entry-content h2 {
    margin: 1.9em 0 0.75em;
    color: var(--ph-ink);
    font-size: 28px;
    font-weight: 750;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

body .entry-content h3 {
    margin: 1.6em 0 0.65em;
    color: var(--ph-ink);
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

body .entry-content :is(h2, h3, h4, li[id]) {
    scroll-margin-top: 28px;
}

body .entry-content :is(ul, ol) {
    padding-left: 28px;
}

body .entry-content li {
    margin-bottom: 0.85em;
    padding-left: 5px;
}

body .entry-content li::marker {
    color: var(--ph-violet);
    font-weight: 650;
}

body .entry-content figure,
body .entry-content .wp-block-image {
    max-width: 100%;
    margin: 24px 0 32px;
}

body .entry-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

body .entry-content figcaption {
    margin-top: 9px;
    color: var(--ph-muted);
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

body .entry-content :is(pre, .wp-block-table) {
    max-width: 100%;
    overflow-x: auto;
}

body .entry-content code {
    border-radius: 4px;
    background: var(--ph-soft);
    color: #482888;
    font-family: "Cascadia Code", Consolas, monospace;
    font-size: 0.9em;
    overflow-wrap: anywhere;
}

body .entry-content pre {
    padding: 18px;
    border: 1px solid var(--ph-border);
    border-radius: 10px;
    background: var(--ph-soft);
    font-size: 16px;
    white-space: pre-wrap;
}

.ph-toc {
    margin: 28px 0;
    border: 1px solid #dcd2ee;
    border-radius: 12px;
    background: #f6f3fc;
}

.ph-toc > summary {
    padding: 17px 20px;
    color: var(--ph-ink);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.ph-toc > summary::marker {
    color: var(--ph-violet);
}

.ph-toc nav {
    padding: 0 20px 14px;
}

body .entry-content .ph-toc ol {
    margin: 0;
    padding-left: 22px;
    font-size: 16px;
    line-height: 1.55;
}

body .entry-content .ph-toc li {
    margin: 0 0 9px;
    padding-left: 3px;
}

.ph-toc .ph-toc-level-3 {
    margin-left: 18px !important;
}

.ph-toc a {
    text-decoration: none;
}

.ph-toc a:hover {
    text-decoration: underline;
}

.ph-desktop-toc {
    display: none;
}

@media (min-width: 1100px) {
    body.ph-has-side-toc .entry-content .ph-toc {
        display: none;
    }

    body #secondary.ph-reading-sidebar {
        align-self: stretch;
    }

    .ph-has-side-toc .ph-desktop-toc {
        display: block;
        position: sticky;
        top: 24px;
        margin-top: 26px;
        padding-top: 22px;
        border-top: 1px solid var(--ph-border);
    }

    .ph-desktop-toc h2 {
        margin: 0 0 16px;
        color: var(--ph-ink);
        font-size: 17px;
        font-weight: 700;
        line-height: 1.4;
    }

    .ph-desktop-toc ol {
        margin: 0;
        padding-left: 20px;
        color: var(--ph-violet);
        font-size: 14px;
        line-height: 1.6;
    }

    .ph-desktop-toc li {
        margin: 0 0 10px;
        padding-left: 2px;
    }

    .ph-desktop-toc .ph-toc-level-3 {
        margin-left: 12px;
    }

    .ph-desktop-toc a {
        color: var(--ph-muted);
        text-decoration: none;
    }

    .ph-desktop-toc a:hover {
        color: var(--ph-violet);
        text-decoration: underline;
    }
}

.ph-quick-answer,
.ph-prerequisites {
    margin: 24px 0;
    padding: 22px 24px;
    border: 1px solid #dcd2ee;
    border-left: 4px solid var(--ph-violet);
    border-radius: 0 12px 12px 0;
    background: #f6f3fc;
}

body .entry-content :is(.ph-quick-answer, .ph-prerequisites) h2,
body .entry-content :is(.ph-quick-answer, .ph-prerequisites) h3 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.4;
}

body .entry-content :is(.ph-quick-answer, .ph-prerequisites) > :last-child {
    margin-bottom: 0;
}

.ph-prerequisites {
    border-color: #e8d7a5;
    border-left-color: #b07914;
    background: #fff9eb;
}

body .entry-content .wp-block-simple-note-warning {
    margin: 24px 0;
    padding: 20px 24px;
    border: 1px solid #e8d7a5;
    border-left: 4px solid #b07914;
    border-radius: 0 12px 12px 0;
    background: #fff9eb;
    color: #5e451c;
    font-size: 17px;
    line-height: 1.75;
}

body .entry-content table,
.ph-requirements table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    line-height: 1.6;
}

body .entry-content :is(th, td) {
    min-width: 0;
    padding: 13px 15px;
    border: 1px solid var(--ph-border);
    vertical-align: top;
    text-align: left;
    overflow-wrap: anywhere;
}

body .entry-content th {
    background: var(--ph-soft);
    color: var(--ph-ink);
    font-weight: 700;
}

.ph-requirements,
.ph-table-wrap {
    max-width: 100%;
    margin: 24px 0;
    overflow-x: auto;
}

.ph-requirements table {
    min-width: 520px;
}

.ph-source {
    margin: 20px 0;
    padding-top: 16px;
    border-top: 1px solid var(--ph-border);
    color: var(--ph-muted);
    font-size: 15px;
    line-height: 1.65;
}

.ph-copy {
    position: relative;
    margin: 18px 0 26px;
    padding: 18px;
    border: 1px solid var(--ph-border);
    border-radius: 10px;
    background: var(--ph-paper);
}

body .entry-content .ph-copy code {
    display: block;
    padding: 0;
    background: transparent;
    white-space: pre-wrap;
    word-break: break-word;
}

.ph-copy-button {
    margin-top: 12px;
    padding: 7px 12px;
    border: 1px solid #cbbbea;
    border-radius: 7px;
    background: var(--ph-soft);
    color: var(--ph-violet);
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
}

.ph-copy-button:hover {
    border-color: var(--ph-violet);
}

.ph-copy-status {
    display: block;
    margin-top: 6px;
    color: var(--ph-muted);
    font-size: 14px;
    line-height: 1.5;
}

.ph-copy-status:empty {
    display: none;
}

body #secondary.widget-area {
    display: block;
    order: 1;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 0;
    color: var(--ph-muted);
    font-size: 15px;
    line-height: 1.65;
}

body #secondary .widget {
    min-width: 0;
    margin-bottom: 26px;
    padding: 20px;
    border: 1px solid var(--ph-border);
    border-radius: 12px;
    background: var(--ph-paper);
    overflow-wrap: anywhere;
}

body #secondary .widget-title {
    margin: 0 0 14px;
    color: var(--ph-ink);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

body #secondary input[type="search"] {
    width: 100%;
    min-width: 0;
    font-size: 16px;
}

body #secondary img {
    max-width: 100%;
    height: auto;
}

body .ph-related {
    grid-column: 1 / -1;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--ph-border);
}

.entry-content .ph-related .ph-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body .entry-tags {
    margin: 28px 0;
}

body .entry-tag {
    padding: 7px 11px;
    border-color: var(--ph-border);
    border-radius: 6px;
    background: var(--ph-paper);
    color: var(--ph-violet);
    font-size: 14px;
}

body .pagination,
body .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin-top: 28px;
}

body .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 44px;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid var(--ph-border);
    border-radius: 8px;
    background: var(--ph-paper);
    color: var(--ph-violet);
    font-size: 15px;
    text-decoration: none;
}

body .page-numbers.current,
body a.page-numbers:hover {
    border-color: var(--ph-violet);
    background: var(--ph-violet);
    color: #fff;
}

body .page-numbers.dots {
    border-color: transparent;
    background: transparent;
}

/* Grid columns shrink within the footer instead of adding inherited margins. */
body .site-footer-container,
body .site-footer-container:not(.site-footer-container--disable-sticky) {
    position: static;
    width: 100%;
    min-width: 0;
}

body .site-footer {
    margin: 0;
    padding: 42px 0 26px;
    border-top: 1px solid var(--ph-border);
    background: #eeebf4;
    color: #4e465d;
    font-size: 15px;
}

body .site-footer-inner {
    width: 100%;
    max-width: var(--ph-width);
    min-width: 0;
    margin: 0 auto;
    padding: 0 24px;
}

body .site-footer .footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
    min-width: 0;
    margin: 0 0 26px;
    padding: 0 0 28px;
    border-bottom: 1px solid #d9d2e3;
}

body .site-footer-container .footer-widgets .footer-widget {
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    overflow-wrap: anywhere;
}

body .site-footer .widget {
    min-width: 0;
    margin: 0;
}

body .site-footer .widget-title {
    margin: 0 0 16px;
    color: var(--ph-ink);
    font-size: 17px;
    font-weight: 700;
}

body .site-footer a {
    color: #493573;
}

body .site-footer a:hover {
    color: var(--ph-violet-hover);
    text-decoration: underline;
}

body .site-footer .post-card,
body .site-footer .post-card__body,
body .site-footer .post-card__title {
    min-width: 0;
    max-width: 100%;
    color: inherit;
    font-size: 15px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

body .site-footer .post-card {
    margin-bottom: 12px;
}

body .site-footer .post-card__thumbnail {
    flex-shrink: 1;
    max-width: 72px;
}

body .site-footer img {
    max-width: 100%;
    height: auto;
}

body .footer-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    min-width: 0;
}

body .footer-info,
body .footer-counters {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

body .footer-info {
    flex: 1 1 420px;
    font-size: 13px;
}

body .footer-counters {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

body .footer-counters > br {
    display: none;
}

body .scrolltop {
    width: 44px;
    height: 44px;
    right: 18px;
    bottom: 20px;
    border: 1px solid #cbbbea;
    border-radius: 9px;
    background: var(--ph-paper);
    color: var(--ph-violet);
    font-size: 22px;
}

@media (max-width: 1100px) {
    .ph-header-inner {
        gap: 16px;
    }

    .ph-header-search {
        flex-basis: 200px;
    }

    .ph-hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
        gap: 36px;
    }

    body .ph-hero-feature {
        min-height: 330px;
        padding: 26px;
    }

    #ph-primary-nav a {
        padding-right: 9px;
        padding-left: 9px;
        font-size: 14px;
    }

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

    body.single .site-content-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 240px);
        column-gap: 36px;
    }

    .ph-card-body {
        padding: 18px;
    }
}

@media (max-width: 900px) {
    body.single .site-content-inner,
    body.single.sidebar-none .site-content-inner {
        display: block;
        max-width: 780px;
        margin: 0 auto;
    }

    body #secondary.widget-area {
        margin-top: 44px;
    }

    .ph-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body .site-footer .footer-widgets {
        gap: 24px;
    }
}

@media (max-width: 840px) {
    .ph-header-inner {
        justify-content: space-between;
        min-height: 72px;
        gap: 12px;
    }

    .ph-brand {
        margin-right: auto;
    }

    .ph-js .ph-menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

    #ph-primary-nav {
        flex: 1 1 100%;
        order: 3;
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
        padding: 8px 0 4px;
        border-top: 1px solid var(--ph-border);
    }

    .ph-js #ph-primary-nav:not(.is-open) {
        display: none;
    }

    #ph-primary-nav ul {
        align-items: stretch;
        flex-direction: column;
        gap: 2px;
        width: 100%;
    }

    #ph-primary-nav a {
        padding: 12px;
        font-size: 16px;
    }

    .ph-header-search {
        flex: 0 1 240px;
        margin-left: auto;
    }

    .ph-hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
        gap: 24px;
        padding-top: 16px;
    }

    body .ph-hero-feature {
        padding: 22px;
    }

    .ph-hero-feature > strong {
        font-size: 34px;
    }

    .ph-nav-more > summary {
        padding: 12px;
        font-size: 16px;
    }

    .ph-nav-more > div {
        position: static;
        width: auto;
        margin: 0 0 8px 12px;
        box-shadow: none;
    }

    .ph-game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body .site-footer .footer-widgets {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body .site-footer .footer-widget:first-child {
        grid-column: 1 / -1;
        max-width: 620px;
    }
}

@media (max-width: 560px) {
    body .site-content {
        padding: 26px 18px 48px;
    }

    .ph-header-inner {
        padding: 12px 18px;
    }

    body .ph-brand {
        font-size: 25px;
    }

    .ph-header-search {
        flex-basis: 100%;
        order: 2;
    }

    .ph-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
        margin-bottom: 32px;
        padding: 10px 0 30px;
    }

    body .ph-hero-feature {
        min-height: 0;
        padding: 22px;
    }

    .ph-hero-feature .ph-kicker {
        margin-bottom: 16px;
    }

    .ph-hero-feature > strong {
        font-size: 32px;
    }

    .ph-hero-feature > strong br {
        display: none;
    }

    .ph-hero-feature > span:not(.ph-kicker):not(.ph-feature-action) {
        max-width: none;
    }

    .ph-hero-feature .ph-feature-action {
        padding-top: 18px;
    }

    .ph-hero h1 {
        font-size: 36px;
        letter-spacing: -0.04em;
    }

    .ph-hero .ph-hero-description {
        font-size: 17px;
        line-height: 1.65;
    }

    .ph-hub-index {
        padding: 18px;
    }

    body .ph-hub-index.entry-content > ul {
        columns: auto;
    }

    body .ph-hub-index.entry-content > figure {
        float: none;
        width: 200px;
        max-width: 100%;
        margin: 0 0 20px;
    }

    .ph-search {
        gap: 7px;
    }

    .ph-search input[type="search"] {
        min-height: 52px;
        padding: 11px 12px;
        font-size: 16px;
    }

    .ph-search button {
        padding: 10px 15px;
        font-size: 16px;
    }

    .ph-section,
    .ph-related {
        margin-bottom: 34px;
    }

    .ph-section-head {
        margin-bottom: 16px;
    }

    .ph-section-head h2,
    .ph-related > h2 {
        font-size: 23px;
    }

    .ph-game-grid {
        gap: 10px;
    }

    body .ph-game-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }

    .ph-game-card > img {
        flex-basis: auto;
        width: 52px;
        height: 62px;
    }

    .ph-game-card strong,
    .ph-game-name {
        font-size: 15px;
    }

    .ph-cards,
    .entry-content .ph-related .ph-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .ph-cards--search .ph-card {
        flex-direction: column;
    }

    .ph-cards--search .ph-card-image {
        flex-basis: auto;
        border-radius: var(--ph-radius) var(--ph-radius) 0 0;
    }

    .ph-cards--search .ph-card-image img {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .ph-card-body {
        padding: 18px;
    }

    .ph-card h3 {
        font-size: 19px;
    }

    .ph-hub-header h1,
    body .page-title {
        font-size: 32px;
    }

    body .entry-title {
        margin-bottom: 22px;
        font-size: 31px;
    }

    body .entry-content {
        font-size: 17px;
        line-height: 1.8;
    }

    body .entry-content h2 {
        font-size: 25px;
    }

    body .entry-content h3 {
        font-size: 21px;
    }

    .ph-toc > summary {
        padding: 15px 16px;
    }

    .ph-toc nav {
        padding: 0 16px 12px;
    }

    .ph-quick-answer,
    .ph-prerequisites {
        padding: 18px;
    }

    body .entry-content :is(th, td) {
        padding: 10px;
        font-size: 15px;
    }

    body .site-footer {
        padding-top: 32px;
    }

    body .site-footer-inner {
        padding: 0 18px;
    }

    body .site-footer .footer-widgets {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    body .footer-info {
        flex-basis: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ph-game-card,
    .ph-hero-feature {
        transition: none;
    }
}

@media print {
    body {
        background: #fff;
        color: #000;
    }

    .ph-header,
    #ph-primary-nav,
    #secondary,
    .site-footer-container,
    .ph-copy-button,
    .scrolltop {
        display: none !important;
    }

    body.single .site-content-inner {
        display: block;
    }

    body .site-content {
        padding: 0;
    }

    .ph-toc,
    .ph-quick-answer,
    .ph-prerequisites {
        break-inside: avoid;
    }
}

/* Image-led homepage and shared cards, release 1.1.0. */
body.ph-site {
    background: var(--ph-background);
    color: var(--ph-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body.ph-site #page {
    background: var(--ph-background);
}

body.ph-site #content {
    background: transparent;
}

body.ph-site:is(.home, .archive, .search) #content,
body.ph-site .ph-header-inner,
body.ph-site .site-footer-inner {
    width: 100%;
    max-width: var(--ph-width);
    box-sizing: border-box;
}

body.ph-site:is(.home, .archive, .search) #content .site-content-inner {
    width: 100%;
    max-width: none;
}

body .site-content {
    padding: 34px 40px 80px;
}

.ph-header-inner {
    min-height: 84px;
    padding: 14px 40px;
}

body .site-footer-inner {
    padding-right: 40px;
    padding-left: 40px;
}

.ph-home-search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 48px;
    margin-bottom: 28px;
}

.ph-home-search h1 {
    margin: 0;
    color: var(--ph-ink);
    font-size: clamp(26px, 2.5vw, 34px);
    font-weight: 750;
    letter-spacing: -0.045em;
    line-height: 1.2;
}

.ph-home-search .ph-search {
    flex: 0 1 560px;
    width: 100%;
    max-width: 560px;
    margin: 0;
}

.ph-home-search .ph-search input[type="search"] {
    min-height: 52px;
    border-color: #d9d7e2;
    border-radius: 8px;
    background: #fff;
    font-size: 16px;
    box-shadow: none;
}

.ph-home-search .ph-search button {
    min-height: 52px;
    padding-right: 26px;
    padding-left: 26px;
    border-radius: 8px;
    font-size: 16px;
}

body .ph-feature {
    position: relative;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    min-height: clamp(390px, 33vw, 440px);
    margin: 0 0 54px;
    overflow: hidden;
    border: 1px solid #262b2e;
    border-radius: 12px;
    background: #1c2426;
    color: #fff;
    text-decoration: none;
}

.ph-feature-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    transition: transform 450ms ease;
}

.ph-feature::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgb(8 14 17 / 92%) 0%, rgb(8 14 17 / 69%) 32%, rgb(8 14 17 / 10%) 74%), linear-gradient(0deg, rgb(8 14 17 / 70%) 0%, transparent 70%);
    content: "";
}

body .ph-feature:hover {
    color: #fff;
}

.ph-feature:hover .ph-feature-image {
    transform: scale(1.025);
}

body .ph-feature:focus-visible {
    outline: 3px solid var(--ph-violet);
    outline-offset: 5px;
}

.ph-feature-copy {
    width: 100%;
    max-width: 620px;
    padding: 48px 52px;
}

.ph-feature-kicker {
    display: block;
    margin-bottom: 20px;
    color: #d9dfd7;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.11em;
    line-height: 1.5;
    text-transform: uppercase;
}

.ph-feature h2 {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(52px, 5.7vw, 82px);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.ph-feature h2 > span {
    display: block;
    margin-top: 8px;
    color: #dedfd0;
    font-size: 0.82em;
    letter-spacing: -0.04em;
}

.ph-feature p {
    max-width: 390px;
    margin: 0 0 28px;
    color: #e1e5df;
    font-size: 17px;
    line-height: 1.65;
}

.ph-feature-cta {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 20px;
    border: 1px solid #fff;
    border-radius: 6px;
    background: #fff;
    color: #1d2425;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.ph-feature:hover .ph-feature-cta {
    background: #eceee8;
    border-color: #eceee8;
}

.ph-home > .ph-section,
.ph-home-feed {
    margin-bottom: 64px;
}

.ph-section-head {
    align-items: center;
    gap: 12px 24px;
    margin-bottom: 24px;
}

.ph-section-head h2,
.ph-related > h2 {
    font-size: 28px;
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.25;
}

.ph-section-head > a {
    color: var(--ph-muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.ph-section-head > a:hover {
    color: var(--ph-violet);
    text-decoration: underline;
}

.ph-library-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 22px;
}

.ph-library-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ph-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.ph-library-links a:hover {
    color: var(--ph-violet);
    text-decoration: underline;
}

.ph-game-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 18px;
}

body .ph-game-card {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    transition: transform 180ms ease;
}

body .ph-game-card:hover {
    color: var(--ph-violet);
    box-shadow: none;
    transform: translateY(-4px);
}

.ph-game-card > img {
    flex: none;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    border: 1px solid rgb(25 24 33 / 9%);
    border-radius: 8px;
    background: #e7e7ec;
    object-fit: cover;
    box-shadow: 0 5px 12px rgb(24 24 34 / 7%);
}

.ph-game-card-body,
.ph-game-name {
    gap: 6px;
    padding: 0 1px;
    overflow-wrap: normal;
}

.ph-game-card strong,
.ph-game-name {
    color: inherit;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.ph-game-card-body > span {
    color: var(--ph-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.ph-cards {
    gap: 26px;
}

.ph-card {
    overflow: hidden;
    border-color: var(--ph-border);
    border-radius: 10px;
}

body .ph-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 9px 9px 0 0;
    background: #e6e6eb;
}

.ph-card-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: inherit;
    object-fit: cover;
    transition: transform 250ms ease;
}

.ph-card-image:hover img {
    transform: scale(1.035);
}

.ph-card-body {
    padding: 23px;
}

.ph-card .ph-kicker {
    margin-bottom: 10px;
    color: var(--ph-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.025em;
    line-height: 1.5;
    text-transform: none;
}

.ph-card h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.35;
    overflow-wrap: normal;
    word-break: normal;
}

.ph-card-excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    margin-top: 12px;
    color: var(--ph-muted);
    font-size: 15px;
    line-height: 1.65;
}

.ph-guide-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
    gap: 40px;
}

.ph-cards--lead,
.ph-cards--rows,
.ph-cards--requirements {
    grid-template-columns: minmax(0, 1fr);
}

.ph-cards--lead .ph-card {
    border: 0;
    border-radius: 0;
    background: transparent;
}

body .ph-cards--lead .ph-card-image {
    aspect-ratio: 16 / 9;
    border-radius: 10px;
}

.ph-cards--lead .ph-card-body {
    padding: 23px 0 0;
}

.ph-cards--lead h3 {
    max-width: 580px;
    font-size: clamp(25px, 2.1vw, 30px);
    letter-spacing: -0.035em;
    line-height: 1.25;
}

.ph-cards--lead .ph-card-excerpt {
    max-width: 550px;
    font-size: 16px;
    -webkit-line-clamp: 2;
}

.ph-cards--rows {
    gap: 0;
}

.ph-cards--rows .ph-card {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    min-height: 104px;
    padding: 17px 0;
    border: 0;
    border-bottom: 1px solid var(--ph-border);
    border-radius: 0;
    background: transparent;
}

.ph-cards--rows .ph-card:first-child {
    padding-top: 0;
}

.ph-cards--rows .ph-card:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

body .ph-cards--rows .ph-card-image {
    aspect-ratio: 4 / 3;
    border-radius: 7px;
}

.ph-cards--rows .ph-card-body {
    padding: 0;
}

.ph-cards--rows .ph-kicker {
    margin-bottom: 6px;
}

.ph-cards--rows h3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 18px;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.ph-home-feed--with-specs {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.43fr);
    align-items: start;
    gap: 40px;
}

.ph-home-feed .ph-section {
    margin: 0;
}

.ph-home-latest {
    min-width: 0;
}

.ph-cards--latest {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
}

.ph-cards--latest .ph-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: start;
    gap: 17px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

body .ph-cards--latest .ph-card-image {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
}

.ph-cards--latest .ph-card-body {
    padding: 0;
}

.ph-cards--latest h3 {
    font-size: 18px;
    line-height: 1.4;
}

.ph-cards--latest .ph-card-excerpt {
    -webkit-line-clamp: 2;
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.6;
}

.ph-home-specs {
    min-width: 0;
    padding: 27px 24px;
    border: 1px solid #dfdce9;
    border-radius: 10px;
    background: #f0edf6;
}

.ph-home-specs .ph-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}

.ph-home-specs .ph-section-head h2 {
    font-size: 24px;
    letter-spacing: -0.035em;
    line-height: 1.25;
}

.ph-home-specs .ph-section-head > a {
    color: var(--ph-violet);
}

.ph-cards--requirements {
    gap: 0;
}

.ph-cards--requirements .ph-card {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 106px;
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid #dcd6e7;
    border-radius: 0;
    background: transparent;
}

.ph-cards--requirements .ph-card:first-child {
    padding-top: 0;
}

.ph-cards--requirements .ph-card:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

body .ph-cards--requirements .ph-card-image {
    aspect-ratio: 1;
    border-radius: 6px;
}

.ph-cards--requirements .ph-card-body {
    padding: 0;
}

.ph-cards--requirements h3 {
    font-size: 16px;
    line-height: 1.45;
}

.ph-cards--briefs {
    gap: 28px;
    padding-top: 26px;
    border-top: 1px solid var(--ph-border);
}

.ph-cards--briefs .ph-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

body .ph-cards--briefs .ph-card-image {
    aspect-ratio: 1;
    border-radius: 7px;
}

.ph-cards--briefs .ph-card-body {
    padding: 0;
}

.ph-cards--briefs h3 {
    font-size: 17px;
    line-height: 1.45;
}

.ph-cards--briefs .ph-kicker {
    margin-bottom: 7px;
}

.ph-cards--search .ph-card-image {
    aspect-ratio: auto;
    border-radius: 9px 0 0 9px;
}

.ph-hub-header {
    margin-bottom: 38px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--ph-border);
}

.ph-hub-header h1 {
    max-width: 900px;
    margin-top: 8px;
    margin-bottom: 20px;
    font-size: clamp(32px, 3.1vw, 44px);
}

.ph-hub-header .ph-search {
    max-width: 640px;
}

body .ph-article-art {
    float: right;
    width: min(25%, 180px);
    margin: 4px 0 20px 28px;
    overflow: hidden;
    border: 1px solid var(--ph-border);
    border-radius: 8px;
    background: #e7e7ec;
}

.ph-article-art img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

body .article-post > .entry-content {
    clear: both;
}

.ph-hub-heading,
.ph-hub-copy {
    min-width: 0;
}

.ph-hub-header--game {
    padding: 28px;
    border: 1px solid var(--ph-border);
    border-radius: 12px;
    background: #fff;
}

.ph-hub-header--game .ph-hub-heading {
    display: grid;
    grid-template-columns: 156px minmax(0, 1fr);
    align-items: center;
    gap: 32px;
}

.ph-hub-cover {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    border: 1px solid rgb(25 24 33 / 8%);
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 7px 18px rgb(24 24 34 / 10%);
}

.ph-hub-header--game h1 {
    margin: 0 0 18px;
}

.ph-hub-header--game .ph-type-links {
    margin: 0 0 18px;
}

.ph-hub-header--game .ph-search {
    margin-top: 0;
}

.ph-hub-header--game .breadcrumbs {
    margin-bottom: 22px;
}

.ph-catalog-sections,
.ph-about-game {
    margin: 0 0 40px;
    padding: 18px 22px;
    border: 1px solid var(--ph-border);
    border-radius: 9px;
    background: #fff;
}

.ph-catalog-sections > summary,
.ph-about-game > summary {
    color: var(--ph-ink);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.65;
    cursor: pointer;
}

.ph-catalog-sections > summary::marker,
.ph-about-game > summary::marker {
    color: var(--ph-violet);
}

.ph-catalog-sections > nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 28px;
    margin-top: 20px;
}

.ph-catalog-sections > nav a {
    padding: 8px 0;
    color: var(--ph-violet);
    font-size: 15px;
    line-height: 1.5;
    text-decoration: none;
}

.ph-catalog-sections > nav a:hover {
    text-decoration: underline;
}

body .ph-catalog-sections > .entry-content,
body .ph-about-game > .entry-content {
    margin-top: 20px;
    color: var(--ph-muted);
    font-size: 16px;
    line-height: 1.75;
}

body .ph-catalog-sections > .entry-content > :last-child,
body .ph-about-game > .entry-content > :last-child {
    margin-bottom: 0;
}

body.ph-site #colophon {
    background: #efeff4;
    color: #57535f;
}

body.ph-site #colophon .widget-title {
    color: var(--ph-ink);
}

body.ph-site #colophon a {
    color: #4d465b;
}

body.ph-site #colophon a:hover {
    color: var(--ph-violet);
}

body.home #colophon .footer-widgets {
    grid-template-columns: minmax(0, 0.9fr) repeat(2, minmax(0, 1.1fr));
    gap: 48px;
}

body.home #colophon .widget {
    color: #625e6c;
    font-size: 14px;
    line-height: 1.75;
}

body.home #colophon .widget-title {
    margin-bottom: 18px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

body.home #colophon .post-card {
    display: block;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

body.home #colophon .post-card__thumbnail,
body.home #colophon .post-card__category,
body.home #colophon .post-card__description,
body.home #colophon .post-card__meta {
    display: none;
}

body.home #colophon .post-card__body {
    width: 100%;
    margin: 0;
    padding: 0;
}

body.home #colophon .post-card__title {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
}

body.ph-site #page .footer-navigation {
    border-top: 1px solid var(--ph-border);
    background: #efeff4;
}

body.ph-site #page .footer-navigation .main-navigation-inner {
    width: 100%;
    max-width: var(--ph-width);
    margin: 0 auto;
    padding: 12px 40px;
}

body.ph-site #page .footer-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.ph-site #page .footer-navigation a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
    color: #4d465b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

body.ph-site #page .footer-navigation a:hover {
    color: var(--ph-violet);
    text-decoration: underline;
}

@media (max-width: 1150px) {
    .ph-header-inner {
        padding-right: 28px;
        padding-left: 28px;
    }

    body .site-content,
    body .site-footer-inner {
        padding-right: 28px;
        padding-left: 28px;
    }

    .ph-feature-copy {
        padding: 40px;
    }

    .ph-game-grid {
        gap: 14px;
    }

    .ph-guide-layout,
    .ph-home-feed--with-specs {
        gap: 28px;
    }

    .ph-cards--rows .ph-card {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 16px;
    }

    .ph-home-specs {
        padding: 24px 20px;
    }

    .ph-cards--requirements .ph-card {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px;
    }

    .ph-cards--briefs .ph-card {
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 14px;
    }
}

@media (max-width: 1000px) {
    .ph-home-search {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .ph-home-search .ph-search {
        flex-basis: auto;
        max-width: 100%;
    }

    .ph-game-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px 20px;
    }

    .ph-home-feed--with-specs {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
    }

    .ph-cards--latest {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .ph-cards--latest .ph-card {
        display: grid;
        grid-template-columns: 132px minmax(0, 1fr);
        align-items: center;
        gap: 18px;
    }

    .ph-cards--latest .ph-card-body {
        padding: 0;
    }

    body .ph-cards--latest .ph-card-image {
        aspect-ratio: 4 / 3;
    }

    .ph-cards--latest .ph-card-excerpt {
        display: none;
    }

    .ph-cards--briefs {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .ph-cards--briefs .ph-card {
        grid-template-columns: 104px minmax(0, 1fr);
    }
}

@media (max-width: 840px) {
    body.home #colophon .footer-widgets {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
}

@media (max-width: 760px) {
    body .ph-feature {
        min-height: 370px;
        margin-bottom: 42px;
    }

    .ph-feature-copy {
        padding: 32px;
    }

    .ph-feature-image {
        object-position: 48% center;
    }

    .ph-feature::before {
        background: linear-gradient(90deg, rgb(8 14 17 / 85%) 0%, rgb(8 14 17 / 38%) 64%), linear-gradient(0deg, rgb(8 14 17 / 88%) 0%, transparent 85%);
    }

    .ph-feature h2 {
        font-size: 62px;
    }

    .ph-guide-layout,
    .ph-home-feed--with-specs {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .ph-cards--lead h3 {
        font-size: 27px;
    }

    .ph-home-specs .ph-section-head {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
    }

    .ph-cards--requirements {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .ph-cards--requirements .ph-card {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        padding: 0;
        border: 0;
    }

    body .ph-cards--requirements .ph-card-image {
        aspect-ratio: 4 / 3;
    }

    .ph-home > .ph-section,
    .ph-home-feed {
        margin-bottom: 46px;
    }

    .ph-hub-header--game .ph-hub-heading {
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 24px;
    }

    .ph-catalog-sections > nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 560px) {
    .ph-header-inner {
        min-height: 72px;
        padding: 12px 20px;
    }

    body .site-content {
        padding: 26px 20px 48px;
    }

    body .site-footer-inner {
        padding-right: 20px;
        padding-left: 20px;
    }

    .ph-home-search {
        gap: 18px;
        margin-bottom: 24px;
    }

    .ph-home-search h1 {
        font-size: 27px;
        letter-spacing: -0.04em;
    }

    .ph-home-search .ph-search input[type="search"] {
        padding-right: 12px;
        padding-left: 12px;
        font-size: 16px;
    }

    .ph-header-search .ph-search input[type="search"] {
        font-size: 16px;
    }

    .ph-home-search .ph-search button {
        padding-right: 17px;
        padding-left: 17px;
    }

    body .ph-feature {
        min-height: 332px;
        margin-bottom: 38px;
        border-radius: 9px;
    }

    .ph-feature-copy {
        max-width: 100%;
        padding: 28px 24px;
    }

    .ph-feature-kicker {
        margin-bottom: 18px;
        font-size: 12px;
        letter-spacing: 0.09em;
    }

    .ph-feature h2 {
        margin-bottom: 18px;
        font-size: clamp(42px, 12.5vw, 62px);
    }

    .ph-feature p {
        max-width: 320px;
        margin-bottom: 24px;
        font-size: 16px;
        line-height: 1.6;
    }

    .ph-feature-cta {
        min-height: 44px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .ph-section-head {
        gap: 12px;
        margin-bottom: 20px;
    }

    .ph-section-head h2,
    .ph-related > h2 {
        font-size: 25px;
    }

    .ph-section-head > a {
        font-size: 14px;
    }

    .ph-game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
    }

    .ph-home .ph-library .ph-game-grid {
        grid-template-columns: none;
        grid-auto-columns: 148px;
        grid-auto-flow: column;
        gap: 16px;
        margin: -8px -20px -12px;
        padding: 8px 20px 20px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-padding-inline: 20px;
        scroll-snap-type: x proximity;
    }

    .ph-home .ph-library .ph-game-card {
        scroll-snap-align: start;
    }

    body .ph-game-card {
        align-items: stretch;
        gap: 13px;
        padding: 0;
    }

    .ph-game-card > img {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
    }

    .ph-game-card strong,
    .ph-game-name {
        font-size: 16px;
    }

    .ph-cards--lead .ph-card-body {
        padding-top: 18px;
    }

    .ph-cards--lead h3 {
        font-size: 25px;
    }

    .ph-cards--lead .ph-card-excerpt {
        font-size: 15px;
    }

    .ph-cards--rows .ph-card {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 16px;
        min-height: 96px;
        padding: 17px 0;
    }

    .ph-cards--rows h3 {
        font-size: 17px;
    }

    .ph-cards--rows .ph-kicker,
    .ph-cards--latest .ph-kicker,
    .ph-cards--briefs .ph-kicker {
        font-size: 12px;
        line-height: 1.5;
    }

    .ph-cards--latest .ph-card {
        grid-template-columns: 108px minmax(0, 1fr);
        gap: 16px;
    }

    .ph-cards--latest h3 {
        font-size: 17px;
    }

    .ph-home-specs {
        padding: 22px 20px;
    }

    .ph-home-specs .ph-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .ph-cards--requirements {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .ph-cards--requirements .ph-card {
        display: grid;
        grid-template-columns: 80px minmax(0, 1fr);
        align-items: center;
        gap: 16px;
        padding: 16px 0;
        border-bottom: 1px solid #dcd6e7;
    }

    body .ph-cards--requirements .ph-card-image {
        aspect-ratio: 4 / 3;
    }

    .ph-cards--briefs {
        gap: 22px;
        padding-top: 22px;
    }

    .ph-cards--briefs .ph-card {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 16px;
    }

    body .ph-cards--search .ph-card-image {
        aspect-ratio: 16 / 9;
        border-radius: 9px 9px 0 0;
    }

    body .ph-cards--search .ph-card-image img {
        height: 100%;
    }

    .ph-hub-header {
        margin-bottom: 28px;
        padding-bottom: 24px;
    }

    .ph-hub-header h1 {
        font-size: 32px;
    }

    body .ph-article-art {
        float: none;
        width: 100%;
        max-width: none;
        height: 140px;
        margin: 0 0 20px;
    }

    .ph-article-art img {
        height: 140px;
        aspect-ratio: auto;
    }

    .ph-hub-header--game {
        padding: 20px;
    }

    .ph-hub-header--game .ph-hub-heading {
        grid-template-columns: 88px minmax(0, 1fr);
        align-items: center;
        gap: 20px;
    }

    .ph-hub-header--game .ph-hub-copy {
        display: contents;
    }

    .ph-hub-header--game h1 {
        margin: 0;
        font-size: 28px;
    }

    .ph-hub-header--game .ph-type-links,
    .ph-hub-header--game .ph-search {
        grid-column: 1 / -1;
        margin: 0;
    }

    .ph-catalog-sections,
    .ph-about-game {
        margin-bottom: 30px;
        padding: 16px 18px;
    }

    .ph-catalog-sections > nav {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        margin-top: 16px;
    }

    .ph-catalog-sections > nav a {
        min-height: 44px;
        padding: 10px 0;
    }

    body.home #colophon .footer-widgets {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    body.ph-site #page .footer-navigation .main-navigation-inner {
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ph-feature-image,
    .ph-card-image img {
        transition: none;
    }

    .ph-feature:hover .ph-feature-image,
    .ph-card-image:hover img,
    body .ph-game-card:hover {
        transform: none;
    }
}

@media print {
    body .ph-feature {
        min-height: 0;
        border-color: #ddd;
        background: #fff;
    }

    .ph-feature-image,
    .ph-feature::before {
        display: none;
    }

    .ph-feature-copy {
        padding: 20px;
    }

    .ph-feature :is(h2, h2 > span, p, .ph-feature-kicker) {
        color: #000;
    }
}
