/* Brand kit and responsive adaptations to the supplied desktop and phone artboards. */
.gp.g16 {
	--gp-bg: #222121;
	--gp-header: #222121;
	--gp-footer: #2e2d2d;
	--gp-card: #2e2d2d;
	--gp-surface: #2e2d2d;
	--gp-line: #3d3b3b;
	--gp-text: #f5f4f2;
	--gp-text-muted: #a9a6a6;
	--gp-primary: #df6a20;
	--gp-primary-hover: #ef8545;
	--gp-on-primary: #222121;
	--gp-price: #0e7084;
	--gp-cyan: #20c8df;
	--gp-orange: #df6a20;
	--gp-sage: #809980;
	--gp-gradient: linear-gradient(90deg, #20c8df, #df6a20);
	--gp-radius: 6px;
	--gp-fs: 16px;
	--gp-fs-xs: 14px;
	--gp-fs-s: 14px;
	--gp-font: "Instrument Sans", system-ui, sans-serif;
	width: 100%;
	min-width: 0;
	background: var(--gp-bg);
}

.gp.g16 h1, .gp.g16 h2, .gp.g16 h3, .gp .cat b, .gp .feat-t, .gp .card-t {
	font-family: Outfit, system-ui, sans-serif;
	font-weight: 600;
}
.gp.g16 .cat, .gp.g16 .feat-card, .gp.g16 .card, .gp.g16 .cta, .gp.g16 .gta, .gp.g16 .rows { border-radius: 16px; }
.gp.g16 .btn, .gp.g16 .srch-go, .gp.g16 .srch input, .gp.g16 .acct a, .gp.g16 .plat-b { border-radius: 6px; }
.gp.g16 .btn.p, .gp.g16 .srch-go { color: var(--gp-on-primary); }
.gp.g16 .srch-go { border: 0; cursor: pointer; }
.gp.g16 .dh-top, .gp.g16 .ft { background: var(--gp-bg); }
.gp.g16 .dh-top a, .gp.g16 .ft p a { color: var(--gp-cyan); }
.gp.g16 .home-desktop { display: none; }
.gp.g16 .hd-count { animation: none; box-shadow: none; }
.gp.g16 .hd-logo img { width: 151px; height: auto; }
.gp.g16 .hd-logo { padding-inline: 8px; }
.gp.g16 .home-wrap { padding: 0; }
.gp .hx2-copy { min-width: 0; }
.gp .hx2-no-feature { grid-template-columns: 1fr; }
.gp.g16 .hx2::before { background: linear-gradient(0deg, var(--gp-bg), rgba(34,33,33,.79) 44%, rgba(34,33,33,.68)); }
.gp.g16 .hx2::after {
	content: "";
	position: absolute;
	pointer-events: none;
	z-index: -1;
	inset: 0;
	background: url("../brand/game_pattern_white.png") center top / 300px auto repeat;
	mask-image: linear-gradient(#222121 38%, transparent 98%);
	opacity: .85;
}
.feat-rotation-icon { width: 12px; height: 15px; border-inline: 3px solid currentColor; }
[data-rotation][data-paused] .feat-rotation-icon {
	width: 0;
	height: 0;
	border: 0;
	border-block: 7px solid transparent;
	border-inline-start: 11px solid currentColor;
	margin-inline-start: 3px;
}
.gp.g16 .hx2 .hx2-bg { opacity: 1; }
.gp.g16 .hx2 h1 { font-size: 32px; max-width: 12em; }
.gp.g16 .feat-card, .gp.g16 .card { background: var(--gp-card); }
.gp.g16 .feat-t { font-size: 22px; }
.gp.g16 .feat-b { min-width: 0; }
.gp.g16 .feat-img > img { object-position: top; }
.gp.g16 .feat .pbar.gn + img { object-fit: contain; }
.gp.g16 .feat-k, .gp.g16 .feat-m, .gp.g16 .card-m { font-size: 14px; }
.gp.g16 .pbar.gn, .gp.g16 .pbar.code { color: var(--gp-bg); }
.gp.g16 .pbar.gn { background: var(--gp-primary); }
.gp.g16 .pbar.code { background: var(--gp-cyan); }
.gp.g16 .pbar img { max-width: 100%; object-fit: contain; object-position: left; }
.gp.g16 .plat-b img { object-fit: contain; }
.gp.g16 .plat-b.ps5 img, .gp.g16 .plat-b.xsx img { filter: brightness(0); }
.gp.g16 .plat-b.ps4 img, .gp.g16 .plat-b.xone img, .gp.g16 .plat-b.pc img { filter: brightness(0) invert(1); }
.gp.g16 .cat span, .gp.g16 .sec-h a, .gp.g16 .ft p { font-size: 14px; }
.gp.g16 .cat .go { color: var(--gp-cyan); }
.gp.g16 .cat b, .gp.g16 .cta h2, .gp.g16 .gta h2 { font-size: 22px; }
.gp.g16 .cat span { max-width: 24ch; }
.gp.g16 .cat::after { background: linear-gradient(90deg,#222121 23%,rgba(34,33,33,.94) 46%,rgba(34,33,33,.18) 80%,transparent); }
.gp.g16 .sec-h { gap: 8px; }
.gp.g16 .sec-h a { min-width: 44px; }
.gp.g16 .card:focus-visible, .gp.g16 .gta a:focus-visible { outline-offset: -3px; }
.gp.g16 .price { position: relative; max-width: calc(100% - 20px); }
.gp.g16 .price ins { text-decoration: none; }
.gp.g16 .price:has(del) { display: inline-flex; flex-direction: row-reverse; flex-wrap: wrap-reverse; justify-content: flex-end; gap: 0 4px; }
.gp.g16 .price del { font-size: .82em; white-space: nowrap; }
.gp.g16 .price del .woocommerce-Price-currencySymbol { display: none; }
.gp.g16 .price .amount { white-space: nowrap; }
.gp.g16 .feat-b .price { max-width: 100%; }
.gp.g16 .badge.sale { background: #a32323; }
.gp.g16 .cta, .gp.g16 .cta.ask, .gp.g16 .rows { background: var(--gp-surface); }
.gp.g16 .cta.art { background: linear-gradient(90deg,#222121 37%,rgba(34,33,33,.91) 48%,rgba(34,33,33,.45) 63%,transparent 80%),var(--art,none) right center/62% auto no-repeat #222121; }
.gp.g16 .cta.art > div { max-width: 54%; }
.gp.g16 .steps3 b { background: var(--gp-cyan); color: var(--gp-bg); }
.gp.g16 .gta h2 { white-space: normal; }
.gp.g16 .gta-ed, .gp.g16 .gta-link { min-height: 44px; }
.gp.g16 .cta.ask .hero-cta { justify-content: center; }
.gp.g16 .ft a { display: inline-flex; align-items: center; min-height: 44px; }
.gp.g16 .ft .hd-logo { margin: 0; padding-inline: 0; }
.gp.g16 .home-gear .card:nth-child(n + 3) { display: none; }
.gameport-review-notice { margin: 0; padding: 4px 16px; background: #2e2d2d; color: #f5f4f2; text-align: center; font-size: 14px; }

@media (width < 1024px) {
	.gp.g16 .cta.art { background: linear-gradient(180deg,transparent 120px,#222121 226px),var(--art-small,none) center top/100% auto no-repeat #222121; }
	.gp.g16 .cta.art > div { max-width: 100%; }
	.gp.g16 .gta-in { margin-top: -40px; position: relative; }
	.gp.g16 .gta::after { background: linear-gradient(180deg,transparent 90px,#120c1a 196px); }
	.gp.g16 .hd-row .hd-count { position: absolute; inset: 0 0 auto auto; }
}

@media (600px <= width < 1024px) {
	.gp.g16 .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gp.g16 .rail .card { flex-basis: clamp(150px, 29vw, 270px); }
	.gp.g16 .home-gear { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.gp.g16 .home-gear .card:nth-child(3) { display: flex; }
	.gp.g16 .feat-card { grid-template-columns: 168px minmax(0, 1fr); }
	.gp.g16 .feat-img > img { width: 168px; }
	.gp.g16 .cta.art { background-size: auto, 600px auto; }
	.gp.g16 .gta-bg { aspect-ratio: 16 / 9; max-height: 280px; object-fit: cover; }
	.gp.g16 .gta::after { background: linear-gradient(180deg,transparent 120px,#120c1a 270px); }
}

@media (min-width: 1024px) {
	.gp.g16 .home-desktop { display: block; }
	.gp.g16 .home-phone { display: none; }
	.gp.g16 .home-wrap { padding-inline: 24px; }
	.gp.g16 .dh-main { gap: 24px; }
	.gp.g16 .dh-nav .wrap { flex-wrap: wrap; }
	.gp.g16 .dh-nav a { padding-inline: clamp(5px, 1.04vw, 14px); }
	.gp.g16 .hx2-in { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 32px; }
	.gp.g16 .hx2-no-feature { grid-template-columns: 1fr; }
	.gp.g16 .hx2 h1 { font-size: 48px; }
	.gp.g16 .hx2 .hero-cta { flex-wrap: wrap; }
	.gp.g16 .feat-card { grid-template-columns: minmax(145px, 41%) minmax(0, 1fr); }
	.gp.g16 .feat-img > img { width: 100%; }
	.gp.g16 .feat-t { font-size: 32px; }
	.gp.g16 .cat b, .gp.g16 .cta h2 { font-size: 32px; }
	.gp.g16 .gta h2 { font-size: 48px; }
	.gp.g16 .home-gear .card:nth-child(n) { display: flex; }
	.gp.g16 .ft a { min-height: 36px; }
}

@media (prefers-reduced-motion: no-preference) {
	.gp.g16 .hx2 h1 { animation: gameport-home-enter .45s cubic-bezier(.22,1,.36,1) both; }
	@keyframes gameport-home-enter { from { transform: translateY(8px); } to { transform: none; } }
}
.gp.g16 .acct { gap: 4px; }
.gp.g16 .acct-in { background: #40812a; color: #fff; }
.gp.g16 .acct-up { background: var(--gp-primary); color: var(--gp-bg); }
.gp.g16 .ft a { min-width: 44px; }
.gp.g16 .cta .btn { width: auto; }
.gp.g16 .cta .hero-cta { justify-content: center; }
.gp.g16 .steps3 span { font-size: 14px; }
@media (min-width: 1024px) {
	.gp.g16 .cta.art { display: block; }
	.gp.g16 .cta.art > div { max-width: 54%; }
	.gp.g16 .gta-in { max-width: 552px; }
}

.product-phone-search > summary { list-style: none; cursor: pointer; min-width: 44px; min-height: 44px; }
.product-phone-search > summary::-webkit-details-marker { display: none; }
.product-phone-search[open] { padding-bottom: 56px; }
.product-phone-search:not([open]) .srch { display: none; }
.product-phone-search .srch { position: absolute; inset: auto 0 0; }
.product-phone-header .hd-row { position: relative; }
.product-phone-header:has(.product-phone-search[open]) .hd-row { align-items: start; }
.product-phone-header .hd-btn { flex-shrink: 0; }
@media (width < 360px) {
	.gp.g16 .product-phone-header .hd-row { gap: 0; padding-inline: 0; }
	.gp.g16 .product-phone-header .hd-logo { padding-inline: 0; }
	.gp.g16 .product-phone-header .hd-logo img { width: 140px; }
}

/* Product cards with a 3:4 card picture fill the frame like the disc covers. */
.gp .card-img:has(> img.gp-card-art) { aspect-ratio: 3 / 4; background: #222121; position: relative; }
.gp .card-img > img.gp-card-art { width: 100%; height: 100%; object-fit: cover; }
.gp.g16 .card:hover .card-img > img.gp-card-art { transform: scale(1.04); }
/* Every product card uses the same 3:4 picture frame, so rows line up. Disc covers are
   already 3:4; photos without a card picture yet sit whole inside the frame. */
.gp .card > .card-img, .gp .shop-archives .product .card-img { aspect-ratio: 3 / 4; }
.gp .shop-archives .product .card-img:has(> img.gp-card-art), .gp .shop-archives .product.product_cat-disc-games .card-img, .gp .shop-archives .product.product_cat-digital-games .card-img { background: #222121; }
.gp .shop-archives .product.product_cat-disc-games .card-img img, .gp .shop-archives .product.product_cat-digital-games .card-img img { object-fit: cover; }

/* Product page showcase: the card picture large, on a glow made from its own colours. */
.gp :is(.code-pack, .board-pack, .console-pack):has(> .gp-pack-glow) {
	position: relative; isolation: isolate; overflow: hidden;
	display: grid; grid-template-rows: auto 1fr; justify-items: center; align-items: center;
	min-height: 0; padding: 0 0 28px; background: #1b1a1a;
}
.gp :is(.code-pack, .board-pack, .console-pack):has(> .gp-pack-glow) > .pbar {
	position: relative; inset: auto; justify-self: stretch; align-self: start; margin-bottom: 28px;
}
.gp :is(.code-pack, .board-pack, .console-pack):has(> .gp-pack-glow)::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(ellipse 70% 60% at 50% 55%, transparent 0%, rgba(27, 26, 26, .55) 60%, #1b1a1a 100%);
}
.gp .gp-pack-glow {
	position: absolute; inset: -20%; z-index: -2;
	background-position: center; background-size: cover; background-repeat: no-repeat;
	filter: blur(56px) saturate(1.5); opacity: .75;
}
.gp img.gp-showcase-img {
	display: block; width: auto; height: min(420px, 82vw); max-width: 78%; aspect-ratio: 3 / 4;
	object-fit: cover; border-radius: 14px;
	box-shadow: 0 28px 56px -12px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .08);
}
@media (width < 1024px) { .gp img.gp-showcase-img { height: min(360px, 82vw); } }
