/**
 * @module   public/assets/css/six-ways.css
 * @purpose  Surface styling for the Six Ways dealer (/sixways). Mobile-first — a participant
 *           meets this on a phone via QR. Opens on a big-type splash; inside, the six lenses
 *           carry their name + hint on top as sticky state and the QUESTION is the hero,
 *           standing ALONE on a fixed-floor stage in the middle of the frame — no chips
 *           restating the lens, no layout jumping between short and long pulls.
 * @layer    Presentation
 * @contract BEM under the .sw block. Uses the vendored jotf tokens; never edits them.
 */

/* ── Shell ──────────────────────────────────────────────────────────────── */
.sw {
  max-width: 34rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
}

/* ── The door ───────────────────────────────────────────────────────────── */
.sw__splash {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
}

.sw__title {
  margin: 0;
  font-family: var(--font-headline, sans-serif);
  font-weight: 800;
  font-size: clamp(2.4rem, 11vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.sw__tagline {
  margin: 0;
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted-foreground, #6b7280);
}

.sw__enter {
  margin-top: 0.75rem;
  padding: 1rem 3.5rem;
  font: inherit;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary-foreground, #fff);
  background: var(--color-primary, #4f46e5);
  border: none;
  border-radius: var(--radius, 0.5rem);
  cursor: pointer;
}

.sw__enter:active { transform: scale(0.97); }

.sw__empty {
  padding: 1rem;
  border: 1px dashed var(--color-border, #d4d4d8);
  border-radius: var(--radius, 0.5rem);
  color: var(--color-muted-foreground, #6b7280);
}

/* ── The lenses: name + hint in the button, active one sticks ───────────── */
.sw__main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sw__cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.sw__cat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--color-border, #d4d4d8);
  border-radius: var(--radius, 0.5rem);
  background: var(--color-card, #fff);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.sw__cat-name {
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.15;
}

.sw__cat-hint {
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--color-muted-foreground, #6b7280);
}

.sw__cat--active .sw__cat-hint { color: inherit; opacity: 0.85; }

.sw__cat:active { transform: scale(0.97); }

.sw__cat--active {
  border-color: var(--color-primary, #4f46e5);
  background: var(--color-primary, #4f46e5);
  color: var(--color-primary-foreground, #fff);
}

/* ── The hero: the question owns the middle of the frame, and IS the button ─ */
.sw__hero {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem;
  border: 1px solid var(--color-border, #d4d4d8);
  border-radius: var(--radius, 0.5rem);
  background: var(--color-card, #fff);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  font: inherit;
  text-align: left;
}

.sw__hero:active { transform: scale(0.985); }

.sw__card { display: block; width: 100%; }

.sw__card[hidden] { display: none; }

.sw__tap {
  margin: 1rem 0 0;
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-muted-foreground, #6b7280);
}

.sw__question {
  margin: 0;
  font-family: var(--font-headline, sans-serif);
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  line-height: 1.3;
  font-weight: 700;
}
