.gp [data-gallery-stage] { position: relative; }
.gp [data-gallery-showing] :is(.disc-cover, .code-pack-image, .console-cover, .gp-showcase-img) {
	visibility: hidden;
}
.gp [data-gallery-stage] > img.gp-gallery-preview {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
}
.gp .disc-box[data-gallery-stage] > img.gp-gallery-preview {
	inset-block-start: 30px;
	height: calc(100% - 30px);
}
.gp .disc-box[data-gallery-stage] > :is([data-disc-band], .pbar) {
	z-index: 1;
}
.gp .console-media-frame { min-width: 0; }
.gp .console-media-frame:has(> .gp-pack-glow) { width: 100%; display: grid; place-items: center; }
.gp .console-pack .console-media-frame > img.gp-gallery-preview { padding: 12px; }
.gp .gp-gallery-strip {
	display: none;
	gap: 8px;
	margin-block-start: 8px;
	padding-block: 3px;
}
.gp .gp-gallery-strip.is-ready {
	display: flex;
	flex-wrap: wrap;
}
.gp .gp-gallery-thumb {
	display: grid;
	place-items: center;
	width: 62px;
	min-width: 44px;
	min-height: 44px;
	aspect-ratio: 1;
	overflow: hidden;
	padding: 2px;
	border: 1px solid var(--gp-line);
	border-radius: 7px;
	background: var(--gp-surface);
	cursor: pointer;
}
.gp .gp-gallery-thumb[aria-pressed="true"] { border-color: var(--gp-cyan); }
.gp .gp-gallery-thumb:focus-visible,
.gp .gp-product-expand > summary:focus-visible { outline: 2px solid var(--gp-cyan); outline-offset: 2px; }
.gp .gp-gallery-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 1;
	border-radius: 4px;
	object-fit: contain;
	background: var(--gp-white);
}
.gp .gp-gallery-screens.is-ready { flex-wrap: nowrap; }
.gp .gp-gallery-screens .gp-gallery-thumb {
	flex: 1 1 0;
	width: auto;
	max-width: 144px;
	aspect-ratio: 16 / 9;
}
.gp .gp-gallery-screens .gp-gallery-thumb img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: var(--gp-surface);
}
.gp .gp-gallery-screens .gp-gallery-thumb:first-child img { object-fit: contain; }
@media (width < 600px) {
	.gp :is(.disc-page, .download-game) .gp-gallery-strip { margin-inline: 16px; }
}

.gp .gp-product-expand {
	width: 100%;
	min-width: 0;
	margin-block-start: 12px;
}
.gp .gp-product-expand > summary {
	display: flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	min-height: 44px;
	color: var(--gp-cyan);
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}
.gp .gp-product-expand > summary::-webkit-details-marker { display: none; }
.gp .gp-product-expand > summary::after {
	content: '';
	width: 6px;
	height: 6px;
	border-right: 1.5px solid;
	border-bottom: 1.5px solid;
	transform: rotate(45deg);
}
.gp .gp-product-expand[open] > summary::after { transform: rotate(225deg); }
.gp .gp-product-expand:not([open]) [data-details-less],
.gp .gp-product-expand[open] [data-details-more] { display: none; }
.gp .gp-product-copy {
	max-width: 68ch;
	overflow-wrap: anywhere;
}
.gp .gp-product-copy > * + * { margin-block-start: 12px; }
.gp .gp-product-copy > img { max-width: 100%; height: auto; }
.gp .gp-product-copy ul { padding-inline-start: 1.5em; list-style: disc; }
.gp .gp-product-copy ol { padding-inline-start: 1.5em; }
.gp .gp-product-copy table { overflow-wrap: anywhere; }
.gp .gp-product-copy-extended { overflow-x: auto; padding-block: 12px 16px; }
.gp .disc-facts .gp-product-copy { margin-block-end: 14px; line-height: 1.5; }

.gp .gp-product-facts {
	display: grid;
	grid-template-columns: minmax(65px, max-content) minmax(0, 1fr);
	gap: 8px 18px;
	margin-block-start: 16px;
	font-size: 14px;
}
.gp .gp-product-facts dt { color: var(--gp-text-muted); }
.gp .gp-product-facts dd { margin: 0; color: var(--gp-heading); }
.gp .gp-product-copy-extended .woocommerce-product-attributes {
	margin-block: 20px 8px;
}
.gp .gp-product-copy-extended .woocommerce-product-attributes tr {
	border-bottom: 1px solid var(--gp-line);
}
.gp .gp-product-copy-extended .woocommerce-product-attributes :is(th, td) { padding-block: 8px; }
