.ph-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ph-games-hero{padding:48px 24px 28px;background:transparent;text-align:center}
.ph-games-hero-inner{width:min(100%,1360px);margin:auto}
.ph-games-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px;text-align:left}.ph-games-hero h1{margin:0;color:var(--ph-text);font:750 clamp(28px,3.3vw,42px)/1.2 var(--ph-display)}

.ph-games-total{display:flex;align-items:center;gap:12px;flex:none;margin:0;padding:12px 18px;border:1px solid var(--ph-line);border-radius:12px;background:rgba(255,255,255,.025)}
.ph-games-total strong{color:#dbeaf7;font:750 26px/1.2 var(--ph-body);font-variant-numeric:tabular-nums}.ph-games-total span{color:var(--ph-muted);font:600 10px/1.5 Montserrat,sans-serif;letter-spacing:.05em}
.ph-games-filters{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:0 auto 18px}
.ph-games-filter{min-height:44px;padding:11px 22px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:rgba(255,255,255,.03);color:rgba(255,255,255,.7);cursor:pointer;font:600 14px/20px var(--ph-body)}
.ph-games-filter.is-active{border-color:rgba(6,191,255,.3);background:rgba(6,191,255,.12);color:#e0f3ff;box-shadow:none}
.ph-games-badges .ph-games-filter{text-decoration:none}.ph-games-badges .ph-games-filter:focus-visible{outline:2px solid var(--ph-primary);outline-offset:3px}
.ph-games-filter span{margin-left:4px;color:inherit;opacity:.75}
.ph-games-search{display:flex;gap:10px;align-items:center;width:min(100%,820px);margin:0 auto}.ph-games-search input[type=search]{flex:1 1 0;width:auto;min-width:0;height:50px;padding:14px 20px 14px 48px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(255,255,255,.03);color:#fff;font:14px var(--ph-body)}.ph-games-search input::placeholder{color:rgba(255,255,255,.4)}.ph-games-search button,.ph-games-empty button{min-height:54px;padding:0 18px;border:0;border-radius:16px;background:#242e40;color:#fff;cursor:pointer;font-weight:700}

.ph-games-catalog{padding:0 24px 80px;background:transparent}.ph-games-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;width:min(100%,1360px);margin:auto}
.ph-game-card{display:flex;flex-direction:column;position:relative;overflow:hidden;min-width:0;padding:10px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:transparent;box-shadow:none;color:#fff!important;text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s}.ph-game-card[hidden]{display:none}.ph-game-card:hover{transform:translateY(-4px);background:transparent;border-color:rgba(102,192,244,.4);box-shadow:0 12px 30px rgba(0,0,0,.16)}
.ph-game-card-special{border-color:#ffd700;background:transparent;color:#f7fafc}
.ph-game-art{position:relative;display:block;aspect-ratio:267/400;overflow:hidden;border-radius:12px;background:#182433}.ph-game-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .3s}.ph-game-special-label{position:absolute;top:0;left:0;right:0;padding:5px;background:#ffd600;color:#2b2600;text-align:center;font-size:11px;font-weight:800}
.ph-game-card-title{display:-webkit-box;min-height:49px;max-height:73px;margin:16px 4px 8px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;font:650 18px/1.35 Montserrat,sans-serif;text-align:center}
.ph-game-card-bottom{display:flex;flex-direction:column;gap:10px;margin-top:auto;padding:12px 4px 4px}.ph-game-tags{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;min-height:32px;align-content:flex-start;margin:0 4px 8px}.ph-game-tags span{max-width:100%;padding:6px 10px;border:1px solid rgba(255,255,255,.1);border-radius:18px;background:rgba(255,255,255,.035);color:#b9c5d4;font-size:11px;font-weight:600;line-height:normal;overflow-wrap:anywhere}
.ph-game-action{display:grid;place-items:center;min-height:44px;border-radius:8px;background:linear-gradient(90deg,var(--ph-primary),var(--ph-secondary));color:#fff!important;text-decoration:none;font:650 14px var(--ph-body)}.ph-game-card-special .ph-game-action{background:linear-gradient(90deg,#ffd700,#ffb000);color:#1b2838!important}
.ph-games-empty{grid-column:1/-1;padding:50px 20px;color:#e4edf6;text-align:center}.ph-games-empty[hidden]{display:none}.ph-games-empty p{color:#aebccb}
.ph-games-more{display:block;min-height:44px;margin:32px auto 0;padding:0 23px;border:1px solid color-mix(in srgb,var(--ph-primary) 40%,transparent);border-radius:9px;background:linear-gradient(105deg,var(--ph-primary),var(--ph-secondary));color:#fff;cursor:pointer;font:700 13px var(--ph-body);box-shadow:0 6px 18px color-mix(in srgb,var(--ph-primary) 18%,transparent)}.ph-games-more[hidden]{display:none}.ph-games-more:hover{filter:brightness(1.08)}
@media(max-width:1050px){.ph-games-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ph-game-card{min-height:0}}@media(max-width:768px){.ph-games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ph-games-hero{padding-top:44px;padding-bottom:40px}.ph-game-card{min-height:0}.ph-games-hero h1{font-size:28px}}@media(max-width:520px){.ph-games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ph-games-catalog{padding:0 10px 70px}.ph-game-card{padding:6px}.ph-game-card-title{font-size:14px;min-height:40px;-webkit-line-clamp:2}.ph-games-hero{padding-inline:10px}.ph-games-filter{font-size:13px;min-height:44px;padding:8px 16px}.ph-games-filters{gap:8px}}
@media(prefers-reduced-motion:reduce){.ph-game-card{transition:none}}

.ph-games-search select{flex:0 0 220px;width:220px;min-width:0;max-width:100%;height:50px;padding:12px;border:1px solid var(--ph-line);border-radius:12px;background:rgba(255,255,255,.03);color:var(--ph-text);font:600 13.333px var(--ph-body)}.ph-games-suggest{display:inline-flex;align-items:center;min-height:42px;margin:15px 0 0;padding:10px 16px;border:1px solid rgba(237,137,54,.3);border-radius:10px;background:rgba(237,137,54,.08);color:#efbd89;font-size:13px;font-weight:600}.ph-games-suggest:hover{filter:brightness(1.08)}
@media(max-width:600px){.ph-games-search{flex-wrap:wrap}.ph-games-search input[type=search]{flex:1 1 100%;width:100%;min-width:0}.ph-games-search select{flex:1;width:auto;min-width:0}}

/* Page-specific typography and controls measured from the reference catalogue. */
body.ph-site #main .ph-games-hero h1,body.ph-site #main .ph-game-card-title{font-family:Montserrat,sans-serif!important;letter-spacing:normal}
body.ph-site #main .ph-games-total span{font-family:Montserrat,sans-serif!important}
.ph-games-search-input{position:relative;flex:1;min-width:0}.ph-games-search-input input[type=search]{width:100%}.ph-games-search-input>.icon{position:absolute;left:18px;top:16px;width:18px;height:18px;color:rgba(6,191,255,.8);pointer-events:none}
.ph-games-sort{position:relative;flex:none;display:none}.ph-games-enhanced>.ph-games-sort{display:block}.ph-games-enhanced>#game-sort,.ph-games-enhanced>#game-search-btn{display:none}
.ph-games-sort summary{display:flex;align-items:center;gap:10px;min-height:50px;padding:14px 18px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(255,255,255,.03);color:#fff;font:600 13px var(--ph-body);list-style:none;cursor:pointer;white-space:nowrap;backdrop-filter:blur(20px)}.ph-games-sort summary::-webkit-details-marker{display:none}.ph-games-sort summary>.icon{width:16px;height:16px;color:rgba(6,191,255,.8)}
.ph-games-sort-options{position:absolute;top:calc(100% + 10px);right:0;width:260px;max-width:calc(100vw - 20px);overflow:hidden;z-index:100;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(15,25,35,.95);box-shadow:0 20px 60px #0006;backdrop-filter:blur(20px)}.ph-games-sort-options button{display:block;width:100%;min-height:44px;padding:12px 15px;border:0;border-radius:0;background:transparent;color:#c7d5e0;text-align:left;font:400 14px var(--ph-body)}.ph-games-sort-options button:hover{background:rgba(102,192,244,.1)}.ph-games-sort-options button[aria-current=true]{background:rgba(102,192,244,.2);color:#66c0f4;font-weight:600}
.ph-games-search-note{width:min(100%,820px);margin:10px auto 0;padding:0;color:var(--ph-muted);text-align:left;font-size:12px;line-height:1.6}
.ph-games-suggest{gap:8px;box-shadow:none}.ph-games-suggest .icon{width:16px;height:16px}
.ph-game-card::before{content:'';position:absolute;bottom:0;left:0;width:100%;height:3px;background:linear-gradient(90deg,var(--ph-primary),var(--ph-secondary));transform:scaleX(0);transform-origin:left;transition:transform .4s}.ph-game-card:hover::before{transform:scaleX(1)}.ph-game-card:hover .ph-game-art img{transform:scale(1.02)}
@media(max-width:768px){.ph-games-heading{align-items:flex-start;gap:12px}.ph-games-total{flex-direction:column;gap:4px;padding:8px 12px}.ph-games-total strong{font-size:22px}.ph-games-total span{font-size:9px}.ph-game-card{padding:8px;border-radius:12px}.ph-games-catalog{padding-inline:10px}.ph-games-search{flex-wrap:wrap}.ph-games-search-input{flex-basis:100%}.ph-games-sort{margin-inline:auto}.ph-game-card-bottom{padding:10px 2px}.ph-game-tags span{padding:5px 7px;font-size:10px}.ph-game-action{font-size:13px}}
@media(prefers-reduced-motion:reduce){.ph-game-card::before,.ph-game-art img{transition:none}.ph-game-card:hover,.ph-game-card:hover .ph-game-art img{transform:none}}

.ph-games-scroll-sentinel{height:1px;width:100%;overflow-anchor:none}.ph-games-scroll-sentinel[hidden]{display:none}.ph-games-progress{margin:24px 0 0;color:var(--ph-muted);font-size:12px;text-align:center}.ph-games-progress[hidden]{display:none}

.ph-game-feature-label{position:absolute;inset:0 0 auto;padding:7px 8px;min-height:28px;border:0;border-bottom:1px solid rgba(255,255,255,.18);background:linear-gradient(110deg,var(--ph-game-label-start,#196078),var(--ph-game-label-end,#284ca0));color:#fff;text-align:center;font:750 11px/1.4 var(--ph-body);letter-spacing:.015em;text-shadow:0 1px 2px #0004}
.ph-labelled-card{--ph-game-label-start:#196078;--ph-game-label-end:#284ca0;border-color:var(--ph-game-label-end)}
.ph-labelled-card.badge-store-pick{--ph-game-label-start:#604299;--ph-game-label-end:#9b428b}
.ph-labelled-card.badge-bestseller{--ph-game-label-start:#9a4a18;--ph-game-label-end:#a92d47}
.ph-labelled-card.badge-custom{--ph-game-label-start:#0d6074;--ph-game-label-end:#238793}
.ph-labelled-card.badge-discount{--ph-game-label-start:#206953;--ph-game-label-end:#308567}
.ph-labelled-card.badge-special{--ph-game-label-start:#ffd700;--ph-game-label-end:#ffb300;border-color:#ffd700}
.ph-labelled-card.badge-special .ph-game-feature-label{color:#171717}
.ph-labelled-card:is(:hover,:focus-visible){border-color:var(--ph-game-label-end)}
@media(max-width:520px){.ph-game-feature-label{padding:6px 4px;font-size:10px}}
