@charset "utf-8";
/* pg-games.info — full-bleed bands. Tokens in tokens.css.
   ---------------------------------------------------------------------------
   Third attempt at this layout, and the first structural one. The first two
   were a three-column reference shell: sticky left rail, reading column, a
   margin for notes. Both times the owner said "plain", and both times the fix
   applied was cosmetic — remove a rule, round a corner, add a shadow. The cause
   was the grid. Content locked in a middle column can never reach the edge of
   the screen, and edge-to-edge is where the reference site's presence comes
   from. Forty pieces of game artwork were also rendered at 42px inside a table
   cell, wasting the only real visual asset this site has.

   So the page is a stack of full-bleed bands, each with its own ground and its
   own centred container, and the artwork is used at the size it was drawn for.
   Cobalt stays: site 1 is dark-and-amber, site 2 stone-and-oxblood, and the
   three have to look unrelated. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--face-body);
  font-size: var(--t-base);
  line-height: var(--lh-body);
  letter-spacing: var(--track);
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
  /* Japanese and Korean break at almost any character by default, which split
     32,400 ウェイズ as "ウ / ェイズ". strict keeps small kana attached. */
  line-break: strict;
}

h1, h2, h3 { margin: 0; font-weight: 600; line-height: var(--lh-display); font-style: normal; }
p, ul, ol { margin: 0; }
img { display: block; max-width: 100%; height: auto; }

a { color: var(--cobalt); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--cobalt-deep); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-radius: 3px; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; inset-inline-start: 1rem; inset-block-start: -5rem;
  z-index: 90; background: var(--cobalt); color: #fff;
  padding: 0.5rem 1rem; border-radius: var(--corner);
  font-size: var(--t-sm); text-decoration: none;
}
.skip:focus { inset-block-start: 1rem; }

/* == Band: the one layout primitive =========================================
   Full-bleed ground, centred container. Sections are separated by where one
   ground ends and the next begins. There is not one dividing rule on this
   site. */
.band { padding-block: var(--band-y); }
.band__in {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.band__in--text { max-width: 68rem; }
.band--tint { background: var(--sheet-tint); }
.band--sheet { background: var(--sheet); }
.band--ink {
  background: var(--ink);
  background-image: radial-gradient(80% 120% at 12% 0%, oklch(30% 0.11 260 / 0.9), transparent 62%);
  color: oklch(100% 0 0 / 0.78);
}
.band--ink h2 { color: #fff; }

.band__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s-md); flex-wrap: wrap;
  margin-bottom: var(--s-lg);
}
.band__head h2 { font-size: var(--t-xl); max-width: 30ch; }
.band .prose > p + p { margin-top: var(--s-sm); }
.band .prose p { max-width: 74ch; }
.band__in--text > h2 { font-size: var(--t-xl); margin-bottom: var(--s-md); max-width: 34ch; }

