/*
Theme Name: PixelRetro
Theme URI: https://pixelretro.art
Author: PixelRetro
Description: Bespoke arcade-style block theme for the PixelRetro WooCommerce store. Ink-black CRT look, pixel-heart branding, system and A–Z game browsing.
Version: 2.7.4
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pixelretro
WC requires at least: 9.0
WC tested up to: 11.2
*/

/* ---------- Base ---------- */
:root {
	--pr-ink: #16131a;
	--pr-crt: #0c0a0f;
	--pr-panel: #221d27;
	--pr-band: #1c1821;
	--pr-line: #3a3340;
	--pr-cream: #f4ecd8;
	--pr-muted: #c9bfab;
	--pr-faint: #a89e8c;
	--pr-red: #ec2024;
	--pr-shade: #920007;
	--pr-amber: #f5b82e;
	--pr-paper: #fffaf0;
	--pr-black: #231f20;
	--pr-pixel: Silkscreen, 'Courier New', monospace;
	--pr-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
	--pr-wrap: 1280px;
}
body { background: var(--pr-ink); color: var(--pr-cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
::selection { background: var(--pr-red); color: var(--pr-cream); }
:focus-visible { outline: 3px solid var(--pr-amber); outline-offset: 3px; }
.screen-reader-text, .pr-visually-hidden {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.pr-wrap { max-width: var(--pr-wrap); margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2rem); box-sizing: border-box; }
.pr-eyebrow { margin: 0; font-family: var(--pr-mono); font-size: 0.9375rem; letter-spacing: 0.12em; color: var(--pr-amber); text-transform: uppercase; }
.pr-icon { display: block; flex: none; }

/* ---------- Buttons ---------- */
.pr-btn, .wp-element-button, .wp-block-button__link, button.button, a.button, input[type="submit"].button {
	border-radius: 0 !important;
}
.pr-btn {
	display: inline-flex; align-items: center; gap: 0.75rem; min-height: 60px; padding: 0 1.75rem; box-sizing: border-box;
	background: var(--pr-red); color: var(--pr-cream); text-decoration: none;
	font-family: var(--pr-pixel); font-weight: 700; font-size: 1.1875rem; text-transform: uppercase;
	box-shadow: 6px 6px 0 var(--pr-cream); transition: transform .08s steps(2), box-shadow .08s steps(2);
}
.pr-btn:hover { color: var(--pr-cream); background: var(--pr-shade); }
.pr-btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--pr-cream); }
.pr-btn--ghost { background: transparent; border: 3px solid var(--pr-cream); box-shadow: none; }
.pr-btn--ghost:hover { background: var(--pr-cream); color: var(--pr-ink); }
.wp-element-button:active, .wp-block-button__link:active { transform: translate(3px, 3px); }

/* ---------- Ticker ---------- */
.pr-ticker { background: var(--pr-red); color: var(--pr-ink); overflow: hidden; height: 40px; display: flex; align-items: center; font-family: var(--pr-pixel); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; }
.pr-ticker__track { display: flex; width: max-content; animation: pr-scroll 40s linear infinite; }
.pr-ticker__row { display: flex; gap: 3rem; padding-right: 3rem; white-space: nowrap; }
@keyframes pr-scroll { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.pr-header { border-bottom: 4px solid var(--pr-cream); background: var(--pr-ink); position: relative; z-index: 20; }
.pr-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: 1.25rem; }
.pr-logo-link { display: block; width: 236px; line-height: 0; }
.pr-logo { width: 100%; height: auto; display: block; }
.pr-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; font-family: var(--pr-pixel); font-size: 0.9375rem; letter-spacing: 0.06em; text-transform: uppercase; }
.pr-nav a { text-decoration: none; padding-block: 0.6rem; border-bottom: 3px solid transparent; }
.pr-nav a[aria-current="page"] { color: var(--pr-amber); border-bottom-color: var(--pr-red); }
.pr-header__tools { display: flex; align-items: center; gap: 0.75rem; }
.pr-header__search { position: relative; }
.pr-header__search > summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--pr-cream); cursor: pointer; box-sizing: border-box; }
.pr-header__search > summary::-webkit-details-marker { display: none; }
.pr-header__search[open] > summary { background: var(--pr-cream); color: var(--pr-ink); }
.pr-header__search .pr-search { position: absolute; right: 0; top: calc(100% + 12px); width: min(420px, 86vw); box-shadow: 8px 8px 0 var(--pr-red); }
.pr-cart { height: 44px; box-sizing: border-box; display: flex; align-items: center; gap: 0.6rem; padding: 0 1rem; background: var(--pr-cream); color: var(--pr-ink); text-decoration: none; font-family: var(--pr-pixel); font-weight: 700; font-size: 0.9375rem; text-transform: uppercase; box-shadow: 4px 4px 0 var(--pr-red); }
.pr-cart:hover { color: var(--pr-ink); background: var(--pr-amber); }

/* ---------- Search ---------- */
.pr-search { display: flex; background: var(--pr-crt); border: 3px solid var(--pr-cream); }
.pr-search input[type="search"] { flex: 1; min-width: 0; height: 52px; padding: 0 1rem; background: transparent; border: 0; color: var(--pr-cream); font-family: var(--pr-mono); font-size: 1rem; }
.pr-search input::placeholder { color: var(--pr-faint); }
.pr-search button { width: 56px; border: 0; background: var(--pr-red); color: var(--pr-cream); cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* ---------- Hero ---------- */
.pr-hero { display: flex; flex-wrap: wrap; gap: 4rem; align-items: center; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.pr-hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 1.75rem; }
.pr-hero__copy h1 { margin: 0; font-size: clamp(2.75rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -0.01em; }
.pr-hero__copy .pr-lede { margin: 0; font-size: 1.25rem; line-height: 1.55; color: var(--pr-muted); max-width: 34rem; }
.pr-hero__ctas { display: flex; flex-wrap: wrap; gap: 1.25rem; padding-top: 0.5rem; }
.pr-hero__screen { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.pr-lives { display: flex; flex-wrap: wrap; align-items: center; gap: 0.875rem; font-family: var(--pr-mono); font-size: 0.875rem; color: var(--pr-muted); text-transform: uppercase; }
.pr-lives__hearts { display: flex; gap: 0.5rem; }
.pr-heart--life { width: 30px; height: auto; display: block; }

.pr-crt { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1; background: var(--pr-crt); border: 4px solid var(--pr-cream); box-shadow: 12px 12px 0 var(--pr-red); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.25rem; overflow: hidden; box-sizing: border-box; }
.pr-crt__heart { width: 62%; height: auto; display: block; }
.pr-crt__coin { margin: 0; font-family: var(--pr-pixel); font-size: 1.375rem; letter-spacing: 0.18em; color: var(--pr-amber); text-transform: uppercase; }
.pr-crt__corner { position: absolute; top: 1rem; font-family: var(--pr-mono); font-size: 0.8125rem; color: var(--pr-muted); text-transform: uppercase; }
.pr-crt__corner--l { left: 1.1rem; }
.pr-crt__corner--r { right: 1.1rem; }
.pr-crt__scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0,0,0,.28) 3px 4px); }
.pr-blink { animation: pr-blink 1.1s steps(1) infinite; }
@keyframes pr-blink { 50% { opacity: 0; } }

/* ---------- Cream band ---------- */
.pr-band-cream { background: var(--pr-cream); color: var(--pr-black); border-block: 4px solid var(--pr-black); }
.pr-band-cream a { color: var(--pr-black); }
.pr-band-cream h2 { color: var(--pr-black); }
.pr-band-cream .pr-hint { color: #5a5048; font-family: var(--pr-mono); font-size: 0.9375rem; margin: 0; text-transform: uppercase; }
.pr-section { padding-block: clamp(3.5rem, 7vw, 5.5rem); display: flex; flex-direction: column; gap: 3rem; }
.pr-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.pr-section__head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); }
.pr-more { font-family: var(--pr-pixel); text-decoration: none; border-bottom: 3px solid var(--pr-red); padding-bottom: 0.25rem; text-transform: uppercase; }

