/* The hub pages, on top of /style.css (same colours and type). No inline styles anywhere: the site's CSP forbids them.
   One spacing scale and one type scale, used everywhere below. */
:root {
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 72px;
  --fs-xs: 12px; --fs-sm: 14px; --fs-md: 16px; --fs-lg: 18px; --fs-xl: 22px;
  --px-xs: 10px; --px-sm: 12px; --px-md: 14px; --px-lg: 20px; --px-xl: 28px;
  --hub-w: 1120px;
  --accent-soft: rgba(var(--accent-rgb), .55);
}
/* smooth scrolling only where a link jumps within a page (a game's Send button); elsewhere scripts and tests scroll instantly */
@media (prefers-reduced-motion: no-preference) { html:has(.gpage) { scroll-behavior: smooth; } }

.top, footer { max-width: var(--hub-w); }
.bd { max-width: var(--hub-w); margin: 0 auto; padding: 0 var(--sp-4) var(--sp-7); }
.bd h1 { font: var(--px-lg)/1.35 "Press Start 2P", monospace; margin: var(--sp-2) 0; overflow-wrap: anywhere; text-shadow: 3px 3px 0 var(--pixel-shadow); }
.bd h2 { font: var(--px-md)/1.5 "Press Start 2P", monospace; color: var(--accent-text); margin: 0 0 var(--sp-3); }
.bd h3 { font: 600 17px/1.4 Inter, sans-serif; margin: 0 0 6px; overflow-wrap: anywhere; }
.bd section { margin: var(--sp-6) 0; }
.bd p { margin: var(--sp-2) 0; }
.lede { color: var(--dim); font-size: var(--fs-lg); margin: 6px 0 var(--sp-4); overflow-wrap: anywhere; max-width: 62ch; }
.small { font-size: var(--fs-sm); color: var(--dim); }
.warn { color: var(--accent-text); }
.err { color: var(--err); }
.ok { color: var(--accent2-text); }
.prose { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 70ch; font-size: var(--fs-lg); line-height: 1.6; }
.more { margin-top: var(--sp-3); }
.fine { margin-top: var(--sp-6); }

body {
  position: relative; z-index: 0; min-height: 100vh; min-height: 100dvh;
  background: radial-gradient(1200px 600px at 50% -200px, var(--bg-glow) 0%, var(--bg) 60%) fixed, var(--bg);
}
/* the cartridge checkerboard covers the whole page (a layer the height of the body, behind the content), so a full-page
   capture and real scrolling both show it from the top to the footer with no seam */
body::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--bg-carts) 0 0 / 176px 176px repeat; }

/* the header: logo, the four links with their icons, and the account at the top right */
.top { flex-wrap: wrap; gap: var(--sp-3) var(--sp-4); }
.brandbox { order: 1; }
.topnav { order: 2; margin-left: auto; flex-wrap: wrap; gap: var(--sp-2); justify-content: flex-end; }
.acct { order: 3; display: flex; align-items: center; gap: var(--sp-2); }
.topnav a, .acct-in { display: inline-flex; align-items: center; gap: var(--sp-2); white-space: nowrap; transition: color .15s, border-color .15s, background-color .15s, transform .15s; }
.topnav a { padding: 9px 12px; }
.topnav a:hover, .acct-in:hover { transform: translateY(-1px); }
.acct-in { color: var(--ink); font: 10px/1.4 "Press Start 2P", monospace; padding: 9px 12px; border: 1px solid var(--accent-text); border-radius: 10px; background: rgba(var(--accent-rgb), .1); cursor: pointer; }
.acct-in:hover { color: var(--accent-text); background: rgba(var(--accent-rgb), .18); }
.acct-in:disabled { opacity: .5; cursor: progress; }
.acct-chip { display: inline-flex; align-items: center; gap: var(--sp-2); padding: 4px 14px 4px 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); text-decoration: none; font: 600 var(--fs-sm)/1 Inter, sans-serif; transition: border-color .15s, background-color .15s; }
.acct-chip:hover { border-color: var(--accent-text); }
.avatar-disc { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 800 15px/1 Inter, sans-serif; }
.acct-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-out { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--card); color: var(--dim); cursor: pointer; transition: color .15s, border-color .15s; }
.acct-out:hover { color: var(--accent-text); border-color: var(--accent-text); }

/* the Install button (the standout one) and the language menu, in the header */
.install-btn { order: 3; display: inline-flex; align-items: center; gap: var(--sp-2); padding: 9px 14px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font: 800 var(--fs-sm)/1.2 Inter, sans-serif; text-decoration: none; white-space: nowrap; box-shadow: 0 3px 0 var(--edge); transition: transform .12s, box-shadow .12s, background-color .15s; }
.install-btn:hover { background: var(--accent-hi); transform: translateY(-1px); }
.install-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--edge); }
.install-btn .ic { width: 18px; height: 18px; }
.acct { order: 4; }
.langbox { order: 5; display: flex; align-items: center; margin-left: auto; }
.top > .theme-toggle { order: 6; }
.top:not(:has(.langbox)) > .theme-toggle { margin-left: 0; }
.top { gap: var(--sp-3) var(--sp-2); }
.top .topnav { gap: 6px; }
.top .logo { font-size: 19px; }
.top .topnav a { font-size: 8.5px; padding: 9px 8px; gap: 5px; }
.top .topnav .ic { width: 14px; height: 14px; }
.top .acct-in { font-size: 8.5px; padding: 9px 8px; gap: 5px; }
.top .install-btn { padding: 8px 11px; font-size: 13px; }
.top .lang-switch summary { padding: 9px 9px; }
.top .acct-chip { padding-right: 10px; }

/* the home page: a short banner (what Shiny Relay is, the two install buttons), then the hub, then the rest of the landing */
.bd .home-banner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); margin: 0 0 var(--sp-3); padding: var(--sp-3) var(--sp-5); border: 1px solid var(--line); border-radius: 22px;
  background: radial-gradient(420px 200px at 0% 0%, rgba(var(--accent-rgb), .13), transparent 70%), linear-gradient(180deg, var(--panel-a), var(--panel-b)); box-shadow: var(--lift); }
