/* The Hidden Layer — stage 1.
 * The films' language, kept quiet: warm dark wood, brass, held light.
 * Everything here is a seated card in its host page; nothing floats,
 * nothing overlays. The finds layer is parked (Aaron, Nov 20, 2026):
 * its styles left with its runtime, and only the games remain. */

:root {
  --hl-brass: #daa45b;
  --hl-brass-soft: rgba(218, 164, 91, 0.45);
  --hl-wood: #241a12;
  --hl-wood-2: #2f2115;
  --hl-parchment: #f3e7cf;
  --hl-parchment-dim: rgba(243, 231, 207, 0.72);
}

.hl-btn {
  appearance: none;
  border: 1px solid var(--hl-brass-soft);
  background: rgba(218, 164, 91, 0.08);
  color: var(--hl-parchment);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.hl-btn:hover,
.hl-btn:focus-visible {
  border-color: var(--hl-brass);
  background: rgba(218, 164, 91, 0.18);
  outline: none;
}

.hl-btn-keep {
  background: rgba(218, 164, 91, 0.22);
  border-color: var(--hl-brass);
  color: #fff7e8;
}

.hl-btn.is-selected {
  background: rgba(218, 164, 91, 0.3);
  border-color: var(--hl-brass);
}

/* The games, seated in their host pages. */

.hl-game {
  border: 1px solid var(--hl-brass-soft);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  background: linear-gradient(165deg, rgba(47, 33, 21, 0.92), rgba(36, 26, 18, 0.96));
  color: var(--hl-parchment);
  box-shadow: inset 0 1px 0 rgba(243, 231, 207, 0.07), 0 10px 26px rgba(0, 0, 0, 0.35);
  max-width: 44rem;
  margin: 1.5rem auto;
}

.hl-game-title {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  color: #fff7e8;
}

.hl-game-line,
.hl-game-spark {
  margin: 0 0 0.6rem;
  color: var(--hl-parchment-dim);
  line-height: 1.5;
}

.hl-game-spark {
  color: var(--hl-brass);
}

.hl-game-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.7rem 0;
}

.hl-game-status {
  min-height: 1.4em;
  margin: 0.5rem 0 0;
  color: var(--hl-parchment);
}

.hl-count-steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.8rem 0;
  padding: 0;
}

.hl-count-step {
  border: 1px solid var(--hl-brass-soft);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  background: rgba(218, 164, 91, 0.07);
  font-size: 0.92rem;
}

.hl-count-next {
  border-style: dashed;
  color: var(--hl-brass);
  font-weight: 700;
}
