* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans', sans-serif;
  background: #fff;
  color: #333;
  overflow: hidden;
  height: 100vh;
}

#app {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.progress-bar {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  background: #f5f5f5;
  border-bottom: 2px solid #e0e0e0;
}

.progress-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.progress-step.active {
  opacity: 1;
}

.progress-step.completed {
  opacity: 0.7;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.3s;
}

.progress-step.active .step-circle {
  background: #000;
  color: #fff;
}

.progress-step.completed .step-circle {
  background: #4caf50;
  color: #fff;
}

.step-label {
  font-size: 10px;
  text-align: center;
  font-weight: 600;
}

#game-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: #fff;
  border: 2px solid #000;
  padding: 16px;
  cursor: pointer;
  transition: transform 0.2s;
}

.card:active {
  transform: scale(0.98);
}

.card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.card p {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

.card-meta {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
}

.cost {
  color: #f44336;
}

.time {
  color: #2196f3;
}

.quality {
  color: #4caf50;
}

.message {
  background: #f5f5f5;
  padding: 16px;
  border-left: 4px solid #000;
  font-size: 14px;
  line-height: 1.5;
}

.insights {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.insight {
  background: #fff;
  border: 1px solid #ddd;
  padding: 12px;
  font-size: 13px;
  border-radius: 4px;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  background: #000;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn:active {
  opacity: 0.8;
}

.btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.result {
  text-align: center;
  padding: 32px 20px;
}

.result h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.result p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 24px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.stat {
  background: #f5f5f5;
  padding: 12px;
  text-align: center;
}

.stat-label {
  font-size: 11px;
  color: #666;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
}

@media (min-width: 768px) {
  #game-content {
    max-width: 600px;
    margin: 0 auto;
  }
}