.pr-systems { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.25rem; }
.pr-system { display: flex; flex-direction: column; text-decoration: none; color: var(--pr-black); background: var(--pr-paper); border: 4px solid var(--pr-black); box-shadow: 10px 10px 0 var(--pr-black); transition: transform .08s steps(2), box-shadow .08s steps(2); }
.pr-system:hover { transform: translate(-3px, -3px); box-shadow: 13px 13px 0 var(--pr-red); color: var(--pr-black); }
.pr-system__media { position: relative; aspect-ratio: 4 / 3; background: #e6dcc6; border-bottom: 4px solid var(--pr-black); overflow: hidden; display: block; }
.pr-system__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pr-system__tag { position: absolute; left: 0.75rem; top: 0.75rem; background: var(--pr-black); color: var(--pr-cream); font-family: var(--pr-pixel); font-size: 0.8125rem; padding: 0.35rem 0.6rem; text-transform: uppercase; }
.pr-system__body { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 1.5rem; }
.pr-system__body > span:first-child { display: flex; flex-direction: column; gap: 0.35rem; }
.pr-system__name { font-family: var(--pr-pixel); font-weight: 700; font-size: 1.625rem; text-transform: uppercase; line-height: 1.1; }
.pr-system__count { font-family: var(--pr-mono); font-size: 0.9375rem; color: #5a5048; text-transform: uppercase; }
.pr-system__go { width: 52px; height: 52px; flex: none; background: var(--pr-red); color: var(--pr-cream); display: flex; align-items: center; justify-content: center; }

/* ---------- A–Z ---------- */
.pr-az { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pr-az__key { width: 44px; height: 44px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; text-decoration: none; font-family: var(--pr-pixel); font-weight: 700; font-size: 1.0625rem; border: 3px solid var(--pr-cream); color: var(--pr-cream); }
.pr-az__key:hover, .pr-az__key[aria-current="page"] { background: var(--pr-red); border-color: var(--pr-red); color: var(--pr-cream); }
.pr-az__key.is-empty { opacity: 0.3; }
.pr-az--light .pr-az__key { border-color: var(--pr-black); background: var(--pr-paper); color: var(--pr-black); }
.pr-az--light .pr-az__key:hover, .pr-az--light .pr-az__key[aria-current="page"] { background: var(--pr-red); border-color: var(--pr-black); color: var(--pr-cream); }

/* ---------- Product grid + cards ---------- */
.pr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2rem; }
.pr-card { display: flex; flex-direction: column; gap: 0.6rem; text-decoration: none; color: var(--pr-cream); }
.pr-card__media { display: block; aspect-ratio: 1 / 1; background: var(--pr-panel); border: 3px solid var(--pr-line); overflow: hidden; transition: border-color .1s steps(2); }
.pr-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pr-card:hover .pr-card__media { border-color: var(--pr-amber); box-shadow: 6px 6px 0 var(--pr-red); }
.pr-card__title { font-family: var(--pr-pixel); font-size: 1.0625rem; line-height: 1.25; text-transform: uppercase; padding-top: 0.4rem; }
.pr-card__meta { font-size: 0.9375rem; color: var(--pr-muted); }
.pr-card__price, .pr-card__price .amount { font-family: var(--pr-mono); font-weight: 500; color: var(--pr-amber); }
.pr-card:hover { color: var(--pr-cream); }

/* Product Collection block (shop + categories) */
.pr-collection .wc-block-product-template { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important; gap: 2rem !important; margin: 0; padding: 0; list-style: none; }
.pr-collection .wc-block-product { margin: 0 !important; width: auto !important; display: flex; flex-direction: column; gap: 0.5rem; text-align: left; }
.pr-collection .wc-block-components-product-image { margin: 0 !important; background: var(--pr-panel); border: 3px solid var(--pr-line); aspect-ratio: 1 / 1; overflow: hidden; }
.pr-collection .wc-block-components-product-image img { width: 100%; height: 100% !important; object-fit: cover; }
.pr-collection .wc-block-product:hover .wc-block-components-product-image { border-color: var(--pr-amber); box-shadow: 6px 6px 0 var(--pr-red); }
.pr-collection .wp-block-post-title { margin: 0.4rem 0 0 !important; font-size: 1.0625rem !important; line-height: 1.25; text-transform: uppercase; text-align: left; }
.pr-collection .wp-block-post-title a { text-decoration: none; }
.pr-collection .wc-block-components-product-price, .pr-collection .wc-block-components-product-price .amount { font-family: var(--pr-mono); color: var(--pr-amber); text-align: left; margin: 0; }
.pr-collection .wc-block-components-product-sale-badge { border-radius: 0; background: var(--pr-amber); color: var(--pr-ink); border: 0; font-family: var(--pr-pixel); }

.wp-block-query-pagination { gap: 0.5rem; margin-top: 3rem; font-family: var(--pr-pixel); }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 0.6rem; box-sizing: border-box; border: 3px solid var(--pr-line); text-decoration: none; }
.wp-block-query-pagination .page-numbers.current { background: var(--pr-red); border-color: var(--pr-red); }
.wp-block-query-pagination a:hover { border-color: var(--pr-amber); }

/* ---------- Archive header ---------- */
.pr-archive-top { padding-block: 2.5rem 1rem; display: flex; flex-direction: column; gap: 1.75rem; }
.pr-archive-intro { display: flex; flex-direction: column; gap: 0.75rem; }
.pr-archive-intro h1 { margin: 0; font-size: clamp(2.25rem, 5vw, 3.75rem); text-transform: uppercase; }
.pr-archive-intro__count { margin: 0; font-family: var(--pr-mono); color: var(--pr-muted); text-transform: uppercase; }
.pr-archive-tools { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; border-block: 3px dashed var(--pr-line); padding-block: 1rem; }
.pr-archive-tools .pr-search { flex: 1 1 320px; max-width: 460px; }
.woocommerce-result-count, .wc-block-product-results-count { font-family: var(--pr-mono); color: var(--pr-muted); font-size: 0.9375rem; margin: 0; }
.woocommerce-ordering select, .wc-block-catalog-sorting select, .orderby { height: 48px; padding: 0 2.25rem 0 0.9rem; background: var(--pr-crt); color: var(--pr-cream); border: 3px solid var(--pr-cream); border-radius: 0; font-family: var(--pr-mono); }

/* ---------- Breadcrumbs ---------- */
.woocommerce-breadcrumb, .wc-block-breadcrumbs { font-family: var(--pr-mono); font-size: 0.875rem; color: var(--pr-faint); margin: 0; }
.woocommerce-breadcrumb a, .wc-block-breadcrumbs a { color: var(--pr-muted); }

/* ---------- Single product ---------- */
.pr-product { display: flex; flex-wrap: wrap; gap: 4rem; align-items: flex-start; padding-block: 2rem 5rem; }
.pr-product__gallery { flex: 1 1 520px; min-width: 0; }
.pr-product__buy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 1.5rem; }
.pr-badge { align-self: flex-start; display: inline-block; background: var(--pr-amber); color: var(--pr-ink); font-family: var(--pr-pixel); font-weight: 700; font-size: 0.8125rem; padding: 0.35rem 0.65rem; text-transform: uppercase; }
.pr-product__buy .wp-block-post-title { margin: 0; font-size: clamp(2.1rem, 4vw, 3.25rem); text-transform: uppercase; }
.pr-product__buy .wc-block-components-product-price, .pr-product__buy .price, .pr-product__buy .price .amount { font-family: var(--pr-mono); font-weight: 500; font-size: 1.625rem !important; color: var(--pr-amber); }
.pr-product__buy .wp-block-post-excerpt { color: var(--pr-muted); font-size: 1.125rem; margin: 0; }

.variations_form table.variations, table.variations { border: 0; margin: 0 0 1rem; width: 100%; border-collapse: collapse; }
table.variations tr { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
table.variations th, table.variations td { padding: 0; border: 0; text-align: left; background: none; }
table.variations th label, table.variations td.label label { font-family: var(--pr-mono); font-weight: 400; font-size: 0.875rem; color: var(--pr-muted); text-transform: uppercase; }
.pr-chosen { color: var(--pr-cream); }
table.variations select { height: 48px; min-width: 220px; background: var(--pr-crt); color: var(--pr-cream); border: 3px solid var(--pr-cream); border-radius: 0; font-family: var(--pr-mono); padding: 0 0.8rem; }
.reset_variations { display: inline-block; margin-top: 0.5rem; font-family: var(--pr-mono); font-size: 0.875rem; color: var(--pr-muted); }

.pr-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pr-pill { min-width: 56px; height: 48px; padding: 0 0.8rem; box-sizing: border-box; cursor: pointer; font-family: var(--pr-pixel); font-size: 0.9375rem; border: 3px solid var(--pr-cream); background: transparent; color: var(--pr-cream); border-radius: 0; }
.pr-pill[aria-pressed="true"] { background: var(--pr-cream); color: var(--pr-ink); }
.pr-pill:disabled { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }
.pr-pills--colour .pr-pill { width: 52px; height: 52px; min-width: 0; padding: 4px; border-color: var(--pr-line); }
.pr-pills--colour .pr-pill[aria-pressed="true"] { border-color: var(--pr-amber); background: transparent; }
.pr-pill__chip { display: block; width: 100%; height: 100%; outline: 1px solid rgba(255,255,255,.2); }

.single_variation_wrap .woocommerce-variation-price .price { font-family: var(--pr-mono); color: var(--pr-amber); font-size: 1.375rem; }
form.cart .quantity, .woocommerce-variation-add-to-cart .quantity { display: inline-flex; margin-right: 1rem; }
form.cart .quantity .qty, .wc-block-components-quantity-selector { height: 60px; width: 84px; text-align: center; background: var(--pr-crt); color: var(--pr-cream); border: 3px solid var(--pr-cream); border-radius: 0; font-family: var(--pr-mono); font-size: 1.125rem; box-sizing: border-box; }
form.cart .single_add_to_cart_button, .wc-block-components-product-button__button {
	min-height: 60px; padding: 0 2rem !important; background: var(--pr-red) !important; color: var(--pr-cream) !important;
	font-family: var(--pr-pixel) !important; font-weight: 700 !important; font-size: 1.25rem !important; text-transform: uppercase;
	border: 0 !important; border-radius: 0 !important; box-shadow: 6px 6px 0 var(--pr-cream); cursor: pointer;
}
form.cart .single_add_to_cart_button:hover { background: var(--pr-shade) !important; }
form.cart .single_add_to_cart_button.disabled { opacity: 0.55; }
.woocommerce-variation-add-to-cart, form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0.75rem; }
.pr-product-meta { font-family: var(--pr-mono); font-size: 0.9375rem; color: var(--pr-faint); }
.pr-product-meta p { margin: 0 0 0.35rem; }

.wp-block-woocommerce-product-details, .woocommerce-tabs { margin-top: 1rem; }
.woocommerce-tabs ul.tabs, .wc-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0 !important; margin: 0 0 1.5rem !important; border-bottom: 3px solid var(--pr-line); list-style: none; }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; border-radius: 0 !important; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 0.75rem 1rem !important; font-family: var(--pr-pixel); font-size: 0.9375rem; text-transform: uppercase; text-decoration: none; color: var(--pr-muted) !important; }
.woocommerce-tabs ul.tabs li.active a { color: var(--pr-ink) !important; background: var(--pr-cream); }
.woocommerce-Tabs-panel { color: var(--pr-muted); max-width: 72ch; }
.woocommerce-Tabs-panel h2 { font-size: 1.375rem; }
.woocommerce-Tabs-panel table { border-collapse: collapse; }
.woocommerce-Tabs-panel th, .woocommerce-Tabs-panel td { border: 2px solid var(--pr-line); padding: 0.5rem 0.75rem; }
.pr-related { padding-block: 4rem; border-top: 4px dashed var(--pr-line); display: flex; flex-direction: column; gap: 2rem; }
.pr-related h2 { margin: 0; text-transform: uppercase; }

/* ---------- How it works ---------- */
.pr-steps-band { background: var(--pr-band); border-block: 4px dashed var(--pr-line); }
.pr-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2.5rem; }
.pr-step { display: flex; flex-direction: column; gap: 0.85rem; }
.pr-step__n { font-family: var(--pr-pixel); font-size: 2.75rem; color: var(--pr-red); line-height: 1; }
.pr-step h3 { margin: 0; font-size: 1.25rem; text-transform: uppercase; }
.pr-step p { margin: 0; color: var(--pr-muted); }