.more {
  font-size: var(--t-sm); font-weight: 600; white-space: nowrap;
  text-decoration: none; color: var(--cobalt);
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.more::after { content: "\2192"; transition: transform var(--dur) var(--ease); }
.more:hover::after { transform: translateX(3px); }

/* == Top bar ================================================================ */
.bar {
  position: sticky; top: 0; z-index: 60;
  background: oklch(100% 0 0 / 0.86);
  backdrop-filter: saturate(1.6) blur(12px);
  box-shadow: 0 1px 0 oklch(80% 0.01 255 / 0.7);
}
.bar__in {
  max-width: var(--shell); margin-inline: auto;
  padding: 0.6rem var(--gut);
  display: flex; align-items: center; gap: var(--s-md);
}
.bar__brand {
  display: flex; align-items: center; gap: 0.55rem;
  text-decoration: none; color: inherit; flex: none;
}
.bar__brand img { width: 3.1rem; height: auto; }
.bar__dom {
  font-family: var(--face-mono); font-size: var(--t-2xs);
  color: var(--ink-3); letter-spacing: 0.01em; white-space: nowrap;
}
.bar__nav { margin-inline-start: auto; min-width: 0; }
.bar__nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 0.15rem; flex-wrap: nowrap; overflow-x: auto;
  scrollbar-width: none;
}
.bar__nav ul::-webkit-scrollbar { display: none; }
.bar__nav a {
  display: block; padding: 0.42rem 0.7rem; border-radius: var(--corner);
  text-decoration: none; color: var(--ink-2);
  font-size: var(--t-sm); line-height: 1.3; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.bar__nav a:hover { background: var(--rail); color: var(--cobalt-deep); }
.bar__nav a[aria-current="page"] { background: var(--cobalt-wash); color: var(--cobalt-deep); font-weight: 600; }

/* Language chooser — names only; the codes live in the hreflang attributes. */
.switch { position: relative; flex: none; }
.switch__now {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.42rem 0.7rem;
  border-radius: var(--corner);
  background: var(--rail); color: var(--ink);
  font-size: var(--t-sm); line-height: 1.3;
  cursor: pointer; list-style: none; white-space: nowrap;
}
.switch__now::-webkit-details-marker { display: none; }
.switch__now::marker { content: ""; }
.switch__now:hover { background: var(--cobalt-wash); color: var(--cobalt-deep); }
.switch__globe { color: var(--cobalt); flex: none; }
.switch__panel {
  position: absolute; z-index: 70;
  inset-inline-end: 0; inset-block-start: calc(100% + 6px);
  min-width: 14rem; max-height: min(70vh, 30rem);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--sheet); border-radius: var(--corner-lg);
  box-shadow: var(--lift-3); padding: 0.4rem;
}
.switch__head {
  font-size: var(--t-2xs); color: var(--ink-3); letter-spacing: 0.05em;
  padding: 0.3rem 0.6rem 0.45rem;
}
.switch__list { list-style: none; margin: 0; padding: 0; }
.switch__list a {
  display: block; padding: 0.42rem 0.6rem; border-radius: var(--corner);
  text-decoration: none; color: var(--ink-2);
  font-size: var(--t-sm); line-height: 1.35; white-space: nowrap;
}
.switch__list a:hover { background: var(--rail); color: var(--cobalt-deep); }
.switch__list a[aria-current="page"] { background: var(--cobalt-wash); color: var(--ink); font-weight: 600; }

/* == Hero ===================================================================
   Three layers: a cobalt ground, a wall of game artwork as texture, the type.
   The artwork is desaturated and dimmed hard — at full strength eighteen game
   tiles fight the headline and win. */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--cobalt-deep);
  background-image:
    radial-gradient(90% 120% at 82% -10%, oklch(58% 0.20 252 / 0.85), transparent 58%),
    radial-gradient(80% 110% at -5% 110%, oklch(26% 0.12 265 / 0.95), transparent 60%);
  color: #fff;
  padding-block: clamp(3.5rem, 2rem + 7vw, 8rem);
}
.hero__art {
  position: absolute; inset: 0; z-index: -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  /* 1fr rows so the forty tiles divide the band's full height between them
     instead of stopping partway down and leaving flat cobalt underneath. The
     art is texture at 18% opacity, so cropping it costs nothing. */
  grid-auto-rows: 1fr;
  gap: 0.4rem; padding: 0.4rem;
  opacity: 0.18;
  filter: saturate(0.45) contrast(1.1);
  /* fades the wall out behind the type so the headline never sits on a face */
  mask-image: linear-gradient(100deg, transparent 8%, #000 62%, #000 100%);
  pointer-events: none;
}
.hero__art img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--corner); }
.hero__in {
  position: relative;
  max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut);
}
.hero__h {
  font-size: var(--t-display);
  max-width: 26ch;
  color: #fff;
  overflow-wrap: anywhere; min-width: 0;
}
.hero__lede {
  margin-top: var(--s-md);
  font-size: var(--t-md);
  color: oklch(100% 0 0 / 0.88);
  max-width: 60ch;
}
.hero__act { margin-top: var(--s-lg); display: flex; gap: 0.65rem; flex-wrap: wrap; }
.hero__meta {
  margin-top: var(--s-lg);
  font-family: var(--face-mono); font-size: var(--t-2xs);
  color: oklch(100% 0 0 / 0.55); letter-spacing: 0.02em;
}

