/* Play Mirava — shared game page layout (loads after styles.css) */
body {
  display: flex;
  flex-direction: column;
}

.game-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 12px 20px;
  background: rgba(241, 247, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: var(--line);
}

.game-title {
  margin: 0;
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  font-weight: 800;
}

.game-notice {
  margin: 0;
  padding: 10px 20px;
  background: var(--ink);
  color: #d3deef;
  text-align: center;
  font-size: 0.88rem;
}

.game-notice strong {
  color: var(--lemon);
}

.game-main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px 56px;
}

.panel {
  width: 100%;
  max-width: 480px;
  padding: 26px 22px;
  border-radius: 30px;
  border: var(--line);
  background: var(--paper);
  box-shadow: var(--drop-lg);
}

.stat-line,
.row-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 10px 16px;
  border-radius: 16px;
  border: 2px solid var(--ink);
  background: var(--mint-soft);
  font-weight: 600;
}

.stat-line strong,
.row-stats strong {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--lilac-deep);
}

.msg {
  min-height: 1.6em;
  margin: 0 0 16px;
  text-align: center;
  font-weight: 700;
  color: var(--mint-deep);
}

.panel .btn {
  width: 100%;
}

.game-footer {
  padding: 18px 20px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
}

.game-footer a {
  color: var(--lilac-deep);
}
