.title-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin-top: 25px;
}
.title-primary { width: 142px !important; margin: 0 !important; }
.title-secondary {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #fff;
  font: 11px "Courier New", Courier, monospace;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.solo-shell {
  --solo-ink: #3e4337;
  --solo-paper: #f8f6ed;
  --solo-accent: olivedrab;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 12%, rgba(255,255,255,.95) 0 8%, transparent 26%),
    repeating-linear-gradient(0deg, rgba(65,70,55,.025) 0 1px, transparent 1px 4px),
    var(--solo-paper);
  color: var(--solo-ink);
  font-family: "Courier New", Courier, monospace;
}
.solo-header {
  min-height: 52px;
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  border-bottom: 1px dotted #858a79;
  background: #171914;
  color: #fff;
}
.solo-header > div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.solo-header span { color: #aeb3a3; font-size: 8px; letter-spacing: .19em; text-transform: uppercase; }
.solo-header strong { font-size: 13px; font-weight: normal; }
.solo-back, .solo-sound {
  min-height: 46px;
  border: 0;
  background: transparent;
  color: #ffe84a;
  font-family: inherit;
  cursor: pointer;
}
.solo-back { font-size: 31px; line-height: 1; }
.solo-sound { padding: 0 8px; color: #aeb3a3; font-size: 8px; text-transform: uppercase; }
.solo-progress { height: 3px; background: #d9d7cc; }
.solo-progress i { display: block; height: 100%; background: var(--solo-accent); transition: width 450ms cubic-bezier(.2,.8,.2,1); }
.solo-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 16px 14px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.solo-eyebrow {
  margin: 0 0 9px;
  color: #777c6e;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.solo-letters { min-height: 92px !important; max-height: 92px !important; margin: 0 0 10px !important; padding: 0 !important; }
.solo-letter {
  width: 58px !important;
  height: 76px !important;
  opacity: 0;
  transform: translateY(12px) rotate(-2deg);
  transition: opacity 220ms ease, transform 420ms cubic-bezier(.2,.8,.2,1);
}
.solo-letter:nth-child(even) { transform: translateY(12px) rotate(2deg); }
.solo-letter.solo-letter-in { opacity: 1; transform: translateY(0) rotate(0); }
.solo-instruction { max-width: 390px; margin: 0 0 12px; color: #696e62; font-size: 10px; line-height: 1.45; text-align: center; }
.solo-input-wrap {
  width: min(100%, 440px);
  display: grid;
  grid-template-columns: 1fr 112px;
  overflow: hidden;
  border: 1px dotted #777c6e;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(56,61,48,.08);
}
.solo-shell #txtMessage {
  box-sizing: border-box;
  width: 100% !important;
  height: 54px !important;
  min-height: 54px;
  padding: 9px 10px !important;
  border: 0 !important;
  background: transparent;
  color: var(--solo-ink);
  font: 16px/1.25 "Courier New", Courier, monospace;
  resize: none;
}
.solo-shell #btnMessage { display: block !important; width: 112px !important; height: 54px !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; }
.solo-feedback { min-height: 25px; margin: 8px 0 0; color: #953e34; font-size: 10px; text-align: center; }
.solo-scoreline { width: min(100%, 440px); display: flex; justify-content: space-between; margin-top: auto; color: #858a79; font-size: 9px; text-transform: uppercase; }
.solo-scoreline b { color: var(--solo-ink); font-size: 12px; }
.solo-shell #game-keyboard { display: block !important; position: static !important; width: 100% !important; flex: 0 0 auto; padding-bottom: max(4px, env(safe-area-inset-bottom)); background: rgba(248,246,237,.96); }
.solo-shell #game-keyboard.solo-desktop-hidden { display: none !important; }
.solo-mini-letters { margin: -2px 0 10px; color: var(--solo-accent); font-size: 20px; font-weight: bold; letter-spacing: .15em; }
.solo-options { width: min(100%, 440px); display: grid; gap: 9px; }
.solo-option {
  min-height: 58px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px dotted #777c6e;
  border-radius: 4px;
  background: rgba(255,255,255,.78);
  color: var(--solo-ink);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
}
.solo-option:hover { border-color: var(--solo-accent); background: #fff; transform: translateY(-1px); }
.solo-option:active { transform: translateY(1px); }
.solo-option span { color: var(--solo-accent); font-size: 15px; }
.solo-option strong { font-size: 12px; font-weight: normal; line-height: 1.35; }
.solo-whisper { margin: 13px 0 0; color: #979b90; font-size: 8px; text-align: center; }
.solo-result-burst { width: 82px; height: 82px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dotted #777c6e; border-radius: 50%; background: #fff; }
.solo-result-burst.is-win { border: 4px double var(--solo-accent); animation: solo-pop 520ms cubic-bezier(.2,.9,.25,1.25); }
.solo-result-burst b { color: var(--solo-accent); font-size: 25px; }
.solo-result-burst span { color: #858a79; font-size: 8px; text-transform: uppercase; }
.solo-result-line { margin: 10px 0 12px; color: #666b5f; font-size: 10px; text-align: center; }
.solo-result-list { width: min(100%, 440px); display: grid; gap: 7px; }
.solo-result-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 9px 11px; border-left: 3px solid #bbbeb4; background: rgba(255,255,255,.7); }
.solo-result-card.is-you { border-left-color: var(--solo-accent); }
.solo-result-card.is-picked { background: #fffbdc; }
.solo-result-card div { min-width: 0; }
.solo-result-card span { display: block; margin-bottom: 3px; color: #8a8e83; font-size: 8px; text-transform: uppercase; }
.solo-result-card strong { display: block; overflow: hidden; color: var(--solo-ink); font-size: 11px; font-weight: normal; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.solo-result-card > b { color: var(--solo-accent); font-size: 9px; white-space: nowrap; }
.solo-next { width: 150px !important; margin-top: 13px !important; }
.solo-final { justify-content: center; text-align: center; }
.solo-final-score { color: var(--solo-accent); font-size: clamp(58px, 16vw, 88px); font-weight: bold; line-height: .9; letter-spacing: -.08em; text-shadow: 3px 3px 0 #e1dfd1; }
.solo-final h2 { margin: 12px 0 6px; color: var(--solo-ink); font-size: 19px; font-weight: normal; }
.solo-final > p:not(.solo-eyebrow) { max-width: 370px; margin: 0; color: #707568; font-size: 11px; line-height: 1.5; }
.solo-stat-grid { width: min(100%, 410px); display: grid; grid-template-columns: repeat(3, 1fr); margin: 23px 0 14px; border-block: 1px dotted #9a9e92; }
.solo-stat-grid div { padding: 11px 4px; border-right: 1px dotted #c0c3ba; }
.solo-stat-grid div:last-child { border-right: 0; }
.solo-stat-grid b, .solo-stat-grid span { display: block; }
.solo-stat-grid b { color: var(--solo-ink); font-size: 19px; }
.solo-stat-grid span { margin-top: 3px; color: #858a79; font-size: 7px; text-transform: uppercase; }
.solo-final-actions { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.solo-final-actions .confirmation_button { width: 160px !important; margin: 0 !important; }
.solo-outline { width: 160px; min-height: 35px; border: 1px dotted #777c6e; background: transparent; color: var(--solo-ink); font: 11px "Courier New", Courier, monospace; cursor: pointer; }
@keyframes solo-pop { 0% { transform: scale(.65) rotate(-8deg); opacity: 0; } 70% { transform: scale(1.08) rotate(2deg); } 100% { transform: scale(1) rotate(0); opacity: 1; } }
@media (max-width: 520px) {
  .solo-header { min-height: 48px; }
  .solo-body { padding: 11px 10px 9px; }
  .solo-letters { min-height: 69px !important; max-height: 69px !important; margin-bottom: 7px !important; }
  .solo-letter { width: 47px !important; height: 60px !important; font-size: 30px !important; }
  .solo-instruction { margin-bottom: 8px; }
  .solo-input-wrap { grid-template-columns: 1fr 96px; }
  .solo-shell #btnMessage { width: 96px !important; font-size: 11px !important; }
  .solo-options { gap: 7px; }
  .solo-option { min-height: 51px; padding-block: 6px; }
  .solo-result-burst { width: 62px; height: 62px; }
  .solo-result-burst b { font-size: 20px; }
  .solo-result-line { margin: 7px 0 8px; }
  .solo-result-list { gap: 5px; }
  .solo-result-card { padding: 7px 9px; }
  .solo-next { margin-top: 9px !important; }
}
@media (max-height: 700px) and (pointer: coarse) {
  .solo-body { padding-top: 7px; }
  .solo-eyebrow { margin-bottom: 5px; }
  .solo-letters { min-height: 58px !important; max-height: 58px !important; }
  .solo-letter { width: 42px !important; height: 52px !important; font-size: 27px !important; }
  .solo-instruction { margin-bottom: 6px; }
  .solo-feedback { min-height: 16px; margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .solo-progress i, .solo-letter, .solo-option { transition: none; }
  .solo-result-burst.is-win { animation: none; }
}
