/* ProbablyStolenDB: the shop at the bottom of the station. Dark: the teal-grey of the shop's walls at night.
   Light: the cream of the game's paper documents. Accent: the teal of the screens; headings in Tektur, the game's UI font. */
[data-theme="dark"] body[data-game="probably-stolen"] {
  --bg: #12171a; --bg-2: #161c20; --panel: #1b2327; --panel-2: #222c31; --line: #2c393f; --line-2: #3d4d54;
  --ink: #e6ece8; --ink-soft: #c5d1cc; --muted: #8fa19b; --head: rgba(14, 19, 22, .96);
  --frame: #4f6f6a; --shade: rgba(10, 14, 16, .72);
}
[data-theme="light"] body[data-game="probably-stolen"] {
  --bg: #f1ecdf; --bg-2: #e8e1d0; --panel: #fbf8f0; --panel-2: #f3eee2; --line: #ddd4bf; --line-2: #c9bda1;
  --ink: #1f2426; --ink-soft: #384043; --muted: #646b69; --head: rgba(20, 26, 28, .97);
  --frame: #8aa39d; --shade: rgba(20, 26, 28, .62);
}
body[data-game="probably-stolen"] .top { border-bottom: 2px solid #2f6f65; }
/* pixel art from the game: shown at whole multiples, never smoothed */
img.px { image-rendering: pixelated; image-rendering: crisp-edges; object-fit: contain; }
th.pi img.px, th.pi img { vertical-align: middle; margin-right: 10px; }
th.pi { min-width: 160px; }
img.px.face { width: 58px; height: 42px; object-fit: cover; object-position: 50% 10%; border-radius: 4px; background: #20292d; }
img.px.ic { vertical-align: -9px; margin-right: 10px; }
.picker-list img.face { width: 64px; height: 47px; object-fit: cover; object-position: 50% 8%; image-rendering: pixelated; border-radius: 6px; }
.picker-list img { image-rendering: pixelated; }
.frame.big { display: inline-flex; align-items: center; justify-content: center; min-width: 140px; min-height: 140px; padding: 10px; }
.frame.big img { image-rendering: pixelated; }
/* the cells an item takes in the inventory */
.shape { display: inline-grid; gap: 2px; vertical-align: middle; margin-left: 8px; }
.shape i { width: 12px; height: 12px; border: 1px solid var(--line-2); border-radius: 2px; }
.shape i.on { background: var(--game-ac, #79c7b8); border-color: transparent; opacity: .85; }
.char-head { display: flex; gap: 22px; align-items: flex-start; margin: 4px 0 18px; }
.char-head img { width: 288px; height: 211px; image-rendering: pixelated; border-radius: 8px; border: 1px solid var(--frame); background: #20292d; flex: none; }
.dlg { margin: 6px 0 14px; padding: 0; list-style: none; max-width: 760px; }
.dlg li { margin: 4px 0; }
.dlg .who { color: var(--muted); margin-right: 6px; }
.dlg .choice { margin-left: 18px; }
@media (max-width: 700px) { .char-head { flex-direction: column; } .char-head img { width: 100%; height: auto; } }
/* face crops (icons.mjs): square heads for lists and pickers */
img.px.face { width: 42px; height: 42px; object-fit: cover; object-position: 50% 0; border-radius: 6px; }
.picker-list img.face { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
/* the game's own pictures inside a page: documents, posters, cards */
figure.gamepic { float: right; margin: 4px 0 16px 24px; max-width: 46%; }
figure.gamepic img { display: block; max-width: 100%; height: auto; image-rendering: pixelated; border-radius: 6px; }
figure.gamepic figcaption, .looks figcaption { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.looks { display: flex; flex-wrap: wrap; gap: 14px; margin: 6px 0 18px; }
.looks figure { margin: 0; }
.looks img { width: 176px; height: auto; image-rendering: pixelated; border-radius: 8px; border: 1px solid var(--frame); background: #20292d; }
.tbl { clear: both; }
@media (max-width: 700px) { figure.gamepic { float: none; max-width: 100%; margin: 8px 0 16px; } .looks img { width: 150px; } }
/* the game's logo before the site's name */
body[data-game="probably-stolen"] .gname { padding-left: 50px; background: url(img/ui/logo-96.png) 0 50% / 42px 42px no-repeat; }
.tbl th img.px, .tbl td img.px { vertical-align: middle; margin-right: 8px; }
/* a scene of the game inside a page */
img.scene { width: 100%; height: auto; max-width: 960px; image-rendering: pixelated; border-radius: 8px; margin: 6px 0 14px; }
.cards { display: flex; flex-wrap: wrap; gap: 14px; margin: 10px 0 16px; }
.cards img { image-rendering: pixelated; max-width: 280px; height: auto; }
