/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light dark;
  --bg: #faf7f2;
  --fg: #1b1a17;
  --muted: #6b6558;
  --accent: #8c1c13;
}

@media (prefers-color-scheme: dark) {
  :root {
    --lightningcss-light: ;
    --lightningcss-dark: initial;
    --bg: #14130f;
    --fg: #f2ede4;
    --muted: #9c968a;
    --accent: #e0533f;
  }
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--fg);
  -webkit-text-size-adjust: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
}

.play-page {
  max-width: 82rem;
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 2.5rem) 1rem;
}

.game-page {
  gap: 1.25rem;
  display: grid;
}

.game-layout {
  --layout-gap: clamp(1rem, 3vw, 2.5rem);
  gap: var(--layout-gap);
  grid-template-columns: minmax(0, 1fr);
  display: grid;
}

.board-svg {
  width: 100%;
  height: auto;
  display: block;
}

.board-fit {
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
}

@media (min-width: 48rem) {
  .board-fit {
    max-width: none;
  }
}

.board-legend ul {
  gap: .3rem 1rem;
}

@media (min-width: 48rem) {
  :root {
    --board-reserve: 25rem;
  }

  .play-page {
    padding-block: .75rem;
  }

  .play-page h1 {
    margin: 0 0 .15rem;
    font-size: 1.35rem;
    line-height: 1.25;
  }

  .case-header p {
    font-size: .95rem;
  }

  .game-page {
    gap: .6rem;
  }

  .play-page .tap-hint {
    margin: .25rem 0 0;
    font-size: .78rem;
  }

  .game-layout {
    --square: min(calc((100% - var(--layout-gap)) / 2), calc(100dvh - var(--board-reserve)));
    grid-template-columns: repeat(2, var(--square));
    justify-content: center;
    align-items: start;
    row-gap: .5rem;
  }

  .side-column {
    aspect-ratio: 1;
    padding-right: .35rem;
    overflow-y: auto;
  }

  .board-legend {
    grid-column: 1 / -1;
    font-size: .78rem;
    line-height: 1.35;
  }

  .board-legend ul {
    gap: .15rem .85rem;
  }

  .board-legend svg {
    width: 20px;
    height: 20px;
  }

  .board-legend h2 {
    margin-right: .6rem;
    display: inline;
  }

  .clue-column {
    font-size: clamp(.78rem, calc(var(--square) / 34), .95rem);
    gap: 0;
    line-height: 1.35;
  }

  .clue-column > div {
    background: none;
    border: none;
    border-left: 3px solid #0000;
    border-radius: 0;
    gap: .45rem;
    padding: .2rem .4rem .2rem .5rem;
  }

  .clue-column > div:has(button[aria-pressed="true"]) {
    border-left-color: var(--accent);
    background: #8c1c130d;
  }

  .clue-column button[data-testid^="select-"] {
    width: 1.4rem;
    height: 1.4rem;
    font-size: .72rem;
  }

  .clue-column > h2, .board-legend h2 {
    clip-path: inset(50%);
    white-space: nowrap;
    width: 1px;
    height: 1px;
    position: absolute;
    overflow: hidden;
  }
}

/*# sourceMappingURL=src_app_globals_162hn9o.css.map*/