/* Static explanation only; the existing game phase controls its visibility. */
.word-demo {
  margin: 12px 0 16px;
  padding: 20px 22px 17px;
  border: 1px solid #e4cfee;
  border-radius: 22px;
  background: linear-gradient(115deg,#f1e4fa,#fff4e0);
  text-align: center;
  color: #310f2f;
}
.word-demo h3 { font: 900 clamp(1.15rem,3.5vw,1.55rem)/1.2 Nunito,sans-serif; margin: 12px 0 16px; }
.word-demo-example { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; }
.word-demo-source { display: flex; gap: 5px; }
.word-demo-source span { display: grid; place-items: center; width: 39px; height: 44px; border: 1px solid #e4ce9f; border-bottom-width: 4px; border-radius: 10px; background: #fffae9; color: #582260; font: 1000 1.45rem Nunito,sans-serif; }
.word-demo-source span:nth-child(2n) { transform: rotate(3deg); }
.word-demo-source span:nth-child(2n+1) { transform: rotate(-3deg); }
.word-demo-arrow { font: 900 1.8rem Nunito,sans-serif; color: #8624b1; }
.word-demo-words { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.word-demo-words span { padding: 7px 11px; border-radius: 10px; background: #fffdfa; color: #64168e; font: 900 1rem Nunito,sans-serif; box-shadow: 0 2px 0 #d8bde7; }
.word-demo p { margin: 13px 0 0; font-size: .85rem; color: #59485a; line-height: 1.4; }
html[data-slova-phase="playing"] .word-demo,
html[data-slova-phase="finished"] .word-demo { display: none; }
@media(max-width:600px) {
  .word-demo { padding: 17px 12px 14px; margin-bottom: 10px; }
  .word-demo h3 { margin-bottom: 13px; }
  .word-demo-example { gap: 12px; }
  .word-demo-words { flex-basis: 100%; }
  .word-demo-arrow { display: none; }
  .word-demo-source span { width: 38px; height: 43px; }
  .word-demo p { font-size: .8rem; margin-top: 11px; }
}
