/* Tycoon shared engine styles. Each game's own style.css sets --tycoon-grad-a/--tycoon-grad-b
   and --tycoon-shadow to theme the clicker button (falls back to a warm orange if unset). */
.tycoon-clicker {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--tycoon-grad-a, #ffb74d), var(--tycoon-grad-b, #f57c00));
  color: #fff;
  font-size: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px var(--tycoon-shadow, rgba(245, 124, 0, 0.35));
  transition: transform 0.08s ease;
}
.tycoon-clicker:active { transform: scale(0.94); }
.tycoon-clicker--bounce { animation: tycoon-bounce 0.22s ease; }
@keyframes tycoon-bounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.tycoon-shop {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.tycoon-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}
.tycoon-row__icon { font-size: 1.8rem; }
.tycoon-row__info { display: flex; flex-direction: column; font-size: 0.9rem; }
.tycoon-row__info small { color: var(--color-text-soft); }
.tycoon-row__owned { font-weight: 700; font-size: 0.88rem; color: var(--color-text-soft); white-space: nowrap; }
.tycoon-row__buy { padding: 9px 14px; font-size: 0.85rem; white-space: nowrap; }
.tycoon-row__buy:disabled { opacity: 0.45; cursor: not-allowed; }

.tycoon-prestige {
  width: 100%;
  text-align: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 2px dashed var(--color-border);
}
.tycoon-prestige-note { font-size: 0.86rem; color: var(--color-text-soft); margin-top: 8px; }

@media (max-width: 480px) {
  .tycoon-row { grid-template-columns: auto 1fr; }
  .tycoon-row__owned, .tycoon-row__buy { grid-column: 2; justify-self: start; }
}
