/* Neuriosity — Category Snap playfield.
   Shared chrome lives in ../_shared/game-kit.css */

.cs-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(var(--gu) * 2);
  flex: 0 0 auto;
  width: min(100%, calc(var(--gu) * 74));
  padding: calc(var(--gu) * 3) calc(var(--gu) * 2.4);
  background: #fff;
  border: calc(var(--gu) * 0.3) solid rgba(79, 138, 61, 0.24);
  border-radius: calc(var(--gu) * 3);
}

.cs-word {
  margin: 0;
  color: var(--navy, #062b63);
  font-size: calc(var(--gu) * 7);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-align: center;
  overflow-wrap: anywhere;
}

/* The bar is the only time pressure in view. It runs down per word, not per
   round, so a slow answer costs you that word rather than the whole minute. */
.cs-bar {
  width: 100%;
  height: calc(var(--gu) * 1.6);
  overflow: hidden;
  background: rgba(6, 43, 99, 0.09);
  border-radius: 999px;
}

.cs-bar i {
  display: block;
  width: 100%;
  height: 100%;
  background: #4f8a3d;
  border-radius: 999px;
}

.cs-picks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--gu) * 1.8);
  flex: 0 0 auto;
  width: min(100%, calc(var(--gu) * 74));
}

.cs-pick {
  min-height: max(52px, calc(var(--gu) * 11));
  padding: calc(var(--gu) * 1.2);
  color: var(--navy, #062b63);
  font: inherit;
  font-size: calc(var(--gu) * 3.4);
  font-weight: 800;
  background: #fff;
  border: calc(var(--gu) * 0.34) solid rgba(6, 43, 99, 0.16);
  border-radius: calc(var(--gu) * 2.4);
  cursor: pointer;
  transition: transform 110ms ease, border-color 110ms ease;
}

.cs-pick:hover { border-color: rgba(79, 138, 61, 0.65); }
.cs-pick:active { transform: scale(0.97); }

.cs-pick:focus-visible {
  outline: calc(var(--gu) * 0.5) solid #4f8a3d;
  outline-offset: calc(var(--gu) * 0.3);
}

.cs-pick.is-right {
  border-color: var(--green, #0ea85a);
  background: rgba(14, 168, 90, 0.09);
}

.cs-pick.is-wrong {
  border-color: var(--coral, #f15f6d);
  background: rgba(241, 95, 109, 0.09);
}

.cs-pick.is-answer {
  border-color: var(--green, #0ea85a);
  border-style: dashed;
}

@media (prefers-reduced-motion: reduce) {
  .cs-pick { transition: none; }
  .cs-bar i { transition: none !important; }
}
