/* The Act 1 pilot (docs/pilot-act1.md): the small tag by the name, the pack card in Settings,
   the name question, the speaking setting and the sentence count in Town. */

/* "Act 1 pilot", next to the brand in the top bar. */
.pilot .topbar .brand { white-space: nowrap; }
.pilot-tag {
  display: inline-block; vertical-align: 4px; margin-left: 6px; padding: 2px 7px; border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  color: var(--chip-text); background: var(--chip);
}

/* Settings: switching packs. */
.pack-card.pilot { box-shadow: var(--card-shadow), inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 35%, transparent); }

/* Settings: speaking. */
.speak-card .seg { margin: 8px 0 10px; }
.speak-modes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.speak-modes li { font-size: 13px; line-height: 1.35; color: var(--muted); padding: 6px 10px; border-radius: 10px; transition: background 0.2s, color 0.2s; }
.speak-modes li b { color: var(--text-soft); margin-right: 2px; }
.speak-modes li.on { background: var(--surface3); color: var(--text); }
.speak-modes li.on b { color: var(--text); }

/* The name question (welcome and Settings). */
.name-ask { margin-top: 2px; }
.name-ask .fine { margin: 0 0 12px; }
.name-ask input {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font: inherit; font-size: 18px; font-weight: 700; text-align: center;
}
.name-ask input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.modal .name-ask + .modal-actions { margin-top: 14px; }

/* Town: "You can build about N sentences". */
.says-line {
  margin: 10px 16px 0; padding: 10px 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--card-shadow);
  font-size: 14px; font-weight: 650; color: var(--text-soft); text-align: center;
}
.says-line b { color: var(--accent); font-size: 20px; font-weight: 850; font-variant-numeric: tabular-nums; margin: 0 2px; display: inline-block; }
.says-line.none { color: var(--muted); font-weight: 600; }
.says-line.jump b { animation: says-pop 0.5s var(--spring); }
@keyframes says-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.reduce-motion .says-line.jump b { animation: none; }

/* Districts that open in a later act (soon: true). */
.cb.soon, .district.soon { opacity: 0.62; }
.cb.soon .cb-sub, .district.soon .d-blurb { font-style: italic; }
.soon-note { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
@media (max-width: 380px) { .pilot-tag { padding: 2px 6px; margin-left: 4px; } .pt-act { display: none; } }
