/* Kreativ & Quatsch (partygames.js): Schlagfertig, Flunkerei, Krakelei.
   Alle Klassen beginnen mit pg-. Bewusst ruhig: nur ein kurzes Einblenden beim Aufdecken. */

/* ---------- Bühne ---------- */
.pg-prompt { font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.3; font-weight: 600; margin: .2em 0 .7em; text-wrap: balance; }
.pg-gap { display: inline-block; width: 3.2em; border-bottom: 4px solid var(--gold); vertical-align: baseline; margin: 0 .15em; }

.pg-cards { display: grid; gap: 10px; margin: 14px 0; text-align: left; flex: 1; min-width: 0; }
.pg-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-items: center; background: var(--panel2); border: 3px solid transparent; border-radius: 16px; padding: 12px 16px; }
.pg-tag { grid-row: span 2; align-self: start; width: 2em; height: 2em; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #1b1444; font-weight: 700; font-size: 1.15rem; }
.pg-text { font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.pg-meta { grid-column: 2; color: var(--dim); font-size: 1.05rem; overflow-wrap: anywhere; }
.pg-meta b { color: var(--ink); }
.pg-card.pg-win { border-color: var(--gold); }
.pg-card.pg-win .pg-meta { color: var(--gold); }
.pg-card.pg-true { border-color: var(--ok); background: #2b5e3a; }
.pg-card.pg-true .pg-meta { color: #d3f9d8; }
.pg-card.pg-dim { opacity: .7; }
.pg-card.pg-dim .pg-text { font-weight: 400; }
.pg-card.pg-in { animation: pg-in .35s ease-out; }
@keyframes pg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Zeichnungen */
.pg-svg { display: block; border-radius: 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.pg-svg.pg-pic { width: min(100%, 52vh, 440px); margin: 6px auto 14px; }
.pg-row { display: flex; gap: 18px; align-items: flex-start; }
.pg-row .pg-svg.pg-thumb { width: 220px; flex: none; margin-top: 14px; }
@media (max-width: 640px) {
  .pg-row { flex-direction: column; align-items: center; }
  .pg-row .pg-svg.pg-thumb { width: 180px; }
  .pg-row .pg-cards { width: 100%; }
}

/* ---------- Handy ---------- */
.pg-q { font-weight: 600; font-size: 1.2rem; line-height: 1.35; }
.pg-q .pg-gap { border-bottom-width: 3px; width: 2.6em; }
.pg-note { background: rgba(250, 82, 82, .2); border: 2px solid var(--bad); border-radius: 12px; padding: .5em .7em; }
.vbtns .btn.pg-opt { justify-content: flex-start; text-align: left; gap: .7em; font-weight: 400; overflow-wrap: anywhere; }
.vbtns .btn.pg-opt b { flex: none; width: 1.8em; height: 1.8em; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #1b1444; }

.pg-sketch { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pg-sk-word { font-size: clamp(1.3rem, 6vw, 1.9rem); font-weight: 700; color: var(--gold); line-height: 1.2; }
.pg-sk-time { color: var(--dim); font-weight: 600; }
.pg-sk-cv { width: min(100%, 54vh); aspect-ratio: 1; background: #fff; border-radius: 16px; touch-action: none; cursor: crosshair; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.pg-sk-btns { display: flex; gap: 10px; width: 100%; }
.pg-sk-btns .btn { flex: 1; }
/* Ersatzfeld am Computer für Spieler ohne Handy */
.lv .pg-sk-cv { width: 220px; }
.lv .pg-sk-word { font-size: 1.1rem; }
.lv .pg-q { font-size: .95rem; }