.bd .home-banner h1 { font: 15px/1.6 "Press Start 2P", monospace; margin: 0 0 var(--sp-2); text-shadow: 2px 2px 0 var(--pixel-shadow); }
.home-banner .free { color: var(--accent-text); }
.home-banner .trust { margin: 0; font-size: var(--fs-sm); }
.banner-copy { min-width: 0; }
.banner-ctas { flex: none; margin: 0; display: flex; flex-direction: column; align-items: stretch; gap: var(--sp-2); }
.banner-ctas .btn { margin: 0; padding: 12px 20px; font-size: var(--fs-md); text-align: center; }
.home .coming .sub, .home .status .sub, .home .news .sub { color: var(--dim); max-width: 70ch; }
.home .glist { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.home .checks, .home .how ol, .home .plain { max-width: 820px; }
.home .ctas { margin-top: var(--sp-3); }
.home section { scroll-margin-top: var(--sp-4); }
.home .pair { display: grid; gap: var(--sp-2) var(--sp-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .home .pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .home .pair .glist { grid-template-columns: minmax(0, 1fr); } }
.home .pair .checks, .home .pair .how ol, .home .pair .plain { max-width: none; }
@media (min-width: 720px) { .home .hero-grid { min-height: 192px; } .home .hero-stage { width: 200px; } }

/* icons: the Shiny Gen app's own UI icons (/hub/icons/, copied from images/icons/), drawn as masks so they take the text colour */
.ic { flex: none; display: inline-block; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.ic-home { --ic: url(/hub/icons/home.svg); }
.ic-search { --ic: url(/hub/icons/search.svg); }
.ic-plus { --ic: url(/hub/icons/plus.svg); }
.ic-upload { --ic: url(/hub/icons/share_up.svg); }
.ic-send { --ic: url(/hub/icons/send_arrow_up.svg); }
.ic-plug { --ic: url(/hub/icons/cloud_download.svg); }
.ic-door { --ic: url(/hub/icons/door.svg); }
.ic-exit { --ic: url(/hub/icons/exit.svg); }
.ic-play { --ic: url(/hub/icons/play.svg); }
.ic-heart { --ic: url(/hub/icons/heart.svg); }
.on .ic-heart { --ic: url(/hub/icons/heart_full.svg); }
.ic-x { --ic: url(/hub/icons/x_mark.svg); }
.ic-check { --ic: url(/hub/icons/check.svg); }
.ic-all { --ic: url(/hub/icons/catalog_grid_shapes.svg); }
.ic-games { --ic: url(/hub/icons/controller.svg); }
.ic-apps { --ic: url(/hub/icons/ui_element.svg); }
.ic-friends { --ic: url(/hub/icons/multiplayer_people.svg); }
.ic-online { --ic: url(/hub/icons/planet_globe.svg); }
.ic-new { --ic: url(/hub/icons/star.svg); }
.ic-community { --ic: url(/hub/icons/multiplayer_people.svg); }
.btn .ic { width: 18px; height: 18px; margin: -3px 8px -3px -2px; vertical-align: middle; }

.panel { margin: 14px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.panel.notice { border-color: var(--accent-text); background: rgba(var(--accent-rgb), .08); }
.panel h3 { margin-bottom: 8px; }

.btn.small { color: var(--on-accent); }
.btn.ghost.small { color: var(--ink); }
.btn.danger.small { color: var(--err); }
.btn.small, button.small { font-size: 14px; padding: 10px 16px; margin-top: 0; }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); box-shadow: none; font-weight: 600; padding: 12px 20px; }
.btn.ghost.small { padding: 8px 14px; border-width: 1px; }
.btn.ghost:hover { border-color: var(--accent-text); color: var(--accent-text); }
.btn.danger { background: transparent; color: var(--err); border: 1px solid var(--err); box-shadow: none; font-weight: 600; padding: 8px 14px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.row .btn { margin-top: 0; }
.row .grow { flex: 1 1 240px; margin: 0; }
.row .grow + .btn { align-self: flex-end; margin-bottom: 4px; }

.field { display: block; margin: 12px 0; }
.field > span { display: block; font-weight: 600; margin-bottom: 4px; }
.field > small { display: block; margin-top: 4px; }
.bd input[type=text], .bd input[type=search], .bd textarea, .bd select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg2); color: var(--ink); font: inherit;
}
.bd input[type=file] { width: 100%; padding: 10px 0; color: var(--dim); font: inherit; }
.bd textarea { min-height: 96px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 4px; }
.check input { margin-top: 5px; accent-color: var(--accent); }


.btn { transition: transform .12s, box-shadow .12s, background-color .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--accent-hi); transform: translateY(-1px); }
.btn.cart:hover { background: var(--accent2-hi); }
.btn.ghost:hover { background: rgba(var(--accent-rgb), .08); transform: translateY(-1px); }
.btn:active, .btn.ghost:active { transform: translateY(2px); }
.btn.big { padding: 15px 26px; font-size: var(--fs-md); }
.btn.danger:hover { background: rgba(var(--err-rgb), .1); }
.btn:disabled, .btn:disabled:hover { opacity: .5; cursor: not-allowed; transform: none; }

/* ── the front page ─────────────────────────────────────────────────── */
.bd .intro { margin: 0 0 var(--sp-3); }
.intro h1 { margin: 0 0 var(--sp-1); font-size: 18px; }
.intro .lede { max-width: none; font-size: var(--fs-md); margin-bottom: 0; }
.eyebrow { font: var(--px-xs)/1.4 "Press Start 2P", monospace; color: var(--accent2-text); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 var(--sp-2); }