/* == Buttons ================================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.72rem 1.4rem;
  border-radius: var(--corner);
  font-weight: 600; font-size: var(--t-base);
  text-decoration: none; white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn--go {
  background: var(--lime); color: var(--ink);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.4), 0 8px 22px oklch(50% 0.13 150 / 0.35);
}
.btn--go:hover { transform: translateY(-2px); box-shadow: 0 12px 30px oklch(50% 0.13 150 / 0.45); color: var(--ink); }
.btn--go:active { transform: translateY(0); }
.btn--ghost {
  background: oklch(100% 0 0 / 0.1); color: #fff;
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 0.4);
}
.btn--ghost:hover { background: oklch(100% 0 0 / 0.2); color: #fff; }

/* == Game tiles: the artwork at the size it was drawn for =================== */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
  gap: var(--gap-card);
}
.tile {
  background: var(--sheet);
  border-radius: var(--corner-lg);
  overflow: hidden;
  box-shadow: var(--lift), var(--hairline);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--lift-3); }
.tile__art { position: relative; aspect-ratio: 1; background: var(--rail); }
.tile__art img { width: 100%; height: 100%; object-fit: cover; }
.tile__n {
  font-size: var(--t-base); font-weight: 600; line-height: var(--lh-tight);
  padding: 0.8rem 0.9rem 0.4rem;
}
.tile__f {
  display: grid; grid-template-columns: max-content 1fr;
  gap: 0.1rem 0.5rem; align-items: baseline;
  padding: 0 0.9rem 0.9rem;
}
.tile__k { font-size: var(--t-2xs); color: var(--ink-3); letter-spacing: 0.03em; }
.tile__v { font-family: var(--face-mono); font-size: var(--t-sm); font-weight: 600; }

/* == Edition chips ========================================================== */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: flex; flex-direction: column; gap: 0.1rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--corner);
  background: oklch(100% 0 0 / 0.07);
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 0.12);
  text-decoration: none;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.chip:hover { background: oklch(100% 0 0 / 0.16); transform: translateY(-2px); }
