/* Handy-Ansicht für Teilnehmende, mobile-first */
.participant { min-height: 100vh; background: var(--lavender); }
.p-main { max-width: 520px; margin: 0 auto; padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); }
.p-header { display: flex; align-items: center; gap: 10px; margin: 4px 0 16px; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--heading); }
.p-header span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-card { background: var(--white); border: 1px solid var(--plum-light); border-radius: var(--radius-card); padding: 24px 20px; }
.p-card h1 { font-size: 26px; }
.p-question { font-size: 24px !important; margin-bottom: 8px; }
.p-card .btn { margin-top: 16px; min-height: 52px; font-size: 16px; }
.p-foot { text-align: center; font-size: 13px; color: var(--muted); margin-top: 20px; }
.p-foot a { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.code-input { font: 700 32px/1 var(--font-head) !important; text-align: center; letter-spacing: .18em; text-transform: uppercase; padding: 14px !important; margin-top: 8px; }

.choices { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.choice {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px 16px;
  font: 500 16px/1.3 var(--font-body); color: var(--heading); text-align: left;
  background: var(--white); border: 1.5px solid var(--plum-light); border-radius: var(--radius-card); cursor: pointer;
  transition: border-color .15s, background .15s;
}
.choice:active { transform: scale(.99); }
.choice.is-selected { border-color: var(--plum); background: var(--lavender); }
.choice-mark { flex: none; width: 22px; height: 22px; border: 2px solid var(--plum-light); border-radius: 50%; display: grid; place-items: center; }
[role=checkbox] .choice-mark { border-radius: 4px; }
.choice.is-selected .choice-mark { border-color: var(--plum); background: var(--plum); }
.choice.is-selected .choice-mark::after { content: "✓"; color: var(--white); font-size: 13px; font-weight: 700; }

.scale-pick { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 6px; margin-top: 20px; }
.scale-btn { aspect-ratio: 1; max-height: 64px; font: 700 20px var(--font-body); color: var(--plum); background: var(--white); border: 1.5px solid var(--plum-light); border-radius: var(--radius-card); cursor: pointer; }
.scale-btn.is-selected { background: var(--plum); color: var(--white); border-color: var(--plum); }
.scale-ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 6px; gap: 12px; }
.scale-ends span:last-child { text-align: right; }

.inline-form { display: flex; gap: 8px; margin-top: 16px; }
.inline-form .btn { margin-top: 0; min-height: 0; }
.my-words { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chip-static { background: var(--lavender); border: 1px solid var(--plum-light); color: var(--plum-dark); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 500; }
textarea { margin-top: 12px; }
.counter { text-align: right; margin: 4px 0 0; }

.p-wait { text-align: center; padding: 24px 0 8px; }
.p-wait p { font-size: 18px; margin: 0; }
.pulse { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--plum); margin-bottom: 16px; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(125, 63, 94, .5); } 70% { box-shadow: 0 0 0 16px rgba(125, 63, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(125, 63, 94, 0); } }
.p-done { text-align: center; padding: 16px 0 0; }
.p-done p { font-size: 18px; margin: 8px 0 0; }
.check { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--plum); color: var(--white); font-size: 28px; animation: pop .35s ease-out; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

.qa { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 8px; }
.qa li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.qa p { margin: 0; flex: 1; padding-top: 6px; }
.vote { flex: none; display: flex; flex-direction: column; align-items: center; min-width: 48px; padding: 6px 8px; font: 600 13px var(--font-body); color: var(--plum); background: var(--white); border: 1.5px solid var(--plum-light); border-radius: var(--radius-btn); cursor: pointer; }
.vote span { font-size: 15px; }
.vote.is-voted { background: var(--plum); color: var(--white); border-color: var(--plum); }