/* the featured panel: a short banner, the handheld rising out of its bottom edge */
.bd .featured-hero {
  position: relative; margin: 0 0 var(--sp-3); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  background:
    radial-gradient(460px 260px at 84% 40%, rgba(var(--accent2-rgb), .17), transparent 70%),
    radial-gradient(520px 300px at 4% 0%, rgba(var(--accent-rgb), .15), transparent 70%),
    linear-gradient(180deg, var(--panel-a), var(--panel-b));
  box-shadow: var(--lift);
}
.featured-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, var(--scan) 0 1px, transparent 1px 4px); }
.hero-grid { position: relative; min-height: 216px; display: flex; align-items: center; padding: var(--sp-4) 320px var(--sp-4) var(--sp-6); }
.hero-copy { min-width: 0; max-width: 560px; }
.hero-title { font: var(--px-lg)/1.3 "Press Start 2P", monospace !important; color: var(--ink) !important; margin: 0 0 var(--sp-2) !important; text-shadow: 3px 3px 0 var(--pixel-shadow); overflow-wrap: anywhere; }
.hero-pitch { font-size: var(--fs-md); color: var(--ink); margin: 0 0 var(--sp-3) !important; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.chips { list-style: none; margin: 0 0 var(--sp-4); padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chips li { padding: 4px 12px; border: 1px solid var(--chip-line); border-radius: 999px; background: var(--chip-bg); color: var(--dim); font-size: var(--fs-xs); line-height: 1.4; }
.hero-ctas { margin-top: 0; gap: var(--sp-3); }
.hero-ctas .btn { padding: 11px 20px; margin-top: 0; font-size: var(--fs-md); }
.hero-stage { position: absolute; right: 64px; top: var(--sp-4); bottom: 0; width: 224px; overflow: hidden; display: block; text-decoration: none; -webkit-tap-highlight-color: transparent; }

/* a Chromatic-style handheld drawn in CSS: bezel, screen with the game's title screen, d-pad, A/B, select/start */
.device {
  width: 100%; padding: 14px 14px 20px; border-radius: 20px 20px 64px 20px;
  background: linear-gradient(155deg, #4b427d 0%, #2f2851 42%, #211b3b 100%);
  box-shadow: 0 0 0 1px #5a4f96, inset 0 2px 0 rgba(255, 255, 255, .16), inset 0 -5px 0 rgba(0, 0, 0, .35);
  transition: transform .25s ease-out;
}
.hero-stage:hover .device, .hero-stage:focus-visible .device { transform: translateY(-4px); }
.bezel { padding: 14px 14px 18px; border-radius: 10px 10px 34px 10px; background: #0d0b17; box-shadow: inset 0 2px 6px #000, 0 0 0 1px rgba(255, 255, 255, .06); }
.lcd { position: relative; aspect-ratio: 160 / 144; overflow: hidden; border-radius: 3px; background: #06060a; box-shadow: 0 0 0 2px #000, 0 0 26px rgba(var(--accent2-rgb), .2); display: flex; align-items: center; justify-content: center; }
.lcd-img { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.lcd-img.broken { visibility: hidden; }
.lcd-letter { font: 40px "Press Start 2P", monospace; color: rgba(255, 255, 255, .5); }
.pad { position: relative; height: 104px; margin-top: var(--sp-3); }
.dpad { position: absolute; left: 6px; top: 16px; width: 62px; height: 62px; border-radius: 6px;
  background: linear-gradient(#0d0b17, #0d0b17) center / 100% 21px no-repeat, linear-gradient(#0d0b17, #0d0b17) center / 21px 100% no-repeat; filter: drop-shadow(0 2px 0 rgba(255, 255, 255, .12)); }
.ab { position: absolute; right: 4px; top: 10px; width: 86px; height: 62px; }
.ab i { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: #0d0b17; box-shadow: 0 2px 0 rgba(255, 255, 255, .12), inset 0 2px 0 rgba(255, 255, 255, .08); }
.ab i:nth-child(1) { left: 0; top: 26px; }
.ab i:nth-child(2) { right: 0; top: 0; }
.ss { position: absolute; left: 50%; bottom: 4px; display: flex; gap: var(--sp-3); transform: translateX(-50%); }
.ss i { width: 26px; height: 7px; border-radius: 4px; background: #0d0b17; transform: rotate(-20deg); }

/* the category chips: one tap filters the page in place */
.chips-row { display: flex; gap: var(--sp-2); overflow-x: auto; padding: var(--sp-1); margin: 0 calc(-1 * var(--sp-1)) var(--sp-1); scrollbar-width: none; }
.chips-row::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: var(--sp-2); padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font: 600 var(--fs-sm)/1.2 Inter, sans-serif; white-space: nowrap; cursor: pointer; transition: color .15s, border-color .15s, background-color .15s, transform .12s; }
.chip:hover { border-color: var(--accent2-text); transform: translateY(-1px); }
.chip:active { transform: translateY(1px); }
.chip[aria-pressed="true"] { background: var(--accent2); border-color: var(--accent2-text); color: var(--on-accent2); }
.chip .ic { width: 16px; height: 16px; }

/* shelves */
.shelf { margin: var(--sp-6) 0; }
.shelf:first-child { margin-top: var(--sp-4); }
.shelf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-3); }
.shelf-head h2 { margin-bottom: var(--sp-1); }
.shelf-head .small { margin: 0; }
.seeall { flex: none; color: var(--accent2-text); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; padding: var(--sp-1) 0; white-space: nowrap; }
.seeall::after { content: " \203A"; transition: margin .15s; }
.seeall:hover { text-decoration: underline; }
.seeall:hover::after { margin-left: 3px; }

.make { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4) var(--sp-5); margin-top: var(--sp-7) !important; padding: var(--sp-5) var(--sp-6); border-color: rgba(var(--accent2-rgb), .5);
  background: linear-gradient(120deg, rgba(var(--accent2-rgb), .12), transparent 60%), var(--card); }
.make > div:first-child { flex: 1 1 360px; }
.make h2 { margin-bottom: var(--sp-2); }
.make p { margin: 0; color: var(--dim); max-width: 60ch; }
.make .row { margin-top: 0; }

/* ── game cards: the cartridge fills the top of the card ───────────── */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); } }
.tile {
  position: relative; display: flex; border: 1px solid var(--line); border-radius: 18px; background: var(--card); overflow: hidden;
  transition: transform .18s ease-out, border-color .18s, box-shadow .18s;
}
.tile:hover { border-color: var(--accent-soft); transform: translateY(-3px); box-shadow: var(--lift); }
.tile:active { transform: translateY(-1px); }
.tile-link { display: flex; flex-direction: column; width: 100%; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.tile-link:focus-visible { outline: 3px solid var(--accent2-text); outline-offset: -3px; border-radius: 18px; }
.tile .tile-cover { position: relative; padding: 14px 20% 10px; background: radial-gradient(110% 80% at 50% 38%, var(--glow), transparent 72%), linear-gradient(180deg, var(--tile-a), var(--tile-b)); display: block; aspect-ratio: auto; overflow: visible; }
.tile-cover::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 7px; height: 9px; border-radius: 50%; background: var(--contact); filter: blur(5px); pointer-events: none; }
.tile-cover .hubcart.gbc-cart { position: relative; z-index: 1; width: 100%; height: auto; max-width: none; flex: none; cursor: inherit; container-type: inline-size; transition: opacity .18s linear, transform .2s ease-out; }
.tile-cover .hubcart.gbc-cart:hover { transform: none; }
.tile-cover .gbc-cart-shell { filter: drop-shadow(0 6px 8px var(--cart-drop)); }
.tile:hover .tile-cover .hubcart.gbc-cart { transform: translateY(-4px) scale(1.02); }
.tile:active .tile-cover .hubcart.gbc-cart { transform: translateY(-1px); }
/* the name printed on the cartridge's label band (decorative: the title below is the card's name) */
.cart-name {
  position: absolute; left: 11.3208%; top: 5.7377%; width: 75.4717%; height: 13.9344%; margin: 0 !important; padding: 0 4%;
  display: flex; align-items: center; justify-content: center; text-align: center; border-radius: 999px;
  background: rgba(12, 9, 22, .84); color: #fff; font: 8px/1.35 "Press Start 2P", monospace; font-size: max(6.5px, 4.5cqw); letter-spacing: 0;
  overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .6);
}
.cart-name span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.tile-body { display: flex; flex-direction: column; flex: 1; gap: 2px; padding: var(--sp-3) var(--sp-4) var(--sp-4); }
.tile-title { margin: 0 !important; font: 700 var(--fs-md)/1.3 Inter, sans-serif !important; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-sub { min-height: 1.4em; margin: 0 !important; color: var(--dim); font-size: var(--fs-sm); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-foot { margin-top: auto; padding-top: var(--sp-3); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); }
.badge-plat { padding: 2px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--dim); font: 700 11px/1.5 Inter, sans-serif; letter-spacing: .06em; }
.playpill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 11px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 800 13px/1.2 Inter, sans-serif; box-shadow: 0 3px 0 var(--edge); transition: background-color .15s, transform .12s; }
.playpill i { width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.tile:hover .playpill { background: var(--accent-hi); }
.tile:active .playpill { transform: translateY(2px); box-shadow: 0 1px 0 var(--edge); }

/* the heart: a round button over the cartridge's corner (outside the card's link) */
.heart { position: absolute; top: var(--sp-2); right: var(--sp-2); z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 1px solid var(--heart-line); border-radius: 50%; background: var(--heart-bg); color: var(--heart-ink); cursor: pointer; transition: transform .12s, color .15s, border-color .15s, background-color .15s; }
.heart .ic { width: 18px; height: 18px; }
.heart:hover { transform: scale(1.08); border-color: var(--pink); color: var(--pink); }
.heart:active { transform: scale(.94); }
.heart.on { color: var(--pink); border-color: var(--pink); background: rgba(var(--pink-rgb), .16); }
.heart:focus-visible, .heart-wide:focus-visible { outline: 3px solid var(--accent2-text); outline-offset: 2px; }
.heart-wide.on { color: var(--pink); border-color: var(--pink); }
.heart-wide.on:hover { color: var(--pink); border-color: var(--pink); }
.heart-wide { margin-top: 0; }

.toast { position: fixed; left: 50%; bottom: var(--sp-4); transform: translateX(-50%); z-index: 100; display: flex; align-items: center; gap: var(--sp-3); max-width: calc(100vw - 2 * var(--sp-4)); padding: var(--sp-3) var(--sp-4); border: 1px solid var(--accent-soft); border-radius: 14px; background: var(--toast-bg); color: var(--ink); box-shadow: var(--lift); font-size: var(--fs-sm); }
.toast .btn { margin: 0; }
.toast-x { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--dim); cursor: pointer; }
.toast-x:hover { color: var(--ink); }

/* loading: card-shaped placeholders, and a quiet shimmer where a cartridge's art is still on its way */
.sk-cart, .sk-line, .sk-pill, .sk-device, .tile-cover .hubcart.gbc-cart:not(.gbc-cart-ready) {
  background: linear-gradient(100deg, var(--shim-a) 30%, var(--shim-b) 50%, var(--shim-a) 70%) 0 0 / 220% 100%;
  animation: hub-shimmer 1.4s linear infinite;
}
.sk-cart, .tile-cover .hubcart.gbc-cart:not(.gbc-cart-ready) { aspect-ratio: 212 / 244; border-radius: 12px; opacity: 1 !important; }
.tile-cover .hubcart.gbc-cart:not(.gbc-cart-ready) > * { visibility: hidden; }
.sk-cart { width: 100%; }
.sk-line { height: 14px; border-radius: 7px; margin: 0 !important; }
.sk-line.short2 { width: 60%; }
.sk-pill { width: 80px; height: 32px; border-radius: 999px; margin-top: auto; }
.sk-wide { width: 240px; height: 44px; margin-top: var(--sp-4); border-radius: 12px; }
.sk-eyebrow { width: 90px; margin-bottom: var(--sp-3) !important; }
.sk-title { height: 26px; width: 60%; margin-bottom: var(--sp-3) !important; }
.sk-device { width: 100%; height: 100%; border-radius: 20px 20px 0 0; }
.tile.skeleton { pointer-events: none; }
.tile.skeleton .tile-body { gap: var(--sp-3); min-height: 84px; }
@keyframes hub-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) {
  .sk-cart, .sk-line, .sk-pill, .sk-device, .tile-cover .hubcart.gbc-cart:not(.gbc-cart-ready) { animation: none; }
  .tile, .tile:hover, .tile:active, .tile-cover .hubcart.gbc-cart, .tile:hover .tile-cover .hubcart.gbc-cart, .device, .hero-stage:hover .device, .btn, .btn:hover, .topnav a:hover, .acct-in:hover, .chip, .chip:hover, .heart, .heart:hover, .heart:active { transition: none; transform: none; }
}

