/* ===========================================================================
 * PHASE 8Q.4 (A) -- FESTIVUS BLUFF CONTENT
 *
 * The player's HOW TO PLAY button and rules card, the SECRET QUESTION card on
 * the Bluff screen, the "secret question waiting" line on the Bluff card, and
 * the administrator's FESTIVUS BLUFF CONTENT panel.
 *
 * Linked by index.html BEFORE phase8k.css (which must stay LAST). Only tokens
 * app.css defines; no fixed widths; every long name, quote and prompt wraps;
 * inputs are 16px so a phone does not zoom; nothing animates.
 * ======================================================================== */

/* ------------------------------------------------------------ HOW TO PLAY */
.bluff__help {
  display: flex;
  justify-content: flex-end;
  margin: 0.25rem 0 0.5rem;
}

.bluff__help .rules-button {
  min-height: var(--tap);
}

.bluff-rules__steps {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bluff-rules__step {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-elev-2);
}

.bluff-rules__heading {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  overflow-wrap: anywhere;
}

.bluff-rules__text {
  margin: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

.bluff-rules__notes {
  display: grid;
  gap: 0.375rem;
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--text-dim);
  overflow-wrap: anywhere;
}

/* -------------------------------------------------------- SECRET QUESTION */
.bluff__secret[hidden] {
  display: none;
}

.bluff-secret {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius);
  background: var(--bg-elev);
  min-width: 0;
}

.bluff-secret__eyebrow {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  overflow-wrap: anywhere;
}

.bluff-secret__headline {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--accent);
  overflow-wrap: anywhere;
}

.bluff-secret__lead,
.bluff-secret__note {
  margin: 0;
  color: var(--text-dim);
  overflow-wrap: anywhere;
}

.bluff-secret__prompt {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  overflow-wrap: anywhere;
}

.bluff-secret__input,
.bluff-content__input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 16px;
  min-height: var(--tap);
}

.bluff-secret__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bluff-secret__actions .btn {
  flex: 1 1 10rem;
  min-height: var(--tap);
}

.bluffcard__secret {
  margin: 0;
  color: var(--warn);
  font-weight: 700;
  overflow-wrap: anywhere;
}

/* ------------------------------------------- ADMIN: FESTIVUS BLUFF CONTENT */
.bluff-content .card__text,
.bluff-content .ac__hint {
  overflow-wrap: anywhere;
}

.bluff-content__settings {
  display: grid;
  gap: 0.75rem;
  margin: 0.5rem 0 1rem;
}

.bluff-content__setting {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 0.5rem;
  align-items: end;
}

.bluff-content__setting .field__label,
.bluff-content__setting .ac__hint {
  grid-column: 1 / -1;
}

.bluff-content__setting .btn {
  min-height: var(--tap);
}

.bluff-content__form {
  display: grid;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.bluff-content__field {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.bluff-content__add > summary {
  min-height: var(--tap);
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--accent);
}

.bluff-content__list {
  display: grid;
  gap: 0.5rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.bluff-content__item {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  min-width: 0;
}

.bluff-content__item.is-disabled {
  opacity: 0.7;
  border-style: dashed;
}

.bluff-content__code {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-faint);
  overflow-wrap: anywhere;
}

.bluff-content__prompt {
  margin: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}
