.practice-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0 4px;
  padding: 12px 14px;
  border: 1px dotted #777;
  border-radius: 4px;
  background: rgba(255,255,255,.55);
  color: #666;
  font-family: "Courier New", Courier, monospace;
}
.practice-entry-copy { display: flex; flex-direction: column; gap: 3px; font-size: 11px; line-height: 1.35; }
.practice-entry-copy strong { color: olivedrab; font-size: 12px; }
.practice-entry-button { flex: 0 0 auto; width: 128px !important; margin: 0 !important; }
.practice-shell {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #666;
  font-family: "Courier New", Courier, monospace;
}
.practice-header {
  min-height: 48px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  border-bottom: 1px dotted #666;
  background: #111;
  color: #fff;
}
.practice-header > div { display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.practice-header span { color: #aaa; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.practice-header strong { font-size: 13px; font-weight: normal; }
.practice-header .practice-step { justify-self: center; color: #ffe84a; }
.practice-back, .practice-text-button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.practice-back { color: #ffe84a; font-size: 30px; line-height: 1; }
.practice-body { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 18px 14px 12px; overflow-y: auto; }
.practice-kicker { margin: 0 0 12px; color: #555; font-size: 12px; text-align: center; }
.practice-letters { min-height: 84px !important; max-height: 84px !important; margin: 0 0 12px !important; padding: 0 !important; }
.practice-letter { width: 54px !important; height: 70px !important; font-size: 34px !important; }
.practice-hint { max-width: 390px; margin: 0 0 12px; color: #888; font-size: 10px; line-height: 1.45; text-align: center; }
.practice-input-wrap { width: min(100%, 430px); display: grid; grid-template-columns: 1fr auto; border: 1px dotted #777; border-radius: 4px; overflow: hidden; }
.practice-shell #txtMessage {
  box-sizing: border-box;
  width: 100% !important;
  height: 50px !important;
  min-height: 50px;
  padding: 9px !important;
  border: 0 !important;
  font-size: 16px !important;
  line-height: 1.25;
  resize: none;
}
.practice-shell #btnMessage { display: block !important; width: 106px !important; height: 50px !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; }
.practice-feedback { min-height: 20px; margin: 8px 0 0; color: #8a2c2c; font-size: 11px; text-align: center; }
.practice-shell #game-keyboard { display: block !important; position: static !important; width: 100% !important; margin-top: auto; padding-bottom: max(4px, env(safe-area-inset-bottom)); }
.practice-shell #game-keyboard.practice-desktop-hidden { display: none !important; }
.practice-own { width: min(100%, 430px); padding: 12px 14px; border-left: 3px solid olivedrab; background: #f1f1f1; }
.practice-own span { display: block; margin-bottom: 5px; color: #888; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.practice-own strong { color: #555; font-size: 13px; }
.practice-options { width: min(100%, 430px); display: grid; gap: 9px; margin-top: 16px; }
.practice-option { min-height: 54px; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 8px; padding: 8px 12px; border: 1px dotted #777; border-radius: 4px; background: #fff; color: #555; font: 13px/1.35 "Courier New", Courier, monospace; text-align: left; cursor: pointer; }
.practice-option span { color: olivedrab; font-weight: bold; }
.practice-option:active { background: #f0f4e8; transform: translateY(1px); }
.practice-finish blockquote { max-width: 430px; margin: 12px 0 20px; padding: 18px; border: 1px dotted #777; border-left: 5px solid olivedrab; color: #444; font-size: 17px; font-weight: bold; line-height: 1.45; }
.practice-finish > p:not(.practice-kicker) { max-width: 430px; color: #666; font-size: 12px; line-height: 1.55; text-align: center; }
.practice-actions { display: flex; flex-direction: column; align-items: center; gap: 5px; margin-top: 6px; }
.practice-actions .confirmation_button { margin-top: 12px; }
.practice-text-button { color: #666; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) {
  .practice-entry { margin: 10px 0 2px; padding: 9px 10px; }
  .practice-entry-button { width: 112px !important; font-size: 11px !important; }
  .practice-body { padding-top: 12px; }
  .practice-letters { min-height: 68px !important; max-height: 68px !important; }
  .practice-letter { width: 47px !important; height: 60px !important; font-size: 30px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .practice-option:active { transform: none; }
}