/* empty states */
.empty { padding: var(--sp-4) 0; }
.emptybox { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); padding: var(--sp-7) var(--sp-4); text-align: center; border: 1px dashed var(--line); border-radius: 18px; background: var(--empty-bg); }
.emptybox p { margin: 0; color: var(--dim); max-width: 42ch; }
.emptybox .row { justify-content: center; }
.empty-cart { width: 44px; height: 50px; border-radius: 6px 6px 8px 8px; background: var(--line); box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .25); clip-path: polygon(0 0, 85% 0, 100% 10%, 100% 100%, 0 100%); margin-bottom: var(--sp-2); }

/* the plain cartridge cover used in lists on the developer and staff pages */
.cover { position: relative; aspect-ratio: 1 / 1; background: var(--bg2); overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 7%; box-sizing: border-box; }
.cover .hubcart.gbc-cart { height: 100%; width: auto; max-width: none; flex: none; cursor: inherit; }
.cover .hubcart.gbc-cart:hover { transform: none; }
.cover img.broken { visibility: hidden; }
.cover .nocover { position: absolute; left: 12.9717%; top: 28.2787%; width: 75.4717%; height: 59.0164%; display: flex; align-items: center; justify-content: center; font: 40px "Press Start 2P", monospace; color: var(--faint); }
.tile-cover .nocover { font-size: 12cqw; }
.tile-cover .hubcart .nocover { font-size: 28px; }

/* ── browse ─────────────────────────────────────────────────────────── */
.filters { display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; padding: var(--sp-4); }
.filters .field { margin: 0; min-width: 0; }
.filters .field > span { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.filters .grow { grid-column: 1 / -1; flex: none; }
.filters .check, .filters .activetag { grid-column: 1 / -1; margin: 0; }
.activetag { display: flex; align-items: center; gap: var(--sp-3); }
.bd select {
  appearance: none; -webkit-appearance: none; min-width: 0; text-overflow: ellipsis; padding-left: 12px; padding-right: 30px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 16px) 52%, calc(100% - 10px) 52%; background-size: 6px 6px; background-repeat: no-repeat;
}
.bd input[type=search] { appearance: none; -webkit-appearance: none; }
.bd input[type=text]:focus, .bd input[type=search]:focus, .bd textarea:focus, .bd select:focus { border-color: var(--accent2-text); outline: 2px solid rgba(var(--accent2-rgb), .35); outline-offset: 1px; }
#count { margin: var(--sp-4) 0 var(--sp-3); font-weight: 600; }
.pager { display: flex; align-items: center; justify-content: center; gap: var(--sp-3); margin: var(--sp-6) 0 var(--sp-2); }
.bd .lede + .filters { margin-top: var(--sp-4); }
@media (min-width: 720px) { .filters { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: var(--sp-5); gap: var(--sp-4); } }

/* ── the game page ──────────────────────────────────────────────────── */
.gpage { display: grid; gap: var(--sp-5); margin-top: var(--sp-3); grid-template-columns: minmax(0, 1fr); }
.stage { display: flex; align-items: center; justify-content: center; padding: var(--sp-6) 22% var(--sp-5); border: 1px solid var(--line); border-radius: 24px;
  background: radial-gradient(90% 60% at 50% 38%, var(--glow), transparent 72%), radial-gradient(70% 50% at 50% 100%, rgba(var(--accent2-rgb), .12), transparent 70%), linear-gradient(180deg, var(--stage-a), var(--stage-b)); box-shadow: var(--lift); }
.stage .cover { aspect-ratio: auto; background: none; padding: 0; overflow: visible; width: 100%; display: block; }
.stage .cover .hubcart.gbc-cart { container-type: inline-size; width: 100%; height: auto; max-width: none; filter: drop-shadow(0 14px 14px var(--cart-drop)); }
.stage .cover .nocover { font-size: 48px; }
.gallery .shots { list-style: none; padding: 0; margin: var(--sp-3) 0 0; display: flex; gap: var(--sp-2); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: var(--sp-2); }
.gallery .shots li { flex: none; scroll-snap-align: start; }
.shots li img.shot { display: block; height: 108px; width: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--bg2); image-rendering: pixelated; }
.shots.mine { flex-wrap: wrap; }
.shots.mine li { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.ginfo { min-width: 0; }
.ginfo h1 { font-size: var(--px-lg); margin: 0 0 var(--sp-3); }
.ginfo .lede { color: var(--ink); margin: 0 0 var(--sp-2); }
.ginfo .byline { display: block; margin: 0 0 var(--sp-5); color: var(--dim); font: inherit; }
.gcta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: 0 0 var(--sp-5); }
.gcta .btn { margin: 0; padding: 15px 24px; text-align: center; }
.meta { display: flex; flex-wrap: wrap; margin: 0 0 var(--sp-4); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); }
.meta > div { flex: 1 1 140px; padding: var(--sp-3) var(--sp-4); min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.meta dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin: 0 0 2px; }
.meta dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gtags { margin: 0 0 var(--sp-3); }
.gtags li { padding: 0; border: 0; }
.gtags a { display: inline-block; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-sm); color: var(--dim); text-decoration: none; transition: color .15s, border-color .15s; }
.gtags a:hover { color: var(--accent-text); border-color: var(--accent-text); }
.gsec { margin: var(--sp-6) 0; }
.playbox { padding: var(--sp-2); }
.playbox .small { margin: 6px var(--sp-2); }
.getgrid { display: grid; gap: var(--sp-4); }
.getgrid .panel { margin: 0; padding: var(--sp-5); }
.getgrid .panel h3 { font-size: var(--fs-lg); }
.steps { padding-left: 22px; margin: var(--sp-2) 0; }
.steps li { margin: var(--sp-1) 0; }
.report summary { cursor: pointer; font-weight: 600; }
.dlrow h3 { margin-bottom: 0; }

