.game-area {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.cards-row {
  display: flex;
  gap: 6px;
}
.cards-row button {
  flex: 1;
}

.card-clue {
  font-size: 11px;
  color: #666;
  min-height: 30px;
  background: #f6f6f6;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 6px 8px;
}

.scene {
  position: relative;
  height: 190px;
  background: #d9d9d9;
  border-radius: 10px;
  overflow: hidden;
}

.window {
  position: absolute;
  top: 12px; left: 12px;
  width: 60px; height: 44px;
  border: 3px solid #333;
  background: #999;
  transition: background 0.3s ease;
}
.window.bright { background: #fdf3c4; }
.window.dim { background: #555; }

.lamp {
  position: absolute;
  top: 16px; right: 20px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #888;
  border: 2px solid #333;
}
.lamp.on {
  background: #ffe98a;
  box-shadow: 0 0 14px 4px rgba(255,230,140,0.8);
}

.curtain-left, .curtain-right {
  position: absolute;
  top: 8px;
  width: 4px;
  height: 52px;
  background: #444;
  transition: width 0.3s ease;
}
.curtain-left { left: 10px; }
.curtain-right { left: 68px; }
.curtain-left.closed { width: 30px; left: 10px; }
.curtain-right.closed { width: 30px; left: 42px; }

.book {
  position: absolute;
  bottom: 20px; left: 20px;
  width: 34px; height: 10px;
  background: #333;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.book.visible { opacity: 1; }

.cup {
  position: absolute;
  bottom: 20px; left: 70px;
  width: 14px; height: 14px;
  border-radius: 0 0 6px 6px;
  border: 2px solid #333;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.cup.visible { opacity: 1; }

.flower {
  position: absolute;
  bottom: 16px; right: 24px;
  width: 6px; height: 26px;
  background: #333;
}
.flower-center {
  position: absolute;
  top: -6px; left: -5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid #333;
  background: transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}
.flower.open .flower-center {
  background: #333;
  transform: scale(1.15);
}

.track {
  position: relative;
  height: 40px;
  margin-top: 4px;
}
.track-line {
  position: absolute;
  top: 18px; left: 0; right: 0;
  height: 2px;
  background: #999;
}
.marker {
  position: absolute;
  top: 8px;
  width: 20px; height: 20px;
  margin-left: -10px;
  border-radius: 50%;
  border: 2px solid #999;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}
.marker .digit {
  font-size: 11px;
  color: transparent;
  transition: color 0.15s ease;
}
.marker.lit {
  border-color: #222;
  background: #fff;
}
.marker.lit .digit { color: #111; }

#marker-A { left: 29.4%; }
#marker-B { left: 58.8%; }
#marker-C { left: 73.5%; }
#marker-D { left: 79.4%; }

.shadow-cursor {
  position: absolute;
  top: 0;
  width: 2px;
  height: 40px;
  background: #111;
  left: 0%;
}

.time-readout {
  text-align: center;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.record-row, .verify-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
