/* Victoria3DB has a face of its own: the game's interface, 1836. Dark: the deep Prussian blue of the panels.
   Light: the paper of the ledgers and newspapers. The accent is the brass of the frames, headings in Playfair Display
   like the game's titles. Paths are relative to this file, so the section works on the hub and on its own domain. */
[data-theme="dark"] body[data-game="victoria-3"] {
  --bg: #0e141c; --bg-2: #121a24; --panel: #17212d; --panel-2: #1d2937; --line: #263443; --line-2: #34465a;
  --ink: #ebe6da; --ink-soft: #cfc8b8; --muted: #93a0ad; --head: rgba(10, 15, 22, .96);
  --frame: #8f7740; --shade: rgba(8, 12, 18, .72);
}
[data-theme="light"] body[data-game="victoria-3"] {
  --bg: #f1ece1; --bg-2: #e9e2d3; --panel: #fbf9f4; --panel-2: #f4efe4; --line: #ddd4c2; --line-2: #c9bc9f;
  --ink: #1d2430; --ink-soft: #364152; --muted: #66707c; --head: rgba(14, 20, 28, .97);
  --frame: #a88f52; --shade: rgba(16, 22, 30, .62);
}
body[data-game="victoria-3"] .top { border-bottom: 2px solid #8f7740; }
body[data-game="victoria-3"] .menu [aria-current] { border-bottom-color: #d2b36a; }
body[data-game="victoria-3"] .hero-art { background-color: #0e141c; }
body[data-game="victoria-3"] .hero-art::after { background: linear-gradient(180deg, rgba(10, 15, 22, .1) 0%, rgba(10, 15, 22, .42) 55%, var(--bg) 100%); }
body[data-game="victoria-3"] .hero-art .crumbs, body[data-game="victoria-3"] .hero-art .crumbs a { color: #e9e1cd; }
body[data-game="victoria-3"] .picker { background: rgba(14, 20, 28, .88); border-color: #4a4430; }
body[data-game="victoria-3"] .picker-list img { border-color: #8f7740; background: #121a24; }
body[data-game="victoria-3"] .picker-list a:hover img { border-color: #d2b36a; }
body[data-game="victoria-3"] .tile-art::after { background: linear-gradient(180deg, transparent 40%, rgba(10, 15, 22, .85)); }
body[data-game="victoria-3"] .icon-tile img, body[data-game="victoria-3"] .frame { background: radial-gradient(circle at 50% 40%, #26364a, #111923); }

/* effects: the game paints a good number green and a bad one red */
.mods td.up, b.up { color: #4f9a55; }
.mods td.down, b.down { color: #c0574a; }
[data-theme="dark"] .mods td.up, [data-theme="dark"] b.up { color: #7cc383; }
[data-theme="dark"] .mods td.down, [data-theme="dark"] b.down { color: #e2836f; }
/* a painting of the game across the column (institutions) */
img.wide { display: block; width: 100%; height: auto; aspect-ratio: 1080 / 350; object-fit: cover; border-radius: 8px; margin: 8px 0 12px; }
.flagbig { float: right; margin: 0 0 8px 14px; border: 1px solid var(--line-2); }
.pflag { object-fit: cover; }
h1 small { font-size: .55em; color: var(--muted); font-family: var(--body); margin-left: 8px; }
.note { color: var(--muted); font-size: .92em; }
/* a strip of the game's terrain paintings, each a link to a state that looks like it */
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 8px 0 18px; }
.shots a, .shots figure { position: relative; display: block; margin: 0; border-radius: 8px; overflow: hidden; color: #f3ecdd; }
.shots img { display: block; width: 100%; height: auto; aspect-ratio: 660 / 300; object-fit: cover; }
.shots span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 6px; background: linear-gradient(180deg, transparent, rgba(10, 15, 22, .85)); font-weight: 600; }
.shots small { color: #d2b36a; margin-left: 4px; }
/* unit paintings: square, a name and offense/defense under each */
.shots.units { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.shots.units img { aspect-ratio: 1; object-fit: cover; }