/* a developer's page */
.devhead { display: flex; align-items: center; gap: var(--sp-4); margin: var(--sp-3) 0 var(--sp-6); }
.avatar { flex: none; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: 16px; background: #2f2856 linear-gradient(155deg, #4b427d, #211b3b); box-shadow: 0 0 0 1px #5a4f96, inset 0 2px 0 rgba(255, 255, 255, .16); font: 24px "Press Start 2P", monospace; color: var(--accent); text-shadow: 2px 2px 0 #000; }
.devhead h1 { margin: 0; }
.devhead .lede { margin: var(--sp-1) 0 0; font-size: var(--fs-md); }

/* developer and review lists */
.mylist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mycard { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.mycard.status-held { border-color: var(--accent-text); }
.mycard.status-removed, .mycard.status-hidden { opacity: .8; }
.mycover .cover { border-radius: 10px; padding: 5%; }
.mycover .nocover { font-size: 18px; }
.mybody p { margin: 4px 0; overflow-wrap: anywhere; }
.mybody .row { margin-top: 8px; }
.mybody textarea { margin-top: 8px; }
.curcover { display: flex; align-items: flex-end; gap: 12px; margin: 10px 0; }
.curcover img.cv { width: 96px; height: 96px; object-fit: cover; border: 1px solid var(--line); border-radius: 10px; }


@media (min-width: 720px) {
  .gpage { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: var(--sp-7); align-items: start; }
  .ginfo h1 { font-size: var(--px-xl); }
  .getgrid { grid-template-columns: 1fr 1fr; align-items: start; }
  .mycard { grid-template-columns: 110px 1fr; }
}
@media (min-width: 720px) { .bd h1 { font-size: 26px; } .intro h1 { font-size: 18px; } }

@media (max-width: 1099px) {
  .bd .home-banner { flex-wrap: wrap; }
  .hero-grid { padding-right: 300px; }
  .hero-stage { right: 28px; width: 232px; }
}
@media (max-width: 719px) {
  .hero-grid { min-height: 0; display: block; padding: var(--sp-4); }
  .hero-stage { right: var(--sp-3); top: var(--sp-3); bottom: auto; height: 84px; width: 112px; }
  .device { padding: 7px 7px 10px; border-radius: 12px 12px 30px 12px; }
  .bezel { padding: 7px 7px 9px; border-radius: 7px 7px 18px 7px; }
  .hero-pitch, .chips { display: none; }
  .hero-copy { max-width: none; }
  .hero-copy .eyebrow, .hero-copy .hero-title { margin-right: 120px !important; }
  .hero-ctas { margin-top: 44px; flex-wrap: wrap; }
  .hero-ctas { gap: var(--sp-2); flex-wrap: wrap; }
  .hero-ctas .btn { padding: 10px 12px; font-size: 13px; white-space: nowrap; }
  .hero-ctas .btn .ic { width: 16px; height: 16px; margin-right: 6px; }
}
@media (max-width: 559px) {
  .bd .home-banner { padding: var(--sp-4); flex-direction: column; align-items: stretch; gap: var(--sp-3); }
  .bd .home-banner h1 { font-size: 11px; line-height: 1.75; }
  .home-banner .trust { font-size: 13px; }
  .top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-2) var(--sp-2); align-items: center; }
  .brandbox { grid-column: 1; grid-row: 1; }
  .langbox { grid-column: 2; grid-row: 1; margin: 0; }
  .top .install-btn { grid-column: 1; grid-row: 2; justify-content: center; padding: 9px 8px; font-size: 13px; }
  .acct { grid-column: 2; grid-row: 2; margin: 0; }
  .topnav { grid-column: 1 / -1; grid-row: 3; order: 0; }
  .top .topnav a, .top .acct-in { font-size: 9px; }
  .bd select { font-size: var(--fs-sm); }
  .bd { padding-left: var(--sp-4); padding-right: var(--sp-4); }
  .top { padding-bottom: var(--sp-2); }
  .topnav { order: 3; flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); margin-left: 0; }
  .topnav a { justify-content: center; padding: 8px 6px; font-size: 9px; gap: 6px; }
  .acct { order: 2; margin-left: auto; }
  .acct-name { max-width: 70px; }
  .intro .lede { display: none; }
  .bd .intro { margin-top: var(--sp-4); }
  .intro h1 { font-size: var(--px-md); }
  .hero-title { font-size: var(--px-md) !important; }
  .chips-row { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .shelf { margin: var(--sp-5) 0; }
  .shelf-head { flex-wrap: wrap; align-items: flex-start; gap: var(--sp-2); }
  .tile .tile-cover { padding: 12px 14% 10px; }
  .tile-body { padding: var(--sp-2) var(--sp-3) var(--sp-3); }
  .tile-title { font-size: 15px !important; }
  .tile-sub { font-size: 13px; }
  .playpill { padding: 5px 11px 5px 9px; }
  .heart { width: 34px; height: 34px; top: 6px; right: 6px; }
  .make { padding: var(--sp-4); }
  .stage { padding: var(--sp-5) 24% var(--sp-4); }
  .filters { padding: var(--sp-3); }
  .gcta .btn { width: 100%; text-align: center; }
}

/* My games: the review state beside a game's title, and the row of links under the page title */
.statuspill { display: inline-block; margin-left: var(--sp-2); padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--dim); font: 600 var(--fs-xs)/1.5 Inter, sans-serif; vertical-align: middle; }
.status-public .statuspill { color: var(--accent2-text); border-color: rgba(var(--accent2-rgb), .5); }
.status-held .statuspill, .status-draft .statuspill { color: var(--accent-text); border-color: var(--accent-soft); }
.mylinks { margin: var(--sp-3) 0 var(--sp-5); }

/* ── the landing sections on the home page, in the hub's own style: one spacing and type scale, cards like the hub's, ──
   numbered steps, a tidy status list, an accordion for the questions, icons on the buttons (CSS only, so the text stays as translated) */
.btn[class*=" i-"]::before { content: ""; display: inline-block; width: 18px; height: 18px; margin: -3px 8px -3px -2px; vertical-align: middle; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.i-plug { --ic: url(/hub/icons/cloud_download.svg); }
.i-upload { --ic: url(/hub/icons/share_up.svg); }
.i-games { --ic: url(/hub/icons/controller.svg); }
.i-new { --ic: url(/hub/icons/star.svg); }
.i-doc { --ic: url(/hub/icons/description.svg); }
.i-search { --ic: url(/hub/icons/search.svg); }
.i-plus { --ic: url(/hub/icons/plus.svg); }
.i-send { --ic: url(/hub/icons/send_arrow_up.svg); }
.home .btn { padding: 12px 20px; font-size: var(--fs-md); margin-top: 0; }
.home .ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: var(--sp-4) 0 0; }

.home > section, .home .pair > section { margin: var(--sp-7) 0; }
.home .pair { margin: var(--sp-7) 0; }
.home .pair > section { margin: 0; }
.home section > h2 { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.home section > h2::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--accent); box-shadow: 2px 2px 0 var(--pixel-shadow); }
.home section > .sub, .home section > .fine { color: var(--dim); font-size: var(--fs-md); max-width: 72ch; margin: 0 0 var(--sp-4); }
.home .panel.make > div > h2 { display: block; }
.home .panel.make > div > h2::before { display: none; }

/* the cards: What you get, Ways to play */
.home .glist { gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.home .glist li > div { height: 100%; display: flex; flex-direction: column; padding: var(--sp-5); border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, var(--card-a), var(--card)); box-shadow: none; transition: transform .18s ease-out, border-color .18s, box-shadow .18s; }
.home .glist li > div:hover { border-color: var(--accent-soft); transform: translateY(-2px); box-shadow: var(--lift); }
.home .glist .gt { display: block; color: var(--ink); font: 700 var(--fs-lg)/1.3 Inter, sans-serif; margin: 0 0 var(--sp-2); }
.home .glist .gt::before { content: ""; display: block; width: 28px; height: 28px; margin-bottom: var(--sp-3); background: var(--accent2-text); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.home .glist .gd { color: var(--dim); font-size: var(--fs-sm); line-height: 1.55; margin: 0; }
.home .glist .gd.need { margin: var(--sp-4) 0; padding: var(--sp-3) var(--sp-3); border-radius: 12px; background: var(--need-bg); font-size: 13px; }
.home .glist .gd.need b { color: var(--ink); }
.home .glist.get .btn { margin-top: auto; align-self: flex-start; padding: 10px 16px; font-size: var(--fs-sm); }
.home .glist.get li:nth-child(1) .gt { --ic: url(/hub/icons/multiplayer_people.svg); }
.home .glist.get li:nth-child(2) .gt { --ic: url(/hub/icons/controller.svg); }
.home .glist.get li:nth-child(3) .gt { --ic: url(/hub/icons/star.svg); }
#ways .glist li:nth-child(1) .gt { --ic: url(/hub/icons/link.svg); }
#ways .glist li:nth-child(2) .gt { --ic: url(/hub/icons/planet_globe.svg); }
#ways .glist li:nth-child(3) .gt { --ic: url(/hub/icons/ui_element.svg); }
#ways .fine { margin: var(--sp-4) 0 0; font-size: var(--fs-sm); }

/* how it works: numbered steps */
.home .how ol { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: var(--sp-3); max-width: none; }
.home .how li { counter-increment: step; position: relative; margin: 0; padding: var(--sp-4) var(--sp-4) var(--sp-4) 68px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: var(--dim); font-size: var(--fs-sm); line-height: 1.55; }
.home .how li b { color: var(--ink); }
.home .how li::before { content: counter(step); position: absolute; left: var(--sp-4); top: var(--sp-4); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 12px/1 "Press Start 2P", monospace; box-shadow: 0 2px 0 var(--edge); }

/* tested on real Chromatics: one tidy status list */
.home .checks { display: block; max-width: none; border: 1px solid var(--line); border-radius: 18px; background: var(--card); overflow: hidden; padding: 0; }
.home .checks li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-3); align-items: start; padding: var(--sp-3) var(--sp-4); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; font-size: var(--fs-sm); line-height: 1.55; }
.home .checks li:last-child { border-bottom: 0; }
.home .checks .mark { display: inline-flex; align-items: center; gap: 6px; min-width: 0; margin-top: 1px; padding: 3px 10px 3px 8px; border-radius: 999px; font: 700 11px/1.5 Inter, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.home .checks .mark::before { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: url(/hub/icons/check.svg) center / contain no-repeat; mask: url(/hub/icons/check.svg) center / contain no-repeat; }
.home .checks span:last-child { color: var(--dim); }
.home .checks span:last-child b { color: var(--ink); }

/* the cartridge page: its facts as small cards */
.home .plain { list-style: none; padding: 0; margin: 0 0 var(--sp-4); max-width: none; display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.home .plain li { margin: 0; padding: var(--sp-3) var(--sp-4); border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--dim); font-size: var(--fs-sm); line-height: 1.55; }
.home .plain li b { color: var(--ink); }

/* get updates */
.home section.news { padding: var(--sp-5) var(--sp-6); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(120deg, rgba(var(--accent-rgb), .1), transparent 60%), var(--card); }
.home .news .news-form { gap: var(--sp-3); }
.home .news input[type=email] { flex: 1 1 260px; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg2); color: var(--ink); font: inherit; }
.home .news input[type=email]:focus { border-color: var(--accent2-text); outline: 2px solid rgba(var(--accent2-rgb), .35); outline-offset: 1px; }
.home .news .fine { margin: var(--sp-3) 0 0; font-size: 13px; }

