/* === Decision Maker additions === */

.tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding: 0.45rem;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.tab {
  flex: 1 1 auto;
  min-width: 80px;
  padding: 0.5rem 0.9rem;
  border-radius: 12px;
  border: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.tab:hover {
  color: var(--ink);
  background: var(--pick-bg);
  transform: none;
  border-color: transparent;
}
.tab.picked {
  background: var(--pick-bg);
  border-color: var(--pick-border);
  color: var(--primary-dark);
}

.mode > .question:not(:last-of-type) {
  margin-bottom: 0.8rem;
}

/* --- Coin --- */
.coin-stage {
  display: flex;
  justify-content: center;
  margin: 2rem 0 2.25rem;
  perspective: 1200px;
}
.coin {
  width: 140px;
  height: 140px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1.1s cubic-bezier(0.17, 0.89, 0.32, 1.0);
}
.coin-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #fff;
  border: 4px solid rgba(255, 255, 255, 0.5);
  backface-visibility: hidden;
  box-shadow: inset 0 -10px 25px rgba(0, 0, 0, 0.12),
              inset 0 6px 16px rgba(255, 255, 255, 0.4),
              0 10px 28px rgba(255, 107, 157, 0.28);
}
.coin-face.heads {
  background: linear-gradient(135deg, #ffb3cf 0%, #ff6b9d 100%);
}
.coin-face.tails {
  background: linear-gradient(135deg, #aae0ed 0%, #7bc5d8 100%);
  transform: rotateY(180deg);
}

/* --- Yes / No --- */
.yesno-prompt {
  text-align: center;
  color: var(--muted);
  margin: 2rem 0 1.25rem;
  font-size: 1rem;
}

/* --- Dice --- */
.dice-row {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0.5rem 0;
}
.die {
  min-width: 68px;
  min-height: 68px;
  padding: 0.5rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff 0%, var(--pick-bg) 100%);
  border: 3px solid var(--pick-border);
  border-radius: 14px;
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.2),
              inset 0 -3px 0 rgba(231, 78, 133, 0.15);
  animation: namePop 0.4s cubic-bezier(0.17, 0.89, 0.32, 1.275);
}
.dice-total {
  font-family: "Fredoka", "Nunito", sans-serif;
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 0.7rem;
}
.dice-total strong { color: var(--primary-dark); }

/* --- List input --- */
textarea#list-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 14px;
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  background: #fffaf5;
  resize: vertical;
  min-height: 140px;
  transition: border-color 0.15s ease;
  color: var(--ink);
}
textarea#list-input:focus {
  outline: none;
  border-color: var(--primary);
}

/* --- Big result text (generic counterpart to .name-big) --- */
.big-text {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
  line-height: 1.1;
  margin: 0;
}
.big-text.animating {
  animation: namePop 0.4s cubic-bezier(0.17, 0.89, 0.32, 1.275);
}

/* Inline code snippet inside the .hint */
.hint code {
  background: var(--pick-bg);
  color: var(--primary-dark);
  padding: 0.05rem 0.35rem;
  border-radius: 6px;
  font-size: 0.85em;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

@media (max-width: 500px) {
  .coin { width: 110px; height: 110px; }
  .coin-face { font-size: 2.5rem; }
  .big-text { font-size: 3rem; }
  .die { min-width: 56px; min-height: 56px; font-size: 1.7rem; }
  .tab { font-size: 0.9rem; padding: 0.45rem 0.65rem; }
}
