/* /game/static/common.css */
.score-odometer {
  display: flex;
  font-size: 2rem;
  font-family: 'Courier New', monospace;
  overflow: hidden;
  gap: 0.1em;
}
.odometer-digit {
  position: relative;
  width: 1ch;
  height: 2.4rem;
  overflow: hidden;
}
.odometer-digit-inner {
  position: absolute;
  top: 0;
  left: 0;
  animation: rollDigit 0.5s ease-in-out forwards;
}
@keyframes rollDigit {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(0); }
}
.scroll-box {
  max-height: 30vh;              /* half the vertical screen */
  overflow-y: auto;
  padding: 0 0;
  background: transparent;
  white-space: pre-wrap;
  margin-bottom: 2rem;
  line-height: 1.3;
  font-size: 0.95rem;
  font-family: inherit;
}
.scroll-box p {
  margin: 0.25em 0;
  line-height: 1.2;
}
.word {
  line-height: 1.1;
  margin-right: 0.15ch;
  display: inline;
}
.word[data-revealed="false"] {
}
.word.last-revealed {
  color: lime;
  font-weight: bold;
  animation: pulse 0.4s ease-in-out;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: 0.2; }
  50%  { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(1); }
}
.punctuation {

}
.feedback {
  font-size: 1.2rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 6px;
  line-height: 1.4;
}
.feedback em {
  display: block;
  color: black;
  margin-top: 0.5rem;
}
.feedback strong {
  display: block;
  margin-top: 0.25rem;
}
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.main-nav li {
  display:flex;
  align-items: center;
}
.main-nav a,
.main-nav .nav-button {
  display: inline-block;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.main-nav a:hover,
.main-nav .nav-button:hover {
    /*only colors defs in theme files :) */
}
body {

    font-family: 'Lora', serif;
    line-height: 1.6;
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
}
h1, h2, h3, h4 {

}
button {
    padding: 0.5rem 1rem;
    font-family: 'Lora', serif;
    font-size: 1rem;
    cursor: pointer;
}
button:hover {
    }
a {
    text-decoration: none;
}
a:hover {
}

.login-nav-button {
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-family: 'Lora', serif;
    font-size: 1rem;
    display: inline-block;
    cursor: pointer;
    margin: 0 0.5rem;
}
.login-nav-button:hover{
}
.profile-container {
    max-width: 900px;
    margin: auto;
    padding: 2rem;
    border-radius: 8px;
    font-family: 'Georgia', serif;
}
.profile-container h1 {
margin-bottom: 1rem;
}
.profile-stats p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.progress-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}
.progress-table th, .progress-table td {
border-bottom: 1px solid #ccc;
padding: 0.5rem;
text-align: left;
}
.progress-bar {
    height: 10px;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.25rem;
}
.progress-fill {
    height: 100%;
}


