/* the questions: an accordion */
.home .faq details, .terms .faq details { margin: 0 0 var(--sp-2); padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--card); transition: border-color .18s, background-color .18s; }
.home .faq details[open], .terms .faq details[open] { border-color: var(--accent-soft); background: linear-gradient(180deg, var(--card-a), var(--card)); }
.home .faq summary, .terms .faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5); cursor: pointer; font-weight: 600; list-style: none; border-radius: 14px; }
.home .faq summary::-webkit-details-marker, .terms .faq summary::-webkit-details-marker { display: none; }
.home .faq summary::after, .terms .faq summary::after { content: ""; flex: none; width: 18px; height: 18px; background: var(--accent-text); -webkit-mask: url(/hub/icons/chevron_down.svg) center / contain no-repeat; mask: url(/hub/icons/chevron_down.svg) center / contain no-repeat; transition: transform .2s ease-out; }
.home .faq details[open] summary::after, .terms .faq details[open] summary::after { transform: rotate(180deg); }
.home .faq summary:hover, .terms .faq summary:hover { color: var(--accent-text); }
.home .faq summary:focus-visible, .terms .faq summary:focus-visible { outline: 3px solid var(--accent2-text); outline-offset: -3px; }
.home .faq details p, .terms .faq details p { margin: 0; padding: 0 var(--sp-5) var(--sp-4); color: var(--dim); max-width: 78ch; }
@media (prefers-reduced-motion: reduce) { .home .glist li > div, .home .glist li > div:hover, .home .faq summary::after { transition: none; transform: none; } }
@media (max-width: 559px) {
  .home .how li { padding-left: 60px; }
  .home section.news { padding: var(--sp-4); }
  .home .glist li > div { padding: var(--sp-4); }
  .home .faq summary { padding: var(--sp-3) var(--sp-4); }
  .home .faq details p { padding: 0 var(--sp-4) var(--sp-3); }
}

/* ── the upload page: steps beside a live cartridge card ── */
.editor-grid { display: grid; gap: var(--sp-5); grid-template-columns: minmax(0, 1fr); }
.editor-side { min-width: 0; order: -1; }
.editor-side h3 { margin-bottom: var(--sp-3); }
.previewcard { max-width: 280px; pointer-events: none; }
.tiles.one { grid-template-columns: minmax(0, 1fr); }
.editor-main .step { margin: 0 0 var(--sp-4); }
.stephead { display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.stephead h3 { margin: 0; font-size: var(--fs-lg); }
.stepnum { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 11px/1 "Press Start 2P", monospace; box-shadow: 0 2px 0 var(--edge); }
.stepnum.done { background: var(--accent2); box-shadow: 0 2px 0 var(--edge2); }
.stepnum .ic { width: 16px; height: 16px; }
.statuspill.ok { color: var(--accent2-text); border-color: rgba(var(--accent2-rgb), .5); }
.twocol { display: grid; gap: var(--sp-3); grid-template-columns: 1fr 1fr; }
.swatches { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-2); }
.swatch { width: 40px; height: 40px; padding: 0; border: 2px solid var(--heart-line); border-radius: 12px; background: var(--c, #666); cursor: pointer; transition: transform .12s, border-color .15s; }
.swatch:hover { transform: translateY(-2px); }
.swatch[aria-pressed="true"] { border-color: var(--ink-strong); box-shadow: 0 0 0 3px var(--accent2); }
.swatch.auto { width: auto; padding: 0 12px; background: var(--bg2); color: var(--ink); font: 600 var(--fs-sm) Inter, sans-serif; }
.statusbox p { margin: var(--sp-1) 0; }
@media (min-width: 900px) {
  .editor-grid { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .editor-side { order: 0; position: sticky; top: var(--sp-4); }
}

/* ── round 5b: the phone header is two compact rows (logo, Install, account / a scrolling row of the links and the language) ── */
.by { white-space: nowrap; }
.filepick { display: inline-flex; align-items: center; gap: var(--sp-3); max-width: 100%; cursor: pointer; }
.filepick { position: relative; }
.bd .filepick input[type=file] { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; opacity: 0; overflow: hidden; }
.filepick .filebtn { flex: none; margin: 0; }
.filepick input:focus-visible + .filebtn { outline: 3px solid var(--accent2-text); outline-offset: 2px; }
.filepick:hover .filebtn { border-color: var(--accent-text); color: var(--accent-text); }
.filepick .filename { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--dim); font-size: var(--fs-sm); }
.filepick.has .filename { color: var(--ink); }
.field .filepick { margin: var(--sp-1) 0 var(--sp-2); }
@media (max-width: 559px) {
  .top { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-rows: auto auto; gap: var(--sp-2); align-items: center; padding: var(--sp-3) var(--sp-4) var(--sp-2); }
  .brandbox { grid-column: 1; grid-row: 1; min-width: 0; gap: 3px; }
  .top .logo { font-size: 18px; }
  .by { font-size: 6.5px; gap: 4px; margin-left: 1px; }
  .top .install-btn { grid-column: 2; grid-row: 1; width: 44px; height: 40px; padding: 0; justify-content: center; }
  .acct { grid-column: 3; grid-row: 1; margin: 0; gap: var(--sp-1); }
  .top .topnav { grid-column: 1 / 3; grid-row: 2; order: 0; display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: var(--sp-2); margin: 0; overflow-x: auto; scrollbar-width: none; padding: 2px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 20px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 20px), transparent); }
  .top .topnav::-webkit-scrollbar { display: none; }
  .top .topnav a { flex: none; padding: 9px 10px; font-size: 8.5px; }
  .langbox { grid-column: 3; grid-row: 2; margin: 0; justify-self: end; }
  .top > .theme-toggle { grid-column: 3; grid-row: 2; justify-self: end; width: 36px; height: 36px; }
  .top:has(.langbox) > .theme-toggle { grid-column: 2; justify-self: center; }
  .top:has(.langbox) .topnav { grid-column: 1; }
  /* the Install and Sign in buttons keep their words for screen readers only */
  .install-btn span, .acct-in span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .top .acct-in { width: 44px; height: 40px; padding: 0; justify-content: center; }
  .acct-chip { padding: 3px; }
  .acct-name, .acct-out { display: none; }
}
@media (max-width: 559px) { .previewcard { max-width: 210px; } .editor-side p { font-size: 13px; } }
.stephead { flex-wrap: nowrap; align-items: flex-start; }
.stephead h3 { flex: 1 1 0; min-width: 0; padding-top: 4px; }
.stephead .statuspill { flex: none; margin: 4px 0 0; }

