/* Listing, player and content page refinements */
.cg-listing-heading {
    padding: 6px 0 18px;
}
.cg-listing-heading .cg-breadcrumb {
    flex-wrap: wrap;
    margin: 0 0 8px;
    color: var(--cg-muted);
}
.cg-listing-heading__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px 20px;
}
.cg-listing-heading h1 {
    margin: 0;
    font-size: clamp(32px, 2.3vw, 36px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
}
.cg-listing-heading p {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
@media (max-width: 620px) {
    .cg-listing-heading__row {
        grid-template-columns: minmax(0, 1fr);
        justify-items: start;
    }
    .cg-listing-heading h1 { font-size: clamp(24px, 5vw, 28px); }
}

.cg-listing-page .cg-category-heading,.cg-listing-page .cg-category-listing{max-width:none}.cg-listing-page .cg-recent-page .cg-game-card__media{aspect-ratio:16/9}.cg-listing-page .cg-recent-page .cg-game-card__body{position:absolute;z-index:2;bottom:0;left:0;right:0;padding:20px 8px 7px;background:linear-gradient(transparent,rgba(0,0,0,.88));opacity:0;pointer-events:none}.cg-listing-page .cg-recent-page .cg-game-card:hover .cg-game-card__body,.cg-listing-page .cg-recent-page .cg-game-card:focus-within .cg-game-card__body{opacity:1}.cg-listing-page .cg-recent-page .cg-game-card__title{color:#fff}.cg-category-sort{display:flex;align-items:center;gap:8px;flex:0 0 auto}.cg-category-sort label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cg-sort-field{position:relative;display:inline-flex;--sort-inset:20px}
.cg-sort-field > i{position:absolute;inset-inline-end:var(--sort-inset);top:50%;transform:translateY(-50%) rotate(90deg);font-size:14px;pointer-events:none}
.cg-category-sort select{appearance:none;height:38px;min-width:125px;padding-block:0;padding-inline:var(--sort-inset) calc(var(--sort-inset) + 24px);border:1px solid var(--cg-stroke);border-radius:7px;background:var(--cg-surface);color:var(--cg-text);cursor:pointer}.cg-category-sort button{min-height:38px;padding:0 12px;border:1px solid var(--cg-stroke);border-radius:7px;background:var(--cg-surface);color:var(--cg-text);cursor:pointer}.cg-category-sort button:hover,.cg-category-sort select:focus-visible{border-color:var(--cg-accent)}.cg-listing-page .cg-category-listing .cg-game-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.cg-category-listing .cg-game-card--category .cg-game-card__media{aspect-ratio:16/9;border-radius:var(--cg-cover-radius)}.cg-category-listing .cg-game-card--category .cg-game-card__body{position:absolute;z-index:2;bottom:0;left:0;right:0;padding:20px 8px 7px;background:linear-gradient(transparent,rgba(0,0,0,.88));opacity:0;pointer-events:none}.cg-category-listing .cg-game-card--category:hover .cg-game-card__body,.cg-category-listing .cg-game-card--category:focus-within .cg-game-card__body{opacity:1}.cg-category-listing .cg-game-card--category .cg-game-card__title{font-size:12px;color:#fff}.cg-listing-page .cg-seo-copy{max-width:880px}
@media(max-width:1350px){.cg-listing-page .cg-category-listing .cg-game-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:1100px){.cg-listing-page .cg-category-listing .cg-game-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:820px){.cg-listing-page .cg-main,.cg-listing-page .cg-footer{margin-left:0}.cg-listing-page .cg-category-listing .cg-game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:520px){.cg-listing-page .cg-category-listing .cg-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cg-category-listing .cg-game-card--category .cg-game-card__body,.cg-listing-page .cg-recent-page .cg-game-card__body{opacity:1}}
@media(hover:none){.cg-category-listing .cg-game-card--category .cg-game-card__body,.cg-listing-page .cg-recent-page .cg-game-card__body{opacity:1}}
.cg-listing-page .cg-pagination--category[hidden]{display:none}.cg-listing-page .cg-pagination--category{width:max-content;max-width:100%;margin:32px auto 24px;padding:8px;gap:4px;border-radius:52px;background:var(--cg-surface)}.cg-pagination--category a,.cg-pagination--category .cg-pagination__disabled{display:grid;place-items:center;min-width:42px;height:42px;padding:0 6px;border-radius:22px;background:transparent;color:var(--cg-text);font-size:17px}.cg-pagination--category a:first-child,.cg-pagination--category a:last-child,.cg-pagination--category .cg-pagination__disabled{min-width:44px;background:var(--cg-bg);color:var(--cg-muted)}.cg-pagination--category a.active,.cg-pagination--category a.active:first-child,.cg-pagination--category a.active:last-child{border:2px solid var(--cg-accent);background:var(--cg-accent);color:var(--cg-on-accent)}.cg-pagination--category a:hover:not(.active){background:var(--cg-surface-3)}.cg-pagination--category .cg-pagination__disabled{opacity:.4}@media(max-width:520px){.cg-pagination--category a,.cg-pagination--category .cg-pagination__disabled{min-width:36px;height:38px;font-size:14px}.cg-pagination--category a:first-child,.cg-pagination--category a:last-child,.cg-pagination--category .cg-pagination__disabled{min-width:38px}}

.cg-recent-heading{padding-bottom:14px}.cg-recent-heading h1{margin:0;font-size:32px;text-transform:uppercase}.cg-recent-heading p{margin:8px 0 0;color:var(--cg-muted)}.cg-section--page.cg-recent-page:not(.cg-category-listing) .cg-game-grid{grid-template-columns:repeat(auto-fill,minmax(160px,180px));gap:12px}.cg-recent-page .cg-game-card__media{aspect-ratio:16/9}.cg-recent-page:not(.cg-category-listing) .cg-game-card__body{padding-top:6px}.cg-recent-page .cg-game-card__title{font-size:13px}.cg-recent-page [hidden]{display:none}@media(max-width:620px){.cg-recent-heading h1{font-size:24px}.cg-section--page.cg-recent-page:not(.cg-category-listing) .cg-game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
.cg-sort-pills{display:flex;gap:7px}.cg-sort-pills a,.cg-clear-search,.cg-category-chip{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 13px;border:1px solid var(--cg-stroke);border-radius:9px;background:var(--cg-surface);color:var(--cg-muted);font-size:13px;font-weight:500}.cg-sort-pills a:hover,.cg-sort-pills a.active,.cg-clear-search:hover,.cg-category-chip:hover{border-color:var(--cg-accent);background:var(--cg-accent);color:#fff}.cg-section--page .cg-game-grid{grid-template-columns:repeat(auto-fill,minmax(138px,1fr));gap:13px 11px}.cg-section--page .cg-game-card__body{padding-top:7px}.cg-section--page .cg-game-card__category{font-size:11px}.cg-section--page .cg-game-card__media{border-radius:var(--cg-cover-radius)}.cg-player-page{max-width:1480px}.cg-player-shell{border:1px solid var(--cg-stroke)}.cg-player-stage{height:min(calc(100vh - 220px),720px);min-height:540px}.cg-player-toolbar{padding:10px 13px}.cg-player-toolbar>div strong{font-size:15px}.cg-player-toolbar>div span{display:flex;align-items:center;gap:6px}.cg-player-toolbar button:hover{background:var(--cg-accent)}.cg-game-details{max-width:1180px;margin:30px auto;padding:26px 28px}.cg-game-details__heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:13px 0 20px}.cg-game-details__heading h1{margin:0;font-size:30px}.cg-game-details__meta{margin:4px 0 0!important;color:var(--cg-subtle)}.cg-game-details__columns{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:36px}.cg-game-details__columns section{min-width:0}.cg-game-details__columns h2{margin:0 0 10px;font-size:19px}.cg-game-details__columns p{margin:0;line-height:1.72;white-space:normal}.cg-content-page{max-width:1000px}.cg-content-page p,.gp-legal-page p{line-height:1.75}.homeSec2 .container{max-width:1080px}.homeSec2 .panel{transition:transform .16s,border-color .16s}.homeSec2 .panel:hover{transform:translateY(-2px);border-color:rgba(113,87,255,.55)!important}
@media(max-width:900px){.cg-game-details__columns{grid-template-columns:1fr;gap:24px}.cg-player-stage{height:58vh;min-height:430px}.cg-game-details{margin:22px auto}}
@media(max-width:620px){.cg-sort-pills{margin-top:12px}.cg-sort-pills a{flex:1;justify-content:center}.cg-section--page .cg-game-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px}.cg-section--page .cg-game-card__title{font-size:11px}.cg-section--page .cg-game-card__category{display:none}.cg-player-page{margin:0 -2px}.cg-player-stage{height:50vh;min-height:300px}.cg-player-toolbar{min-height:58px}.cg-game-details{padding:20px;margin-top:18px}.cg-game-details__heading{align-items:flex-start}.cg-game-details__heading h1{font-size:24px}.cg-category-chip{display:none}.cg-game-details__columns{gap:20px}.cg-game-details__columns h2{font-size:17px}}
@media(max-width:360px){.cg-section--page .cg-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Game detail: player and information share the main column; recommendations fill the right rail. */
.cg-player-page{max-width:none}.cg-player-layout{--player-inset:clamp(24px,5vw,80px);display:grid;grid-template-columns:minmax(0,1fr) clamp(272px,25vw,380px);align-items:start;gap:16px}.cg-player-layout>.cg-player-shell{min-width:0;margin-inline:var(--player-inset)}.cg-player-layout .cg-player-stage{height:auto;min-height:0;aspect-ratio:16/9}.cg-player-recommendations{grid-column:2;grid-row:1 / span 2;align-self:start;min-width:0;padding:12px;border:1px solid var(--cg-stroke);border-radius:10px;background:var(--cg-surface)}.cg-player-recommendations h2{margin:0 0 10px;font-size:15px}.cg-player-recommendations__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cg-player-recommendations .cg-game-card{min-width:0}.cg-player-recommendations .cg-game-card__media{aspect-ratio:16/9;border-radius:var(--cg-cover-small-radius)}.cg-player-recommendations .cg-game-card__body{padding:5px 1px 0}.cg-player-recommendations .cg-game-card__title{font-size:11px}.cg-player-recommendations .cg-game-card__category{display:none}.cg-player-recommendations .cg-favorite-btn{width:26px;height:26px;right:4px;top:4px}
.cg-player-page .cg-game-details{grid-column:1;min-width:0;max-width:none;margin:0 var(--player-inset) 28px;padding:0;background:transparent;border:0}.cg-game-details__overview,.cg-game-details__description{padding:24px;border:1px solid var(--cg-stroke);border-radius:12px;background:var(--cg-surface)}.cg-game-details__description{margin-top:10px}.cg-game-details .cg-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 10px;color:var(--cg-subtle);font-size:12px}.cg-game-details .cg-breadcrumb a:hover{color:var(--cg-text)}.cg-game-details h1{margin:0 0 12px;font-size:25px;line-height:1.25}.cg-game-details__actions button{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 13px;border:1px solid var(--cg-stroke);border-radius:8px;background:var(--cg-surface-3);color:var(--cg-text);font-weight:700;cursor:pointer}.cg-game-details__actions button:hover,.cg-game-details__actions button:focus-visible{border-color:var(--cg-accent);background:var(--cg-accent);color:var(--cg-on-accent)}
@media(max-width:1050px){.cg-player-layout{--player-inset:clamp(12px,2vw,24px);grid-template-columns:minmax(0,1fr) clamp(250px,26vw,272px);gap:12px}.cg-player-recommendations{padding:9px}.cg-player-recommendations__grid{gap:8px}}
@media(max-width:760px){.cg-player-layout{--player-inset:0;grid-template-columns:minmax(0,1fr)}.cg-player-recommendations{grid-column:1;grid-row:2}.cg-player-page .cg-game-details{grid-column:1;grid-row:3}.cg-player-recommendations__grid{grid-template-columns:repeat(4,minmax(0,1fr))}.cg-player-page .cg-game-details{margin-top:14px}}
@media(max-width:520px){.cg-player-recommendations__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cg-player-recommendations{padding:10px}.cg-game-details__overview,.cg-game-details__description{padding:17px}.cg-game-details h1{font-size:23px}.cg-player-toolbar>div{min-width:0}.cg-player-toolbar>div strong{overflow-wrap:anywhere}}

/* News listing */
.cg-news-heading{position:relative;min-height:250px;margin-bottom:26px;padding:34px 36px;overflow:hidden;border:1px solid var(--cg-stroke);border-radius:18px;background:radial-gradient(circle at 82% 20%,var(--cg-selection),transparent 64%),var(--cg-surface)}.cg-news-heading:after{content:"";position:absolute;right:-55px;bottom:-100px;width:310px;height:310px;border:56px solid rgba(77,91,253,.05);border-radius:50%;pointer-events:none}.cg-news-heading .cg-breadcrumb{position:relative;z-index:1}.cg-news-heading .cg-page-heading__eyebrow{display:flex;align-items:center;gap:8px;margin:38px 0 8px;color:var(--cg-accent-hover);font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.cg-news-heading h1{position:relative;z-index:1;margin:0;font-size:52px}.cg-news-heading>p:last-child{position:relative;z-index:1;max-width:610px;margin-top:12px;font-size:16px;line-height:1.65}.cg-news-section{max-width:1280px}.cg-news-section__header{align-items:flex-end;margin-bottom:18px}.cg-news-section__header h2{margin-top:3px}.cg-news-kicker{color:var(--cg-accent-hover);font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase}.cg-news-count{padding:7px 10px;border:1px solid var(--cg-stroke);border-radius:999px;background:var(--cg-surface);color:var(--cg-subtle);font-size:12px;font-weight:500}.cg-news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.cg-news-card{min-width:0;overflow:hidden;border:1px solid var(--cg-stroke);border-radius:14px;background:var(--cg-surface);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.cg-news-card:hover,.cg-news-card:focus-within{transform:translateY(-3px);border-color:var(--cg-accent);box-shadow:var(--cg-shadow)}.cg-news-card__link{display:grid;grid-template-columns:180px minmax(0,1fr);height:100%}.cg-news-card__media{display:block;min-height:220px;overflow:hidden;background:linear-gradient(145deg,var(--cg-surface-3),var(--cg-selection))}.cg-news-card__media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .22s ease}.cg-news-card:hover .cg-news-card__media img,.cg-news-card:focus-within .cg-news-card__media img{transform:scale(1.035)}.cg-news-card__media--placeholder{display:grid;place-items:center;color:var(--cg-subtle);font-size:50px}.cg-news-card__body{display:flex;min-width:0;flex-direction:column;padding:22px}.cg-news-card__meta{display:flex;align-items:center;gap:9px;color:var(--cg-subtle);font-size:11px;font-weight:500;text-transform:uppercase}.cg-news-card__meta span{padding:3px 7px;border-radius:999px;background:var(--cg-selection);color:var(--cg-accent-hover)}.cg-news-card h2{margin:11px 0 8px;color:var(--cg-text);font-size:21px;line-height:1.25}.cg-news-card__excerpt{display:-webkit-box;overflow:hidden;color:var(--cg-muted);line-height:1.65;-webkit-box-orient:vertical;-webkit-line-clamp:3}.cg-news-card__more{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:17px;color:var(--cg-accent-hover);font-size:13px;font-weight:600}.cg-news-card__more i{transition:transform .16s ease}.cg-news-card:hover .cg-news-card__more i{transform:translateX(3px)}.cg-news-card--featured{grid-column:1/-1}.cg-news-card--featured .cg-news-card__link{grid-template-columns:minmax(300px,44%) minmax(0,1fr)}.cg-news-card--featured .cg-news-card__media{min-height:320px}.cg-news-card--featured .cg-news-card__body{justify-content:center;padding:34px}.cg-news-card--featured h2{font-size:32px}.cg-news-card--featured .cg-news-card__excerpt{font-size:15px;-webkit-line-clamp:4}.cg-news-empty{border:1px solid var(--cg-stroke);border-radius:14px;background:var(--cg-surface)}
@media(max-width:900px){.cg-news-card__link{grid-template-columns:150px minmax(0,1fr)}.cg-news-card--featured .cg-news-card__link{grid-template-columns:minmax(260px,42%) minmax(0,1fr)}.cg-news-card--featured h2{font-size:27px}}
@media(max-width:700px){.cg-news-heading{min-height:230px;padding:26px 24px}.cg-news-heading .cg-page-heading__eyebrow{margin-top:30px}.cg-news-heading h1{font-size:40px}.cg-news-grid{grid-template-columns:1fr}.cg-news-card--featured{grid-column:auto}.cg-news-card__link,.cg-news-card--featured .cg-news-card__link{grid-template-columns:155px minmax(0,1fr)}.cg-news-card__media,.cg-news-card--featured .cg-news-card__media{min-height:225px}.cg-news-card--featured .cg-news-card__body,.cg-news-card__body{padding:20px}.cg-news-card--featured h2,.cg-news-card h2{font-size:21px}.cg-news-card--featured .cg-news-card__excerpt{font-size:14px;-webkit-line-clamp:3}}
@media(max-width:480px){.cg-news-heading{min-height:0;padding:22px 20px}.cg-news-heading .cg-page-heading__eyebrow{margin-top:26px}.cg-news-heading h1{font-size:35px}.cg-news-heading>p:last-child{font-size:14px}.cg-news-section__header{align-items:center}.cg-news-card__link,.cg-news-card--featured .cg-news-card__link{display:block}.cg-news-card__media,.cg-news-card--featured .cg-news-card__media{height:190px;min-height:0}.cg-news-card__body,.cg-news-card--featured .cg-news-card__body{padding:19px}.cg-news-card__excerpt,.cg-news-card--featured .cg-news-card__excerpt{-webkit-line-clamp:3}.cg-news-card__more{padding-top:14px}}


.cg-game-details__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    overflow-wrap: anywhere;
}
.cg-game-details__header h1 {
    margin: 0;
    font-size: clamp(24px, 2vw, 32px);
    font-weight: 600;
    letter-spacing: -.025em;
}

.cg-game-facts {
    display: grid;
    grid-template-columns: fit-content(38%) minmax(0, 1fr);
    gap: 8px clamp(14px, 2vw, 24px);
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.cg-game-facts > div { display: contents; }
.cg-game-facts dt { color: var(--cg-muted); font-weight: 400; }
.cg-game-facts dd { margin: 0; color: var(--cg-text); font-weight: 600; }

.cg-game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}
.cg-game-tags :is(a, span) {
    max-width: 100%;
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--cg-surface-2);
    color: var(--cg-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.cg-game-tags a { color: var(--cg-accent-hover); }
[data-theme="dark"] .cg-game-tags a { color: #b8bfff; }
.cg-game-tags a:is(:hover, :focus-visible) { text-decoration: underline; }

.cg-game-details__description section + section { margin-top: 18px; }
.cg-game-details__description h2 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}
.cg-game-details__description p {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.cg-game-preview {
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: 14px;
    background: var(--cg-surface-2);
}
.cg-game-preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.8);
}
.cg-game-preview__play {
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(56px, 7vw, 80px);
    aspect-ratio: 1;
    border: 2px solid rgba(255, 255, 255, .85);
    border-radius: 50%;
    background: rgba(22, 22, 38, .72);
    color: #fff;
}
.cg-game-preview__play svg {
    width: 58%;
    height: auto;
    display: block;
}
