/* Mobile-first, fullscreen-like container */
.mcvn-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #f7f7fb;
  box-sizing: border-box;
}

.mcvn-card {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 20px;
}

.mcvn-title {
  font-size: 1.6rem;
  margin: 0 0 8px 0;
  text-align: center;
}

.mcvn-title-sm {
  font-size: 1.25rem;
  margin: 0 0 8px 0;
  text-align: center;
}

.mcvn-lead, .mcvn-text {
  text-align: center;
  margin: 8px 0 16px 0;
}

.mcvn-step { display: none; }
.mcvn-step.active { display: block; }

.mcvn-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border: 2px solid #e6e6ef;
  border-radius: 12px;
  outline: none;
  transition: border-color .2s ease;
  box-sizing: border-box;
}
.mcvn-input:focus { border-color: #ffcc00; }

.mcvn-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}
.mcvn-actions.stacked {
  flex-direction: column;
}
.mcvn-btn {
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  min-width: 160px;
}
.mcvn-btn.primary {
  background: #ffcc00; /* žlté Ďalej */
}
.mcvn-btn.primary[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.mcvn-btn.ghost {
  background: transparent;
  border: 2px solid #e6e6ef;
}
.mcvn-btn.link {
  background: #ffffff;
  border: 2px solid #e6e6ef;
  text-decoration: none;
  display: inline-block;
}

.mcvn-list {
  display: grid;
  gap: 10px;
}
.mcvn-item {
  border: 2px solid #e9e9f2;
  border-radius: 14px;
  padding: 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}
.mcvn-item input[type="checkbox"] {
  width: 22px;
  height: 22px;
}

.mcvn-item .mcvn-code {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}
.mcvn-item .mcvn-desc {
  display: block;
  color: #333;
}

.mcvn-hint {
  color: #b30000;
  text-align: center;
  margin-top: 6px;
}

.mcvn-leaderboard {
  display: grid;
  gap: 8px;
  margin: 6px 0 10px;
}
.mcvn-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.mcvn-bar-wrap {
  background: #f0f0f8;
  border-radius: 999px;
  overflow: hidden;
  height: 12px;
}
.mcvn-bar {
  height: 12px;
  width: 0%;
  background: #ffcc00;
  transition: width .8s ease;
}
.mcvn-count {
  min-width: 90px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.mcvn-summary {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.mcvn-summary li {
  border: 2px solid #e9e9f2;
  border-radius: 14px;
  padding: 10px 12px;
}

/* Make sure it fills the viewport nicely on mobile */
@media (max-width: 480px) {
  .mcvn-card { border-radius: 0; max-width: 100%; height: 100vh; padding: 20px; }
  .mcvn-container { padding: 0; }
}