/* ── round 5c: on a phone the pitch and the featured game are two short panels, so the first row of cards shows ── */
@media (max-width: 559px) {
  .bd .home-banner { padding: var(--sp-3); gap: var(--sp-2); margin-bottom: var(--sp-2); }
  .bd .home-banner h1 { font-size: 10px; line-height: 1.7; margin-bottom: 4px; text-shadow: 1px 1px 0 var(--pixel-shadow); }
  .home-banner .trust { font-size: 12px; line-height: 1.4; }
  .home .banner-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); margin: 0; }
  .home .banner-ctas .btn { padding: 9px 8px; font-size: 12.5px; line-height: 1.25; display: flex; align-items: center; justify-content: center; text-align: center; }
  .home .banner-ctas .btn::before { display: none; }

  .featured-hero { margin-bottom: var(--sp-2); border-radius: 18px; }
  .hero-grid { display: grid; grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto auto auto auto; column-gap: var(--sp-3); row-gap: 2px; align-items: start; min-height: 0; padding: var(--sp-3); }
  .hero-copy { display: contents; }
  .hero-stage { position: static; grid-column: 1; grid-row: 1 / 4; width: auto; height: auto; overflow: visible; align-self: center; }
  .hero-stage .device { padding: 6px; border-radius: 12px; transform: none; }
  .hero-stage .bezel { padding: 6px; border-radius: 7px; }
  .hero-stage .pad { display: none; }
  .hero-copy .eyebrow { grid-column: 2; grid-row: 1; margin: 0 !important; font-size: 9px; }
  .hero-copy .hero-title { grid-column: 2; grid-row: 2; margin: 0 !important; font-size: 13px !important; line-height: 1.35; }
  .hero-copy .hero-pitch { display: -webkit-box !important; grid-column: 2; grid-row: 3; margin: 2px 0 0 !important; font-size: 13px; line-height: 1.4; -webkit-line-clamp: 3; }
  .hero-copy .chips { display: none; }
  .hero-copy .hero-ctas { grid-column: 1 / -1; grid-row: 4; margin: var(--sp-3) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
  .hero-copy .hero-ctas .btn { display: flex; align-items: center; justify-content: center; padding: 9px 8px; font-size: 12.5px; line-height: 1.25; text-align: center; white-space: normal; margin: 0; }
  .hero-copy .hero-ctas .btn .ic { width: 15px; height: 15px; margin: 0 6px 0 0; flex: none; }
  .hero-grid.skeleton .hero-stage .sk-device { height: 90px; }
  .chips-row { margin-bottom: 0; }
  .shelf:first-child { margin-top: var(--sp-2); }
  .shelf-head { margin-bottom: var(--sp-2); }
}
@media (max-width: 559px) {
  .shelf-head { flex-wrap: nowrap; align-items: flex-end; gap: var(--sp-2); }
  .shelf-head h2 { font-size: 12px; }
  .shelf-head .seeall { font-size: 12px; text-align: right; white-space: normal; }
}

/* ── pay what you want (paidhub1): the chip on cards, the Buy box, the creator's prices, the admin report and sales ── */
.paychip { display: inline-flex; align-items: center; align-self: flex-start; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--accent-text); color: var(--accent-text); background: rgba(var(--accent-rgb), .1); font: 800 10.5px/1.5 Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.paychip.owned { border-color: var(--accent2-text); color: var(--accent2-text); background: rgba(var(--accent2-rgb), .1); }
.tile-body .paychip { margin-top: 6px; }
.buybox { border-color: var(--accent-text); background: linear-gradient(180deg, rgba(var(--accent-rgb), .08), transparent 70%), var(--card); transition: box-shadow .3s; }
.buybox h2 { margin-bottom: var(--sp-2, 8px); }
.buybox.flash { box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .6); }
.buyform .amount { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg2); }
.buyform .amount b { color: var(--dim); font-weight: 600; }
.buyform .amount input { width: 7.5em; border: 0; background: transparent; color: var(--ink); font: 600 1.15rem/2.4 Inter, sans-serif; padding: 0; outline: none; }
.buyform .amount:focus-within { border-color: var(--accent-text); }
.pricerow { display: flex; flex-wrap: wrap; gap: 0 16px; }
.pricerow .field { margin: 8px 0; }
.pricerow input { width: 7em; }
.report-box { margin: 10px 0; padding: 10px 12px; border-left: 3px solid var(--accent2-text); background: var(--need-bg); border-radius: 6px; }
.report-json { max-height: 320px; overflow: auto; white-space: pre-wrap; word-break: break-word; font: 12px/1.45 ui-monospace, Menlo, monospace; color: var(--dim); }
.tablewrap { overflow-x: auto; }
table.sales { width: 100%; border-collapse: collapse; font-size: var(--fs-sm, 14px); }
table.sales th, table.sales td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.sales th { color: var(--dim); font-weight: 600; }
.terms h2 { margin-top: var(--sp-5, 28px); }
.terms li { margin: 6px 0; }
@media (prefers-reduced-motion: reduce) { .buybox { transition: none; } }
.report-box .verdict { font-weight: 800; }
.report-box .v-pass { color: var(--accent2-text); }
.report-box .v-reject { color: var(--err); }
.report-box .v-needs_a_look, .report-box .v-pending { color: var(--accent-text); }
.review-shots { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 8px 0; }
.review-shots img { width: 120px; height: auto; image-rendering: pixelated; border-radius: 4px; }
.checklist { padding-left: 18px; }
.checklist .r-reject b { color: var(--err); }
.checklist .r-look b { color: var(--accent-text); }
/* approveskip1: the review at a glance (its border says the verdict), and the words an action leaves in its card */
.report-box.rk-needs_a_look, .report-box.rk-pending, .report-box.rk-none, .report-box.rk-failed { border-left-color: var(--accent-text); }
.report-box.rk-reject { border-left-color: var(--err); }
.report-box .verdictline { margin: 0 0 6px; }
.report-box .reasons { margin: 4px 0 8px; padding-left: 20px; }
.report-box .reasons li { margin: 3px 0; }
.report-box .dim, .checklist .dim { color: var(--dim); }
.report-box .row { margin-top: 8px; }
.mycard .donewords { margin: 0; padding: 8px 0; font-weight: 600; flex: 1 1 260px; }
.mycard textarea.hidden { display: none; }
/* admincards1: every admin card (and a refunded sale's row) says what an action did, in place */
table.sales .donewords { margin: 0; padding: 4px 0; font-weight: 600; white-space: normal; min-width: 12em; }
table.sales [data-b="refund-msg"]:empty { display: none; }
.mycard[data-done] .donewords { color: var(--ink); }

