/* Shared interface colours. Player, role and puzzle colours retain their meaning. */
.grid > .game,.page-game .game-shell {
  --brand:var(--site-violet);
  --accent:var(--site-violet);
  --wash:#e9e4f3;
  --soft:#f3f0f7;
  --score:#e4dcef;
  --line:var(--site-line);
  --edge:#a69ab8;
  --shadow:#3f31591a;
  --stage-ink:#30263e;
  --stage-glow:#c4b3db;
  --coral:var(--site-violet);
  --cta-ink:#fff;
  --room-deep:#30263e;
  --room-paper:#faf8fc;
  --room-rim:#ded6e7;
  --table-green:var(--site-violet);
  --table-deep:var(--site-ink);
  --table-paper:#faf8fc;
  --table-mint:#e5dcef;
  --table-gold:#dfcbee;
}
.grid .game > .game-art {
  position:relative; background:#ece8e3; aspect-ratio:600 / 380; border-radius:.7rem; overflow:hidden
}
.game-cover-image { display:block; width:100%; height:100%; object-fit:cover }
.game-cover-image.cover-full { object-fit:contain; background:#faf9f6 }
.grid .game > .game-art > .game-cover-image { position:absolute; inset:0; width:100%; height:100% }
.grid .game .game-copy .meta { color:var(--site-muted) }
.category-art {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6%;
  padding-inline:10%; align-items:center
}
.category-directory .category-entry .category-art { background:#eeebf7 }
.category-art .category-art-piece,.category-art .category-art-piece:nth-child(2) {
  display:block; width:100%; aspect-ratio:1; transform:none; overflow:hidden; border-radius:.3rem
}
.category-art-piece > .game-cover-image { width:100%; height:100%; aspect-ratio:1; object-fit:cover; border-radius:0 }
.category-art-piece > .game-cover-image.cover-full { object-fit:contain }
.game-shell:not(.theme-wolf) .game-mast {
  background:var(--room-paper); grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)
}
.game-shell:not(.theme-wolf) .game-mast-copy { grid-area:1 / 1 }
.game-shell:not(.theme-wolf) .game-mast .has-game-cover {
  grid-area:1 / 2; display:block; align-self:center; min-height:0; padding:0;
  background:none; width:100%; aspect-ratio:600 / 380; margin:0
}
.game-shell:not(.theme-wolf) .has-game-cover::before { display:none }
.game-mast .game-cover-image { object-fit:contain }
.game-shell:not(.theme-wolf) .game-mast :is(h1,.meta) { color:var(--site-ink) }
.game-shell:not(.theme-wolf) .game-mast p { color:var(--site-muted) }
.game-shell:not(.theme-wolf) .play .button.cta { background:var(--site-violet); color:white }
.game-shell:not(.theme-wolf) .play .button.cta:hover { background:#3d2d95 }
.game-shell.theme-likely:has(.likely-round),.game-shell.theme-likely.wide:has(.likely-panel) {
  background:var(--room-deep)
}
.theme-likely.game-shell .likely-ticket .meta { color:var(--site-muted) }
.theme-likely .likely-setup :is(.setup-choices,.setup-mode) { border-color:var(--site-line) }
.theme-likely .likely-panel .ballot .button { color:var(--site-ink); border-color:var(--line); background:white }
.theme-likely .likely-panel .ballot .button:hover { background:var(--soft) }
.theme-likely .likely-panel .scores li strong { background:var(--wash); color:var(--site-ink) }
.theme-likely .likely-round-controls .button { border-color:#93849f }
.theme-likely .likely-round-controls .button:hover { background:#55435f }
.theme-likely .likely-round-controls :is([data-action="point"],[data-action="vote-start"]) {
  background:var(--site-violet); color:white; border-color:transparent
}
.theme-likely .likely-round-controls :is([data-action="point"],[data-action="vote-start"]):hover { background:#6753c9 }
.theme-likely .likely-dots i,.theme-likely .likely-signal:not([data-step]) i { background:#887690 }
.theme-likely.game-shell .likely-round-controls .round-guide,
.theme-likely .likely-round-controls [data-action="reset"] { color:#e5dcef }
.likely-reading .game-prep dt,.likely-reading .game-steps strong,.likely-reading summary { color:var(--site-ink) }
@media(max-width:650px) {
  .game-shell:not(.theme-wolf) .game-mast { grid-template-columns:minmax(0,1fr) }
  .game-shell:not(.theme-wolf) .game-mast-copy { grid-area:1 / 1 }
  .game-shell:not(.theme-wolf) .game-mast .has-game-cover { grid-area:2 / 1; max-width:35rem; justify-self:center }
}
@media(max-width:560px) {
  .grid > .game,.home-collection > .grid > .game {
    grid-template-columns:clamp(5.25rem,26vw,7.5rem) minmax(0,1fr)
  }
  .grid .game > .game-art { aspect-ratio:1 }
}
