/* The variant picker and the frame the designs are judged in. Deliberately outside every design: dark neutral chrome,
   system font. Delete this file, main.js's picker half and the unused variants once one design is chosen. */
@font-face { font-family: Overpass; src: url(/fonts/overpass.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Archivo; src: url(/fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Special Elite"; src: url(/fonts/special-elite.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Gentium Book Plus"; src: url(/fonts/gentium-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; background: #2b2d31; }
#game { min-height: 100dvh; display: flex; flex-direction: column; overflow: hidden; position: relative; }
/* :where keeps these resets at zero specificity so a design's own classes always win */
:where(#game) button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:where(#game) :is(h1, h2, p, ol, ul) { margin: 0; padding: 0; list-style: none; }

.variant-page { container: variant-page / inline-size; }
.variant-layout { display: flex; flex-direction: column; }
.variant-picker { all: unset; display: none; flex-direction: column; gap: 16px; max-height: calc(100dvh - 48px); overflow-y: auto; scrollbar-width: none; padding: 6px; border-radius: 14px; background: rgb(20 20 20 / 0.92); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); font: 13px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; user-select: none; }
.variant-picker-group { display: flex; flex-direction: column; gap: 2px; }
.variant-picker-heading { display: flex; align-items: center; gap: 6px; padding: 4px 10px 6px; font-size: 11px; font-weight: 500; color: rgb(255 255 255 / 0.45); }
.variant-picker button { all: unset; flex: none; padding: 8px 10px; border-radius: 8px; font: inherit; color: rgb(255 255 255 / 0.6); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 200ms ease-out, font-weight 200ms ease-out; }
.variant-picker button:hover { color: rgb(255 255 255 / 0.85); }
.variant-picker button[aria-pressed="true"] { background: rgb(255 255 255 / 0.14); color: rgb(255 255 255); font-weight: 500; }
.variant-picker button:focus-visible { outline: 2px solid rgb(255 255 255 / 0.7); outline-offset: 2px; }
.variant-picker .variant-replay { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18); text-align: center; }
.variant-picker-select { position: relative; display: flex; gap: 8px; align-items: center; padding: 8px 12px; color: rgb(255 255 255); }
.variant-picker-select select { all: unset; box-sizing: border-box; max-width: 100%; padding: 10px 36px 10px 16px; border-radius: 999px; background: rgb(20 20 20 / 0.92); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); font: 500 13px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; cursor: pointer; }
.variant-picker-select select:focus-visible { outline: 2px solid rgb(255 255 255 / 0.7); outline-offset: 2px; }
.variant-picker-select svg { position: absolute; top: 50%; left: 132px; translate: 0 -50%; pointer-events: none; color: rgb(255 255 255 / 0.6); }
.variant-picker-select select { width: 150px; }
.variant-picker-select .variant-replay { all: unset; padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.25); font: 500 13px/1 system-ui, sans-serif; cursor: pointer; }
.variant-picker-select #game, .variant-picker-select + .variant-stage #game { min-height: calc(100dvh - 54px); }

/* 208px list + 24px gap + a 440px phone-width piece */
@container variant-page (min-width: 720px) {
  .variant-layout { display: grid; grid-template-columns: 208px 440px; justify-content: center; gap: 24px; align-items: start; padding: 24px; }
  .variant-picker { display: flex; position: sticky; top: 24px; }
  .variant-picker-select { display: none; }
  .variant-stage { border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08); }
  .variant-stage #game { min-height: min(860px, calc(100dvh - 48px)); }
}