/* ── hubux1 (owner 2026-11-16): the one-page upload and sell flow, the media gallery ─────────────────────────────── */
.bd h2.edtitle { margin-top: var(--sp-7); }
.step h4 { margin: var(--sp-4) 0 var(--sp-2); font-size: var(--fs-md); }
.step h4:first-child { margin-top: 0; }
/* upload progress: a thin bar and its words; green when done, red with the reason when refused */
.pbar { display: flex; align-items: center; gap: var(--sp-3); margin: var(--sp-2) 0; font-size: var(--fs-sm); color: var(--dim); }
.pbar.hidden { display: none; }
.pbar-track { flex: 0 0 140px; height: 8px; border-radius: 99px; background: var(--bg2); border: 1px solid var(--line); overflow: hidden; }
.pbar-fill { display: block; height: 100%; width: 0; background: var(--accent); transition: width .15s; }
.pbar.ok .pbar-fill { background: var(--accent2); }
.pbar.ok .pwords { color: var(--accent2-text); }
.pbar.err .pbar-track { display: none; }
.pbar.err .pwords { color: var(--err); }
.shots.mine li.pending { opacity: .85; }
.shots.mine li.pending .pbar { flex-direction: column; align-items: flex-start; gap: 4px; margin: 0; }
.shots.mine li.pending .pbar-track { flex-basis: auto; width: 100%; }
.shotbar { display: flex; gap: 6px; flex-wrap: wrap; }
.btn.iconbtn { min-width: 40px; padding: 6px 10px; font-size: 16px; line-height: 1; }
.videoedit { margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.vpreview { max-width: 480px; }
/* Free or paid: two big choices */
.choices { display: grid; gap: var(--sp-3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-4); border: 2px solid var(--line); border-radius: var(--radius); background: var(--bg2); cursor: pointer; transition: border-color .15s, background-color .15s; }
.choice:hover { border-color: var(--accent-soft); }
.choice.on { border-color: var(--accent-text); background: rgba(var(--accent-rgb), .08); }
.choice.off { opacity: .6; cursor: not-allowed; }
.choice input { margin-top: 4px; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.choice input:focus-visible { outline: 3px solid var(--accent2-text); outline-offset: 2px; }
.choice-body { display: flex; flex-direction: column; gap: 4px; }
.choice-body b { font-size: var(--fs-md); }
.sellpanel { margin-top: var(--sp-4); padding: var(--sp-4); border: 1px solid var(--accent-soft); border-radius: var(--radius); background: rgba(var(--accent-rgb), .04); }
.sellpanel .example { color: var(--ink); }
.sellpanel .ok .ic { width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; }
/* the four steps of selling, each with where it is */
.tracker { list-style: none; margin: 0 0 var(--sp-3); padding: 0; display: grid; gap: var(--sp-2); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .tracker { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tstep { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: var(--sp-2); padding: var(--sp-2) var(--sp-3); border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.tdot { grid-row: span 2; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--bg2); border: 1px solid var(--line); font: 700 var(--fs-xs)/1 Inter, sans-serif; color: var(--dim); }
.tdot .ic { width: 14px; height: 14px; }
.tname { font: 600 var(--fs-sm)/1.3 Inter, sans-serif; }
.tword { font-size: var(--fs-xs); color: var(--dim); }
.tstep.done .tdot { background: var(--accent2); border-color: var(--accent2); color: var(--on-accent2); }
.tstep.done .tword { color: var(--accent2-text); }
.tstep.wait .tdot { border-color: var(--accent-text); color: var(--accent-text); }
.tstep.wait .tword { color: var(--accent-text); }
.tstep.bad .tdot { border-color: var(--err); color: var(--err); }
.tstep.bad .tword { color: var(--err); }
/* the one primary action, kept in reach at the bottom of the screen while editing */
.actionbar { position: sticky; bottom: 0; z-index: 5; margin: var(--sp-5) 0 0; padding: var(--sp-3) var(--sp-4); border: 1px solid var(--accent-soft); border-radius: var(--radius); background: var(--card); box-shadow: 0 -10px 24px -14px var(--menu-shadow); }
.actionrow { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.actionrow .btn { margin: 0; }
.actionbar .small { margin: var(--sp-2) 0 0; }
.btn.primary { min-width: 220px; }
@media (max-width: 559px) { .actionrow .btn.primary { flex: 1 1 100%; min-width: 0; } .actionrow .btn.ghost { flex: 1 1 100%; } }
.panel.banner { border-color: var(--accent2-text); background: rgba(var(--accent2-rgb), .08); }
.panel.banner.warn { border-color: var(--accent-text); background: rgba(var(--accent-rgb), .08); }
.panel.banner p { margin: 0; font-weight: 600; }
.statuspill.sale { color: var(--accent-text); border-color: var(--accent-soft); }

/* the video: a poster with a big Play button until someone presses it (nothing is loaded before) */
.vbox { position: relative; aspect-ratio: 16 / 10; width: 100%; border-radius: 12px; overflow: hidden; background: #000; }
.vbox .vposter { width: 100%; height: 100%; object-fit: contain; display: block; image-rendering: pixelated; }
.vbox .vposter.blank { background: linear-gradient(135deg, var(--stage-a), var(--stage-b)); }
.vplay { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .55)); cursor: pointer; color: #fff; }
.vplay-disc { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: 0 4px 0 var(--edge), 0 10px 30px rgba(0, 0, 0, .5); transition: transform .12s; }
.vplay-disc .ic { width: 30px; height: 30px; margin-left: 4px; }
.vplay:hover .vplay-disc { transform: scale(1.06); }
.vplay:focus-visible .vplay-disc { outline: 3px solid var(--ring); outline-offset: 4px; }
.vlen { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .7); color: #fff; font: 600 var(--fs-xs)/1.5 Inter, sans-serif; }
.vplayer { width: 100%; height: 100%; display: block; background: #000; }
.vplayer:focus-visible { outline: 3px solid var(--accent2-text); outline-offset: -3px; }
.vsound { position: absolute; left: 12px; top: 12px; z-index: 2; }
.vbox .vmsg { position: absolute; left: 12px; right: 12px; bottom: 12px; margin: 0; padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, .75); }
/* the game page's gallery: one big viewer, arrows, a row of thumbnails, full screen */
.media { margin: var(--sp-5) 0 var(--sp-3); }
.mviewer { position: relative; border: 1px solid var(--line); border-radius: 16px; background: #000; overflow: hidden; }
.mviewer:fullscreen { border: 0; border-radius: 0; display: grid; place-items: center; }
.mviewer:fullscreen .mstage { width: 100%; height: 100%; }
.mviewer:fullscreen .vbox, .mviewer:fullscreen .mshot { aspect-ratio: auto; height: 100vh; }
.mstage { outline: none; }
.mstage:focus-visible { box-shadow: inset 0 0 0 3px var(--accent2-text); }
.mstage .vbox { border-radius: 0; }
.mshot { aspect-ratio: 16 / 10; display: grid; place-items: center; background: #000; }
.mshot img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; display: block; }
.mnav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(0, 0, 0, .62); color: #fff; font: 28px/1 Inter, sans-serif; cursor: pointer; }
.mnav span { margin-top: -3px; }
.mnav.prev { left: 10px; }
.mnav.next { right: 10px; }
.mnav:hover { background: rgba(0, 0, 0, .8); }
.mnav:focus-visible { outline: 3px solid var(--accent2-text); outline-offset: 2px; }
.mnav[hidden] { display: none; }
.mbar { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin: var(--sp-2) 0; }
.mcount { color: var(--dim); font-size: var(--fs-sm); }
.mbar .mfull { margin: 0; }
.mthumbs { list-style: none; padding: 0 0 var(--sp-2); margin: 0; display: flex; gap: var(--sp-2); overflow-x: auto; scroll-snap-type: x proximity; }
.mthumbs li { flex: none; scroll-snap-align: start; }
.mthumb { position: relative; padding: 0; border: 2px solid transparent; border-radius: 12px; background: none; cursor: pointer; }
.media .mthumbs .mthumb.on { border-color: var(--accent-text); box-shadow: 0 0 0 1px var(--accent-text); }
.mthumb:focus-visible { outline: 3px solid var(--accent2-text); outline-offset: 2px; }
.media .mthumbs li img.shot, .media .mthumbs .blankthumb { display: block; height: 72px; width: auto; min-width: 80px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg2); image-rendering: pixelated; object-fit: cover; }
.mthumb-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.mthumb-play::before { content: ""; position: absolute; width: 36px; height: 36px; border-radius: 50%; background: rgba(0, 0, 0, .7); }
.mthumb-play .ic { position: relative; width: 18px; height: 18px; margin-left: 3px; background: #fff; }
@media (prefers-reduced-motion: reduce) { .vplay-disc, .pbar-fill { transition: none; } }
.sellpanel .example.err { color: var(--err); }
.sellpanel .pricerow input { max-width: 200px; }
.trackerbox .waitstate { margin: 0 0 var(--sp-3); }
.choice.small-choice { padding: var(--sp-3); }
.status-pending .statuspill { color: var(--accent-text); border-color: var(--accent-soft); }
