/* worksmart365 Spiele · gemeinsame Styles fuer Einzelspiele (shared/solo.js) */
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 720px; margin: 0 0 1.8rem; }
.howto__list { margin: 0.4rem 0 0.4rem; padding-left: 1.2rem; color: var(--ink-soft); }
.howto__list li { margin-bottom: 0.5rem; }
.start-meta { color: var(--muted); font-size: 0.9rem; margin-top: 0.9rem; }
.round-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.8rem; flex-wrap: wrap; }
.round-head__right { display: flex; align-items: center; gap: 0.6rem; }
.round-counter { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.score-pill { background: var(--deep-blue); color: #fff; border-radius: var(--radius-pill); padding: 4px 13px; font-size: 0.82rem; font-weight: 700; }
.action-bar { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.7rem; }
.action-bar--center { justify-content: center; }

.solo-layout { display: block; }
.solo-layout--side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.4rem; align-items: start; }
.solo-side:empty { display: none; }
.solo-ask { font-size: 0.82rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin: 1.3rem 0 0.6rem; }
.solo-timer { height: 8px; background: var(--gray-100); border-radius: 8px; overflow: hidden; margin-top: 0.9rem; }
.solo-timer > i { display: block; height: 100%; width: 100%; background: var(--accent); transition: width 0.1s linear; }
.solo-timer.is-low > i { background: var(--error); }

.solo-choices { display: grid; gap: 0.6rem; grid-template-columns: minmax(0, 1fr); }
.solo-choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.solo-choices--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.solo-choices--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.solo-choices--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.solo-choice { font: inherit; text-align: left; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); padding: 0.85rem 1rem; min-height: 56px; cursor: pointer; display: flex; gap: 0.7rem; align-items: flex-start; transition: border-color .12s, background .12s; }
.solo-choice:hover:not(:disabled) { border-color: var(--ink); }
.solo-choice:disabled { cursor: default; }
.solo-choice b { flex: 0 0 auto; color: var(--muted); font-size: 0.85rem; padding-top: 2px; }
.solo-choice > span { display: flex; flex-direction: column; gap: 2px; }
.solo-choice__l { font-weight: 700; font-size: 0.98rem; line-height: 1.35; }
.solo-choice__s { font-size: 0.82rem; color: var(--muted); line-height: 1.35; }
.solo-choices--5 .solo-choice, .solo-choices--6 .solo-choice { flex-direction: column; align-items: center; text-align: center; padding: 0.8rem 0.5rem; }
.solo-choices--5 .solo-choice > span, .solo-choices--6 .solo-choice > span { align-items: center; }
.solo-choice.is-right { border-color: var(--success); background: var(--success-soft); }
.solo-choice.is-wrong { border-color: var(--error); background: var(--error-soft); }
.solo-choice.is-ok { border-color: var(--warn); background: var(--warn-soft); }

.feedback { margin-top: 1.3rem; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; animation: fb-in 0.22s ease; }
@keyframes fb-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.solo-fb__head { padding: 0.9rem 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #fff; }
.solo-fb__head span { font-weight: 700; font-size: 0.9rem; background: rgba(255,255,255,0.22); padding: 3px 12px; border-radius: var(--radius-pill); white-space: nowrap; }
.solo-fb--success .solo-fb__head { background: var(--success); }
.solo-fb--warn .solo-fb__head { background: var(--warn); }
.solo-fb--error .solo-fb__head { background: var(--error); }
.solo-fb__body, .feedback__body { padding: 1.1rem 1.2rem; background: #fff; }
.solo-fb__body p:last-child, .feedback__body p:last-child { margin-bottom: 0; }
.solo-fb__body ul, .feedback__body ul { margin: 0 0 0.6rem; padding-left: 1.2rem; color: var(--ink-soft); }

.result { text-align: center; }
.result__score { font-size: 3.6rem; font-weight: 800; color: var(--deep-blue); line-height: 1; }
.result__max { font-size: 1.4rem; color: var(--muted); font-weight: 700; }
.result__rating { font-weight: 800; font-size: 1.2rem; margin-top: 0.4rem; color: var(--accent-dk); }
.result__sub { margin: 0.4rem 0 0; color: var(--muted); }
#endExtra:empty { display: none; }
#endExtra { margin: 1.4rem 0; }

/* gemeinsame Karten */
.solo-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-soft); padding: 1.1rem 1.2rem; }
.solo-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-dk); font-weight: 800; margin-bottom: 0.4rem; }
.solo-text { font-size: 1.08rem; color: var(--ink); margin: 0; line-height: 1.55; }

@media (max-width: 860px) {
  .solo-layout--side { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .solo-choices--2, .solo-choices--4, .solo-choices--5 { grid-template-columns: minmax(0, 1fr); }
  .solo-choices--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solo-choices--5 .solo-choice { flex-direction: row; align-items: flex-start; text-align: left; padding: 0.7rem 0.9rem; }
  .solo-choices--5 .solo-choice > span { align-items: flex-start; }
  .result__score { font-size: 2.8rem; }
}