/* ---------- Newsletter ---------- */
.pr-newsletter { border: 4px solid var(--pr-cream); box-shadow: 12px 12px 0 var(--pr-red); padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 3rem); display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: center; justify-content: space-between; }
.pr-newsletter__copy { flex: 1 1 360px; min-width: 0; }
.pr-newsletter__copy h2 { margin: 0 0 0.75rem; text-transform: uppercase; }
.pr-newsletter__copy p { margin: 0; color: var(--pr-muted); font-size: 1.125rem; }
.pr-newsletter__form { flex: 1 1 400px; min-width: 0; }
.pr-newsletter .mc4wp-form-fields { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; }
.pr-newsletter .mc4wp-form-fields p { margin: 0; flex: 1 1 220px; }
.pr-newsletter label { display: block; font-family: var(--pr-mono); font-size: 0.875rem; color: var(--pr-muted); margin-bottom: 0.5rem; text-transform: uppercase; }
.pr-newsletter input[type="email"], .pr-newsletter input[type="text"] { width: 100%; height: 56px; box-sizing: border-box; padding: 0 1rem; background: var(--pr-crt); border: 3px solid var(--pr-cream); color: var(--pr-cream); font-family: var(--pr-mono); font-size: 1rem; border-radius: 0; }
.pr-newsletter input[type="submit"] { height: 56px; padding: 0 1.75rem; background: var(--pr-red); color: var(--pr-cream); border: 0; border-radius: 0; font-family: var(--pr-pixel); font-weight: 700; font-size: 1.1875rem; cursor: pointer; box-shadow: 5px 5px 0 var(--pr-cream); text-transform: uppercase; }

/* ---------- Footer ---------- */
.pr-footer { background: var(--pr-crt); border-top: 4px solid var(--pr-cream); margin-top: 0; }
.pr-footer__inner { padding-block: 4rem 2.5rem; display: flex; flex-direction: column; gap: 3rem; }
.pr-footer__top { display: flex; flex-wrap: wrap; gap: 3rem; justify-content: space-between; }
.pr-footer__brand { flex: 1 1 280px; max-width: 360px; display: flex; flex-direction: column; gap: 1rem; }
.pr-footer__brand .pr-heart { width: 56px; height: auto; display: block; }
.pr-footer__brand p { margin: 0; color: var(--pr-muted); }
.pr-footer__cols { display: flex; flex-wrap: wrap; gap: 4rem; }
.pr-footer__col { display: flex; flex-direction: column; gap: 0.85rem; }
.pr-footer__col h2 { margin: 0 0 0.25rem; font-size: 0.9375rem; color: var(--pr-amber); text-transform: uppercase; }
.pr-footer__col a { text-decoration: none; }
.pr-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 2px solid var(--pr-line); font-family: var(--pr-mono); font-size: 0.875rem; color: var(--pr-faint); }
.pr-footer__bottom p { margin: 0; }
.pr-footer__bottom a { color: var(--pr-faint); }

/* ---------- Pages, notices, cart & checkout ---------- */
.pr-page { padding-block: 3rem 5rem; }
.pr-page .wp-block-post-title { text-transform: uppercase; }
.pr-page .entry-content, .pr-page .wp-block-post-content { color: var(--pr-muted); }
.pr-page .wp-block-post-content h2, .pr-page .wp-block-post-content h3 { color: var(--pr-cream); margin-top: 2.5rem; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner { background: var(--pr-crt) !important; color: var(--pr-cream) !important; border: 3px solid var(--pr-amber) !important; border-radius: 0 !important; font-family: var(--pr-mono); }
.woocommerce-message a.button, .woocommerce-info a.button { background: var(--pr-red); color: var(--pr-cream); border-radius: 0; font-family: var(--pr-pixel); }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-block-components-form .wc-block-components-text-input input, .wc-blocks-components-select select {
	border-radius: 0 !important; border: 2px solid var(--pr-line) !important; background: var(--pr-crt) !important; color: var(--pr-cream) !important;
}
.wc-block-components-text-input label, .wc-blocks-components-select label { color: var(--pr-faint) !important; }
.wc-block-cart .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .wc-block-components-button:not(.is-link) {
	border-radius: 0 !important; background: var(--pr-red) !important; color: var(--pr-cream) !important; font-family: var(--pr-pixel) !important; font-weight: 700; text-transform: uppercase; box-shadow: 5px 5px 0 var(--pr-cream);
}
.wc-block-components-totals-wrapper, .wc-block-cart-items, .wc-block-components-panel, .wc-block-components-sidebar-layout .wc-block-components-main { border-color: var(--pr-line) !important; }
.wc-block-components-product-name { font-family: var(--pr-pixel); text-transform: uppercase; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-radius: 0 !important; }

/* ---------- Motion & small screens ---------- */
@media (prefers-reduced-motion: reduce) {
	.pr-ticker__track, .pr-blink { animation: none; }
	.pr-system, .pr-btn { transition: none; }
}
@media (max-width: 782px) {
	.pr-header__inner { gap: 1rem; }
	.pr-logo-link { width: 190px; }
	.pr-nav { order: 3; width: 100%; gap: 0.25rem 1.25rem; }
	.pr-hero { gap: 2.5rem; }
	.pr-product { gap: 2.5rem; }
	.pr-az__key { width: 40px; height: 40px; }
}

/* ---------- Block layout resets ---------- */
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
.pr-main > * + * { margin-block-start: 0; }
.pr-main.pr-wrap { padding-bottom: 4rem; }
.pr-main .wp-block-woocommerce-breadcrumbs, .pr-main > .woocommerce-breadcrumb { padding-top: 1.75rem; }
.pr-archive-tools > * { margin: 0 !important; }
.pr-archive-tools .wp-block-shortcode, .pr-archive-tools .pr-search-wrap { flex: 1 1 320px; max-width: 460px; }
.pr-product__buy > * { margin: 0 !important; }
.pr-collection { margin-top: 2.5rem; }
.pr-collection .wc-block-product-template { padding: 0 !important; }

/* Shortcode blocks may wrap output in <p>: keep footer and grids intact */
.pr-footer__col > p { display: flex; flex-direction: column; gap: 0.85rem; margin: 0; }
.pr-footer p:empty, .pr-main p:empty { display: none; }

/* ---------- Product page: full-width info row (v1.1) ---------- */
.pr-platform { margin: 0; font-family: var(--pr-mono); font-size: 0.9375rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pr-amber); }
.pr-product { padding-bottom: 3.5rem; }
.pr-product-info { display: flex; flex-direction: column; gap: 3.5rem; padding-block: 3.5rem 4.5rem; border-top: 4px dashed var(--pr-line); }
.pr-product-info > * { margin: 0 !important; }

.pr-gameinfo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.pr-gameinfo__main { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.pr-gameinfo__main h2 { margin: 0 0 0.25rem; font-size: clamp(1.75rem, 3vw, 2.5rem); text-transform: uppercase; }
.pr-gameinfo__synopsis { margin: 0; font-size: 1.125rem; line-height: 1.7; color: var(--pr-muted); max-width: 70ch; }
.pr-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.pr-shot { margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.pr-shot__screen { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--pr-crt); border: 3px dashed var(--pr-line); overflow: hidden; }
.pr-shot__screen::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(255,255,255,.035) 3px 4px); }
.pr-shot__screen::after { content: "NO SIGNAL"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--pr-pixel); font-size: 0.875rem; letter-spacing: 0.15em; color: var(--pr-line); }
.pr-shot figcaption { font-family: var(--pr-mono); font-size: 0.8125rem; color: var(--pr-faint); text-transform: uppercase; }

.pr-infobox { background: var(--pr-panel); border: 4px solid var(--pr-cream); box-shadow: 10px 10px 0 var(--pr-red); }
.pr-infobox__title { margin: 0; padding: 0.9rem 1.1rem; background: var(--pr-cream); color: var(--pr-ink); font-family: var(--pr-pixel); font-weight: 700; font-size: 1.125rem; line-height: 1.2; text-transform: uppercase; }
.pr-infobox dl { margin: 0; padding: 0.4rem 1.1rem 0.6rem; }
.pr-infobox__row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.75rem; padding-block: 0.7rem; border-bottom: 2px solid var(--pr-line); }
.pr-infobox__row:last-child { border-bottom: 0; }
.pr-infobox dt { font-family: var(--pr-mono); font-size: 0.8125rem; color: var(--pr-faint); text-transform: uppercase; padding-top: 0.15rem; }
.pr-infobox dd { margin: 0; color: var(--pr-cream); font-size: 1rem; }
.pr-infobox__source { margin: 0; padding: 0.7rem 1.1rem 0.9rem; border-top: 2px solid var(--pr-line); font-family: var(--pr-mono); font-size: 0.8125rem; color: var(--pr-faint); }
.pr-infobox__source a { color: var(--pr-muted); }

.pr-shirt-details { display: flex; flex-direction: column; gap: 1.5rem; }
.pr-shirt-details > h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); text-transform: uppercase; }
.pr-shirt-details .woocommerce-tabs { margin: 0; }
.pr-shirt-details .woocommerce-Tabs-panel { max-width: 78ch; }