.chip__n { color: #fff; font-size: var(--t-sm); font-weight: 600; line-height: 1.3; }
.chip__c { color: oklch(100% 0 0 / 0.6); font-size: var(--t-2xs); }

/* == The catalogue table ==================================================== */
.tablewrap {
  border-radius: var(--corner-lg);
  background: var(--sheet);
  overflow-x: auto;
  box-shadow: var(--lift-2), var(--hairline);
}
.cat { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.cat caption {
  text-align: start; padding: var(--s-sm) var(--s-md);
  font-size: var(--t-xs); color: var(--ink-3);
}
.cat thead th {
  text-align: start; font-size: var(--t-2xs); letter-spacing: 0.05em;
  color: #fff; font-weight: 600;
  padding: 0.6rem var(--s-xs);
  background: var(--cobalt-deep);
  white-space: nowrap; vertical-align: bottom;
}
.cat tbody tr { transition: background var(--dur) var(--ease); }
.cat tbody tr:nth-child(even) { background: var(--sheet-alt); }
.cat tbody tr:hover { background: var(--cobalt-wash); }
.cat td { padding: 0.45rem var(--s-xs); vertical-align: middle; }

.cat__game { display: flex; gap: 0.65rem; align-items: center; min-width: 12rem; }
.cat__art {
  width: 44px; height: 44px; flex: none;
  border-radius: var(--corner); background: var(--rail); object-fit: cover;
}
.cat__name { font-weight: 600; line-height: var(--lh-tight); color: var(--ink); }
.cat__tag {
  display: inline-block; margin-top: 0.15rem;
  font-family: var(--face-mono); font-size: var(--t-2xs); color: var(--ink-3);
}
.cat__rtp { font-family: var(--face-mono); white-space: nowrap; }
.cat__layout { font-size: var(--t-xs); color: var(--ink-2); line-height: 1.5; min-width: 9rem; }
.cat__year { font-family: var(--face-mono); color: var(--ink-2); white-space: nowrap; }

.vol { display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.vol__bars { display: flex; gap: 2px; flex: none; }
.vol__bars i { width: 4px; height: 13px; background: var(--rule); border-radius: 1px; }
.vol__bars i.on { background: var(--cobalt); }
.vol--unknown .vol__bars i.on { background: var(--ink-3); }
.vol__t { font-size: var(--t-xs); color: var(--ink-2); }

.pay { display: grid; gap: 0.25rem; min-width: 8.5rem; }
.pay__row { display: grid; grid-template-columns: auto 1fr; gap: 0.45rem; align-items: baseline; }
.pay__k {
  font-size: var(--t-2xs); letter-spacing: 0.03em;
  padding: 0.08rem 0.34rem; border-radius: 3px; white-space: nowrap;
}
.pay__k--tested { background: var(--tested-wash); color: var(--tested); font-weight: 600; }
.pay__k--advert { background: var(--advert-wash); color: var(--advert); }
.pay__k--flag   { background: var(--caution-wash); color: var(--caution); font-weight: 600; }
.pay__v { font-family: var(--face-mono); font-weight: 600; color: var(--ink); }
.pay__v--soft { font-weight: 400; color: var(--ink-2); }
.pay__none { font-size: var(--t-xs); color: var(--ink-3); }

.legend {
  margin-top: var(--s-md); display: flex; flex-wrap: wrap;
  gap: 0.4rem 1.1rem; align-items: center;
  font-size: var(--t-xs); color: var(--ink-2);
}
.legend__h { font-weight: 600; color: var(--ink); }
.legend__i { display: inline-flex; align-items: center; gap: 0.35rem; }
.legend__sw { width: 0.6rem; height: 0.6rem; border-radius: 2px; }

/* == FAQ ==================================================================== */
.faqband { background: var(--sheet-tint); padding-block: var(--band-y); }
.faq { display: grid; gap: 0.6rem; max-width: 68rem; margin-inline: auto; }
.faq__i {
  background: var(--sheet);
  border-radius: var(--corner-lg);
  padding: var(--s-md) var(--pad-card);
  box-shadow: var(--lift), var(--hairline);
}
.faq__q { font-size: var(--t-md); font-weight: 600; margin-bottom: 0.45rem; }
.faq__a { color: var(--ink-2); max-width: 74ch; }

/* == Call to action ========================================================= */
.cta {
  background: var(--cobalt-deep);
  background-image: radial-gradient(70% 140% at 85% 0%, oklch(58% 0.20 252 / 0.8), transparent 60%);
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}
.cta__in {
  max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-md); flex-wrap: wrap;
}
.cta__in--solo { justify-content: center; }

/* == Contact rows =========================================================== */
.chan { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; max-width: 46rem; }
.chan li {
  display: grid; grid-template-columns: max-content 1fr; gap: var(--s-md);
  align-items: baseline;
  background: var(--sheet); border-radius: var(--corner);
  padding: var(--s-sm) var(--s-md);
  box-shadow: var(--lift), var(--hairline);
}
.chan b { font-size: var(--t-xs); color: var(--ink-3); font-weight: 600; letter-spacing: 0.04em; }

/* == Breadcrumb ============================================================= */
.crumb {
  max-width: var(--shell); margin-inline: auto;
  padding: var(--s-sm) var(--gut) 0;
  font-size: var(--t-xs); color: var(--ink-3);
}
.crumb a { color: var(--ink-3); }
.crumb a:hover { color: var(--cobalt); }
.crumb__sep { padding-inline: 0.4rem; color: var(--rule-firm); }

/* == Footer ================================================================= */
.foot {
  background: var(--ink);
  background-image: radial-gradient(70% 130% at 8% 0%, oklch(28% 0.10 262 / 0.85), transparent 60%);
  color: oklch(100% 0 0 / 0.7);
  padding-block: var(--band-y) var(--s-xl);
  font-size: var(--t-xs);
}
.foot__wrap { max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }
.foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: var(--s-lg); }
.foot h2 { font-size: var(--t-2xs); letter-spacing: 0.06em; color: oklch(100% 0 0 / 0.5); margin-bottom: 0.5rem; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li + li { margin-top: 0.25rem; }
.foot a { color: oklch(100% 0 0 / 0.82); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__legal {
  margin-top: var(--s-lg); padding-top: var(--s-md);
  border-top: 1px solid oklch(100% 0 0 / 0.12);
  color: oklch(100% 0 0 / 0.58); max-width: 84ch;
}
.age {
  display: inline-block; border: 1px solid oklch(100% 0 0 / 0.45);
  color: oklch(100% 0 0 / 0.85); border-radius: 3px; padding: 0 0.3rem;
  font-family: var(--face-mono); font-weight: 600; font-size: var(--t-2xs);
}

/* == Editions list as body content (404 page) =============================== */
.regions { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.regions a {
  display: flex; gap: 0.5rem; align-items: baseline;
  padding: 0.55rem 0.85rem; border-radius: var(--corner);
  background: var(--sheet); box-shadow: var(--lift), var(--hairline);
  text-decoration: none; color: var(--ink-2); font-size: var(--t-sm);
}
.regions a:hover { color: var(--cobalt-deep); }
.regions__code { font-size: var(--t-xs); color: var(--ink-3); }

.record { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem var(--s-md); font-size: var(--t-sm); margin: 0; }
.record dt { color: var(--ink-3); font-size: var(--t-xs); letter-spacing: 0.04em; padding-top: 0.15rem; }
.record dd { margin: 0; color: var(--ink); }
.record dd.mono { font-family: var(--face-mono); }

/* == Narrow screens ========================================================= */
@media (max-width: 900px) {
  .bar__in { flex-wrap: wrap; row-gap: 0.4rem; }
  .bar__nav { margin-inline-start: 0; order: 3; width: 100%; }
  .switch { margin-inline-start: auto; }
  .cta__in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .hero__art { grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr)); opacity: 0.13; }
  .tiles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); }

  /* The table becomes a stack of labelled cards. A table that scrolls sideways
     on a phone hides exactly the columns people came for. */
  .tablewrap { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .cat, .cat tbody, .cat tr, .cat td { display: block; width: 100%; }
  .cat thead, .cat caption { display: none; }
  .cat tbody tr {
    background: var(--sheet) !important;
    border-radius: var(--corner-lg);
    margin-bottom: 0.6rem;
    padding: var(--s-sm);
    box-shadow: var(--lift), var(--hairline);
  }
  .cat td { padding: 0.3rem 0; }
  .cat td[data-l]::before {
    content: attr(data-l); display: block;
    font-size: var(--t-2xs); letter-spacing: 0.05em;
    color: var(--ink-3); margin-bottom: 0.1rem;
  }
  .cat td.c-game::before { display: none; }
  .cat__art { width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; }
  .tile:hover, .chip:hover, .btn--go:hover { transform: none; }
}

@media print {
  .bar, .cta, .skip, .hero__art { display: none; }
  body { background: #fff; }
  .hero { background: none; color: var(--ink); padding-block: 0; }
  .hero__h, .hero__lede { color: var(--ink); }
}
