﻿@import url('./prototype.css');

[hidden] { display: none !important; }
body { font-size: 1rem; }
button, select { min-height: 42px; }
button, select, input { font: inherit; }
button:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible, .board:focus-visible {
  outline: 2px solid #efc783;
  outline-offset: 3px;
}
.modebar button[aria-pressed=true], .tabs button[aria-pressed=true] {
  color: #ffe4a4;
  background: #402f24;
  border-color: #b78850;
}
.modebar small { color: #e6c391; font-size: .75rem; }
.settings { align-items: center; }
.settings .filterinfo { width: auto; flex: 1; color: #e3ccad; font-size: .875rem; }
#filterPanel { flex-basis: 100%; }
#filterPanel summary { cursor: pointer; color: #f1cc91; width: fit-content; padding: 4px 0; }
#filters { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; padding-top: 12px; }
#filters label { display: grid; gap: 4px; font-size: .875rem; color: #e3ccad; }
#filters select { min-width: 100px; max-width: min(240px, 75vw); }
#filters .check { display: flex; padding: 9px 0; }
#filters input { accent-color: #deb374; width: 18px; height: 18px; }
.legend { font-size: .875rem; }
.comparison { width: 100%; min-width: 850px; table-layout: fixed; border-spacing: 5px 6px; }
.comparison th { color: #e3ccad; font-size: .8125rem; }
.comparison th:first-child { width: 165px; }
.comparison th:nth-child(9) { width: 114px; }
.comparison .cell { display: table-cell; vertical-align: middle; height: 52px; overflow-wrap: anywhere; }
.comparison .card-label { display: flex; align-items: center; gap: 7px; text-align: left; }
.comparison .outcome { display: inline-block; font-weight: bold; margin-left: .22rem; }
.comparison .empty { height: 42px; }
.game .hint { margin: 8px 0 0; }
.clue .artframe { max-width: min(100%, 320px); overflow: hidden; margin: 8px auto; }
.clue-art { width: 100%; aspect-ratio: 1; display: block; object-fit: cover; }
.clue audio { max-width: 100%; }
.thumb { object-fit: cover; background: #382b2d; flex: none; }
.option .card-details { text-align: right; }
.footer button { font-size: .875rem; }
@media(max-width: 580px) {
  .wrap { padding-inline: 12px; }
  .hero { gap: 12px; }
  .modebar { display: grid; grid-template-columns: 1fr 1fr; }
  .modebar button { width: 100%; font-size: .9rem; }
  .game { padding: 12px; }
  .gamehead { align-items: start; gap: 10px; }
  .gamehead h2 { font-size: 1rem; }
  .attempts .pip { display: none; }
  .option { text-align: left; }
  .option .card-details { display: block; font-size: .75rem; }
  .search input { font-size: 16px; }
}
.board-hint { display: none; }
@media(max-width: 900px) {
  .board-hint { display: block; }
  .comparison th:first-child { width: 115px; }
  .comparison .card-label { font-size: .8125rem; }
}