@media (max-width: 900px) {
	.pr-gameinfo { grid-template-columns: minmax(0, 1fr); }
	.pr-infobox { order: -1; }
}
@media (max-width: 560px) {
	.pr-shots { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Gameplay screenshots (v1.2) ---------- */
.pr-shot__screen--img { border-style: solid; border-color: var(--pr-line); background: #000; }
.pr-shot__screen--img::before, .pr-shot__screen--img::after { content: none; }
.pr-shot__screen--img img { display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.pr-shot__screen--img:hover, .pr-shot__screen--img:focus-visible { border-color: var(--pr-amber); box-shadow: 6px 6px 0 var(--pr-red); }

/* ==================================================================
 * Platform banners (v1.3) — one look per system
 * ================================================================== */
.pr-plat { position: relative; overflow: hidden; border-bottom: 4px solid var(--pr-cream); }
.pr-plat__in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.75rem; }
.pr-plat p { margin: 0; }
.pr-plat__name { font-family: var(--pr-pixel); font-weight: 700; font-size: clamp(1.625rem, 3.6vw, 2.75rem); line-height: 1.05; text-transform: uppercase; letter-spacing: 0.02em; }
.pr-plat__name a { color: inherit; text-decoration: none; }
.pr-plat__name a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.pr-plat__kicker { font-family: var(--pr-mono); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.5rem !important; }
.pr-plat__meta { font-family: var(--pr-mono); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.75rem !important; }
.pr-plat__line { font-family: var(--pr-pixel); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; }
.pr-plat__art { flex: 0 0 auto; }
.pr-plat__svg { display: block; width: 100%; height: auto; image-rendering: pixelated; }

/* --- Amiga: Workbench-blue desk, copper bars, a window --- */
.pr-plat--amiga { background: #0055aa; color: #fff; }
.pr-plat--amiga::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 63px, rgba(255,255,255,.06) 63px 64px); }
.pr-plat--amiga .pr-plat__win { flex: 1 1 auto; max-width: 760px; background: #0055aa; border: 3px solid #fff; box-shadow: 8px 8px 0 #000; }
.pr-plat--amiga .pr-plat__bar { display: flex; align-items: center; gap: .6rem; height: 26px; padding: 0 .5rem; background: repeating-linear-gradient(180deg, #fff 0 2px, #0055aa 2px 4px); border-bottom: 3px solid #fff; }
.pr-plat--amiga .pr-plat__gadget { width: 16px; height: 16px; background: #fff; border: 3px solid #000; box-sizing: border-box; flex: 0 0 auto; }
.pr-plat--amiga .pr-plat__gadget--r { margin-left: auto; background: #ff8800; }
.pr-plat--amiga .pr-plat__wtitle { background: #fff; color: #0055aa; font-family: var(--pr-mono); font-size: .8125rem; font-weight: 700; padding: 0 .5rem; line-height: 20px; }
.pr-plat--amiga .pr-plat__body { padding: 1rem 1.25rem 1.25rem; }
.pr-plat--amiga .pr-plat__kicker { color: #ff8800; }

/* --- C64: light-blue border, dark-blue screen, READY. --- */
.pr-plat--c64 { background: #7869c4; color: #a99ef0; }
.pr-plat--c64 .pr-plat__in { padding-block: 1.25rem; }
.pr-plat--c64 .pr-plat__crt { flex: 1 1 auto; max-width: 820px; background: #40318d; padding: 1.1rem 1.5rem 1.25rem; box-shadow: inset 0 0 0 3px #352879; }
.pr-plat--c64 .pr-plat__kicker { color: #a99ef0; font-family: var(--pr-pixel); letter-spacing: .04em; }
.pr-plat--c64 .pr-plat__name { color: #fff; }
.pr-plat--c64 .pr-plat__line { color: #a99ef0; margin-top: .35rem !important; }
.pr-plat--c64 .pr-plat__meta { color: #d4ceff; }
.pr-plat__cursor { display: inline-block; width: .7em; height: 1em; margin-left: .15em; vertical-align: -0.12em; background: currentColor; animation: pr-blink 1s steps(1) infinite; }

/* --- Spectrum: tape-loading border stripes, black screen, bright colours --- */
.pr-plat--zx { background: repeating-linear-gradient(180deg, #00cdcd 0 7px, #cd0000 7px 15px); color: #fff; animation: pr-zx-load 1.6s steps(8) infinite; }
.pr-plat--zx .pr-plat__in { padding-block: 1.25rem; }
.pr-plat--zx .pr-plat__tv { flex: 1 1 auto; max-width: 820px; background: #000; padding: 1.1rem 1.5rem 1.25rem; }
.pr-plat--zx .pr-plat__kicker { color: #00ffff; }
.pr-plat--zx .pr-plat__name { color: #fff; }
.pr-plat--zx .pr-plat__name::after { content: ""; display: block; width: min(100%, 360px); height: 6px; margin-top: .6rem; background: linear-gradient(90deg, #ff0000 0 25%, #ffff00 25% 50%, #00ff00 50% 75%, #00ffff 75% 100%); }
.pr-plat--zx .pr-plat__meta { color: #ffff00; }
.pr-plat--zx .pr-plat__line { color: #fff; margin-top: .5rem !important; font-size: .875rem; }

@keyframes pr-blink { 50% { opacity: 0; } }
@keyframes pr-zx-load { to { background-position: 0 30px; } }
@media (prefers-reduced-motion: reduce) { .pr-plat--zx, .pr-plat__cursor { animation: none; } }

@media (max-width: 640px) {
	.pr-plat__in { gap: 1rem; padding-block: 1rem; }
	.pr-plat__art { width: 96px; margin-right: -4px; }
	.pr-plat__meta { font-size: .75rem; }
	.pr-plat--c64 .pr-plat__kicker { font-size: .6875rem; }
}

/* Platform accent on the breadcrumb row below the banner */
.pr-sys-amiga-games .pr-main .woocommerce-breadcrumb a, .pr-sys-amiga-games .pr-main .wc-block-breadcrumbs a { color: #ff8800; }
.pr-sys-c64 .pr-main .woocommerce-breadcrumb a, .pr-sys-c64 .pr-main .wc-block-breadcrumbs a { color: #a99ef0; }
.pr-sys-zx-spectrum .pr-main .woocommerce-breadcrumb a, .pr-sys-zx-spectrum .pr-main .wc-block-breadcrumbs a { color: #00cdcd; }

/* ==================================================================
 * Sticky header + back to top (v1.4)
 * ================================================================== */
.pr-header.is-stuck { position: fixed; top: var(--wp-admin--admin-bar--height, 0px); left: 0; right: 0; z-index: 100; box-shadow: 0 6px 0 rgba(0, 0, 0, .45); animation: pr-slide-down .35s cubic-bezier(.2, .8, .2, 1) both; }
.pr-header.is-stuck .pr-header__inner { padding-block: .6rem; }
@media (max-width: 600px) { .admin-bar .pr-header.is-stuck { top: 0; } }
@keyframes pr-slide-down { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.pr-top { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90; display: flex; align-items: center; gap: .5rem; height: 48px; padding: 0 1rem; border: 3px solid var(--pr-ink); background: var(--pr-cream); color: var(--pr-ink); font-family: var(--pr-pixel); font-weight: 700; font-size: .875rem; text-transform: uppercase; cursor: pointer; box-shadow: 5px 5px 0 var(--pr-red); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
.pr-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .25s ease, transform .25s ease, visibility 0s; }
.pr-top:hover { background: var(--pr-amber); }
.pr-top:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--pr-red); }
@media (max-width: 640px) { .pr-top span { display: none; } .pr-top { width: 48px; padding: 0; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .pr-header.is-stuck { animation: none; } .pr-top, .pr-top.is-visible { transition: none; } }

/* Machine artwork in the platform banners (v1.5) */
.pr-plat__art { width: clamp(160px, 19vw, 241px); }
.pr-plat__img { display: block; width: 100%; height: auto; image-rendering: pixelated; image-rendering: crisp-edges; }
.pr-plat--amiga .pr-plat__img { filter: drop-shadow(6px 6px 0 rgba(0, 0, 0, .55)); }
.pr-plat--c64 .pr-plat__img { filter: drop-shadow(6px 6px 0 #352879); }
.pr-plat--zx .pr-plat__img { filter: drop-shadow(6px 6px 0 #000); }
@media (max-width: 640px) { .pr-plat__in { align-items: flex-end; } .pr-plat__art { width: 96px; margin-bottom: 0; } .pr-plat__img { filter: none !important; } }

/* Gentle float for the machine artwork (v1.5.1) */
.pr-plat__img { animation: pr-float 4.2s ease-in-out infinite; will-change: transform; }
.pr-plat--c64 .pr-plat__img { animation-delay: -1.4s; }
.pr-plat--zx .pr-plat__img { animation-delay: -2.8s; }
@keyframes pr-float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-8px) rotate(-0.6deg); }
}
@media (max-width: 640px) { @keyframes pr-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } } }
@media (prefers-reduced-motion: reduce) { .pr-plat__img { animation: none; } }

/* Amiga: bouncing raster (copper) bars, demo-disk style (v1.6) */
.pr-rasters { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; container-type: size; --bar: 22px; }
.pr-rasters span { position: absolute; left: 0; right: 0; top: 0; height: var(--bar); --c: #f33;
	background: linear-gradient(180deg, color-mix(in srgb, var(--c) 25%, #000) 0%, color-mix(in srgb, var(--c) 70%, #000) 18%, var(--c) 36%, color-mix(in srgb, var(--c) 35%, #fff) 50%, var(--c) 64%, color-mix(in srgb, var(--c) 70%, #000) 82%, color-mix(in srgb, var(--c) 25%, #000) 100%);
	animation: pr-raster 2.6s infinite; will-change: transform; }
.pr-rasters span:nth-child(1) { --c: #ff2a2a; animation-delay: 0s; }
.pr-rasters span:nth-child(2) { --c: #ff8a00; animation-delay: -.16s; }
.pr-rasters span:nth-child(3) { --c: #ffe100; animation-delay: -.32s; }
.pr-rasters span:nth-child(4) { --c: #29e04a; animation-delay: -.48s; }
.pr-rasters span:nth-child(5) { --c: #00d8ff; animation-delay: -.64s; }
.pr-rasters span:nth-child(6) { --c: #3a5bff; animation-delay: -.80s; }
.pr-rasters span:nth-child(7) { --c: #d23cff; animation-delay: -.96s; }
@keyframes pr-raster {
	0%   { transform: translateY(-100%); animation-timing-function: cubic-bezier(.45, 0, .9, .45); }
	50%  { transform: translateY(calc(100cqh - var(--bar))); animation-timing-function: cubic-bezier(.1, .55, .55, 1); }
	100% { transform: translateY(-100%); }
}
@media (max-width: 640px) { .pr-rasters { --bar: 14px; } }
@media (prefers-reduced-motion: reduce) {
	.pr-rasters span { animation: none; }
	.pr-rasters span:nth-child(n) { transform: translateY(calc((100cqh - var(--bar)) * .12)); }
	.pr-rasters span:nth-child(2) { transform: translateY(calc((100cqh - var(--bar)) * .25)); }
	.pr-rasters span:nth-child(3) { transform: translateY(calc((100cqh - var(--bar)) * .38)); }
	.pr-rasters span:nth-child(4) { transform: translateY(calc((100cqh - var(--bar)) * .5)); }
	.pr-rasters span:nth-child(5) { transform: translateY(calc((100cqh - var(--bar)) * .62)); }
	.pr-rasters span:nth-child(6) { transform: translateY(calc((100cqh - var(--bar)) * .75)); }
	.pr-rasters span:nth-child(7) { transform: translateY(calc((100cqh - var(--bar)) * .88)); }
}

/* C64: tape-loading border stripes (v1.7) — canvas painted by pixelretro.js */
.pr-c64load { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; image-rendering: pixelated; pointer-events: none; }
.pr-plat--c64 .pr-plat__crt { position: relative; box-shadow: inset 0 0 0 3px #352879, 0 0 0 4px #352879; }

/* ==================================================================
 * Checkout dispatch banner (v1.8)
 * ================================================================== */
.pr-dispatch { position: relative; overflow: hidden; background: linear-gradient(180deg, #120f16 0%, #1c1821 100%); border-bottom: 4px solid var(--pr-cream); min-height: 230px; }
.pr-dispatch__sky { position: absolute; left: 0; right: 0; bottom: 40px; width: 100%; height: 120px; display: block; opacity: .9; }
.pr-dispatch__road { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: #2f2b33; border-top: 4px solid #4a4450; }
.pr-dispatch__road::after { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 4px; background: repeating-linear-gradient(90deg, var(--pr-cream) 0 24px, transparent 24px 52px); opacity: .7; }
.pr-dispatch__in { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; min-height: 230px; box-sizing: border-box; padding-top: 1.5rem; padding-bottom: 30px; }
.pr-dispatch__txt { position: relative; z-index: 3; align-self: center; max-width: 560px; padding-bottom: 1.25rem; background: rgba(18, 15, 22, .82); padding: 1rem 1.25rem; border: 3px solid var(--pr-cream); box-shadow: 6px 6px 0 var(--pr-red); }
.pr-dispatch p { margin: 0; }
.pr-dispatch__kicker { display: flex; align-items: center; gap: .5rem; font-family: var(--pr-mono); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--pr-amber); }
.pr-dispatch__led { width: 10px; height: 10px; background: #29e04a; box-shadow: 0 0 8px #29e04a; animation: pr-blink 1.2s steps(1) infinite; }
.pr-dispatch__title { margin-top: .4rem !important; font-family: var(--pr-pixel); font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.05; text-transform: uppercase; color: var(--pr-cream); }
.pr-dispatch__line { margin-top: .6rem !important; font-size: .9375rem; line-height: 1.5; color: var(--pr-muted); }
.pr-dispatch__stage { position: relative; flex: 0 0 auto; width: 140px; height: 184px; margin-right: clamp(0px, 6vw, 80px); }

.pr-courier { position: absolute; inset: 0; animation: pr-rev 6s ease-in-out infinite; transform-origin: 30% 95%; }
.pr-courier__img { display: block; width: 140px; height: 184px; image-rendering: pixelated; animation: pr-idle .16s steps(2) infinite; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .45)); }
.pr-courier__puff { position: absolute; left: 6px; bottom: 16px; width: 10px; height: 10px; background: #cfc6d6; opacity: 0; animation: pr-puff 1.5s linear infinite; }
.pr-courier__puff:nth-child(2) { animation-delay: .5s; }
.pr-courier__puff:nth-child(3) { animation-delay: 1s; }
.pr-courier__lines { position: absolute; right: 100%; bottom: 36px; width: 0; height: 40px; opacity: 0; background: repeating-linear-gradient(180deg, var(--pr-cream) 0 3px, transparent 3px 12px); }
@keyframes pr-idle { 50% { transform: translateY(-2px); } }
@keyframes pr-puff { 0% { opacity: .8; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(-46px, -14px) scale(2.4); } }
@keyframes pr-rev { 0%, 82%, 100% { transform: rotate(0); } 86% { transform: rotate(-3deg) translateX(-3px); } 90% { transform: rotate(0) translateX(2px); } 94% { transform: rotate(-1.5deg); } }

/* Place order pressed: he zooms off to the right */
.pr-dispatch.is-leaving .pr-courier { animation: pr-zoom 1.1s cubic-bezier(.55, 0, .85, .35) forwards; }
.pr-dispatch.is-leaving .pr-courier__puff { animation-duration: .6s; }
.pr-dispatch.is-leaving .pr-courier__lines { opacity: .7; width: 60px; transition: width .3s, opacity .3s; }
@keyframes pr-zoom { 0% { transform: rotate(-4deg) translateX(-6px); } 20% { transform: rotate(-4deg) translateX(-10px); } 100% { transform: rotate(0) translateX(120vw); } }

/* Order received: he rides across the street on a loop */
.pr-dispatch.is-done .pr-dispatch__stage { z-index: 2; position: absolute; left: 0; right: 0; bottom: 30px; width: auto; margin: 0; height: 184px; pointer-events: none; }
.pr-dispatch.is-done .pr-courier { width: 140px; animation: pr-ride 7s linear infinite; }
.pr-dispatch.is-done .pr-courier__lines { opacity: .6; width: 50px; }
@keyframes pr-ride { 0% { transform: translateX(-180px); } 100% { transform: translateX(calc(100vw + 40px)); } }

@media (max-width: 640px) {
	.pr-dispatch, .pr-dispatch__in { min-height: 200px; }
	.pr-dispatch__in { flex-direction: column; align-items: stretch; }
	.pr-dispatch__stage { width: 105px; height: 138px; align-self: flex-end; margin-right: 1rem; margin-top: -1rem; }
	.pr-courier__img { width: 105px; height: 138px; }
}
@media (prefers-reduced-motion: reduce) {
	.pr-courier, .pr-courier__img, .pr-courier__puff, .pr-dispatch__led { animation: none !important; }
	.pr-dispatch.is-done .pr-courier { transform: translateX(60vw); }
}

/* ==================================================================
 * Home "Select your system" cards: mini platform banners (v1.9)
 * ================================================================== */
.pr-system--amiga .pr-system__media,
.pr-system--c64 .pr-system__media,
.pr-system--zx .pr-system__media { display: flex; align-items: center; justify-content: center; isolation: isolate; }
.pr-system--amiga .pr-system__media { background: #0055aa; }
.pr-system--amiga .pr-system__media::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 47px, rgba(255,255,255,.07) 47px 48px); }
.pr-system--c64 .pr-system__media { background: #7869c4; }
.pr-system--zx .pr-system__media { background: repeating-linear-gradient(180deg, #00cdcd 0 7px, #cd0000 7px 15px); animation: pr-zx-load 1.6s steps(8) infinite; }
.pr-system__screen { position: absolute; inset: 16px; z-index: 1; pointer-events: none; }
.pr-system--c64 .pr-system__screen { background: #40318d; box-shadow: inset 0 0 0 3px #352879; }
.pr-system--zx .pr-system__screen { background: #000; }
.pr-rasters--mini { --bar: 13px; }
.pr-system .pr-system__media img.pr-system__art { position: relative; z-index: 2; width: 74%; height: auto; object-fit: contain; image-rendering: pixelated; image-rendering: crisp-edges; animation: pr-float 4.2s ease-in-out infinite; will-change: transform; }
.pr-system--amiga .pr-system__art { filter: drop-shadow(5px 5px 0 rgba(0, 0, 0, .55)); }
.pr-system--c64 .pr-system__art { filter: drop-shadow(5px 5px 0 #261d63); animation-delay: -1.4s !important; }
.pr-system--zx .pr-system__art { filter: drop-shadow(5px 5px 0 #cd0000); animation-delay: -2.8s !important; }
.pr-system__tag { z-index: 3; }
.pr-system:hover .pr-system__art { animation-duration: 1.6s; }
@media (prefers-reduced-motion: reduce) {
	.pr-system .pr-system__media img.pr-system__art, .pr-system--zx .pr-system__media { animation: none; }
}

/* ==================================================================
 * Home "How to play": parallax pixel cityscape (v2.0) — layers painted by pixelretro.js
 * ================================================================== */
.pr-steps-band.has-parallax {
	position: relative; overflow: hidden; isolation: isolate;
	background: linear-gradient(180deg, #0b0918 0 30%, #100c22 30% 50%, #161030 50% 70%, #1d1338 70% 100%);
}
.pr-px--glow { background: linear-gradient(180deg,
	transparent 0 8%, rgba(42,23,69,.7) 8% 20%, #3d1a52 20% 32%, #5a1d5a 32% 44%, #7c2358 44% 56%,
	#a02c4c 56% 67%, #c63f3c 67% 78%, #e2602f 78% 89%, #f08a2a 89% 100%); }
.pr-steps-band.has-parallax > .pr-wrap { position: relative; z-index: 2; padding-bottom: clamp(10rem, 19vw, 15rem); }
.pr-steps-band.has-parallax h2 { text-shadow: 4px 4px 0 #000; }
.pr-parallax { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.pr-px { position: absolute; left: 0; right: 0; background-repeat: repeat-x; background-position: 0 100%; image-rendering: pixelated; image-rendering: crisp-edges; }
.pr-px--sun { left: auto; right: 14%; background-repeat: no-repeat; background-size: 100% 100%; }
.pr-px--stars { opacity: .9; }
.pr-steps-band.has-parallax .pr-step {
	background: rgba(12, 10, 15, .86); border: 3px solid var(--pr-cream); box-shadow: 8px 8px 0 var(--pr-red);
	padding: 1.4rem 1.5rem 1.6rem;
}
@media (max-width: 640px) { .pr-px--sun { right: 6%; } }

/* ==================================================================
 * PixelRetro Amp — Winamp-style mini player (v2.1)
 * ================================================================== */
.pr-amp { position: fixed; left: 16px; bottom: 16px; z-index: 90; width: 276px; box-sizing: border-box;
	background: linear-gradient(180deg, #3b3a4a, #2a2935); border: 2px solid #000; box-shadow: inset 1px 1px 0 #6d6b80, inset -1px -1px 0 #17161d, 6px 6px 0 rgba(0,0,0,.55);
	font-family: var(--pr-mono); color: #cfcfe0; user-select: none; }
.pr-amp[hidden] { display: none; }
.pr-amp button { font: inherit; cursor: pointer; }
.pr-amp__bar { display: flex; align-items: center; gap: 6px; height: 18px; padding: 0 3px 0 6px; background: linear-gradient(180deg, #23222c, #15141a); border-bottom: 1px solid #000; }
.pr-amp__grip { flex: 1 1 auto; height: 6px; background: repeating-linear-gradient(180deg, #ec2024 0 1px, transparent 1px 3px); opacity: .8; }
.pr-amp__name { flex: 0 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 190px;
	font-family: var(--pr-pixel); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #f4ecd8; }
.pr-amp__min { flex: none; width: 14px; height: 13px; padding: 0; display: inline-flex; align-items: center; justify-content: center; color: #000; background: #c9c7d6;
	border: 1px solid #000; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #77758a; }
.pr-amp__body { padding: 7px 8px 8px; display: flex; flex-direction: column; gap: 6px; }
.pr-amp.is-min .pr-amp__body { display: none; }
.pr-amp.is-min { width: 230px; }

.pr-amp__lcd { background: #000; border: 1px solid #000; box-shadow: inset 1px 1px 0 #111, 0 0 0 1px #55536a; padding: 5px 6px 4px; display: flex; flex-direction: column; gap: 3px; }
.pr-amp__row { display: flex; align-items: center; gap: 8px; }
.pr-amp__state { color: #2be03a; display: inline-flex; width: 10px; }
.pr-amp__state svg { width: 9px; height: 9px; }
.pr-amp__time { font-family: var(--pr-pixel); font-size: 20px; line-height: 1; color: #2be03a; text-shadow: 0 0 6px rgba(43,224,58,.45); letter-spacing: .04em; min-width: 66px; }
.pr-amp[data-state="pause"] .pr-amp__time { animation: pr-blink 1s steps(1) infinite; }
.pr-amp__viz { margin-left: auto; width: 76px; height: 32px; image-rendering: pixelated; image-rendering: crisp-edges; background:
	repeating-linear-gradient(180deg, transparent 0 1px, #0a1a0a 1px 2px); }
.pr-amp__marquee { overflow: hidden; white-space: nowrap; height: 18px; border-top: 1px dotted #133a17; padding-top: 2px; box-sizing: content-box; flex: none; line-height: 18px; }
.pr-amp__scroll { display: inline-block; vertical-align: top; font-family: var(--pr-pixel); font-size: 11px; line-height: 18px; color: #2be03a; text-transform: uppercase; letter-spacing: .05em;
	animation: pr-amp-scroll 12s steps(240) infinite; will-change: transform; }
.pr-amp[data-state="stop"] .pr-amp__scroll, .pr-amp.is-still .pr-amp__scroll { animation-play-state: paused; }
@keyframes pr-amp-scroll { to { transform: translateX(-50%); } }
.pr-amp__info { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: .1em; color: #1f9a2a; }

.pr-amp__seek, .pr-amp__vol { -webkit-appearance: none; appearance: none; background: transparent; margin: 0; cursor: pointer; }
.pr-amp__seek { width: 100%; height: 10px; }
.pr-amp__seek::-webkit-slider-runnable-track { height: 6px; background: #15141a; border: 1px solid #000; box-shadow: 0 1px 0 #55536a; }
.pr-amp__seek::-moz-range-track { height: 6px; background: #15141a; border: 1px solid #000; }
.pr-amp__seek::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 10px; margin-top: -3px; background: #c9c7d6; border: 1px solid #000; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #77758a; border-radius: 0; }
.pr-amp__seek::-moz-range-thumb { width: 18px; height: 8px; background: #c9c7d6; border: 1px solid #000; border-radius: 0; }
.pr-amp__ctrls { display: flex; align-items: center; gap: 2px; }
.pr-amp__ctrls button { width: 30px; height: 22px; padding: 0; display: inline-flex; align-items: center; justify-content: center; color: #23222c;
	background: linear-gradient(180deg, #dcdae8, #a9a7bb); border: 1px solid #000; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #6d6b80; border-radius: 0; }
.pr-amp__ctrls button svg { width: 11px; height: 11px; }
.pr-amp__ctrls button:hover { color: #ec2024; }
.pr-amp__ctrls button:active { box-shadow: inset 1px 1px 0 #6d6b80, inset -1px -1px 0 #fff; background: #a9a7bb; }
.pr-amp[data-state="play"] [data-a="play"], .pr-amp[data-state="pause"] [data-a="pause"] { color: #ec2024; }
.pr-amp.needs-tap [data-a="play"] { animation: pr-amp-tap 1s steps(1) infinite; }
@keyframes pr-amp-tap { 50% { background: #f5b82e; } }
.pr-amp__vol { flex: 1 1 auto; margin-left: 6px; height: 12px; min-width: 0; }
.pr-amp__vol::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, #1f9a2a, #f5d60a 70%, #ec2024); border: 1px solid #000; }
.pr-amp__vol::-moz-range-track { height: 4px; background: linear-gradient(90deg, #1f9a2a, #f5d60a 70%, #ec2024); border: 1px solid #000; }
.pr-amp__vol::-webkit-slider-thumb { -webkit-appearance: none; width: 8px; height: 12px; margin-top: -5px; background: #c9c7d6; border: 1px solid #000; border-radius: 0; }
.pr-amp__vol::-moz-range-thumb { width: 6px; height: 10px; background: #c9c7d6; border: 1px solid #000; border-radius: 0; }
.pr-amp__min svg { width: 8px; height: 8px; }
.pr-amp :focus-visible { outline: 2px solid var(--pr-amber); outline-offset: 1px; }
@media (max-width: 640px) { .pr-amp { left: 8px; bottom: 8px; } }
@media print { .pr-amp { display: none !important; } }

/* ==================================================================
 * Sections & navigation (v2.2): Retro Pixels mega menu, Pop Culture
 * (soon), phone menu, Arcade banner/tile, Retro Pixels hub, filters.
 * ================================================================== */
.pr-header__inner { position: relative; }
.pr-navwrap { display: flex; align-items: center; }
.pr-burger { display: none; }
.pr-nav { align-items: center; }
.pr-nav__toggle { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 0; margin: 0; border: 0; border-bottom: 3px solid transparent; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.pr-nav__toggle:hover, .pr-nav__toggle:focus-visible { color: var(--pr-amber); }
.pr-nav__caret { display: block; transition: transform .12s steps(2); }
.pr-nav__item.is-open .pr-nav__caret { transform: rotate(180deg); }
.pr-nav__item.is-current > .pr-nav__toggle, .pr-nav__item.is-open > .pr-nav__toggle { color: var(--pr-amber); border-bottom-color: var(--pr-red); }
.pr-nav__soon { display: inline-flex; align-items: center; gap: .5rem; padding-block: .6rem; color: var(--pr-faint); cursor: default; }
.pr-soon { font-size: .625rem; letter-spacing: .08em; border: 1px solid currentColor; padding: .2rem .35rem; line-height: 1; }
.pr-badge-new { display: inline-block; font-size: .625rem; letter-spacing: .08em; background: var(--pr-red); color: var(--pr-cream); padding: .25rem .4rem; line-height: 1; vertical-align: middle; }

.pr-mega { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 40; grid-template-columns: minmax(230px, 1.15fr) minmax(0, 1fr) minmax(0, 1fr) minmax(230px, 1fr); background: var(--pr-crt); border: 3px solid var(--pr-cream); border-top: 0; box-shadow: 10px 10px 0 var(--pr-red); text-transform: none; letter-spacing: normal; font-family: 'IBM Plex Sans', system-ui, sans-serif; font-size: 1rem; }
.pr-mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 30px; }
.pr-nav__item.is-open > .pr-mega { display: grid; }
@media (hover: hover) and (min-width: 783px) {
	.pr-nav__item--mega:hover > .pr-mega { display: grid; }
	.pr-nav__item--mega:hover > .pr-nav__toggle { color: var(--pr-amber); }
	.pr-nav__item--mega:hover .pr-nav__caret { transform: rotate(180deg); }
}
.pr-mega__intro { padding: 2rem 1.75rem; border-right: 1px dashed var(--pr-line); display: flex; flex-direction: column; gap: .85rem; }
.pr-mega__intro .pr-eyebrow { font-size: .75rem; letter-spacing: .2em; }
.pr-mega__title { margin: 0; font-family: var(--pr-pixel); font-weight: 700; font-size: 1.75rem; line-height: 1.1; text-transform: uppercase; color: var(--pr-cream); }
.pr-mega__lede { margin: 0; color: var(--pr-muted); font-size: .9375rem; line-height: 1.55; }
.pr-mega__all { margin-top: auto; padding-top: .5rem; font-family: var(--pr-pixel); font-size: .875rem; text-transform: uppercase; color: var(--pr-amber); text-decoration: none; }
.pr-mega__all:hover { color: var(--pr-cream); }
.pr-mega__col { padding: 2rem 1.75rem; display: flex; flex-direction: column; }
.pr-mega__head { margin: 0 0 .5rem; font-family: var(--pr-mono); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--pr-faint); }
.pr-nav .pr-mega__link { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; border: 0; border-bottom: 1px solid var(--pr-line); font-family: var(--pr-pixel); font-size: 1.0625rem; letter-spacing: .04em; text-transform: uppercase; color: var(--pr-cream); text-decoration: none; }
.pr-mega__link > span:first-child { display: inline-flex; align-items: center; gap: .6rem; }
.pr-nav .pr-mega__link:hover, .pr-nav .pr-mega__link[aria-current="page"] { color: var(--pr-amber); }
.pr-mega__count { font-family: var(--pr-mono); font-size: .8125rem; color: var(--pr-faint); }
.pr-nav .pr-mega__promo { margin: 1.25rem; padding: 1.5rem 1.25rem; background: #000; border: 3px solid var(--pr-amber); box-shadow: inset 0 0 0 4px #000, inset 0 0 0 6px var(--pr-red); display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; text-decoration: none; color: var(--pr-cream); }
.pr-mega__promo-top { display: flex; justify-content: space-between; font-family: var(--pr-mono); font-size: .6875rem; letter-spacing: .15em; text-transform: uppercase; color: var(--pr-faint); }
.pr-mega__promo-title { font-family: var(--pr-pixel); font-weight: 700; font-size: 1.375rem; line-height: 1.15; text-transform: uppercase; }
.pr-mega__promo-go { font-family: var(--pr-pixel); font-size: .875rem; letter-spacing: .15em; text-transform: uppercase; color: var(--pr-amber); }
.pr-nav .pr-mega__promo:hover .pr-mega__promo-title { color: var(--pr-amber); }
@media (max-width: 1100px) and (min-width: 783px) {
	.pr-mega { grid-template-columns: minmax(200px, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
	.pr-nav .pr-mega__promo { display: none; }
}

/* Phones: menu button + stacked list; Retro Pixels folds open */
@media (max-width: 782px) {
	.pr-header__inner { flex-wrap: nowrap; gap: .6rem; }
	.pr-logo-link { margin-right: auto; width: 160px; }
	.pr-header__tools { order: 2; gap: .5rem; }
	.pr-navwrap { order: 3; }
	.pr-burger { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; border: 2px solid var(--pr-cream); background: transparent; color: var(--pr-cream); cursor: pointer; box-sizing: border-box; }
	.pr-burger .pr-burger__close, .pr-burger[aria-expanded="true"] .pr-burger__open { display: none; }
	.pr-burger[aria-expanded="true"] .pr-burger__close { display: flex; }
	.pr-burger__open, .pr-burger__close { display: flex; }
	.pr-burger[aria-expanded="true"] { background: var(--pr-cream); color: var(--pr-ink); }
	.pr-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 40; order: initial; width: auto; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; background: var(--pr-crt); border-bottom: 4px solid var(--pr-cream); box-shadow: 0 10px 0 rgba(0, 0, 0, .45); max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); overflow-y: auto; }
	.pr-nav.is-open { display: flex; }
	.pr-nav > a, .pr-nav__toggle, .pr-nav__soon { display: flex; width: 100%; box-sizing: border-box; min-height: 56px; align-items: center; justify-content: space-between; padding: 0 1.25rem; border: 0; border-top: 1px solid var(--pr-line); font-size: 1.0625rem; }
	.pr-nav > a[aria-current="page"] { color: var(--pr-amber); border-bottom: 0; }
	.pr-nav__item { width: 100%; }
	.pr-nav__item.is-current > .pr-nav__toggle, .pr-nav__item.is-open > .pr-nav__toggle { border-bottom: 0; }
	.pr-nav__soon { justify-content: flex-start; }
	.pr-mega { position: static; border: 0; box-shadow: none; grid-template-columns: 1fr; background: var(--pr-band); padding-bottom: .75rem; }
	.pr-mega::before { display: none; }
	.pr-mega__intro { border-right: 0; padding: 0 1.25rem .25rem; gap: .5rem; }
	.pr-mega__intro .pr-eyebrow, .pr-mega__title { display: none; }
	.pr-mega__col { padding: .75rem 1.25rem 0; }
	.pr-nav .pr-mega__link { min-height: 48px; padding: 0; font-size: .9375rem; }
	.pr-mega__all { order: 9; }
	.pr-nav .pr-mega__promo { display: none; }
}
@media (max-width: 380px) { .pr-logo-link { width: 128px; } .pr-cart > span:not(.pr-cart-count) { display: none; } }

/* --- Arcade banner: neon-striped marquee, pixel cabinet --- */
.pr-plat--arcade { background: #000; color: var(--pr-cream); }
.pr-plat--arcade::before, .pr-plat--arcade::after { content: ""; position: absolute; left: 0; right: 0; height: 8px; z-index: 1; background: repeating-linear-gradient(90deg, var(--pr-red) 0 24px, var(--pr-amber) 24px 48px); }
.pr-plat--arcade::before { top: 0; }
.pr-plat--arcade::after { bottom: 0; background: repeating-linear-gradient(90deg, var(--pr-amber) 0 24px, var(--pr-red) 24px 48px); }
.pr-plat--arcade .pr-plat__in { padding-block: 2.25rem; }
.pr-plat__marquee { flex: 1 1 auto; max-width: 760px; background: var(--pr-crt); border: 3px solid var(--pr-amber); box-shadow: 0 0 0 4px #000, 0 0 0 7px var(--pr-red), 0 0 28px rgba(245, 184, 46, .3); padding: 1.1rem 1.5rem 1.35rem; }
.pr-plat__score { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; font-family: var(--pr-mono); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--pr-faint); margin-bottom: .75rem !important; }
.pr-plat--arcade .pr-plat__name { letter-spacing: .08em; text-shadow: 4px 4px 0 var(--pr-red); }
.pr-plat--arcade .pr-plat__meta { color: var(--pr-amber); }
.pr-plat__cab { display: block; width: 100%; height: auto; filter: drop-shadow(6px 6px 0 var(--pr-red)); animation: pr-float 4.2s ease-in-out infinite; }
@media (max-width: 640px) { .pr-plat__score span:nth-child(2) { display: none; } .pr-plat__marquee { padding: .9rem 1rem 1rem; } }
@media (prefers-reduced-motion: reduce) { .pr-plat__cab { animation: none; } }
.pr-sys-arcade-games .pr-main .woocommerce-breadcrumb a, .pr-sys-arcade-games .pr-main .wc-block-breadcrumbs a { color: var(--pr-amber); }

/* Arcade tile in the system grid */
.pr-system--arcade .pr-system__media { display: flex; align-items: center; justify-content: center; isolation: isolate; background: #000; }
.pr-system--arcade .pr-system__media::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: repeating-linear-gradient(90deg, var(--pr-red) 0 24px, var(--pr-amber) 24px 48px) top / 100% 10px no-repeat, repeating-linear-gradient(90deg, var(--pr-amber) 0 24px, var(--pr-red) 24px 48px) bottom / 100% 10px no-repeat; }
/* Three bobbing cabinets (v2.2.3) */
.pr-cabs { display: block; position: relative; aspect-ratio: 482 / 320; height: auto; animation: none !important; filter: none !important; }
.pr-system__media .pr-cabs { position: relative; z-index: 2; width: 74%; }
.pr-cabs .pr-cabs__cab { position: absolute; top: 7.2%; width: 28.01%; height: auto; object-fit: fill; image-rendering: pixelated; image-rendering: crisp-edges; filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, .6)); animation: pr-bob 2.4s ease-in-out infinite; will-change: transform; }
.pr-cabs__cab--red { left: 12.66%; z-index: 1; }
.pr-cabs__cab--green { left: 35.68%; z-index: 2; animation-delay: -.8s !important; }
.pr-cabs__cab--blue { left: 59.34%; z-index: 3; animation-delay: -1.6s !important; }
@keyframes pr-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5%); } }
.pr-system--arcade:hover .pr-cabs__cab { animation-duration: 1.1s; }
@media (prefers-reduced-motion: reduce) { .pr-cabs .pr-cabs__cab { animation: none; } }
.pr-system:hover .pr-system--arcade .pr-system__art, .pr-system--arcade:hover .pr-system__art { animation-duration: 1.6s; }
@media (prefers-reduced-motion: reduce) { .pr-system--arcade .pr-system__art { animation: none; } }
.pr-systems { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }

/* Retro Pixels hub */
.pr-archive-intro__lede { margin: .25rem 0 0; max-width: 42rem; color: var(--pr-muted); font-size: 1.0625rem; line-height: 1.6; }
.pr-hub-systems { padding-block: 1.5rem 1rem; }

/* Genre & era filters */
.pr-filters { display: flex; flex-direction: column; gap: .75rem; }
.pr-filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.pr-filters__label { min-width: 4.5rem; font-family: var(--pr-mono); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--pr-faint); }
.pr-chip { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: 0 .85rem; border: 2px solid var(--pr-line); box-sizing: border-box; font-family: var(--pr-pixel); font-size: .8125rem; text-transform: uppercase; text-decoration: none; color: var(--pr-cream); }
.pr-chip:hover { border-color: var(--pr-cream); color: var(--pr-amber); }
.pr-chip[aria-current="true"] { background: var(--pr-cream); border-color: var(--pr-cream); color: var(--pr-ink); }
.pr-chip__n { font-family: var(--pr-mono); font-size: .6875rem; opacity: .8; }
.pr-system__name { font-size: clamp(1.125rem, 1.7vw, 1.5rem); }
.pr-system__body { padding: 1.2rem 1.25rem; }
.pr-system__go { width: 44px; height: 44px; }
@media (max-width: 782px) { .pr-logo-link { flex: 0 1 170px; min-width: 128px; } }
@media (max-width: 520px) { .pr-cart { padding: 0 .75rem; } .pr-cart > span:not(.pr-cart-count) { display: none; } }
/* Arcade attract mode (v2.3): canvas behind the banner, coin-op hint */
.pr-arcfx { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; image-rendering: pixelated; image-rendering: crisp-edges; pointer-events: none; }
.pr-plat--arcade { cursor: pointer; user-select: none; -webkit-user-select: none; }
.pr-plat--arcade.is-playing { cursor: crosshair; }
.pr-plat--arcade .pr-plat__marquee { position: relative; }
.pr-plat__hint { margin-top: .6rem !important; font-family: var(--pr-pixel); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pr-cream); }
.pr-plat__hint-coin { animation: pr-blink 1.1s steps(1) infinite; }
.pr-plat__hint-play { display: none; color: var(--pr-amber); }
.pr-plat--arcade.is-playing .pr-plat__hint-coin { display: none; }
.pr-plat--arcade.is-playing .pr-plat__hint-play { display: inline; }
@media (hover: none) { .pr-plat__hint-coin::before { content: "Tap to insert coin"; } .pr-plat__hint-coin { font-size: 0; } .pr-plat__hint-coin::before { font-size: .75rem; } .pr-plat__hint-play { font-size: 0; } .pr-plat--arcade.is-playing .pr-plat__hint-play::before { content: "Tap to steer & fire"; font-size: .75rem; } }
@media (prefers-reduced-motion: reduce) { .pr-plat__hint { display: none; } }
/* Arcade play mode (v2.4): the marquee box fades away while you play; hi-score flash */
.pr-plat--arcade .pr-plat__marquee { transition: background-color .45s ease, border-color .45s ease, box-shadow .45s ease; }
.pr-plat--arcade .pr-plat__name, .pr-plat--arcade .pr-plat__meta { transition: opacity .45s ease, visibility 0s; }
.pr-plat--arcade.is-playing .pr-plat__marquee { background-color: transparent; border-color: transparent; box-shadow: 0 0 0 4px transparent, 0 0 0 7px transparent, 0 0 28px transparent; }
.pr-plat--arcade.is-playing .pr-plat__name, .pr-plat--arcade.is-playing .pr-plat__meta { opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s .45s; }
.pr-plat--arcade.is-playing .pr-plat__score { color: var(--pr-cream); }
.pr-plat__hint-hi { display: none; color: var(--pr-red); animation: pr-blink .7s steps(1) infinite; }
.pr-plat--arcade.is-hiscore .pr-plat__hint-hi { display: inline; }
.pr-plat--arcade.is-hiscore .pr-plat__hint-coin, .pr-plat--arcade.is-hiscore .pr-plat__hint-play { display: none; }
.pr-plat--arcade.is-hiscore .pr-plat__hi { color: var(--pr-amber); }
@media (prefers-reduced-motion: reduce) { .pr-plat--arcade .pr-plat__marquee, .pr-plat--arcade .pr-plat__name, .pr-plat--arcade .pr-plat__meta { transition: none; } }
/* Arcade lives (v2.5): three pixel hearts instead of credits; game over */
.pr-plat__lives { display: inline-flex; gap: .35rem; align-items: center; }
.pr-plat__life { width: 18px; height: auto; display: block; transition: opacity .25s steps(2), filter .25s steps(2); }
.pr-plat__life.is-lost { opacity: .25; filter: grayscale(1); }
.pr-plat__hint-over { display: none; color: var(--pr-red); }
.pr-plat--arcade.is-over .pr-plat__hint-over { display: inline; animation: pr-blink .8s steps(1) infinite; }
.pr-plat--arcade.is-over .pr-plat__hint-play, .pr-plat--arcade.is-over .pr-plat__hint-hi, .pr-plat--arcade.is-over .pr-plat__hint-coin { display: none; }
@media (max-width: 640px) { .pr-plat__life { width: 14px; } }
/* Amiga: the PixelRetro heart bounces across the banner (v2.6) */
.pr-boing { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.pr-boing__heart, .pr-boing__shadow { position: absolute; left: 0; top: 0; width: clamp(40px, 4.6vw, 68px); will-change: transform; }
.pr-boing__heart { transform-origin: 50% 100%; visibility: hidden; }
.pr-boing.is-on .pr-boing__heart { visibility: visible; }
.pr-boing__svg { display: block; width: 100%; height: auto; filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, .45)); }
.pr-boing__shadow { height: 10px; border-radius: 50%; background: rgba(0, 0, 0, .38); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .pr-boing { display: none; } }
/* Heart glint (v2.6.2): a pixel sheen sweeps across as it turns face-on, plus a sparkle */
.pr-boing__shine { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, .9) 42% 49%, transparent 49% 53%, rgba(255, 255, 255, .55) 53% 56%, transparent 56% 100%) no-repeat; background-size: 300% 100%; background-position: 100% 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.pr-boing__spark { position: absolute; left: 12%; top: -6%; width: 30%; height: auto; opacity: 0; transform: scale(.2); image-rendering: pixelated; }
/* Amiga banner (v2.6.3): pixel red arrow pointer; click the heart to bounce it back */
.pr-plat--amiga, .pr-plat--amiga a { cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2222%22%20height%3D%2232%22%20viewBox%3D%220%200%2022%2032%22%20shape-rendering%3D%22crispEdges%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M0%200h2v2h-2zM0%202h2v2h-2zM2%202h2v2h-2zM0%204h2v2h-2zM4%204h2v2h-2zM0%206h2v2h-2zM6%206h2v2h-2zM0%208h2v2h-2zM8%208h2v2h-2zM0%2010h2v2h-2zM10%2010h2v2h-2zM0%2012h2v2h-2zM12%2012h2v2h-2zM0%2014h2v2h-2zM14%2014h2v2h-2zM0%2016h2v2h-2zM16%2016h2v2h-2zM0%2018h2v2h-2zM12%2018h2v2h-2zM14%2018h2v2h-2zM16%2018h2v2h-2zM18%2018h2v2h-2zM0%2020h2v2h-2zM6%2020h2v2h-2zM12%2020h2v2h-2zM0%2022h2v2h-2zM4%2022h2v2h-2zM8%2022h2v2h-2zM14%2022h2v2h-2zM0%2024h2v2h-2zM2%2024h2v2h-2zM8%2024h2v2h-2zM14%2024h2v2h-2zM0%2026h2v2h-2zM10%2026h2v2h-2zM16%2026h2v2h-2zM10%2028h2v2h-2zM16%2028h2v2h-2zM12%2030h2v2h-2zM14%2030h2v2h-2z%22/%3E%3Cpath%20fill%3D%22%23ec2024%22%20d%3D%22M2%204h2v2h-2zM2%206h2v2h-2zM4%206h2v2h-2zM2%208h2v2h-2zM4%208h2v2h-2zM6%208h2v2h-2zM2%2010h2v2h-2zM4%2010h2v2h-2zM6%2010h2v2h-2zM8%2010h2v2h-2zM2%2012h2v2h-2zM4%2012h2v2h-2zM6%2012h2v2h-2zM8%2012h2v2h-2zM10%2012h2v2h-2zM2%2014h2v2h-2zM4%2014h2v2h-2zM6%2014h2v2h-2zM8%2014h2v2h-2zM10%2014h2v2h-2zM12%2014h2v2h-2zM2%2016h2v2h-2zM4%2016h2v2h-2zM6%2016h2v2h-2zM8%2016h2v2h-2zM10%2016h2v2h-2zM12%2016h2v2h-2zM14%2016h2v2h-2zM2%2018h2v2h-2zM4%2018h2v2h-2zM6%2018h2v2h-2zM8%2018h2v2h-2zM10%2018h2v2h-2zM2%2020h2v2h-2zM4%2020h2v2h-2zM8%2020h2v2h-2zM10%2020h2v2h-2zM2%2022h2v2h-2zM10%2022h2v2h-2zM12%2022h2v2h-2zM10%2024h2v2h-2zM12%2024h2v2h-2zM12%2026h2v2h-2zM14%2026h2v2h-2zM12%2028h2v2h-2zM14%2028h2v2h-2z%22/%3E%3Cpath%20fill%3D%22%23ff7a7a%22%20d%3D%22M2%204h2v2H2zM2%206h2v2H2z%22/%3E%3C/svg%3E") 1 1, auto; }
/* Rounded product tiles (v2.6.4) */
.pr-card__media, .pr-collection .wc-block-components-product-image { border-radius: 14px; }
.pr-collection .wc-block-components-product-image img, .pr-collection .wc-block-components-product-image a, .pr-card__media img { border-radius: 11px; }
/* Filter rows (v2.7.3): wrapped chips line up under the first chip, not under the label */
.pr-filters__row { position: relative; padding-left: 5.5rem; }
.pr-filters__label { position: absolute; left: 0; top: 0; min-width: 0; line-height: 40px; }
@media (max-width: 560px) {
	.pr-filters__row { padding-left: 0; }
	.pr-filters__label { position: static; flex: 0 0 100%; line-height: 1.4; }
}

/* Product gallery (v2.7.4): framed stage + "film strip" of views with counter and step buttons */
.pr-product__gallery .woocommerce-product-gallery { border: 0; box-shadow: none; background: none; position: relative; }
.pr-product__gallery .flex-viewport,
.pr-product__gallery .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper { border: 4px solid var(--pr-cream); box-shadow: 10px 10px 0 var(--pr-red); border-radius: 14px; overflow: hidden; background: var(--pr-paper); }
.pr-product__gallery .woocommerce-product-gallery__trigger { top: 14px !important; right: 14px !important; border-radius: 8px !important; z-index: 9; }
.pr-strip { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.75rem 0 0.75rem; font-family: var(--pr-mono); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pr-faint); }
.pr-strip__count b { font-family: var(--pr-pixel); font-weight: 700; font-size: 1rem; letter-spacing: 0.05em; color: var(--pr-amber); }
.pr-strip__nav { display: flex; gap: 0.5rem; }
.pr-strip__btn { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 2px solid var(--pr-cream); border-radius: 8px; background: var(--pr-ink); color: var(--pr-cream); cursor: pointer; box-shadow: 3px 3px 0 var(--pr-shade); transition: transform .12s, box-shadow .12s, background .12s; }
.pr-strip__btn:hover { background: var(--pr-red); }
.pr-strip__btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--pr-shade); }
.pr-strip__btn svg { width: 12px; height: 12px; }
.pr-product__gallery .flex-control-thumbs { display: flex !important; gap: 0.75rem; margin: 0 !important; padding: 4px 8px 10px 2px !important; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--pr-line) transparent; }
.pr-product__gallery .flex-control-thumbs li { flex: 0 0 calc((100% - 4.5 * 0.75rem) / 5.5); width: auto !important; float: none !important; margin: 0 !important; list-style: none; scroll-snap-align: start; }
.pr-product__gallery .flex-control-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--pr-line); border-radius: 10px; background: var(--pr-paper); opacity: 0.55 !important; filter: saturate(0.6); cursor: pointer; transition: opacity .15s, filter .15s, transform .15s, border-color .15s, box-shadow .15s; }
.pr-product__gallery .flex-control-thumbs img:hover { opacity: 1 !important; filter: none; transform: translateY(-3px); border-color: var(--pr-cream); }
.pr-product__gallery .flex-control-thumbs img.flex-active { opacity: 1 !important; filter: none; border-color: var(--pr-amber); box-shadow: 4px 4px 0 var(--pr-red); transform: translateY(-3px); }
.pr-product__gallery .flex-control-thumbs.is-more-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.pr-product__gallery .flex-control-thumbs.is-more-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px); mask-image: linear-gradient(90deg, transparent, #000 56px); }
.pr-product__gallery .flex-control-thumbs.is-more-l.is-more-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
@media (max-width: 560px) { .pr-product__gallery .flex-control-thumbs li { flex-basis: calc((100% - 3.5 * 0.75rem) / 4.5); } }
